On this page
A rule can be completely exact and still be impossible to predict far ahead. The Lyapunov exponent is the number that tells you how fast that predictability runs out.
What does the Lyapunov exponent measure?
The Lyapunov exponent of a dynamical system is the exponential rate at which infinitesimally close trajectories separate (Wikipedia: Lyapunov exponent). If two starting points differ by a tiny gap δ₀, after time t the gap is roughly δ₀e^(λt).
For a one-dimensional map xₙ₊₁ = f(xₙ), the exponent along an orbit starting at x₀ is λ = lim (1/n) Σ ln|f′(xₖ)|, summed from k = 0 to n − 1 (same article). Near xₖ the map stretches a small gap by the factor |f′(xₖ)|. The logarithm turns the product of n stretches into a sum, and dividing by n gives the average stretch per step.
The sign is what matters. A positive largest exponent is usually taken as a sign of chaos, provided other conditions hold, such as a compact phase space (Lyapunov exponent). For the logistic map, stable periodic points have a negative exponent and aperiodic orbits a positive one (Wikipedia: Logistic map).
If reading f′ as a local stretch factor feels shaky, the Fermi Concept Library explains every concept in physics, chemistry, biology, mathematics and computing.
How do you calculate a Lyapunov exponent?
Worked value 1, the doubling map. It is xₙ₊₁ = 2xₙ mod 1: double the number and keep the fractional part (Wikipedia: Dyadic transformation). Its slope is 2 everywhere except at the jump, so every term in the sum is ln 2 and λ = ln 2 ≈ 0.693: any small error doubles every step. In binary, each step uses up one digit of the starting value.
Worked value 2, the logistic map at r = 4. The logistic map is xₙ₊₁ = r xₙ(1 − xₙ), with slope f′(x) = r(1 − 2x) (Logistic map). At r = 4 the size of the slope runs from 4 at the ends to 0 at x = ½, so no single term gives the answer. A change of variable links this map to the doubling map (Dyadic transformation), and for typical starting points its exponent is exactly λ = ln 2, the maximum for the logistic map (Logistic map).
Worked value 3, the logistic map at r = 3.2. For r between 3 and 1 + √6 ≈ 3.449, the map settles into a stable 2-cycle, swinging between two values (Logistic map). The cycle points solve f(f(x)) = x with x ≠ fixed point:
x = [(r + 1) ± √((r − 3)(r + 1))]/(2r), so at r = 3.2, x ≈ 0.7995 and 0.5130.
Slopes: f′(0.7995) = 3.2(1 − 1.5989) ≈ −1.917 and f′(0.5130) = 3.2(1 − 1.0261) ≈ −0.0835.
Over one cycle the stretch is their product. Using the sum and product of the two roots, it simplifies to 4 + 2r − r², which is 0.16 at r = 3.2.
Average per step: λ = ½ ln 0.16 = ln 0.4 ≈ −0.92.
On average a gap shrinks to 40 per cent each step, so nearby starts fall onto the same cycle.
How far ahead can you predict a chaotic system?
The inverse of the largest Lyapunov exponent is the Lyapunov time: by convention, the time for the distance between nearby trajectories to grow by a factor of e, and a measure of the limits of predictability (Wikipedia: Lyapunov time). The same page lists about 5 million years for the Solar System and 36 days for the rotation of the moon Hyperion.
To turn λ into a forecast horizon, set the growing gap equal to the error you can tolerate: δ₀e^(λn) = Δ, so n ≈ ln(Δ/δ₀)/λ.
Worked example with the doubling map. Measure the start to δ₀ = 10⁻⁶ and accept an error of Δ = 0.1: n = ln(10⁵)/ln 2 ≈ 16.6 steps. Now measure 1000 times more precisely, δ₀ = 10⁻⁹: n = ln(10⁸)/ln 2 ≈ 26.6 steps. A thousandfold better measurement buys only 10 more steps, because precision enters through a logarithm.
A checklist for computing λ yourself
Write down f′(x).
Discard the first few hundred iterates.
Average ln|f′(xₖ)| over many more steps; for a cycle, average over exactly one period.
Read the sign. At r = 3 the fixed point 1 − 1/r has slope 2 − r = −1, so λ = ln 1 = 0: zero marks the boundary where behaviour changes.
Convert to a horizon with n ≈ ln(Δ/δ₀)/λ.
To see a negative exponent in a calmer setting, read how fixed-point iteration works, shown with cos x = x and why the contraction mapping theorem sends cos x to 0.739. For the other Lyapunov idea, see how a Lyapunov function proves stability without solving.
Chaos is easier to believe once you watch it. The Fermi Simulation Lab has interactive simulations for ideas that are easier to see than read.



