Actuarial Notes

Gambler's Ruin Problem

Study guide: Exam MAS-I

The Gambler's Ruin Problem is the problem of finding the probability that a gambler reaches a target fortune before losing everything. On each independent play the gambler wins one unit with probability p and loses one unit with probability q = 1 - p, and play stops when the fortune reaches 0 or N. The fortune is a random walk and a Markov Chain whose states 0 and N are absorbing.

If p \ne \frac12, the probability that a gambler starting with i units reaches N before 0 is

P_i = \frac{1 - (q/p)^i}{1 - (q/p)^N}

  • 0 \le i \le N.

The fortune reaches 0 or N with probability 1, because the states 1, \ldots, N-1 are transient. The gambler is ruined when the fortune reaches 0 first, so the probability of ruin is 1 - P_i.

A gambler wins each play with probability 0.6. Starting with 2 units, what is the probability that he reaches 5 units before going broke?

  • Here p = 0.6, q = 0.4, q/p = \frac23, i = 2 and N = 5.
  • The probability of reaching 5 first is
\begin{aligned}
P_2 &= \frac{1 - (2/3)^2}{1 - (2/3)^5} \\
&= \frac{0.5556}{0.8683} \\
&= 0.6398
\end{aligned}

The fair game

If p = \frac12, the probability that a gambler starting with i units reaches N before 0 is

P_i = \frac{i}{N}

The probability of ruin in a fair game is 1 - P_i = \frac{N - i}{N}.

Plays already made affect the probability only through the current fortune, because the fortune is a Markov chain. After some plays, the current fortune is the starting fortune plus the number of wins minus the number of losses, and it takes the place of i.

A gambler wins one chip on each head and loses one chip on each tail of a fair coin. He starts with 10 chips and stops when he has 0 or 30. Of the first 6 flips, 4 are heads and 2 are tails. What is the probability that he loses all his chips?

  • After 6 flips his fortune is 10 + 4 - 2 = 12 chips, and play restarts from there.
  • The coin is fair, so the probability of reaching 30 first is \frac{12}{30}.
  • The probability that he loses all his chips is 1 - \frac{12}{30} = \frac{18}{30} = 0.6.

Two players

When two players start with a and b units and play until one has none, each round moves one unit from the loser to the winner. One player has no units exactly when the other holds all a + b units. Following the first player's fortune, the probability that the first player ends with all the units is P_i with

i = a

N = a + b

  • p is the probability that the first player wins a round.

Ann starts with 4 coins and Ben with 2. In each independent round the loser pays the winner 1 coin, and Ann wins a round with probability 0.45. They play until one has no coins. What is the probability that Ben ends with no coins?

  • Ben has no coins exactly when Ann holds all 6, so follow Ann's fortune with i = 4, N = 6 and p = 0.45.
  • Then q/p = \frac{0.55}{0.45} = \frac{11}{9}.
  • The probability that Ann reaches 6 is
\begin{aligned}
P_4 &= \frac{1 - (11/9)^4}{1 - (11/9)^6} \\
&= \frac{-1.2315}{-2.3335} \\
&= 0.5278
\end{aligned}

An opponent with unlimited funds

When the gambler plays until ruin with no target, N \to \infty. If p > \frac12, the probability of never being ruined is

\lim_{N \to \infty} P_i = 1 - (q/p)^i

If p \le \frac12, the limit is 0, so a gambler in a fair or unfavourable game against unlimited funds is ruined with probability 1.

An insurer's surplus, in units of 1 million, rises by 1 in a year with probability 0.6 and falls by 1 with probability 0.4, independently from year to year. It starts at 3, and the regulator takes over if it reaches 0. With no upper limit on the surplus, what is the probability that the regulator ever takes over?

  • Here p = 0.6 > \frac12 and q/p = \frac23.
  • The probability of ruin is (q/p)^i = \left(\frac23\right)^3 = 0.2963.

Reporting P_i as the probability of ruin P_i is the probability of reaching N first. The probability of ruin is 1 - P_i. For the gambler with 12 chips and a target of 30 in a fair game, P_{12} = 0.4, and the probability of losing all his chips is 0.6.

Practice questions

Actuarial Notes