Mary starts with one standard die on a table.
At each step, she rolls all the dice on the table: if all of them show a 6 on top, then she places one more die on the table; otherwise, she does nothing more on this step.
Let D be the number of dice on the table after 2016 such steps.
What is the expected value (average value) of 6 D ?
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.
Ah, nice application of the Law of Iterated Expectation .
Let be P n , d the probability of having d , 1 ≤ d ≤ n + 1 , dices at step n . It follows that
P n , d = { P n − 1 , d ⋅ 6 d 6 d − 1 + P n − 1 , d − 1 ⋅ 6 d − 1 1 , 6 n ( n + 1 ) / 2 1 , for 1 ≤ d ≤ n for d = n + 1
So, the expected value of 6 d after n steps is
E n = d = 1 ∑ n + 1 6 d P n , d = d = 1 ∑ n 6 d P n , d + 6 n ( n + 1 ) / 2 6 n + 1
If we expand the last sum and substitute P n , d , we get
d = 1 ∑ n 6 d P n , d = d = 1 ∑ n [ P n − 1 , d ⋅ ( 6 d − 1 ) + 6 P n − 1 , d − 1 ] = d = 1 ∑ n 6 d P n − 1 , d − d = 1 ∑ n P n − 1 , d + 6 d = 1 ∑ n P n − 1 , d − 1 = E n − 1 − 1 + 6 ( 1 − 6 ( n − 1 ) n / 2 1 )
Hence
E n = E n − 1 + 5 − 6 n ( n − 1 ) / 2 6 + 6 n ( n + 1 ) / 2 6 n + 1
Given that E 0 = 6 , solving the recurrence we get
E n = 5 n + 6
Eventually
E 2 0 1 6 = 5 ⋅ 2 0 1 6 + 6 = 1 0 0 8 6
Problem Loading...
Note Loading...
Set Loading...
For every nonnegative integer n , let D n be the number of dice on the table after n steps.
At the start, D 0 = 1 .
Given D n , we are told that D n + 1 is D n + 1 with probability 6 − D n and is D n otherwise.
Hence the expected value of 6 D n + 1 , given D n , is
E(6^{D_{n +1}}\mid D_n) = 6^{-D_n}. 6^{D_n +1}+(1 - 6^{-D_n}).6^{D_n} = 6^{D_n} + 5 .
Averaging over D n shows that E ( 6 D n + 1 ) = E ( E ( 6 D n + 1 ∣ D n ) ) = E ( 6 D n + 5 ) = E ( 6 D n ) + 5 .
Each expected value is 5 more than the previous one, so we have:
E ( 6 D 2 0 1 6 ) = E ( 6 D 0 ) + 2 0 1 6 . 5 = E ( 6 1 ) + 1 0 0 8 0 = 6 + 1 0 0 8 0 = 1 0 0 8 6 .