The Gambler's Ruin: A Fair Game with a Surprising Exit
A gambler starts with \k$1\frac{1}{2}$1\frac{1}{2}$N$ (success) or goes broke (ruin).
(a) What is the probability the gambler reaches \N$ before going broke?
(b) Here is the surprising part: what is the expected number of steps until the game ends?
The answer to (b) might feel impossible at first โ can you guess it before computing?
Answer: Gambler's Ruin: Probability and Expected Duration
Key Idea / Intuition
For part (a), since the game is fair, the gambler's fortune is a martingale โ its expected value never changes. So the probability of reaching before must be exactly , the only linear interpolation consistent with boundary values and .
For part (b), the surprise: the expected duration is . This is the product of the two "distances to the walls." Intuitively, the gambler wanders diffusively, and diffusion takes time proportional to (distance)ยฒ. The quantity is also a martingale, and applying optional stopping to it gives the answer without solving a recursion directly.
Formal Proof / Solution
Part (a): Probability of Reaching
Let , with , .
The balance equation is:
This says , so is linear in . With boundary conditions:
Martingale view: (the fortune at time ) is a martingale. By the Optional Stopping Theorem (the game ends in finite time a.s., and is bounded by ):
Part (b): Expected Duration
Let = stopping time. We use the second martingale:
Claim: is a martingale.
Proof of claim:
So . โ
Apply Optional Stopping to :
Therefore:
Now compute : at stopping, with probability and with probability :
Therefore:
Why This Is Surprising
- The expected duration depends on both the starting point and the target.
- Starting at (the middle) gives the longest expected game: .
- A gambler starting with \1$999N = 1000k = 19991/1000$. A very short doomed journey!
- The shape is a discrete parabola, symmetric in and , reflecting the symmetry between the two absorbing barriers.
Source: Fifty Challenging Problems in Probability with Solutions (Frederick Mosteller) โ classic folklore problem