Solution: Martingale Strategy — Doubling-Up Is Not Free Money
Part 1
After k consecutive losses, the cumulative loss is 1+2+⋯+2k−1=2k−1. On the next round the gambler bets 2k. If they win, the net is 2k−(2k−1)=+1. Hence any win resets the net profit for the sequence to +1, regardless of how many losses preceded.
Part 2
N losses accumulate total bet 1+2+⋯+2N−1=2N−1. This is also the maximum drawdown the strategy can sustain before ruin.
Part 3
The gambler can bet 2k on round k+1 only if they still have at least 2k unused — after k losses they have B−(2k−1) left. The constraint for the (N−1)th loss to be survivable is B−(2N−1−1)≥2N−1, i.e. B≥2N−1. Hence N=⌊log2(B+1)⌋.
Part 4
Let W = "win within N rounds" and L = "lose N rounds in a row." Then P(L)=2−N and P(W)=1−2−N.
E[Xτ−X0]=(+1)⋅(1−2−N)+(−(2N−1))⋅2−N=1−2−N−1+2−N=0.
Expected P&L is zero. This matches the optional stopping theorem applied to the martingale "gambler's wealth under a predictable fair strategy": any stopping rule that is bounded (and τ≤N here) preserves E[Xτ]=X0.
Part 5
The variance of the strategy's P&L is
Var(Xτ)=12⋅(1−2−N)+(2N−1)2⋅2−N−02=(1−2−N)+(2N−1)2/2N.
For even modest N this is enormous. At N=10 (bankroll B=210−1=1023 units), the variance is (210−1)2/210≈1021 — a standard deviation of ≈32 units for an expected-zero strategy. The strategy converts a small likely gain (+1 with probability 1023/1024≈99.9%) into a catastrophic rare loss (−1023 with probability ≈0.1%).
This is the textbook example of compound risk: you can manufacture high expected short-run win rates by taking on long-tail loss exposure, but you cannot beat the unconditional mean. At a casino with a non-fair game (house edge), the expected P&L becomes strictly negative and the variance structure is unchanged — doubling-up is dominated in both dimensions. Wall Street's analogue: "picking up nickels in front of a steamroller" strategies like short-gamma vol-selling, which earn premium most of the time and blow up spectacularly on crisis days.
Takeaways
- You cannot beat a fair game with predictable bet sizing. The martingale property is preserved under martingale transforms — the gambler's wealth remains a martingale under any predictable strategy.
- A high win probability does not mean a profitable strategy. The doubling-up strategy wins 99.9% of the time and still has zero expected P&L, because the 0.1% losing event is catastrophic.
- The variance of a zero-mean strategy can be arbitrarily large. Sharpe ratios hide nothing if you only look at mean P&L — you must inspect the variance, and better, the tail.
- Real-casino edge makes things worse. With a house edge ϵ, the strategy's expected P&L is −ϵ⋅(2N−1)⋅P(some bet is placed), a negative number that scales exponentially with bankroll. Doubling-up not only fails to generate free money; it loses money proportional to how aggressive the bankroll is.