Conditional Expectation and Martingales
Conditional expectation is the best prediction of a random variable given the information encoded by a -algebra ; it is the unique (a.s.) -measurable, integrable random variable whose averages over -sets match those of . A martingale is a stochastic process that is its own best forecast: , modeling a fair game. These objects underlie modern probability, stochastic calculus, and mathematical finance, and were forged by Kolmogorov (1933), Lévy, and especially Joseph L. Doob (1940s–50s).
Information is a -algebra. To "condition on information " is to find the unique random variable that (i) depends only on and (ii) has the same integral as on every event you can resolve with . A martingale is the special case where today's value already is the best forecast of tomorrow's — so accumulated forecast errors form an orthogonal, mean-zero sequence, and the laws of large numbers and convergence theorems descend from that structure.
Formal Statement
Let be a probability space, a sub--algebra, and (i.e. ). A conditional expectation of given is any random variable satisfying: 1. is -measurable; 2. is integrable; 3. The partial averaging (defining) identity holds:
Derivation hint: Property (3) is the definition; existence/uniqueness (below) make well-defined up to a -null set. Symbols: ranges over events resolvable by ; integrals are Lebesgue integrals against . Such exists and is unique up to -a.s. equality. When for a random variable , we write ; there is a Borel function with a.s.
For every and sub--algebra , exists and is unique up to -null sets. For , is the orthogonal projection of onto the closed subspace :
Derivation hint: is a closed subspace of the Hilbert space ; the projection theorem gives a unique minimizer with , i.e. , which is exactly [1]. Extend from to by approximation/monotone limits.
A filtration is an increasing family of sub--algebras, , modeling information accumulating over time. A process is adapted if each is -measurable. An adapted, integrable process is a martingale if
Derivation hint: This is the "fair game" axiom. Replacing "" with "" gives a submartingale (favorable game); "" gives a supermartingale. Taking expectations in [3] gives constant mean . Equivalently, the increments satisfy — they form a martingale difference sequence.
Let , , and .
Derivation hint: Both sides are -measurable and satisfy [1] by linearity of the integral; uniqueness forces equality.
Derivation hint: The RHS is -measurable; for , by [1] (since ), matching .
Derivation hint: Verify [1] for , , then extend by linearity, monotone convergence, and approximation to general bounded/integrable -measurable .
Derivation hint: Write over supporting lines; apply linearity and monotonicity to , then take the sup inside via -measurability.
Why It Holds / Derivation
:::proof[Existence of via Radon–Nikodym] Step 1 (reduce to ). Write ; treat each part, then subtract using linearity. Assume , .
Step 2 (build a measure). Define for . Then is a finite measure on , and whenever , so (absolute continuity).
Step 3 (Radon–Nikodym). By the Radon–Nikodym theorem there is a -measurable density with
Derivation hint: This is exactly [1] with . The density is -measurable because live on .
Step 4 (integrability and uniqueness). Taking gives , so . If both satisfy [1], then for all ; choosing forces , and symmetrically, so a.s.
Claim. If is a martingale (or supermartingale) with (equivalently ), then a.s. with .
Step 1 (upcrossings). For reals , let be the number of times crosses upward from below to above . Doob's upcrossing inequality states
Derivation hint: Build a predictable "betting" strategy that buys below and sells above ; the resulting gain is a supermartingale with mean , and each completed upcrossing contributes at least .
Step 2 (finite upcrossings). Let . Monotone convergence in [9] gives , so a.s.
Step 3 (rule out oscillation). On the event there exist rationals with , forcing . Taking the union over countably many rational pairs, , so a.s.
Step 4 (integrability). Fatou's lemma: , so is finite a.s. and in .
∎Doob, working at the University of Illinois, transformed an informal "fair game" idea (named after a French betting strategy) into a rigorous theory between 1940 and 1953, culminating in his monograph Stochastic Processes (1953). He proved the martingale convergence theorem, the optional stopping theorem, the maximal and inequalities, and the Doob–Meyer decomposition. He insisted on -algebras as the carrier of information and on conditional expectation as a projection — a viewpoint that made stochastic analysis possible. Paul Lévy independently developed closely related ideas; Kolmogorov's 1933 Grundbegriffe had supplied the measure-theoretic foundation via Radon–Nikodym.
Building Intuition
Think of as a blurry photograph of : you can only distinguish events can resolve. replaces by its average within each cell of the blur — constant on indistinguishable outcomes, but matching the true average over every region you can see (that is [1]). In this is literally dropping a perpendicular: is the closest -measurable shadow of , and the error is orthogonal to everything you know. A martingale is then a process where the best guess of tomorrow, using all of today's information, equals today's value. The increments are pure "surprise": uncorrelated with the past and mean-zero. Because surprises orthogonally accumulate, the variance grows additively (like a random walk), yet the upcrossing argument shows a martingale cannot oscillate forever without unbounded energy — hence convergence. The tower property [5] is the formal statement that "coarsening a refined forecast gives the coarse forecast": you cannot gain by predicting your own prediction.
```svg
```
Worked Examples
Given. Roll a fair die, each with . Let (the squared face). Let — you only learn "low" vs "high".
Steps.
- has two atoms: , , each with .
- On an atom , .
- Low: . High: .
Check [1] on . , and ✓
Given. with i.i.d. each prob , (symmetric simple random walk; a martingale since ). Start with capital that lets you bet between barriers and ( integers). Let , the first hit of a barrier.
Steps.
- is a stopping time and (finite expected exit time for bounded walk), with , so the Optional Stopping Theorem applies:
Derivation hint: is a bounded martingale; uniform integrability/bounded convergence gives .
- Let , so . Then .
- Solve: .
- Expected duration via the martingale (since is constant):
Numbers. With , :
Common Misconceptions
Conditional expectation is a random variable, not a number. is a function on , -measurable. Only for a fixed value is a number. Confusing the two breaks the tower property.
Optional stopping needs a hypothesis. can FAIL for unbounded or unbounded . One sufficient condition: bounded; or with bounded increments; or uniformly integrable.
Martingale ≠ Markov, and Markov ≠ martingale. A martingale is defined by a mean condition relative to the whole filtration; a Markov process is defined by distributional memorylessness. Each can hold without the other.
depends on , not just on and . Changing the measure (e.g. a Girsanov change) changes conditional expectations and can turn a non-martingale into a martingale.
Let be a fair random walk and consider the gambler who doubles the bet after each loss until the first win, stopping at . The wealth process is a martingale and a.s., yet deterministically, so . Optional stopping is violated because is not uniformly integrable: the potential losses before stopping are unbounded. This is precisely why casinos impose table limits and why "sure-win" systems require infinite capital.
Connections
Conditional expectation is the analytic backbone of Bayesian Inference (posterior means are conditional expectations) and of Filtering Theory (the Kalman filter computes ). Through [2], it ties probability to Hilbert Space Projection and the geometry of . Martingales generalize sums of independent mean-zero variables, refining the Law of Large Numbers and the Central Limit Theorem (via the martingale CLT). The Doob–Meyer decomposition links submartingales to Stochastic Integration and the Itô Calculus, where the integral against a martingale is again a martingale. Optional stopping connects to Potential Theory (harmonic functions of Brownian motion are martingales) and to the theory of Markov Processes via the generator and Dynkin's formula.
Real-World Applications
Historical Development
Subtleties & Limits
Regular conditional distributions need not exist in pathological (non-Polish) spaces; the standard guarantee requires the underlying space to be a standard Borel space. Constructing them in greater generality, and understanding when "disintegration" fails, remains technically delicate.
Continuous-time foundations require the "usual conditions" (right-continuity and completeness of the filtration) and notions of predictability; the choice of filtration is not innocent, and questions about enlargement of filtrations (initial vs progressive) and their effect on the martingale property are an active research area (informed trading, insider information models).
Branching-measure and noncommutative analogues. Free-probability martingales and quantum (von Neumann algebra) conditional expectations generalize [1]–[2] to noncommutative spaces; sharp constants in noncommutative Burkholder–Davis–Gundy and Doob inequalities are still being refined.
Optimal constants in classical martingale inequalities (Doob's maximal inequality, Burkholder's sharp constants for martingale transforms and the UMD property) connect to deep problems in harmonic analysis (the Beurling–Ahlfors transform), where exact best constants remain partly conjectural.
See Also
Brownian Motion · Optional Stopping Theorem · Burkholder–Davis–Gundy Inequalities · Radon–Nikodym Theorem · Filtration · Uniform Integrability · Girsanov Theorem · Martingale Representation Theorem