Draw a random real number
r
1
between 0 and 10.
Repeat, draw a random number
r
2
between 0 and
r
1
.
Continue in this manner until the number drawn is below 1.
What is the
expected value
of drawings in this game (to 2 decimal places)?
Bonus: Generalize the answer.
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.
This is the simplest approach!
For clarity, you should show that this works for all positive integers n via induction
Log in to reply
yes indeed. i have added that!
Log in to reply
LOL, that's not how to do that! Unless you're being lazy, you can't just go "oh, this works by induction" because that doesn't always work.
For clarity, you should work on the base hypothesis and inductive hypothesis.
On the other hand, we can solve this problem using the one-line of Order Statistic .
Let N x denote the number of turns in the slightly more general game where r 1 is chosen between 0 and x and let F ( x ) = E [ N x ] .
Then we immediately have the conditional expectation E [ N x ∣ r 1 ] = { 0 1 + F ( r 1 ) x < 1 x ≥ 1 and therefore F ( x ) = E [ E [ N x ∣ r 1 ] ] = { 0 1 + ∫ 0 x x 1 F ( r 1 ) d r 1 x < 1 x ≥ 1 = { 0 1 + x 1 ∫ 1 x F ( r 1 ) d r 1 x < 1 x ≥ 1
For the rest of the problem, we focus purely on the case where x ≥ 1 , under which we have just shown F ( x ) = 1 + x 1 ∫ 1 x F ( t ) d t .
By rearranging, x ( F ( x ) − 1 ) = ∫ 1 x F ( t ) d t , and differentiating, F ( x ) − 1 + x F ′ ( x ) = F ( x ) , we can write F ′ ( x ) = x 1 ⇒ F ( x ) = C + ln x .
Looking back at the integral equation for F ( x ) when x ≥ 1 , we see that F ( 1 ) = 1 , so we may solve for C to find C = 1 . Therefore, we have F ( x ) = { 0 1 + ln x x < 1 x ≥ 1 so the expected number of moves when x = 1 0 is F ( 1 0 ) = 1 + ln 1 0 ≈ 3 . 3 0 .
Note: There's a sizable hole in the above proof - see if you can find it! All of the results are true, but it would require a little bit more work to be a formal proof.
Problem Loading...
Note Loading...
Set Loading...
I did it using pretty elementary math,but thought it might be worth a mention
Probability of finishing in 1 turn
1 0 1
Probability of finishing in 2 turns
∫ 1 1 0 1 0 d r 1 × r 1 1 = 1 0 l n 1 0
Probability of finishing in 3 turns
1 0 1 ∫ 1 1 0 ∫ 1 r 1 r 1 r 2 d r 2 d r 1 = 1 0 1 2 ! ( l n 1 0 ) 2
Probability of finishing in n turns (By induction )
1 0 1 ∫ 1 1 0 ∫ 1 r 1 ∫ 1 r 2 . . . . ∫ 1 r n − 2 r 1 r 2 r 3 . . . r n − 1 d r n − 1 d r n − 2 d r n − 3 . . . d r 1 = 1 0 1 ( n − 1 ) ! ( l n 1 0 ) n − 1
Expected value of number of turns
1 0 1 r = 0 ∑ ∞ r ! ( r + 1 ) x r where, x = l n 1 0
1 0 1 r = 0 ∑ ∞ r ! ( r + 1 ) x r = 1 0 1 ( e x + x e x ) = 1 + l n 1 0 ≈ 3 . 3 0 3