Solution: Gambler's Ruin for a Biased Random Walk
Part 1
Mn+1=ρSn+Xn+1=Mn⋅ρXn+1. Since Xn+1 is independent of Fn:
E[Mn+1∣Fn]=Mn⋅E[ρXn+1]=Mn⋅(pρ+qρ−1)=Mn⋅(p⋅q/p+q⋅p/q)=Mn⋅(q+p)=Mn.
Part 2
On {n≤τ}, Sn∈[0,N], so Mn=ρSn∈[min(1,ρN),max(1,ρN)]. Hence (Mn∧τ) is bounded — OST's condition (2) holds.
Part 3
Apply OST: E[Mτ]=M0=ρk. Now Sτ∈{0,N}, so:
E[Mτ]=P(Sτ=N)⋅ρN+P(Sτ=0)⋅ρ0=P(Sτ=N)ρN+(1−P(Sτ=N)).
Setting equal to ρk and solving:
P(Sτ=N)=ρN−1ρk−1,P(Sτ=0)=1−P(Sτ=N)=ρN−1ρN−ρk.
Part 4
For (p,k,N)=(0.49,50,100): ρ=0.51/0.49≈1.0408.
P(Sτ=100)=1.0408100−11.040850−1≈49.116.568≈0.119.
For (p,k,N)=(0.45,50,100): ρ=0.55/0.45≈1.2222.
P(Sτ=100)=1.2222100−11.222250−1≈1.898⋅10813,780≈7.3⋅10−5.
Interpretation. A 1% house edge (
p=0.49) already drops success probability to 12%. A 5% house edge (
p=0.45) brings it to essentially zero. Casino house edges of 1–5% ensure that the gambler's probability of reaching a goal is
exponentially small in the size of the goal relative to the capital. This is why casinos are robustly profitable despite each individual game being nearly-fair; the ruin probability compounds over the number of rounds played.
Takeaways
- Gambler's ruin is an OST computation. Find a martingale that takes distinct values at each boundary, apply OST, solve the two-equation system.
- Tiny edges compound to huge ruin probabilities. A 1% house edge produces an exponentially-small probability of doubling your stake, and a 5% edge makes doubling essentially impossible.
- The key step is finding the right exponential martingale. ρSn works only because the specific value ρ=q/p makes E[ρX]=1, cancelling the bias.
- Gambler's-ruin is isomorphic to knockout-option pricing. The probability of "hitting the upper barrier" is exactly the undiscounted price of a digital knock-in option — the barrier-option machinery is gambler's ruin with discounting.