A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Conditional Expectation

Research Depth 105 in the knowledge graph ☐ I know this ☆ Set as goal
201topics build on this
537prerequisites beneath it
See this on the map →
Conditional DistributionsExpectation (Measure-Theoretic)+5 more→→Bayesian Inference FoundationsBranching Processes+10 more
conditional-expectation sigma-algebras probability

Core Idea

Conditional expectation E[X|G] with respect to a sigma-algebra G is the unique G-measurable random variable satisfying E[E[X|G]·1_A] = E[X·1_A] for all A ∈ G. It generalizes discrete conditional expectation and has properties: E[E[X|G]] = E[X], E[aX + bY|G] = aE[X|G] + bE[Y|G], and the tower property E[E[X|G₁]|G₂] = E[X|G₂] when G₂ ⊆ G₁.

How It's Best Learned

Use a fair die, where a σ-algebra generated by a partition makes E[X|G] the block average on each block. With G₂ from {1,2,3}, {4,5,6}, E[X|G₂] is 2 then 5. With the finer G₁ from {1,2}, {3}, {4}, {5,6}, the values are 1.5, 3, 4, 5.5. Average those over {1,2,3} and {4,5,6} to recover 2 and 5, which is the tower property. Then check the defining identity on one block.

Common Misconceptions

Notes

The existence of E[X|G] relies on the Radon-Nikodym theorem applied to the measure ν(A) = E[X · 1_A] and the probability measure P restricted to G. The G-measurability requirement is what makes conditional expectation a projection in the Hilbert space L²(Ω, G, P), and the projection interpretation gives a geometric intuition: E[X|G] is the closest G-measurable approximation to X in the L² sense.

Explainer

If you have studied expectation in the measure-theoretic sense, you already know E[X] as an integral over the full probability space. Conditional expectation E[X|G] asks a more refined question: given the partial information encoded by a sub-sigma-algebra G, what is our best prediction of X? The sigma-algebra G represents "what we can observe" — if G is generated by a random variable Y, then E[X|G] is essentially E[X|Y], but stated in the language that works for continuous and abstract settings alike.

The definition is elegant but indirect. Rather than computing E[X|G] by a formula, we characterize it: E[X|G] is the unique G-measurable random variable Z such that for every event A ∈ G, the integral of Z over A equals the integral of X over A — that is, E[Z · 1_A] = E[X · 1_A]. This says Z correctly replicates the behavior of X when "averaged" over any G-observable event. The Radon-Nikodym theorem guarantees such a Z exists and is unique almost surely, which is why the definition works.

The most important property for applications is the tower property: if G₂ ⊆ G₁, then E[E[X|G₁]|G₂] = E[X|G₂]. Intuitively, if you first condition on fine-grained information (G₁) and then further average out to a coarser level (G₂), you end up exactly where you would have if you had conditioned on G₂ from the start. Think of it this way: averaging over neighborhoods within a city, and then averaging those neighborhood averages over the whole city, gives the same result as averaging directly over the whole city. The coarser conditioning always dominates.

The other key properties follow from the defining integral condition. Linearity — E[aX + bY|G] = aE[X|G] + bE[Y|G] — holds because integration is linear. The smoothing property E[E[X|G]] = E[X] is a special case of the tower property with G₂ = {∅, Ω} (the trivial sigma-algebra). And if X is already G-measurable — meaning X is fully determined by the information in G — then E[X|G] = X almost surely, since X itself satisfies both defining conditions.

Conditional expectation is the foundation of martingale theory and Bayesian inference. A martingale is a process where E[X_{n+1}|G_n] = X_n — the best prediction of the next value, given current information, is the current value. In Bayesian statistics, updating a prior after observing data is precisely the operation of conditioning: the posterior is the conditional distribution, and its mean is a conditional expectation. Mastery of E[X|G] opens both of these rich areas.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Conditional Distributions → Conditional Expectation

Longest path: 106 steps · 537 total prerequisite topics

Prerequisites (7)

Leads To (12)