Marginal

Measure & Integration

The rigorous foundation of probability: σ-algebras and measures, Lebesgue measure and null sets, measurable functions and the Lebesgue integral, monotone and dominated convergence, modes of convergence, Fubini's theorem, densities and the Radon–Nikodym theorem, conditional expectation, measures on infinite sequences and martingales.

24 lessons in 3 units

Start your free trial14 days free. No card needed.
What you'll learn

24 lessons, one small step at a time

Each lesson states its goal, then works up to it in short steps with practice after each. A placement test at the start skips what you already know.

Measures

4 lessons
  1. σ-algebrasCheck the axioms of a σ-algebra, explain why probability needs one, build the σ-algebra a partition generates, and read σ-algebras as information.
  2. Measures & additivityApply additivity and countable additivity to compute the measures of unions and of infinite sets.
  3. Lebesgue measureCompute the Lebesgue measure of countable unions of intervals, of points and of overlapping sets.
  4. Null setsShow that countable sets are null, compute the length left in the Cantor construction, and explain why removing null sets changes nothing.

Integration

11 lessons
  1. Simple functionsIntegrate simple functions as weighted sums, and compute the expectations of discrete random variables the same way.
  2. The Lebesgue integralApproximate integrals of non-negative functions from below with simple functions, ignore null sets, split signed functions into positive and negative parts, and read expectation as an integral.
  3. Markov & ChebyshevBound tail probabilities with Markov's and Chebyshev's inequalities, and compare them with exponential bounds.
  4. Monotone convergenceCompute limits of integrals of increasing non-negative functions, and expectations of sums of non-negative variables, with monotone convergence.
  5. Dominated convergenceApply the dominated convergence theorem, and find a dominating function or show that none exists.
  6. Convergence theoremsRecognize mass escaping in the limit, apply Fatou's lemma, and choose which convergence theorem applies.
  7. Convergence in probabilityCompute probabilities of deviations to check convergence in probability, and bound the sample mean's deviations with the weak law.
  8. Modes of convergenceTell convergence in probability from convergence in mean with an example, and order the modes of convergence by strength.
  9. The Borel–Cantelli lemmasApply the two Borel–Cantelli lemmas to decide whether events happen infinitely often, and compute the expected number that occur.
  10. The tail formulaCompute means from tail probabilities, for continuous variables and for counts.
  11. Product measures & FubiniMeasure rectangles with product measures, compute double integrals as iterated integrals, factor expectations of independent variables, and recognize when the two orders disagree.

Measure-Theoretic Probability

9 lessons
  1. Likelihood ratiosCheck whether one measure is absolutely continuous with respect to another, and compute the Radon–Nikodym derivative dQ/dP.
  2. Importance samplingReweight samples by dQ/dP to estimate expectations under another measure, and compute self-normalized estimates and effective sample sizes.
  3. Conditioning on a partitionCompute conditional expectations given a partition as cell averages, and take out what is known.
  4. Conditional expectationState the defining properties of conditional expectation, apply the tower property, and split variance into explained and unexplained parts.
  5. Cylinder setsCompute the probabilities of cylinder sets of binary sequences, and use consistency to fill in missing probabilities.
  6. Measures on sequencesCompute cylinder probabilities under i.i.d. and Markov measures, predict the next symbol as a ratio of cylinder measures, compute semimeasure deficits, and show that patterns appear eventually.
  7. Fair games & martingalesCheck whether a process is a martingale, use its constant expectation, and recognize martingales built from random walks.
  8. Optional stoppingCompute ruin probabilities and expected durations with the optional stopping theorem, and explain why no stopping rule beats a fair game.
  9. Likelihood-ratio martingalesCompute the likelihood ratio of a rival model, and use its mean-one martingale property to bound how high it can rise.
Sample lesson

σ-algebras

Goal: Check the axioms of a σ-algebra, explain why probability needs one, build the σ-algebra a partition generates, and read σ-algebras as information.

Probability theory needs rules about which sets get a probability. For finite sample spaces every subset can, but for infinite ones that leads to contradictions. Andrey Kolmogorov's 1933 axioms resolve this with σ-algebras, which also turn out to be the right way to describe information.

We will state the axioms, see why not every subset can be an event, generate a σ-algebra from a partition, and finish with σ-algebras as information.

Step 1: The axioms

A σ-algebra 𝓕 on a sample space Ω is a collection of subsets, the measurable sets or events, that

contains Ω; is closed under complements; is closed under countable unions

It follows that 𝓕 contains ∅, the complement of Ω, and is closed under countable intersections, since A ∩ B = (Aᶜ ∪ Bᶜ)ᶜ. On Ω = {1, 2, 3, 4}, the smallest σ-algebra is {∅, Ω}, which works on every set, and the largest is every subset. {∅, {1, 2}, {3, 4}, Ω} is one too, but {∅, {1}, Ω} is not: it lacks the complement {2, 3, 4}.

Step 2: Why not every subset

Why not let every subset be an event? On an infinite space that is impossible. Vitali showed in 1905 that no way of assigning lengths to all subsets of [0, 1] can be countably additive and unchanged by shifting: some sets cannot be measured consistently. So probability is defined on a σ-algebra, such as the Borel sets generated by the intervals. It is large enough to contain every set one can describe explicitly, and small enough to leave out the pathological ones.

Step 3: Generated by a partition

Split Ω into k disjoint cells. The smallest σ-algebra containing every cell consists of all unions of cells, one choice per cell of whether to include it:

a partition into k cells generates 2ᵏ sets, including ∅ and Ω

Three cells give 8 sets; ten cells give 1,024. Half of them, 2ᵏ⁻¹, contain any given cell. A set that splits a cell, taking some of its points but not others, is not in the σ-algebra: with cells {1, 2}, {3} and {4}, the set {1, 3} is excluded.

Step 4: σ-algebras as information

A σ-algebra can be read as an information set: the events whose occurrence you can decide. A partition-generated σ-algebra tells you which cell the outcome is in, and nothing more. With cells {1, 2}, {3} and {4}, you learn whether the outcome is 3, 4 or one of 1 and 2, but not which of those two. A random variable is measurable with respect to it exactly when it is constant on each cell: its value is then known from the information. Finer σ-algebras mean more information, and an increasing sequence 𝓕₀ ⊆ 𝓕₁ ⊆ ⋯, a filtration, models information that accumulates and is never forgotten.

In the app, each step ends with practice questions, new ones every time, and the lesson comes back later in spaced reviews.

Start Measure & Integration

Lessons that need something you haven't learned yet bring it in first, from any course.

Start your free trial14 days free. No card needed.