Perfectly lawful motion can still be unpredictable. Release two double pendulums a hair apart, slice a trajectory to see order and chaos side by side, and measure how fast a forecast is lost
Nothing in this module so far has been random. The laws fix the future exactly from the present. And yet for some perfectly simple machines, of which two rods and two hinges are enough, the future cannot be predicted in practice.
The smallest uncertainty about the present doubles, and doubles again, until it is the size of the machine.
Drag a bob and let go. A second, lime pendulum starts beside the first with one angle changed by a hair: compare a small swing with a large one, shrink the hair to a billionth of a degree, then reverse time.
Point masses on rigid, massless rods, with no friction; the upper arm is 1 kg on 1 m. The separation combines the differences in both angles and, multiplied by √(l/g), in both angular velocities. Stepped with an eighth-order Runge–Kutta method 400 times a second, accurate to the last digits of the arithmetic; those digits are then magnified like any other difference. λ is an average over a long stretch of the motion, so a single run’s growth rate and parting time scatter about the predictions. The chart of separations stops at 120 s.
With angles θ1 and θ2 measured from straight down, equal masses m and equal rods l, the Lagrangian of the double pendulum fits on two lines:
L = ml2(θ̇12 + ½θ̇22 + θ̇1θ̇2 cos(θ1 − θ2)) + mgl(2 cos θ1 + cos θ2)
For small swings the equations become linear, and every motion is a sum of two normal modes with ω2 = (2 ∓ √2)g/l. See also: Oscillations and Resonance and The Principle of Least Action. For large ones there is no such formula, and the motion is sensitive to its start: a small separation grows on average as d(t) ≈ d0eλt, where λ is the Lyapunov exponent. To estimate it, the demo follows a companion 10−8 away, notes how far it has strayed every tenth of a second, and pulls it back along the same direction before it can stray far. The average of the logarithms of those growth factors, per second, is λ.
If a forecast is spoiled when the error reaches Δ, it lasts for a time T ≈ (1/λ) ln(Δ/d0). The logarithm is the whole difficulty. Ten times the accuracy buys the fixed extra time ln 10/λ, and doubling T means squaring Δ/d0. The same arithmetic applies to the computer. Rounding in the sixteenth digit is a hair of its own, which is why the reversed motion fails to come home after a while, and why the picture beyond the red line is a typical motion of the pendulum and not the true future of its start. None of this involves losing energy. A system with friction would be easier to predict, since it comes to rest.
In 1814 Pierre-Simon Laplace imagined an intelligence that knew every force and every position at one moment, and for which nothing would be uncertain. In a chaotic world such a demon would need infinite precision: any finite number of decimal places runs out. Henri Poincaré met the phenomenon in the three-body problem in 1889 and 1890. Edward Lorenz ran into it in 1961, when he restarted a computer model of the weather from printed numbers rounded to three decimal places, and published it in 1963 as “Deterministic Nonperiodic Flow”. The “butterfly effect” comes from the title of a talk he gave in 1972. The growth of small errors in the atmosphere is the reason that detailed weather forecasts are limited to about two weeks. See also: Lorenz Attractor in Fractals and Chaos & the Lorenz Attractor in Differential Equations.
Instead of following a motion, mark one dot each time it passes a checkpoint. Click to drop starting points and turn up the kick: a regular motion draws a curve, a chaotic one sprinkles an area.
A rotor of unit moment of inertia turns freely and is tapped once per unit of time with a turning effect K sin θ: one tap and one free turn are the standard map, p′ = p + K sin θ, θ′ = θ + p′. There is no gravity and no friction. Angle and momentum are plotted modulo 360°. Click to drop a starting point; drag a box to zoom. 0.9716 is Greene’s accepted numerical value for the last spanning curve, not computed here. A dot count settles which orbits are chaotic only to within the number of kicks followed. The ½K² rule treats the angles as random; correlations between kicks make the true spread differ from it, at some K by a lot.
Marking a motion only when it crosses a chosen surface turns a continuous flow into a map from one dot to the next, a Poincaré section. For a system with two coordinates at a fixed energy the section is a plane, and the map preserves area in it, provided the axes are a coordinate and the momentum that goes with it. That follows from the conservation of phase-space volume. See also: Phase Space and Hamilton’s Equations.
Some systems have as many independent conserved quantities as coordinates. They are called integrable: the pendulum, the two-body problem, and the rotor at K = 0. Each motion of an integrable system that stays in a bounded region is confined to a doughnut-shaped surface in phase space, an invariant torus, and goes round it at fixed frequencies. Sliced, a torus is a curve. What happens when such a system is slightly disturbed was answered by Andrei Kolmogorov in 1954, Vladimir Arnold in 1963 and Jürgen Moser in 1962, the KAM theorem: if the disturbance is small and smooth enough, most of the tori survive, slightly bent. The ones that break are those whose frequencies are in, or very near, a simple ratio. That is part of the reason the Solar System, a set of two-body problems that gently disturb one another, is not obviously chaotic.
At a resonance the disturbance keeps arriving at the same phase, so its small effects add up. A broken torus leaves behind a chain of islands with unstable points between them, and round each unstable point a thin layer of chaos. The islands have island chains of their own, at every scale. Boris Chirikov’s rule of thumb, begun in 1959 and reviewed in 1979, is that chaos becomes widespread when neighbouring resonances grow wide enough to overlap. In the standard map a spanning curve is a barrier, because a map of the plane that preserves area cannot carry a point across one. The last of them, whose frequency is related to the golden ratio, breaks near K = 0.971635, a value found by John Greene in 1979.
Once no barrier is left, momentum wanders like a random walk although nothing is random. If the angles at successive kicks were independent, the mean of p2 would grow by ½K2 each time. Correlations between kicks make the true rate rise and fall about that as K changes. The double pendulum shows the same passage from order to chaos as its energy rises. At extremely high energy it becomes regular again, since gravity then hardly matters, and without gravity the pendulum’s angular momentum is conserved as well as its energy.
Watch three masses to the end of their dance, then drag them into place and throw them yourself. Try the rare arrangements that last, nudge each one, and fly a probe past the Lagrange points.
Carl Burrau posed this one in 1913: masses 3, 4 and 5 released from rest at the corners of a 3-4-5 triangle. A computer followed it to the end in 1967.
Point masses in a plane with Newton’s gravity and nothing else, shown in the frame of the centre of mass (the dot). The ghost is the same system with its first body shifted. One solar mass, one AU and G = 1 make a year 2π units of time. Stepped with the adaptive Dormand–Prince method, local error 10⁻¹¹ per step; there is no softening of close encounters. Once a ghost shifted by 10⁻⁹ AU has parted, the rest of the run is typical of such a start rather than to be trusted as its true future. Force arrows are drawn on a compressed scale (fourth root), and velocity arrows start from a fixed length so they can be grabbed. The Trojan’s asteroid has no mass, and the star, planet and moon have masses 1, 0.02 and 0.0001 Suns, larger than ours so that the moon can be seen.
Two bodies move on conic sections, exactly and for ever. See also: Gravity and Orbits. With three, the conserved quantities run out before the unknowns do. In the 1880s a prize was announced in honour of the sixtieth birthday of King Oscar II of Sweden, which fell in 1889, and Poincaré won it with a memoir on the three-body problem. While it was being printed he found a serious error in it. The corrected version, published in 1890, contains something he had at first ruled out: the curves leaving and approaching an unstable periodic motion can cross, and if they cross once they cross infinitely often, in what is now called a homoclinic tangle. It is often taken as the birth of chaos theory. In 1912 Karl Sundman did find a series in powers of the cube root of the time that solves almost every three-body problem, but it converges so slowly that it is of no practical use.
The exceptions in the demo are exact or nearly so. Leonhard Euler found the turning straight line in 1767 and Joseph-Louis Lagrange the turning triangle in 1772. Gabriel Gascheau showed in 1843 that the triangle is stable to small disturbances only if (m1m2 + m2m3 + m3m1)/(m1 + m2 + m3)2 is less than 1/27, which for a light third body means a mass ratio of about 25 or more between the other two. The Sun and Jupiter pass easily: thousands of Trojan asteroids keep 60° ahead of Jupiter and 60° behind. The Earth and the Moon pass too, at 81 to 1, though there the pull of the Sun complicates matters. The figure-eight’s stability is delicate: it survives only for masses very nearly equal and nudges that are small.
When the third body is too light to matter and the other two move on circles, the energy of the probe in the turning frame is conserved. It is usually given as the Jacobi constant, C = 2U − v2, with
U = ½(x2 + y2) + (1 − μ)/r1 + μ/r2
Since v2 cannot be negative, the probe can never enter a place where 2U is less than C. The walls meet at the Lagrange points, where U is level and the forces, centrifugal included, balance. For a light second body L1 and L2 lie about (μ/3)1/3 of the separation on either side of it: for the Sun and the Earth, 1.5 million km. Both are unstable, with errors growing more than tenfold in a couple of months, so a spacecraft there has to correct its course now and then.
The planets themselves are chaotic, gently. In 1988 Gerald Sussman and Jack Wisdom found it in the motion of Pluto, and in 1989 Jacques Laskar found that errors in the positions of the inner planets multiply by e about every five million years; Sussman and Wisdom confirmed a similar figure for the whole system in 1992. So nobody can say where the Earth will be in its orbit a hundred million years from now. Its orbit is another matter: simulations find large changes to be very unlikely over billions of years. In a set run by Laskar and Mickaël Gastineau in 2009, Mercury’s orbit became strongly elongated within five billion years in about one run in a hundred. See also: Chaos in the Stadium in Mathematical Billiards.
Spot a mistake or have an idea?