Skip to content
homeaboutworkprojectsthesiswritingresume
Loading
~/blog/martingales0%dark
  1. home/
  2. writing/
  3. Martingales

23 May 2026 · 4 min read · updated 13 June 2026

Martingales

A martingale is a process whose conditional increments vanish, the mathematical form of a fair game. We prove the optional stopping theorem for bounded stopping times, derive Doob's maximal and L^p inequalities, and prove the martingale convergence theorem through the upcrossing inequality. The Doob-Meyer decomposition and the associated quadratic variation are recorded as the bridge to stochastic integration.

  • 6 equations
  • 8 results
  • 10 connections
  • stochastic-processes
  • probability
On this page▾
  • The fair-game property
  • Optional stopping
  • Doob's inequalities
  • Convergence
  • The Doob-Meyer decomposition

4 min left

  • The fair-game property1m
  • Optional stopping1m
  • Doob's inequalities2m
  • Convergence1m
  • The Doob-Meyer decomposition1m

A martingale models a fair game, a process whose best mean-square forecast of any future value is the present value. Two consequences make it the central object of stochastic analysis. Stopping a fair game at a clever time cannot create an edge, and the running maximum of a martingale is controlled by its terminal size.

#The fair-game property

Definition1

An adapted, integrable process (Mn)n≥0(M_n)_{n\ge 0}(Mn​)n≥0​ is a martingale with respect to (Fn)(\F_n)(Fn​) when E[Mn+1∣Fn]=Mn\E[M_{n+1}\mid\F_n]=M_nE[Mn+1​∣Fn​]=Mn​ for every nnn, a submartingale when E[Mn+1∣Fn]≥Mn\E[M_{n+1}\mid\F_n]\ge M_nE[Mn+1​∣Fn​]≥Mn​, and a supermartingale when the reverse inequality holds.

By the tower property a martingale satisfies E[Mm∣Fn]=Mn\E[M_m\mid\F_n]=M_nE[Mm​∣Fn​]=Mn​ for all m≥nm\ge nm≥n, so E[Mn]=E[M0]\E[M_n]=\E[M_0]E[Mn​]=E[M0​] is constant. If φ\varphiφ is convex and φ(Mn)∈L1\varphi(M_n)\in L^1φ(Mn​)∈L1 for every nnn, then (φ(Mn))(\varphi(M_n))(φ(Mn​)) is a submartingale, since conditional Jensen gives E[φ(Mn+1)∣Fn]≥φ(E[Mn+1∣Fn])=φ(Mn)\E[\varphi(M_{n+1})\mid\F_n]\ge\varphi(\E[M_{n+1}\mid\F_n])=\varphi(M_n)E[φ(Mn+1​)∣Fn​]≥φ(E[Mn+1​∣Fn​])=φ(Mn​). For φ=∣⋅∣\varphi=\abs\cdotφ=∣⋅∣ this is automatic from Mn∈L1M_n\in L^1Mn​∈L1; for φ=(⋅)2\varphi=(\cdot)^2φ=(⋅)2 it requires Mn∈L2M_n\in L^2Mn​∈L2.

#Optional stopping

Theorem2

Let (Mn)(M_n)(Mn​) be a martingale and τ\tauτ a stopping time bounded by NNN. Then E[Mτ]=E[M0]\E[M_\tau]=\E[M_0]E[Mτ​]=E[M0​].

Proof

Write the stopped value as a telescoping sum weighted by the predictable indicators 1{τ≥k}=1−1{τ≤k−1}\ind\{\tau\ge k\}=1-\ind\{\tau\le k-1\}1{τ≥k}=1−1{τ≤k−1}, which are Fk−1\F_{k-1}Fk−1​-measurable,

Mτ=M0+∑k=1N1{τ≥k} (Mk−Mk−1).(1)M_\tau=M_0+\sum_{k=1}^{N}\ind\{\tau\ge k\}\,(M_k-M_{k-1}). \tag{1}Mτ​=M0​+k=1∑N​1{τ≥k}(Mk​−Mk−1​).(1)

Taking expectations and conditioning each term on Fk−1\F_{k-1}Fk−1​,

E[1{τ≥k}(Mk−Mk−1)]=E[1{τ≥k} E[Mk−Mk−1∣Fk−1]]=0,(2)\E\big[\ind\{\tau\ge k\}(M_k-M_{k-1})\big]=\E\big[\ind\{\tau\ge k\}\,\E[M_k-M_{k-1}\mid\F_{k-1}]\big]=0, \tag{2}E[1{τ≥k}(Mk​−Mk−1​)]=E[1{τ≥k}E[Mk​−Mk−1​∣Fk−1​]]=0,(2)

because 1{τ≥k}\ind\{\tau\ge k\}1{τ≥k} is Fk−1\F_{k-1}Fk−1​-measurable and the conditional increment of a martingale vanishes. Hence E[Mτ]=E[M0]\E[M_\tau]=\E[M_0]E[Mτ​]=E[M0​].

#Doob's inequalities

Theorem3

Let (Mn)(M_n)(Mn​) be a martingale and Mn∗=max⁡0≤k≤n∣Mk∣M_n^\ast=\max_{0\le k\le n}\abs{M_k}Mn∗​=max0≤k≤n​∣Mk​∣. For every λ>0\lambda>0λ>0,

λ P(Mn∗≥λ)≤E[∣Mn∣ 1{Mn∗≥λ}]≤E[∣Mn∣],(3)\lambda\,\P\big(M_n^\ast\ge\lambda\big)\le\E\big[\abs{M_n}\,\ind\{M_n^\ast\ge\lambda\}\big]\le\E\big[\abs{M_n}\big], \tag{3}λP(Mn∗​≥λ)≤E[∣Mn​∣1{Mn∗​≥λ}]≤E[∣Mn​∣],(3)

and for 1<p<∞1<p<\infty1<p<∞ with Mn∈LpM_n\in L^pMn​∈Lp, E[(Mn∗)p]≤(pp−1)p E[∣Mn∣p]\E[(M_n^\ast)^p]\le\big(\tfrac{p}{p-1}\big)^p\,\E[\abs{M_n}^p]E[(Mn∗​)p]≤(p−1p​)pE[∣Mn​∣p].

Proof

Decompose A={Mn∗≥λ}=⨆k=0nAkA=\{M_n^\ast\ge\lambda\}=\bigsqcup_{k=0}^n A_kA={Mn∗​≥λ}=⨆k=0n​Ak​ with Ak={∣M0∣<λ,…,∣Mk−1∣<λ, ∣Mk∣≥λ}∈FkA_k=\{\abs{M_0}<\lambda,\dots,\abs{M_{k-1}}<\lambda,\ \abs{M_k}\ge\lambda\}\in\F_kAk​={∣M0​∣<λ,…,∣Mk−1​∣<λ, ∣Mk​∣≥λ}∈Fk​ the event that λ\lambdaλ is first reached at time kkk. On AkA_kAk​ we have ∣Mk∣≥λ\abs{M_k}\ge\lambda∣Mk​∣≥λ, and since ∣M∣\abs M∣M∣ is a submartingale E[∣Mn∣∣Fk]≥∣Mk∣\E[\abs{M_n}\mid\F_k]\ge\abs{M_k}E[∣Mn​∣∣Fk​]≥∣Mk​∣, so

λ P(Ak)≤E[∣Mk∣ 1Ak]≤E[E[∣Mn∣∣Fk] 1Ak]=E[∣Mn∣ 1Ak],(4)\lambda\,\P(A_k)\le\E\big[\abs{M_k}\,\ind_{A_k}\big]\le\E\big[\E[\abs{M_n}\mid\F_k]\,\ind_{A_k}\big]=\E\big[\abs{M_n}\,\ind_{A_k}\big], \tag{4}λP(Ak​)≤E[∣Mk​∣1Ak​​]≤E[E[∣Mn​∣∣Fk​]1Ak​​]=E[∣Mn​∣1Ak​​],(4)

using that Ak∈FkA_k\in\F_kAk​∈Fk​. Summing over kkk gives λ P(A)≤E[∣Mn∣ 1A]\lambda\,\P(A)\le\E\big[\abs{M_n}\,\ind_A\big]λP(A)≤E[∣Mn​∣1A​], which is Equation (3). For the LpL^pLp bound assume Mn∈LpM_n\in L^pMn​∈Lp, so Mk∈LpM_k\in L^pMk​∈Lp for k≤nk\le nk≤n by Jensen and (Mn∗)p≤∑k≤n∣Mk∣p(M_n^\ast)^p\le\sum_{k\le n}\abs{M_k}^p(Mn∗​)p≤∑k≤n​∣Mk​∣p gives E[(Mn∗)p]<∞\E[(M_n^\ast)^p]<\inftyE[(Mn∗​)p]<∞. By the layer-cake formula and the tail estimate,

E[(Mn∗)p]=∫0∞pλp−1P(Mn∗≥λ) dλ≤∫0∞pλp−2E[∣Mn∣ 1{Mn∗≥λ}] dλ.(5)\E[(M_n^\ast)^p]=\int_0^\infty p\lambda^{p-1}\P(M_n^\ast\ge\lambda)\,d\lambda \le\int_0^\infty p\lambda^{p-2}\E\big[\abs{M_n}\,\ind\{M_n^\ast\ge\lambda\}\big]\,d\lambda. \tag{5}E[(Mn∗​)p]=∫0∞​pλp−1P(Mn∗​≥λ)dλ≤∫0∞​pλp−2E[∣Mn​∣1{Mn∗​≥λ}]dλ.(5)

Tonelli evaluates the inner λ\lambdaλ-integral, ∫0Mn∗pλp−2 dλ=pp−1(Mn∗)p−1\int_0^{M_n^\ast}p\lambda^{p-2}\,d\lambda=\tfrac{p}{p-1}(M_n^\ast)^{p-1}∫0Mn∗​​pλp−2dλ=p−1p​(Mn∗​)p−1, producing the constant p/(p−1)p/(p-1)p/(p−1) and the term pp−1E[∣Mn∣(Mn∗)p−1]\tfrac{p}{p-1}\E[\abs{M_n}(M_n^\ast)^{p-1}]p−1p​E[∣Mn​∣(Mn∗​)p−1]. Holder with conjugate exponents p, p/(p−1)p,\,p/(p-1)p,p/(p−1) bounds this by pp−1E[∣Mn∣p]1/pE[(Mn∗)p](p−1)/p\tfrac{p}{p-1}\E[\abs{M_n}^p]^{1/p}\E[(M_n^\ast)^p]^{(p-1)/p}p−1p​E[∣Mn​∣p]1/pE[(Mn∗​)p](p−1)/p. When 0<E[(Mn∗)p]<∞0<\E[(M_n^\ast)^p]<\infty0<E[(Mn∗​)p]<∞, dividing by E[(Mn∗)p](p−1)/p\E[(M_n^\ast)^p]^{(p-1)/p}E[(Mn∗​)p](p−1)/p yields the claim. The case E[(Mn∗)p]=0\E[(M_n^\ast)^p]=0E[(Mn∗​)p]=0 is trivial.

#Convergence

Theorem4

A martingale bounded in L1L^1L1, sup⁡nE[∣Mn∣]<∞\sup_n\E[\abs{M_n}]<\inftysupn​E[∣Mn​∣]<∞, converges almost surely to an integrable limit.

Proof

For reals a<ba<ba<b let Un([a,b])U_n([a,b])Un​([a,b]) count the upcrossings of [a,b][a,b][a,b] by M0,…,MnM_0,\dots,M_nM0​,…,Mn​. The predictable gambling strategy that buys below aaa and sells above bbb has gains dominating (b−a)Un([a,b])−(Mn−a)−(b-a)U_n([a,b])-(M_n-a)^-(b−a)Un​([a,b])−(Mn​−a)−, and since the strategy is a martingale transform its expected gain is zero, yielding Doob's upcrossing bound

(b−a) E[Un([a,b])]≤E[(Mn−a)−]≤∣a∣+E[∣Mn∣].(6)(b-a)\,\E\big[U_n([a,b])\big]\le\E\big[(M_n-a)^-\big]\le\abs a+\E[\abs{M_n}]. \tag{6}(b−a)E[Un​([a,b])]≤E[(Mn​−a)−]≤∣a∣+E[∣Mn​∣].(6)

The right side is bounded in nnn, so E[U∞([a,b])]<∞\E[U_\infty([a,b])]<\inftyE[U∞​([a,b])]<∞ and U∞([a,b])<∞U_\infty([a,b])<\inftyU∞​([a,b])<∞ almost surely. Taking a countable union over rational a<ba<ba<b rules out oscillation, so MnM_nMn​ converges almost surely to a limit M∞M_\inftyM∞​, which is integrable by Fatou.

#The Doob-Meyer decomposition

Theorem5

(Doob-Meyer.) A right-continuous submartingale of class D\mathrm{D}D admits a unique decomposition Xt=Mt+AtX_t=M_t+A_tXt​=Mt​+At​ with MMM a martingale and AAA a predictable increasing process [1], [2].

Applied to M2M^2M2 for a square-integrable martingale MMM whose stopped family is uniformly integrable, so that M2M^2M2 is a submartingale of class D\mathrm{D}D, the increasing part is the quadratic variation ⟨M⟩\langle M\rangle⟨M⟩, the unique predictable increasing process starting at 000 that makes Mt2−⟨M⟩tM_t^2-\langle M\rangle_tMt2​−⟨M⟩t​ a martingale. The optional stopping of Theorem 2 and the maximal control of Theorem 3 are the two tools that turn this decomposition into a theory of integration against MMM.

[1]
I. Karatzas and S. E. Shreve, Brownian Motion and Stochastic Calculus, 2nd ed. Springer, 1991.
[2]
D. Revuz and M. Yor, Continuous Martingales and Brownian Motion, 3rd ed. Springer, 1999.

Part 2 of 8 in Stochastic Calculus

← previousPredictable Processes and Stopping Timesnext →Quadratic Variation

Explore connections

see in the atlas →

related

  • Conditional Expectation
  • Probability Spaces and Random Variables
  • The Stochastic Integral

referenced by (1)

  • Uniform Integrability and the Vitali Theorem
cite
@misc{martingales,
  author = {Zac Kienzle},
  title  = {Martingales},
  year   = {2026},
  month  = {05},
  url    = {https://zackienzle.com/blog/martingales}
}