On this page
Perfume sprayed in a sealed room spreads until it fills the space. A theorem from 1890 says that if you wait long enough, the molecules will crowd back into their corner. Both are true. Here is the theorem, a short proof, and the arithmetic of why nobody sees perfume un-spread.
What does the Poincaré recurrence theorem say?
Henri Poincaré set it out in his 1890 memoir on the three-body problem in Acta Mathematica, and Constantin Carathéodory gave a measure-theory proof in 1919, as this summary of the theorem records.
Poincaré recurrence theorem: if a system preserves volume in phase space and stays in a region of finite volume, almost every starting state eventually returns arbitrarily close to where it began.
Phase space is the space of all states: every position and velocity of every particle. One point is one complete snapshot.
Volume-preserving means a blob of states may stretch and fold, but its total volume never changes. By Liouville's theorem, Hamiltonian systems such as frictionless mechanics do this.
"Almost every" means the states that never return have zero total volume: they can exist, but you will not land on one by chance. The return is close, not exact, and need not repeat on a regular cycle.
Why must the system come back?
The proof is the pigeonhole principle in a lab coat. Take a small region A of states with positive volume, and let B be the states in A that never return to A. For a reversible (Hamiltonian) system:
Follow B forward one step, two steps, three steps. Volume is preserved, so each copy has the same volume as B.
No two copies overlap. If the copy after 3 steps met the copy after 7, running time back 3 steps would put a state of B back in B after 4 steps, which B's states never do.
So infinitely many equal, non-overlapping copies of B sit inside a finite volume.
That is only possible if each copy has zero volume. So B has zero volume.
Shrink A around a state and you get "arbitrarily close". You can check this on paper: step around a circle by 0.618034 of a turn each time, a length-preserving motion on a bounded space. Up to step 34, each new closest return comes at a Fibonacci step (1, 2, 3, 5, 8, 13, 21, 34); the last five land within 0.090, 0.056, 0.034, 0.021 and 0.013 of a turn. For random walks, return is certain in one and two dimensions but not in three: see Pólya's recurrence theorem for random walks.
How long would a gas in a box take to unmix?
Ernst Zermelo turned the theorem into an objection in 1896. The Stanford Encyclopedia of Philosophy describes his argument as a dilemma: the second law and gas theory, as he understood it, "cannot both be literally true". Boltzmann replied, and Steckline's 1983 paper in the American Journal of Physics summarises the exchange.
A toy model: N molecules sit in a box with an imaginary line down the middle. Every tick they take a fresh random arrangement, each molecule equally likely to be left or right. The chance that all N are on the left is (1/2)^N. Kac's lemma says the mean return time to a set is one divided by its share of the space, so the average wait is 2^N ticks.
N = 10: 1,024 ticks.
N = 20: about a million ticks.
N = 100: about 1.27 × 10^30 ticks.
Allow one tick per picosecond (a trillionth of a second). Then 100 molecules need about 1.27 × 10^18 seconds, roughly 40 billion years. The universe is 13.82 billion years old according to ESA's 2013 Planck results, so 100 molecules need nearly three times that.
Does Poincaré recurrence contradict the second law?
In principle, yes. In practice the clash cannot be tested:
The wait is too long. For macroscopic systems the recurrence time is vastly longer than the current age of the universe, as the recurrence paradox section notes.
The unmixed state is rare. "All on the left" is one arrangement in 2^N, so rising entropy is overwhelmingly likely, not strictly certain.
For the textbook side, see how entropy changes when ideal gases expand and mix.
How do you test whether a system will recur?
Bounded? Fixed energy plus walls, or a compact space such as a circle.
Volume-preserving? No friction: Hamiltonian motion, or a map whose Jacobian determinant is ±1.
Conclude carefully. Almost every state returns arbitrarily close, not every state exactly.
Estimate the wait. One divided by the target's share of the space, compared with the time that matters.
In chaotic systems, nearby states drift apart fast between returns, which is what the Lyapunov exponent measures. For phase space and entropy, the Fermi Concept Library has a lesson on every concept in physics and mathematics. If a folding blob of states is hard to picture, the Fermi Simulation Lab has interactive simulations for ideas easier to see than to read.
Next time someone says entropy forbids un-mixing, ask how long they are willing to wait.



