Gambler's ruin - problem 5

You walk into Martin Gale's Betting Room with an initial budget of k k

As usual, you can play the following game any number of times (if you have what it costs)

  • You pay Martin a dollar.
  • Martin tosses a fair coin
  • If the coin comes up heads Martin pays you two dollars. If it comes up tails, you get nothing.

You decide that you will play until you have increased your money to n n , and then you will stop. Here, n > k n>k . Of course you will also have to stop if you lose all your money (i.e. you are ruined).

How many games do you expect to play before you stop?

n 2 k n-2k n n n + 2 k \frac{n+2}{k} n 2 k 2 n^2-k^2 k ( n k ) k(n-k)

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.

1 solution

Mark Hennings
Feb 8, 2019

If E k E_k is the expected number of games to be played given that you start with k k , then E 0 = E n = 0 E_0 = E_n = 0 and (conditioning on the outcome of the first round) E k = 1 + 1 2 ( E k + 1 + E k 1 ) 1 k n 1 E_k \; = \; 1 + \tfrac12(E_{k+1} + E_{k-1}) \hspace{2cm} 1 \le k \le n-1 Solving this recurrence relation, we deduce that E k = k ( n k ) E_k = \boxed{k(n-k)} for 0 k n 0 \le k \le n .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...