[Math] Rolling a die until obtaining the face 6. Whats the expected amout of the sum

probability

A game where you roll a fair die, repeatedly, adding up the faces that show up, until the face 6 appears. What is the expected sum (including the 6)?

All I can think of is that the expected value of each roll is $7/2$.

I'd appreciate your help!

Best Answer

Solution 1: We roll the die and add the value. With $5/6$ probability we start again. Hence,

$$E(X) = \frac{7}{2} + \frac{5}{6}E(X)$$

and this gives $E(X) = \boxed{21}$.

$E(X) = \infty$ is also a solution, so we should show that the expectation is finite. This is equivalent to showing that the expected number of rolls is finite, since the expected value is bounded between the number of rolls and six times the number of rolls. By standard methods, the expected number of rolls is

$$\sum_{n=0}^{\infty} (n+1) \frac{1}{6} \left(\frac{5}{6}\right)^n$$

which converges to $6$. We can use this to motivate a secondary method:

Solution 2: On average we roll $6$ times. The average on a roll is $\frac{7}{2}$. Hence the answer is $21$.

You might ask, but doesn't it matter that we can't roll a six or else we stop? Each roll still has the same expectation of $\frac{7}{2}$, it is just that we stop arbitrarily when we happen to roll a six.

(This perhaps unintuitive logic is similar to that in the problem involving a town where couples birth babies until their first boy and then stop. The proportion of boys to girls in this town is still $1:1$ since each birth is still just an independent event; they just choose to stop arbitrarily when the first boy comes)