CONTENTS

Solution: Verifying the Martingale Property from First Principles

Part 1

Sn+1=Sn+Xn+1S_{n+1} = S_n + X_{n+1}. Since SnS_n is Fn\mathcal{F}_n-measurable and Xn+1X_{n+1} is independent of Fn\mathcal{F}_n:

E[Sn+1Fn]=Sn+E[Xn+1]=Sn+(1p+(1)(1p))=Sn+(2p1).\mathbb{E}[S_{n+1} \mid \mathcal{F}_n] = S_n + \mathbb{E}[X_{n+1}] = S_n + (1\cdot p + (-1)\cdot(1-p)) = S_n + (2p - 1).

For p=1/2p = 1/2: E[Sn+1Fn]=Sn\mathbb{E}[S_{n+1} \mid \mathcal{F}_n] = S_n. Martingale. ✓

Part 2

For general pp: E[Sn+1Fn]=Sn+(2p1)\mathbb{E}[S_{n+1} \mid \mathcal{F}_n] = S_n + (2p - 1).

  • p>1/2p > 1/2: RHS >Sn> S_n a.s. — submartingale.
  • p<1/2p < 1/2: RHS <Sn< S_n a.s. — supermartingale.
  • p=1/2p = 1/2: martingale.

Part 3

Let q=(1p)/pq = (1-p)/p. Then Mn=qSnM_n = q^{S_n}. Note:

E[qXn+1]=pq+1+(1p)q1=p1pp+(1p)p1p=(1p)+p=1.\mathbb{E}[q^{X_{n+1}}] = p\cdot q^{+1} + (1-p)\cdot q^{-1} = p\cdot\frac{1-p}{p} + (1-p)\cdot\frac{p}{1-p} = (1-p) + p = 1.
So E[qXn+1]=1\mathbb{E}[q^{X_{n+1}}] = 1 for every p(0,1)p \in (0, 1) — the clever choice of the ratio q=(1p)/pq = (1-p)/p is exactly what makes the product have mean 1.

Part 4

Mn+1=MnqXn+1M_{n+1} = M_n\cdot q^{X_{n+1}}. Taking conditional expectation:

E[Mn+1Fn]=MnE[qXn+1Fn]=MnE[qXn+1]=Mn1=Mn.\mathbb{E}[M_{n+1} \mid \mathcal{F}_n] = M_n\cdot \mathbb{E}[q^{X_{n+1}} \mid \mathcal{F}_n] = M_n\cdot \mathbb{E}[q^{X_{n+1}}] = M_n\cdot 1 = M_n.

First equality: MnM_n is Fn\mathcal{F}_n-measurable, pull it out. Second equality: Xn+1X_{n+1} independent of Fn\mathcal{F}_n, drop the conditioning. Third: part 3's calculation. Martingale. ✓

The "algebraic identity" that makes the cross-term vanish is simply E[qXn+1]=1\mathbb{E}[q^{X_{n+1}}] = 1, which is built into the choice of qq.

Takeaways

  • The martingale property is a drift-cancellation condition. For a random walk with bias, SnS_n has a drift; we can cancel it either by centering (Snn(2p1)S_n - n(2p-1) is a martingale) or by exponentiating with the magic ratio q=(1p)/pq = (1-p)/p.
  • Exponential martingales for biased walks are the discrete analogue of the Doléans-Dade exponential. The continuous-time version exp(σWt12σ2t)\exp(\sigma W_t - \tfrac{1}{2}\sigma^2 t) is the same idea — find the exponential transformation that makes the drift vanish.
  • Independence of Xn+1X_{n+1} from Fn\mathcal{F}_n 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.
Solution — Verifying the Martingale Property from First Principles | q4quant.studio