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 α:
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:
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.