Differential equations and dynamical systems
Ergodic theory
Studies the long-term average behavior of dynamical systems, connecting them to measure-preserving transformations.
IntuitionIf you spin forever by the same odd angle, do you eventually visit everywhere?
Mark a point on a circular dial and rotate it, again and again, by a fixed angle that is an irrational fraction of a full turn — say, the golden angle of about , as sunflower seeds and pinecone scales grow. Because the angle is irrational, the point never returns exactly to where it started, and remarkably it eventually comes arbitrarily close to every point on the circle, visiting each small arc with a frequency proportional to the arc's length. No randomness is involved anywhere — the rule is a single rigid rotation, repeated forever — yet the long-run statistics look exactly as if the point were chosen uniformly at random. This equidistribution phenomenon, and the question of which average properties a deterministic rule produces over infinite time, is the subject of ergodic theory.
UndergraduateMeasure-preserving transformations
Definition: Measure-preserving transformation
Let be a probability space (a set , a -algebra of measurable subsets, and a measure with ). A map is measure-preserving if for every — the measure of the set of points that will land in equals the measure of itself. Intuitively: applying never creates or destroys probability mass, only rearranges where it sits.
Three examples anchor the theory. The irrational rotation on the circle with irrational preserves ordinary (Lebesgue) length, since rotating an arc does not change its length. The doubling map also preserves Lebesgue measure — it is exactly 2-to-1, and each of the two preimage branches of an interval is compressed by a factor of , so their total length exactly reconstructs the original. And a Bernoulli shift (independent coin flips, shifted one step at a time) preserves the natural product probability measure on the space of infinite coin-flip sequences, since shifting a sequence of independent flips one step still leaves independent, identically distributed flips.
A measure-preserving is ergodic if every -invariant set is essentially trivial: for every measurable . Equivalently, the system cannot be split into two pieces of positive measure that never mixes together — there is no nontrivial way to decompose the dynamics. Both the irrational rotation and the doubling map are ergodic with respect to Lebesgue measure, but for entirely different reasons, as the table below makes precise.
| Transformation | Ergodic? | Mixing? |
|---|---|---|
| Irrational rotation | Yes — every orbit is equidistributed | No — rigid rotation never mixes two arcs together |
| Doubling map | Yes | Yes — correlations between distant times decay to zero |
| Identity map | No (unless is a single point) — every set is invariant | No |
UndergraduateBirkhoff's ergodic theorem and Poincaré recurrence
Let be a measure-preserving transformation of a probability space and . Then the time averages converge for -almost every to a -invariant limit with . If moreover is ergodic, then — the time average along a single orbit equals the space average.
Why is it true?
This is the rigorous version of an intuition physicists had used for decades without proof (Boltzmann's ergodic hypothesis in statistical mechanics): to compute the long-run average of some quantity, you can either watch one system evolve for a very long time, or average over a whole ensemble of systems at one instant — and for ergodic systems these two very different-sounding computations give exactly the same answer.
Proof
Step 1 (invariant limsup and liminf). Define and . Since , dividing by and letting shows and : both are -invariant functions.
Step 2 (the maximal ergodic theorem). For , let be the set where the running time average ever exceeds . The key technical lemma (proved by considering and the maximum of the partial sums , then using termwise and integrating over the set where ) gives .
Step 3 (squeezing f and f_ together). Suppose for contradiction that on a set of positive measure; then there exist rationals with of positive measure. is -invariant (since are), so we may restrict attention to . Applying the maximal inequality to on forces , and applying it to similarly forces ; since and these contradict each other. Hence almost everywhere, so the limit exists a.e. and is -invariant.
Step 4 (matching the integrals, and the ergodic case). A dominated-convergence argument (truncating and controlling the tails using the maximal inequality again) shows . Finally, if is ergodic, the -invariant function must be constant almost everywhere (by the very definition of ergodicity applied to its level sets , each of which is -invariant and hence has measure or ); combined with the equality of integrals, that constant must be , giving .
Let be a measure-preserving transformation of a probability (or more generally finite-measure) space and let with . Then almost every point of returns to infinitely often: for almost every , for infinitely many .
Why is it true?
If space is finite and nothing is ever destroyed (measure-preservation), a region cannot keep sending points off to entirely new, never-before-visited territory forever — eventually the system has to start revisiting where it has already been, simply because there is nowhere new left to put the returning measure.
Proof
Step 1 (points that never return). Let be the points of that never come back to . The sets are pairwise disjoint: if with , then but also with , contradicting that never returns to . So .
Step 2 (the never-return set has measure zero). Since is measure-preserving, for every . If , the countably many pairwise disjoint sets () would all have this same positive measure, so their union would have infinite total measure — impossible since (indeed ). Hence .
Step 3 (finitely-often visitors also have measure zero). Let . Writing as a countable union over of (essentially) the never-return set of under the shifted dynamics, , each term has measure zero by exactly the Step 1–2 argument applied to in place of (using ). By countable subadditivity, .
Step 4 (conclusion). Every (which has full measure in , since ) returns to infinitely often by definition of . This is exactly the statement of the theorem.
AdvancedMixing: a stronger form of ergodicity
Definition: Strong mixing
A measure-preserving is (strongly) mixing if for all measurable : the fraction of that lands back in after steps converges to what it would be if and were statistically independent. Mixing implies ergodicity (take with : then , forcing ), but not conversely.
Why is the irrational rotation ergodic but not mixing? Take a small arc: rotating it by just moves the same small arc rigidly around the circle, so is either empty or (for infinitely many , since the rotation is equidistributed) very close to all of again — the overlap fraction never settles down to the independent value , it keeps oscillating back up near . The doubling map, by contrast, stretches and folds every small interval across the whole space exponentially fast, genuinely scrambling it — the mechanism responsible for its mixing, and ultimately for treating chaotic maps like logistic dynamics as "as good as random" for statistical purposes.
UndergraduateReal-World Applications and Worked Examples
Ergodic theory turns "average behavior over infinite time" into a computable, provable statement, which is exactly what statistical mechanics needs to justify replacing a single physical system's long-run average with an ensemble average (Boltzmann's ergodic hypothesis), what data compression needs to define the entropy rate that bounds how much a source can be compressed (via the Kolmogorov–Sinai entropy of the associated shift), what search engines like Google's PageRank need to guarantee a unique long-run visiting frequency for a random web surfer (the invariant measure of a Markov chain), and what cryptographic pseudo-random generators built from chaotic maps need to justify treating their output as statistically random. In every case, ergodic and mixing properties are what license treating a single deterministic trajectory as if it carried statistical information about the whole system.
Example: How often does an irrational rotation visit a given arc?
Let with irrational act on the circle with Lebesgue measure, and let . For a generic starting point , what fraction of the first iterates land in , as ?
Solution
This is exactly a Birkhoff ergodic theorem computation with , the indicator function of : the time average is precisely the fraction of the first iterates landing in .
Irrational rotations are a classical example of an ergodic transformation with respect to Lebesgue measure (this is Weyl's equidistribution theorem in disguise: any -invariant set, when expanded in a Fourier series, forces all nonzero Fourier coefficients to vanish because rotation multiplies them by , leaving only a constant function).
Since is ergodic, Birkhoff's theorem applies in its strongest form: the time average equals the space average for every generic starting point, not just on average over starting points. The space average is .
So the long-run fraction of time the orbit spends in is exactly , regardless of which you start from (outside a measure-zero exceptional set) — a rigorous version of "the deterministic rotation behaves, statistically, just like picking a uniformly random point in each time."
Example: How much can a biased data source be compressed? The Kolmogorov–Sinai entropy of a Bernoulli shift
A data source emits independent bits, each with probability and with probability — modeled ergodically as the Bernoulli shift on sequences with the product measure . Compute its entropy rate (the Kolmogorov–Sinai entropy of the shift, equal to the Shannon entropy of a single symbol here), which by Shannon's source coding theorem is the minimum number of bits per symbol needed, on average, to losslessly compress this source.
Solution
For an i.i.d. (Bernoulli) source, the Kolmogorov–Sinai entropy of the shift map reduces to the ordinary Shannon entropy of a single symbol: .
Substituting , : .
Compute each term: bits, and bits (using and ).
Adding these, . So on average, no lossless code can compress this source below about bits per symbol (noticeably less than the bit/symbol needed for a fair coin, precisely because the bias makes the source more predictable, hence more compressible) — and Shannon's theorem guarantees this bound is achievable.
A transformation preserves a probability measure , meaning . For which sets must this equation hold?
By Birkhoff's ergodic theorem, for the ergodic irrational rotation and , what is the long-run fraction of time a generic orbit spends in ?
According to the Poincaré recurrence theorem, for a measure-preserving system on a finite-measure space with , almost every point of ...
A source emits i.i.d. bits with . Its entropy rate (the Kolmogorov–Sinai entropy of the associated Bernoulli shift), rounded to two decimals in bits, is closest to:
References
- Peter Walters (1982). An Introduction to Ergodic Theory
- George D. Birkhoff (1931). Proof of the Ergodic Theorem
- John von Neumann (1932). Proof of the Quasi-Ergodic Hypothesis
- Hillel Furstenberg (1981). Recurrence in Ergodic Theory and Combinatorial Number Theory