A die is thrown 100 times. What is the variance of the number of even numbers?

6.9k Views Asked by At

A die is thrown 100 times. Getting an even number is considered a success. What is the variance of the number of successes?

2

There are 2 best solutions below

2
On

p(getting even number) $= \frac 36 = \frac 12$

q(not even number $= \frac 36 = \frac 12$

Variance $= npq$

$= 100 \times \frac 12 \times \frac 12$

$= 25$

0
On

What you are considering is actually a binomial distribution, like exactly in the case of a fair coin. You have a $p=50\% $ probability of getting an even number at each throw. The probability distribution of having $k$ successes out of $n$ tries is: $$f(k;n,p)=\binom{n}{k}p^k(1-p)^{n-k}$$

The expected number of successes over $n=100$ tries is: $$E[X]=\sum_{k=0}^n k\binom{n}{k}p^k(1-p)^{n-k} =np=100\cdot0.5=50$$ The proof is available on every probability textbook.

The variance is: $$\sigma^2=E[X^2]-E[X]^2=np(1-p)=25$$

The article on wikipedia is well done. https://en.wikipedia.org/wiki/Binomial_distribution