You have a fair, 20-sided die. Fix some side of the die, say side . How many rolls, on average, will it take for side to land face up?
[Hint: expected value problem]
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let X i be a random variable, defined as follows: 1 if all dice rolls up to and including the i'th dice roll are not side S i . Else it takes the value 0. Now we see the problem can be phrased in terms of calculating the following expected value problem: find E [ ∑ i = 0 ∞ X i ] . We know from LOE that E [ ∑ i = 0 ∞ X i ] = ∑ i = 0 ∞ E [ X i ] .
Now let's calculate E [ X i ] . From the definition, it equals 1 ∗ P ( X i = 1 ) + 0 ∗ P ( X i = 0 ) . The second term vanishes and we need only find the probability that X i = 1 . For this to be true, all dice rolls up to and including the i'th roll are not S i . Thus we have a probability of ( 1 9 / 2 0 ) i that X i = 1 .
Now we use the geometric series to see that ∑ i = 0 ∞ E [ X i ] = ∑ i = 0 ∞ ( 1 9 / 2 0 ) i = 1 / ( 1 − ( 1 9 / 2 0 ) ) = 2 0 .