Gambler's ruin is the absorption problem for a fortune that changes by one unit per game. Let , with independent wins of Probability and losses of Probability . Stop when the fortune reaches zero or the target . Zero is ruin; reaching is success.
The success Probability has boundary values , and satisfies . Solving this second-order recurrence givesFinite-interval exit times have geometric tails, so absorption occurs almost surely and ruin has Probability . The fair case is linear because the fortune itself is harmonic; the biased case uses the harmonic exponential .
For a fair game with initial fortune three and target ten, success has Probability . The Expected duration of symmetric gambler's ruin is , giving 21 steps in this example. The same local first-step method produces expected durations, discounted absorption probabilities and conditional durations; their different boundary conditions encode different questions about the same paths.
Gambler's ruin is a concept from probability theory and statistics that models a gambling scenario where a gambler continues to gamble until either they lose all their money or reach a predetermined target amount. It is often used to illustrate the principles of random walks and the behavior of stochastic processes. In a typical setup, a gambler starts with a certain amount of capital and bets on a game with a fixed probability of winning or losing.
New to topics? Read the docs here!