I have this question:
We choose 4 numbers randomly with replacement from the space $\{0,1,2,3,...,50\}.$
a) What is the probability that the sum of the numbers is exactly 50?
b) What is the probability that the sum of the numbers is exactly 50 and all numbers are bigger or equal to 10?
For (a): I tried to calculate the probability that the first three numbers are less or equal to 50, then multiplying the answer by $1/50.$
But I am stuck on calculating the probability. Is my approach good? any hints?
For (b): I don't have any clue what to do.
a)
The set $\Omega=\{0,1,2,\dots,50\}^4$ can be used as outcome space and has cardinality $51^4$.
The events $\{\omega\}$ where $\omega\in\Omega$ are equiprobable.
So the probability will equal $51^{-4}|A|$ where $A=\{\omega\in\Omega\mid \omega_1+\omega_2+\omega_3+\omega_4=50\}$.
The cardinality of $A$ can be found by means of stars and bars and equals $\binom{50+3}{3}$.
b)
Similar story, but now we are looking for the cardinality of $B=\{\omega\in\Omega\mid \omega_1+\omega_2+\omega_3+\omega_4=50\text{ and }\omega_i\geq10\text{ for } i=1,2,3,4\}$
Setting $\alpha_i=\omega_i-10$ for $i=1,2,3,4$ we find that $B$ has the same cardinality as the set $C=\{\alpha\in\Omega\mid\alpha_1+\alpha_2+\alpha_3+\alpha_4=10\}$
Again we can apply stars and bars. This time we find that $|B|=\binom{10+3}3$.