About Gambler's Ruin
The Gambler's Ruin problem is one of the most celebrated results in probability theory. A gambler starts with k dollars and bets $1 per round against a house holding n − k dollars. The game ends when either player reaches $0. Despite the apparent symmetry, the gambler's finite capital is always at a fatal disadvantage against a richer opponent.
For a fair game (p = q = 0.5), the probability of ruin is exactly:
For a biased game (p ≠ 0.5, let r = q/p):
Even a tiny house edge (e.g. p = 0.493 as in roulette) makes r > 1, and the ruin probability rapidly approaches 1. The Kelly Criterion gives the bankroll fraction that maximises long-run growth:
where b is the net payout per $1 wagered. Betting more than the Kelly fraction increases risk exponentially; betting less sacrifices long-run growth rate.
Frequently Asked Questions
-
What is the Gambler's Ruin problem?The Gambler's Ruin is a classic probability problem: a gambler starts with k dollars and bets $1 per round against an opponent (the house) with n − k dollars. The game ends when one player reaches $0. The question is: what is the probability the gambler is ruined before winning?
-
What is the ruin probability for a fair game?For a fair coin flip (p = q = 0.5), the ruin probability for a gambler starting with k dollars when total wealth is n is P(ruin) = 1 − k/n. So if you have $10 out of $100 total, you have a 90% chance of going broke.
-
What is the ruin probability for a biased game?For a biased game where you win each round with probability p and lose with q = 1 − p, the ruin probability is P(ruin) = (1 − (q/p)^k) / (1 − (q/p)^n). When p < 0.5 (house edge), this quickly approaches 1 even for large starting capital.
-
Why does the house always win?Casinos maintain a small house edge (e.g. p = 0.493 in roulette). Even a tiny bias makes the ruin probability for the gambler approach 1 as the number of rounds grows. The casino's much larger capital means the effective ratio k/n is always tiny for any individual player.
-
What is the Kelly Criterion?The Kelly Criterion gives the optimal fraction f* = p − q/b of your bankroll to bet per round, where b is the odds received (net payout per $1 wagered). Betting the Kelly fraction maximises the long-run growth rate of your bankroll and minimises the risk of ruin.
-
What is the expected duration of the game?For a fair game starting at k with total wealth n, the expected number of rounds until the game ends is k(n−k). For a biased game with p ≠ 0.5, the expected duration depends on both the win probability and the ratio q/p.
-
How does starting capital affect ruin probability?In a fair game, ruin probability is exactly (n − k)/n: doubling your starting capital halves your ruin probability. In a biased game the effect is much stronger — even doubling k barely reduces ruin probability when there is a house edge, because the (q/p)^k term dominates.
-
What happens when p > 0.5?When you have a genuine edge (p > 0.5), the ruin formula gives a ruin probability less than 1 even against an infinitely rich opponent. For example with p = 0.55 starting at k=10 of n=100, the ruin probability drops substantially compared to the fair game.
-
Is the Gambler's Ruin related to random walks?Yes — each game is a 1D random walk on the integers {0, 1, …, n} with absorbing barriers at 0 and n. The gambler's wealth at time t is a Markov chain, and the ruin probability is the absorption probability at state 0 starting from state k.
-
What real-world situations follow the Gambler's Ruin model?Beyond casinos, the model applies to: stock trading with a fixed strategy, species extinction risk in ecology (population reaching 0), insurance ruin theory, clinical trials (drug 'beating' placebo), and packet collision in network protocols. Any finite-resource competition against a better-capitalised opponent follows similar dynamics.