Template
When using OST in a problem, the workflow is usually:
- Choose a martingale $(X_n)$.
- Define the stopping time $T$.
- Verify an OST condition, usually boundedness before stopping or uniform integrability.
- Write
- Expand $\mathbb E[X_T]$ using the possible terminal values of $X_T$.
Classic example
For gambler’s ruin with
$$ T=\inf\{t\ge 0:X_t\in\{0,c\}\}, \qquad X_0=a, \qquad 0the simple random walk $(X_n)$ is a martingale and $X_T\in\{0,c\}$.Thus
$$ \mathbb E[X_T]=a. $$If $p=\mathbb P(X_T=c)$, then
$$ cp=a, $$so
$$ p=\frac ac. $$