Logistic Map and Lyapunov Exponent
Logistic Map and Lyapunov Exponent: Stability, Period Doubling, and Sensitivity
The map
The logistic map is the recurrence
xn+1 = f(xn) = r xn(1 − xn),
with 0 ≤ x ≤ 1 and control parameter 0 ≤ r ≤ 4, which keeps every iterate inside [0, 1]. It began as a simple model of a population with limited resources: the factor r x represents growth and the factor (1 − x) represents crowding.
Its importance in physics is that one smooth, deterministic rule produces convergence, oscillation, and chaos as r is varied.
Iterating by hand. Always feed the new value back in. For r = 2.5 and x0 = 0.2: x1 = 2.5 × 0.2 × 0.8 = 0.4, x2 = 2.5 × 0.4 × 0.6 = 0.6, and x3 = 2.5 × 0.6 × 0.4 = 0.6. The orbit has landed on a fixed point.
Fixed points and their stability
A fixed point satisfies x* = f(x*). Solving x = rx(1 − x) gives x* = 0 and x* = 1 − 1/r, the second lying in (0, 1) only for r > 1.
To test stability, follow a small deviation δn = xn − x*. Linearizing, δn+1 ≈ f′(x*) δn, so the deviation is multiplied by the multiplier f′(x*) each step, where f′(x) = r(1 − 2x).
- |f′(x*)| < 1: the fixed point is stable (attracting).
- |f′(x*)| > 1: it is unstable (repelling).
- For a nearby orbit of an attracting fixed point, where |f′(x*)| < 1, the sign determines the approach: a positive multiplier gives monotonic convergence from one side, while a negative multiplier makes the deviation alternate in sign and converge from alternating sides.
For the two fixed points, f′(0) = r and f′(1 − 1/r) = r(1 − 2 + 2/r) = 2 − r.
So the origin is stable for r < 1, and the nontrivial fixed point is stable for 1 < r < 3. At r = 2.5, x* = 0.6 is stable with multiplier −0.5. Nearby orbits that do not land exactly on the fixed point approach it from alternating sides.
The worked orbit reaches 0.6 exactly after two steps and stays there.
Period doubling
At r = 3 the multiplier 2 − r reaches −1. Beyond it, the fixed point still exists but is unstable, and a stable 2-cycle appears: two points p and q with f(p) = q and f(q) = p.
These are the fixed points of the twice-iterated map f(f(x)) that are not fixed points of f, and solving gives
p, q = [(r + 1) ± √((r − 3)(r + 1))] / (2r).
The stability of the cycle is governed by the product of the multipliers around it, because a deviation is multiplied by f′(p) and then by f′(q) in one full cycle. By the chain rule this product equals the derivative of f(f(x)) at p, and for the logistic map it simplifies to
f′(p) f′(q) = −r2 + 2r + 4.
The 2-cycle is stable while this product lies between −1 and 1, which holds for 3 < r < 1 + √6 ≈ 3.449. At r = 1 + √6 the 2-cycle has multiplier −1 and is marginal by the linear stability test; a distinct stable 4-cycle appears for r just above that value. Further period doublings produce an 8-cycle, and so on.
The intervals between successive doublings shrink geometrically, by a ratio that approaches the Feigenbaum constant δ ≈ 4.669, and the cascade accumulates at r∞ ≈ 3.5699. Beyond it, chaotic orbits are common, interrupted by windows of stable periodic behaviour, such as the period-3 window that opens at r = 1 + √8 ≈ 3.828.
A common mistake is to think a period doubling is already chaos. A stable 2-cycle is perfectly predictable: the orbit settles into a regular alternation between two values.
The Lyapunov exponent
Two orbits that start a tiny distance δ0 apart separate, to first order, as δn ≈ δ0 |f′(x0)| |f′(x1)| ⋯ |f′(xn−1)|. Writing this product as enλ defines the Lyapunov exponent
λ = limn→∞ (1/n) Σi=0n−1 ln|f′(xi)|,
the long-run average of the logarithm of the local stretching factor. It is measured per iteration.
- λ < 0: the exponent indicates average local contraction for a typical orbit approaching an attracting fixed point or cycle. A zero derivative is an exception: it gives λ = −∞ even if the orbit subsequently lands on an unstable fixed point, as happens at r = 4 from x0 = 0.5 (then 1, then 0).
- λ > 0: nearby orbits separate exponentially on average, the signature of sensitive dependence on initial conditions, even though every orbit stays bounded in [0, 1].
- λ = 0: marginal cases, such as exactly at a bifurcation.
Evaluating λ on a periodic orbit. For an orbit that converges to a fixed point without ever landing exactly on the critical point x = ½, where f′ = 0, the long-run average is simply ln|f′(x*)|: at r = 2.5, λ = ln 0.5 ≈ −0.693. For a k-cycle, average over the k points of the cycle: λ = (1/k) ln|product of the k multipliers|.
For example, at r = 3.1 the 2-cycle is 0.765 and 0.558, the product of multipliers is −(3.1)2 + 6.2 + 4 = 0.59, and λ = ½ ln 0.59 ≈ −0.264. Two errors to avoid: forgetting to divide by the cycle length, and averaging the multipliers themselves before taking the logarithm.
Why the critical point is excluded. If any iterate equals ½, the local stretching factor is zero and ln|f′| = −∞, so the average is −∞ however the rest of the orbit behaves.
At r = 2.5, for instance, the exact preimages of 0.5 are x0 = (1 − √0.2)/2 ≈ 0.2763932 and (1 + √0.2)/2 ≈ 0.7236068. Those exact starts, as well as x0 = 0.5, meet the critical point and converge to the fixed point x* = 0.6, yet their exponent is −∞ rather than ln 0.5. The decimal values are approximations, not exact critical-point preimages.
Orbits that meet the critical point, together with the superstable cycles that contain ½, form a set of measure zero, so the formulas above describe the generic orbit rather than literally every orbit.
Finite orbits and chaotic values. For chaotic parameters, λ must be estimated from long orbits, often thousands of iterations after discarding transients.
A handful of steps gives an estimate that fluctuates strongly, because |f′| is large near the ends of the interval and small near x = ½.
For the special case r = 4, the substitution x = sin2(πθ) turns the logistic map into the angle doubling θ ↦ 2θ (mod 1), which gives the exact result λ = ln 2 ≈ 0.693 per iteration for almost every initial condition: for a typical start, a small uncertainty doubles each step on average.
That qualifier is not decoration. Starting at x0 = 0 leaves the orbit on the unstable fixed point, whose multiplier is f′(0) = 4, so λ = ln 4 ≈ 1.386; starting at x0 = ½ sends the orbit to 1 and then to 0 by way of the critical point, so λ = −∞.
Such starts are exceptional in the measure-zero sense, which is why ln 2 is the value to quote for a randomly chosen initial condition and not a claim about every orbit.
More generally, a chaotic attractor also contains infinitely many unstable periodic orbits, and each carries its own exponent set by its own multipliers, which need not match the typical-orbit value.
Using λ to estimate predictability
If a small initial uncertainty δ0 grows as δ0eλn, it reaches a tolerance Δ after about n ≈ ln(Δ/δ0)/λ iterations. Because the dependence on δ0 is logarithmic, improving measurement precision buys only a modest, additive gain in prediction time.
The estimate holds only while the separation is small enough for linearization; once it becomes comparable to the size of the interval, the small-separation exponential estimate no longer applies. Later separations remain bounded and may grow or shrink.
The geometry of chaotic sets and the broader classification of chaotic systems belong to the sibling concepts on fractals and chaos.
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
For the logistic map with r = 1.6:
(i) find both fixed points; (ii) classify each as stable or unstable using the multiplier f′(x*), and state whether nearby orbits approach the stable one monotonically or with alternating overshoot; (iii) give the Lyapunov exponent, to three decimal places, of a generic orbit that converges to the stable fixed point, one whose iterates never land exactly on x = 0.5.
The logistic map is iterated with r = 3.3 from a typical starting value in (0, 1), and the first several hundred iterates are discarded. Which statement correctly describes the long-term behaviour?