TheoremComplete

Optional Stopping Theorem

The optional stopping theorem states that, under suitable conditions, the expected value of a martingale at a stopping time equals its initial value. This fundamental result shows that "you cannot beat a fair game by choosing when to quit," formalized mathematically.


Statement

Theorem3.1Optional stopping theorem

Let (Mn)(M_n) be a martingale and τ\tau a stopping time. If any of the following conditions hold:

  1. Bounded stopping time: τN\tau \leq N almost surely for some constant NN.
  2. Bounded increments: E[τ]<\mathbb{E}[\tau] < \infty and Mn+1MnC|M_{n+1} - M_n| \leq C a.s. for some constant CC.
  3. Dominated: E[τ]<\mathbb{E}[\tau] < \infty and there exists an integrable YY with MnτY|M_{n \wedge \tau}| \leq Y a.s. for all nn.

Then E[Mτ]=E[M0]\mathbb{E}[M_\tau] = \mathbb{E}[M_0].

Proof strategy: Show that E[Mnτ]=E[M0]\mathbb{E}[M_{n \wedge \tau}] = \mathbb{E}[M_0] for all nn (the stopped process is a martingale), then take nn \to \infty and use dominated or bounded convergence to pass the limit through the expectation.


Applications

ExampleSymmetric gambler's ruin

Let XnX_n be a simple symmetric random walk starting at k{1,,N1}k \in \{1, \ldots, N-1\}. Define τ=inf{n:Xn{0,N}}\tau = \inf\{n : X_n \in \{0, N\}\}. Then τ<\tau < \infty a.s. by recurrence, and XnX_n has bounded increments. By optional stopping:

E[Xτ]=k.\mathbb{E}[X_\tau] = k.

But Xτ{0,N}X_\tau \in \{0, N\}, so if pk=P(Xτ=NX0=k)p_k = \mathbb{P}(X_\tau = N \mid X_0 = k):

k=0(1pk)+Npkpk=k/N.k = 0 \cdot (1-p_k) + N \cdot p_k \Rightarrow p_k = k/N.

This gives the ruin probability for symmetric random walk.

ExampleAsymmetric walk

For an asymmetric walk with drift μ=pq0\mu = p - q \neq 0, consider the martingale Mn=XnnμM_n = X_n - n\mu. Optional stopping gives E[Xττμ]=k\mathbb{E}[X_\tau - \tau \mu] = k, leading to formulas for both pkp_k and E[τX0=k]\mathbb{E}[\tau \mid X_0 = k].

RemarkFailure without conditions

If τ\tau is unbounded or has unbounded increments, the theorem may fail. Example: Mn=XnM_n = X_n (symmetric random walk), τ=inf{n:Xn=1}\tau = \inf\{n : X_n = 1\}. Then P(τ<)=1\mathbb{P}(\tau < \infty) = 1 but E[τ]=\mathbb{E}[\tau] = \infty. Naively applying optional stopping would give 1=E[Mτ]=?E[M0]=01 = \mathbb{E}[M_\tau] \overset{?}{=} \mathbb{E}[M_0] = 0, a contradiction.


Summary

Optional stopping connects martingales and stopping times: E[Mτ]=E[M0]\mathbb{E}[M_\tau] = \mathbb{E}[M_0] under appropriate conditions. This result is fundamental to sequential analysis, optimal stopping, and gambling theory.