Historical Context & Motivation
The concept of mathematical expectation arose from humanity's desire to reason quantitatively about uncertain outcomes — a pursuit deeply entangled with gambling, insurance, and commerce. Long before rigorous measure theory, mathematicians recognized that averaging over possible outcomes of a game or experiment yielded a single representative value that captured the "center" of a distribution. The transition from computing expectations of specific random variables to treating expectation itself as an abstract linear operator was one of the most consequential conceptual shifts in the foundations of probability, enabling the elegant machinery that underpins modern statistics, econometrics, and stochastic analysis.
The central question this lesson addresses is deceptively simple: once we know what the expectation of a single random variable is, what algebraic rules govern expectations of sums, scalar multiples, and more general transformations? Why does E[aX + bY] = aE[X] + bE[Y] hold without any assumption about the dependence between X and Y? Answering this question reveals the deep structural reason: expectation is a linear operator defined via integration, and integration is itself linear.
Core Principles & Definitions
Before cataloguing the properties of expectation, it is essential to understand the formal definition from which they derive. Let (Ω, ℱ, P) be a probability space. For a random variable X : Ω → ℝ that is integrable (i.e., E[|X|] < ∞), the expectation of X is defined as the Lebesgue integral E[X] = ∫Ω X(ω) dP(ω). This integral-based definition immediately inherits the properties of the Lebesgue integral, and it is from this inheritance that every algebraic rule of the expectation operator flows.
Linearity
Monotonicity
Expectation of a Constant
Non-negativity
Multiplicativity for Independent RVs
Visual Explanation — Expectation as a Linear Map
Visualizing expectation as a linear mapping helps build the right geometric intuition. The space of integrable random variables L¹(Ω, ℱ, P) is a vector space: you can add random variables and scale them. The expectation operator E[·] is a linear functional that maps each element of this infinite-dimensional space down to a single real number. The diagram below illustrates this conceptual pipeline, showing how the operator preserves linear structure when projecting from the random-variable space to ℝ.
Notice that nowhere in the diagram does the relationship between X and Y matter. They could be independent, correlated, or even functionally dependent — the linearity arrow remains valid. This is because linearity is a property inherited from the integral, not from any special structure of the joint distribution.
Mathematical Framework
We now present the formal statements and proofs of the key properties. Throughout, let (Ω, ℱ, P) be a probability space and let all random variables mentioned be integrable (i.e., in L¹). The expectation operator is defined as the Lebesgue integral with respect to the probability measure P.
Together, linearity and monotonicity give the expectation operator an extremely tractable algebraic structure. The linearity property generalizes by induction: for any finite collection X1, …, Xn and constants a1, …, an, we have E[Σ aiXi] = Σ aiE[Xi]. For countable sums, additional integrability or convergence conditions (e.g., via the dominated convergence theorem or monotone convergence theorem) are required.
Derived Properties & Classification
Many results in probability and statistics are corollaries of linearity. Below we classify the expectation operator's properties into three tiers: those that follow unconditionally from the definition, those requiring independence or other structural assumptions, and those that fail or require careful qualification.
Worked Example — Applying Linearity
Consider a portfolio problem: an investor holds n = 3 assets with random returns X1, X2, X3 where E[X1] = 0.08, E[X2] = 0.12, E[X3] = 0.05. The portfolio weights are w1 = 0.4, w2 = 0.35, w3 = 0.25. Find the expected portfolio return R = Σ wiXi. Crucially, we do not need to know the joint distribution of the returns.
Strengths, Limitations & Common Pitfalls
While the linearity of expectation is extraordinarily powerful, it is equally important to understand the boundaries of what it can and cannot do. Students commonly err by extending linearity to nonlinear functions or by confusing properties of expectation with properties of variance. The table below provides a systematic comparison.
| Property / Operation | Expectation E[·] | Variance Var(·) |
|---|---|---|
| Additivity: f(X + Y) | E[X + Y] = E[X] + E[Y] — always | Var(X + Y) = Var(X) + Var(Y) + 2Cov(X,Y) — only simplifies under uncorrelatedness |
| Scalar multiplication: f(aX) | E[aX] = aE[X] — linear | Var(aX) = a²Var(X) — quadratic |
| Product: f(XY) | E[XY] = E[X]E[Y] only if X ⊥ Y | No simple formula in general |
| Nonlinear g: f(g(X)) | E[g(X)] ≠ g(E[X]) unless g affine (Jensen's inequality applies) | Var(g(X)) requires delta method or exact computation |
| Constant addition: f(X + c) | E[X + c] = E[X] + c | Var(X + c) = Var(X) — translation invariant |
Connection to Advanced Theory
The properties of the expectation operator become even richer and more nuanced when extended to advanced settings in measure-theoretic probability. The linearity of E[·] is the foundation upon which conditional expectation, Lᵖ space theory, and martingale theory are constructed. In this section, we briefly map the trajectory from the basic operator properties to their generalizations.
| Basic Property | Advanced Generalization | Key Result / Application |
|---|---|---|
| Linearity of E[·] | Linearity of conditional expectation E[·|𝒢] | Tower property: E[E[X|𝒢]] = E[X]; E[·|𝒢] is a projection in L² |
| E[·] as linear functional on L¹ | E[·] as bounded linear functional on Lᵖ | Riesz representation theorem; dual spaces of Lᵖ |
| Monotonicity | Monotone Convergence Theorem (MCT) | If 0 ≤ Xₙ ↑ X, then E[Xₙ] → E[X]; extends linearity to countable non-negative sums |
| Linearity for finite sums | Dominated Convergence Theorem (DCT) | If |Xₙ| ≤ Y ∈ L¹ and Xₙ → X a.s., then E[Xₙ] → E[X]; justifies interchanging limit and E |
| Multiplicativity under independence | Characteristic functions / moment generating functions | φ_{X+Y}(t) = φ_X(t)·φ_Y(t) for independent X, Y; foundation for CLT proofs |
Conditional expectation E[X|𝒢] deserves special emphasis because it is itself a random variable — it is the unique 𝒢-measurable function that preserves the integral over every event in 𝒢. Remarkably, all the linearity properties of ordinary expectation carry over: E[aX + bY | 𝒢] = aE[X|𝒢] + bE[Y|𝒢] a.s. This is the operator-theoretic foundation upon which martingale theory, Bayesian updating, and the theory of sufficient statistics are built.
Practice Problems
Summary & Review
The expectation operator E[·] is a linear functional defined on the space of integrable random variables via the Lebesgue integral. Its most powerful property is linearity: E[aX + bY] = aE[X] + bE[Y] for any constants a, b and integrable random variables X, Y, with no independence assumption required. This decomposes into homogeneity (E[aX] = aE[X]) and additivity (E[X + Y] = E[X] + E[Y]), and extends by induction to any finite linear combination.
Additional properties include monotonicity (X ≤ Y a.s. ⟹ E[X] ≤ E[Y]), expectation of a constant (E[c] = c), and multiplicativity under independence (X ⊥ Y ⟹ E[XY] = E[X]E[Y]). Crucially, expectation does not commute with nonlinear functions — Jensen's inequality governs the direction of the resulting bias. These properties are inherited by conditional expectation and serve as the algebraic bedrock for convergence theorems, martingale theory, and statistical estimation.