A chain of 64 masses connected by springs that are almost linear:
each spring stores a/2·s² + b/4·s⁴. Start the chain in one single
normal mode — a pure sine, all the energy in mode k=1 — and ask a
question that Fermi, Pasta, Ulam and Tsingou asked in 1955 and that is
still not fully answered: does the energy spread out over all the modes
and stay there?
It should. Any weak nonlinearity couples the modes, and a system with 64 degrees of freedom is supposed to mix. The experiment found that it mostly does not: the energy leaves mode 1, wanders, and then comes almost all the way back. That is the FPU recurrence, and it is why the modern theory of integrable systems, solitons and KAM tori got going.
Roughness r = b·A²/a is the ratio of the nonlinear to the
linear part of the spring energy for a typical bond. It is the number that decides
everything. Move the sliders while it runs — the sliders rebuild the run.
Top: the chain itself, drawn as displacement of the 64 masses
(the coils of a spring). Middle: a spectrogram — each row is a normal
mode k = 1 … N/2, left to right is time, and the colour is that
mode's share of the energy, on a log scale. A single bright row on the left
that fades and comes back is the FPU recurrence. Bottom: the same
thing as one number, the fraction of the energy in the mode you started,
E₁/E, against time in periods of that mode.
Numbers below are from the C program ~/src/fput.c (same equations,
velocity–Verlet, mode energies by direct DFT), N=64, mode 1 excited, 1000 periods.
The last column is the relative drift of the true Hamiltonian over the whole run; my first
version of this code summed the potential as bΔ³/4 instead of bΔ⁴/4 and compared
against only the quadratic part of the initial state, which made the drift look enormous
(20 % at r = 100). Both bugs are fixed and the drift column is now boring, which is the
point: the flat spectra at large r are not integrator heating.
| r = 0.3 | E₁ never drops below 0.996 — one mode, plus faint harmonics; total return (drift 7e-7 over 1000 periods) |
| r = 1 | E₁ dips to 0.94 and returns to 0.95 — harmonics only, full recurrence (drift 4e-7 over 1000 periods) |
| r = 3 | E₁ dives to 0.44, back to an average of 0.58, 3 modes active — the classic FPU recurrence (drift 3e-7 over 1000 periods) |
| r = 10 | E₁ falls to 0.0009 in a few hundred periods; by period 1000 it creeps back to 0.087 and 31 of the 32 modes sit above a quarter of equipartition — quasithermal (drift 3e-7 over 1000 periods) |
| r = 30 | E₁ → 0.0002, late share 0.05, 29 modes — thermal-looking (drift 3e-7 over 1000 periods) |
| r = 100 | E₁ → 0.0005, flat spectrum, no recurrence (drift 1e-7 over 1000 periods). Over 200 periods at three stepsizes: median mode energy 818.8 / 818.8 (dt/20) and 8 modes below half the median for every dt — converged; the mode-1 share is pure window noise, see below |
That last row deserves the detail. Energy is conserved to one part in ten million at every dt, so the spectrum is not an artifact of the step. I cut each 200-period trace into 20 blocks of ten periods and bootstrapped. The median mode energy and the count of modes below half the median reproduce across dt = 0.10, 0.033 and 0.011 of the fastest period (8 ± 1 modes). The share of the driven mode does not: its block scatter is a factor of two about a median of 1.0, and the whole-run medians differ by a factor of seven between the coarsest and the middle step. The trajectory is a random walk through mode space, so a single averaged number is not a measurement of anything; print the scatter. For r > 30 I claim "looks thermal", not "is thermal at the 1 % level". The r = 10 panel is checked three ways and is a measurement.


The same runs as a curve: the fraction of the total energy still in mode 1, on a log scale, drawn as the running maximum over the last 30 periods (the energy sloshes back and forth violently, so the floor of the oscillation is the interesting part). At r ≈ 0.3 nothing leaves mode 1 at all — the wave is linear for practical purposes. Between r = 3 and r = 10 the drop is sudden: from a shallow dip with a full return to essentially zero in one step of the knob. That edge is the resonance‑overlap threshold: once the nonlinear frequency shift of mode 1 is wide enough to reach its neighbours, the resonances overlap and the motion becomes chaotic on the whole chain.

The same experiment ten times longer: 10000 periods, five runs, each with total energy conserved to under 2 %. Three things show up that the 1000-period view hides. At r = 1.26 the chain gives almost all its energy back at t ≈ 7300 periods — a FPU recurrence far out than the short window shows. At r = 4.19 it dips to a quarter and returns only partially, hovering near 0.66. And at r = 12.6 the curve never comes back above 0.04 in ten thousand periods: for a 32-mode chain that is as close to “thermal” as this system gets.
The same experiment, four times. Each panel shows the chain itself: brightness is the displacement u$_i$ of site $i$ (horizontal, 0…64) at that moment (vertical, 1000 periods of the excited mode, early times at the top). At r=1 the wave just sits there, a clean stripe. At r=10 the stripe shreds into noise within a few hundred periods — and the energy has left mode 1 completely.
So the paradox is not "it never thermalises" — above r≈10 it does, in a few hundred periods. The paradox is the threshold: at r≈1 the same system, run for 3000 periods, never gets its energy out of three modes. Between r=1 and r=10 a 32-mode chain goes from "prisoners in a few modes" to "featureless thermal noise", and nobody has a clean theory for where that line is, only scaling arguments that it moves when you change N.
Velocity–Verlet, dt = 0.1 / 2√(a + 12bA²), periodic ends,
energy per mode from the discrete Fourier transform of position and velocity,
Ek = ½|v̂k|²/N + ½ωk²|x̂k|²/N, doubled for interior modes.
The total energy here is the true Hamiltonian, kinetic + Σbonds bΔu⁴/4.
Verlet is symplectic, so it does not leak: over 1000 periods the relative drift is
−7·10−7 at r = 0.3, −3·10−7 at r = 10 and
−1·10−7 at r = 100, and it shrinks as dt² (at r = 100,
going from dt = 0.10 to 0.033 of the fastest period cuts it from 2.9·10−7
to 2.4·10−8). My first version of this page reported 1.4 % at r = 10 and
20 % at r = 100, and blamed that leak for the flat spectrum at large r. It was an
arithmetic bug: the summed potential used bΔu³/4 instead of bΔu⁴/4, and the
drift was measured against only the quadratic part of the initial state. Nothing
physical was hiding in that number — which is why the mode spectra, computed by DFT
from x and v, never changed. The linear
case b=0 keeps E₁/E = 1 to machine precision, which is the check that
the signs in the force are right (they were not, at first: the sign of the
nonlinear term set the direction of the anti-damping).
The browser runs the same integrator as the C code, in double precision, at up to a few hundred thousand steps per second.