Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Expectation

Expectation is the Lebesgue integral against , and every property of it is a property of the integral proved in lebesgue-integral.md. What this page adds is the probabilistic layer: the change-of-variables formula that lets one compute with laws instead of sample spaces, the standard inequalities, the transform methods (moment- and characteristic functions) that drive the central limit theorem, and the concentration bounds that make randomized algorithms work (complexity-theory.md §7).

References: Williams, Probability with Martingales, ch. 5–6; Durrett, Probability, §1.6, 3.3; Boucheron–Lugosi–Massart, Concentration Inequalities.

1. Definition

Definition. For a random variable on ,

defined whenever the Lebesgue integral is: always for (value in ), and for general when , i.e. .

The convergence theorems transfer verbatim and are used under their probabilistic names:

  • Monotone convergence. .
  • Fatou. for .
  • Dominated convergence. a.s., with .
  • Bounded convergence. The special case — available here but not in general measure theory, because makes constants integrable.

That last item is the one genuine simplification probability enjoys: on a probability space, for all , and is non-decreasing in (Jensen). Nothing of the sort holds on with .

2. Computing with the Law

Theorem (change of variables). For Borel with or ,

Proof. True for by the definition of the pushforward ; extend by linearity to simple , by monotone convergence to , and by decomposition to general .

This is why the sample space disappears (random-variables.md §5). In the two standard cases:

Both are instances of one theorem, which is the practical dividend of the measure-theoretic definition: elementary treatments need two separate theories.

Tail formula (layer cake). For , from Tonelli applied to on (product-measures.md §3). For integer-valued this reads .

3. Moments and Variance

Definitions. The -th moment is ; the variance is ; the covariance is .

is a Hilbert space (hilbert-spaces.md), and covariance is its inner product on centred variables. This is not an analogy: uncorrelated means orthogonal, is the squared norm, and bilinearity plus Pythagoras gives

The geometric reading pays off again in conditional-expectation.md, where conditioning is literally orthogonal projection.

Moments need not exist. The Cauchy law has no mean; the -distribution with 2 degrees of freedom has a mean but no variance. Finiteness of moments is a real hypothesis, and the limit theorems say exactly which ones they need.

4. Inequalities

Markov. For and : .

Proof. ; take expectations.

Everything else in this section is Markov applied to a cleverly chosen function.

Chebyshev. — Markov applied to .

Jensen. For convex with : .

Proof. A convex function has a supporting line at : ; take expectations.

Jensen gives , the monotonicity of norms, and the arithmetic–geometric mean inequality as special cases.

Cauchy–Schwarz. , with equality iff are a.s. proportional — the inner-product inequality (lebesgue-integral.md §8), whence and the correlation coefficient lies in .

5. Generating Functions and Characteristic Functions

Definitions. The moment generating function is (possibly ), and the characteristic function is

i.e. the Fourier transform of the law.

is defined for every law and every , so the integral converges absolutely — which is exactly why it, and not , is the right tool. It is uniformly continuous, , , and .

Uniqueness / inversion (Lévy). determines . If , the law has a bounded continuous density .

Independence. (independence.md §4). Convolution of laws becomes multiplication of transforms.

Moments. If then is times differentiable and — so a Taylor expansion of near encodes the low-order moments, which is precisely how the CLT proof extracts a Gaussian.

Lévy continuity theorem. (in distribution) pointwise, provided the limit is continuous at . This converts a statement about measures into a statement about ordinary functions and is the engine of the CLT.

The moment problem is the caveat on the parallel theory of moments: a law is not in general determined by its moments (the lognormal has moment-identical companions). Determinacy needs a growth condition — e.g. Carleman's, or finiteness of near . Characteristic functions have no such defect.

6. Concentration

Chebyshev gives decay ; for sums of bounded independent variables the truth is exponential, and the improvement is what makes randomized computation practical.

Chernoff method. For any , then optimize over . Markov plus the MGF.

Hoeffding's inequality. Let be independent with a.s., and . Then for

Proof sketch. Hoeffding's lemma bounds by convexity; independence multiplies the MGFs (§5); optimize in the Chernoff bound.

Chernoff bound for Bernoulli sums. If with , then and .

Amplification — the complexity-theory use. A machine accepts with probability on yes-instances and on no-instances (complexity-theory.md §7). Run it times independently and take the majority: the number of correct runs is a sum of i.i.d. Bernoulli variables, and Hoeffding with bounds the probability of a wrong majority by . So repetitions drive the error to , which is why the constant in the definition of is arbitrary. That is the whole content of "the error can be amplified".

The distinction to keep: Chebyshev needs only a variance and is tight for heavy-tailed variables; exponential bounds need boundedness (or a sub-Gaussian / sub-exponential tail hypothesis) and are what fail for the Cauchy law.

7. Where This Is Used