- #1
dfraser
- 4
- 0
I'm given that: X is the random variable for the number of times a fair die is tossed before a six appears, and asked for E(x).
I know the solution is 5 but am struggling to understand how I'm meant to get there. I understand:
$$E(x) = \sum_{x=0}^{\infty} x\cdot p(x)\ $$
$$= \sum_{x=0}^{\infty} x \cdot (1/6) \cdot (5/6)^x $$
$$= 5/6 \cdot 1/6 \cdot\sum_{x=1}^{\infty} x \cdot (5/6)^{x-1} $$
but am then given that:
$$= \frac{5/6 \cdot 1/6}{{(1-5/6)}^{2}} =5 $$
I recognize the numerator, and know the formula for the infinite sum of a geometric series is $$\frac{a}{1-r}$$ but I don't know how to get the denominator from the prior step or why it is squared. I think this is an easy mistake, but I can't seem to find it. Can anyone help me here?
I know the solution is 5 but am struggling to understand how I'm meant to get there. I understand:
$$E(x) = \sum_{x=0}^{\infty} x\cdot p(x)\ $$
$$= \sum_{x=0}^{\infty} x \cdot (1/6) \cdot (5/6)^x $$
$$= 5/6 \cdot 1/6 \cdot\sum_{x=1}^{\infty} x \cdot (5/6)^{x-1} $$
but am then given that:
$$= \frac{5/6 \cdot 1/6}{{(1-5/6)}^{2}} =5 $$
I recognize the numerator, and know the formula for the infinite sum of a geometric series is $$\frac{a}{1-r}$$ but I don't know how to get the denominator from the prior step or why it is squared. I think this is an easy mistake, but I can't seem to find it. Can anyone help me here?