Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Games & Chance 4 min read

Gambler’s Ruin Problem

Start with $100, bet $1 at a time — will you go broke?

With starting capital a, target capital b, and win probability p per bet, the probability of ruin is calculable.

Ruin probability formula

For p ≠ 0.5, the probability of reaching 0 before b is:

P(ruin)=(q/p)a−(q/p)b1−(q/p)bP(\text{ruin}) = \frac{(q/p)^a - (q/p)^b}{1 - (q/p)^b}

$100 start, $200 target, p=0.49 (subfair)

  1. 1

    Step

    q/p = 0.51/0.49 \approx 1.0408

  2. 2

    Step

    (1.0408)^{100} \approx 56.7

  3. 3

    Step

    (1.0408)^{200} \approx 3,214

  4. 4

    Step

    P(ruin) ≈ (56.7 - 3214)/(1 - 3214) ≈ 0.982

Answer

98.2% chance of going broke

Fair game case

When p = 0.5 exactly, the ruin probability simplifies to a/b.

P(ruin)=1−abP(\text{ruin}) = 1 - \frac{a}{b}

$100 start, $200 target

  1. 1

    Step

    P(ruin) = 1 - 100/200 = 0.5

Answer

Even a fair game gives you only a 50-50 shot

The formula behind it

Basic Probability

P(A)=favourabletotalP(A) = \frac{\text{favourable}}{\text{total}}
See the full formula, variables and more examples

The takeaway

The house’s edge isn’t just about individual bets — time and limited funds guarantee your ruin.

Back to all stories