Solution: Verifying the Martingale Property from First Principles
Part 1
Sn+1=Sn+Xn+1. Since Sn is Fn-measurable and Xn+1 is independent of Fn:
E[Sn+1∣Fn]=Sn+E[Xn+1]=Sn+(1⋅p+(−1)⋅(1−p))=Sn+(2p−1).
For p=1/2: E[Sn+1∣Fn]=Sn. Martingale. ✓
Part 2
For general p: E[Sn+1∣Fn]=Sn+(2p−1).
- p>1/2: RHS >Sn a.s. — submartingale.
- p<1/2: RHS <Sn a.s. — supermartingale.
- p=1/2: martingale.
Part 3
Let q=(1−p)/p. Then Mn=qSn. Note:
E[qXn+1]=p⋅q+1+(1−p)⋅q−1=p⋅p1−p+(1−p)⋅1−pp=(1−p)+p=1.
So
E[qXn+1]=1 for every p∈(0,1) — the clever choice of the ratio
q=(1−p)/p is exactly what makes the product have mean 1.
Part 4
Mn+1=Mn⋅qXn+1. Taking conditional expectation:
E[Mn+1∣Fn]=Mn⋅E[qXn+1∣Fn]=Mn⋅E[qXn+1]=Mn⋅1=Mn.
First equality: Mn is Fn-measurable, pull it out. Second equality: Xn+1 independent of Fn, drop the conditioning. Third: part 3's calculation. Martingale. ✓
The "algebraic identity" that makes the cross-term vanish is simply E[qXn+1]=1, which is built into the choice of q.
Takeaways
- The martingale property is a drift-cancellation condition. For a random walk with bias, Sn has a drift; we can cancel it either by centering (Sn−n(2p−1) is a martingale) or by exponentiating with the magic ratio q=(1−p)/p.
- Exponential martingales for biased walks are the discrete analogue of the Doléans-Dade exponential. The continuous-time version exp(σWt−21σ2t) is the same idea — find the exponential transformation that makes the drift vanish.
- Independence of Xn+1 from Fn is the critical property — it lets us drop the conditioning in the expectation. Without independence, we would need the joint distribution.
- The exponential martingale drives gambler's-ruin calculations. Applied with the optional stopping theorem at the exit time, it gives closed-form ruin probabilities for biased walks.