Marginal

Ergodic Theory

When do time averages equal space averages? Measure-preserving transformations, Poincaré recurrence and Kac's lemma, ergodicity, Birkhoff's ergodic theorem, mixing, Bernoulli shifts and symbolic dynamics, Kolmogorov–Sinai entropy, the Shannon–McMillan–Breiman theorem and the ergodic hypothesis of statistical mechanics.

18 lessons in 2 units

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

18 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.

Measure-Preserving Dynamics

11 lessons
  1. Maps of the circleIterate rotations and the doubling map on the circle, and find preimages under the doubling map.
  2. Measure-preserving mapsCompute preimages and their lengths to check whether a map preserves length, use preserved integrals, and find the invariant measure of a map that does not preserve length.
  3. Periodic orbitsFind the periods of rational rotations and of points under the doubling map, and count periodic points.
  4. Poincaré recurrenceCompute mean return times with Kac's lemma, follow the proof of Poincaré recurrence, and explain why recurrence does not threaten the second law.
  5. Invariant setsFind invariant sets of rotations and closed classes of Markov chains.
  6. ErgodicityDecide whether a system is ergodic, and show how time averages fail when it is not.
  7. Time averagesCompute time averages along an orbit and space averages over the invariant measure, and compare them.
  8. Birkhoff's ergodic theoremUse Birkhoff's ergodic theorem to compute long-run frequencies and averages, and derive the normal number theorem.
  9. Leading digitsFind the leading digits of powers of 2 from fractional parts of logarithms, and compute Benford's law frequencies.
  10. Mixing in Markov chainsCompute joint probabilities and covariances of a stationary chain at a lag, and tell ergodic chains from mixing ones.
  11. Mixing & correlationsCompute how fast correlations decay, and tell mixing from ergodicity.

Entropy & Applications

7 lessons
  1. Cylinder probabilitiesCompute the probabilities of words at the start and anywhere in a Bernoulli sequence.
  2. Bernoulli shiftsApply the doubling map as a shift on binary digits, show why the shift preserves the Bernoulli measure, and read itineraries.
  3. Entropy of shiftsCompute the entropy of a Bernoulli shift, and use it to tell shifts apart.
  4. Kolmogorov–Sinai entropyCompute the Kolmogorov–Sinai entropy of expanding maps, Markov chains and smooth systems, and define it through partitions.
  5. Shannon–McMillan–BreimanCompute the log-probability per symbol of a source's output, and use the Shannon–McMillan–Breiman theorem to count typical sequences.
  6. The ergodic hypothesisUse the ergodic hypothesis to equate time and ensemble averages, and explain when it fails and what is known.
  7. Time-average growthCompute the ensemble-average and time-average growth rates of a multiplicative bet, and explain why they differ.
Sample lesson

Maps of the circle

Goal: Iterate rotations and the doubling map on the circle, and find preimages under the doubling map.

Ergodic theory grew out of a question Boltzmann posed for gases: if you follow one system for a long time, do you see the same averages as if you sampled many systems at one instant? It studies what happens when a map T is applied over and over, usually on [0, 1) with its ends glued into a circle.

We will iterate rotations and finish with the doubling map.

Step 1: Rotations

"mod 1" keeps only the fractional part: 1.3 mod 1 = 0.3, and a negative number is brought into [0, 1) by adding 1, so −0.2 mod 1 = 0.8. A rotation moves every point by the same amount α:

T(x) = x + α mod 1, Tⁿ(x) = x + nα mod 1
0x₀x₁x₂x₃x₄

Above: the orbit of x₀ = 0.1 under rotation by 0.3. After x₂ = 0.7 the next point 1.0 wraps around to 0. Rotating 0.6 three times by 0.25 gives 0.6 + 0.75 = 1.35, so T³(0.6) = 0.35.

Step 2: The doubling map

The doubling map stretches the circle twice around itself:

T(x) = 2x mod 1, Tⁿ(x) = 2ⁿx mod 1
00.5100.51T(x)x

From 0.35 it goes to 0.7, then 1.4 mod 1 = 0.4. Rotations preserve distances; the doubling map doubles them, so nearby points soon separate. Every point has two preimages, y/2 and (y + 1)/2: the points sent to 0.6 are 0.3 and 0.8.

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

Start Ergodic Theory

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.