Dynamics

How fast two orbits part

The word "sensitive" is an adjective. Averaging the logarithm of one derivative along an orbit turns it into a number — one that says how many steps of prediction the map allows, and whose sign says whether it allows any.

Worth reading first: A difference too small to draw.

The last essay established that two nearby orbits separate. It did not say how fast, and “fast” needs a unit before it means anything.

The unit turns out to be per step, in the exponent: gaps do not grow by a fixed amount each step, they grow by a fixed factor. The number that describes the growth is therefore a rate of exponential growth, and the standard way to extract one is to take a logarithm.

The Lyapunov exponent, 2.8 to 4The average rate at which nearby orbits separate, plotted against the parameter.0rthe average of log |f′| along the orbit — positive means nearby orbits separateat r = 4 it is log 2 = 0.6931, which is the one value here that can be checked exactly
Fig. 1 The Lyapunov exponent of the logistic map against its parameter. Above zero, nearby orbits separate; below zero they converge. The generator checks the one point on this curve whose value is known exactly.

That curve is the whole subject in one picture: negative on the left, crossing zero at the end of the cascade, and positive but ragged after it. The raggedness is not noise — every downward spike is a window where order comes back.

One step, then all of them

Start with a single step, which is calculus and nothing more.

Two points a distance dd apart, with dd small, are mapped to two points about f(x)d|f'(x)|\,d apart. That is the definition of the derivative, read as a statement about a gap rather than about a limit.

Now do it nn times, from x0x_0. The gap gets multiplied by f(x0)|f'(x_0)|, then by f(x1)|f'(x_1)|, then by f(x2)|f'(x_2)|, and so on, so after nn steps it is

dnd0i=0n1f(xi).d_n \approx d_0 \prod_{i=0}^{n-1} |f'(x_i)|.

A product of nn numbers is awkward. Its logarithm is a sum of nn numbers, which is not, so take it:

lndnd0i=0n1lnf(xi).\ln\frac{d_n}{d_0} \approx \sum_{i=0}^{n-1} \ln|f'(x_i)|.

Divide by nn and the right-hand side becomes an average, of the quantity lnf\ln|f'|, over the points the orbit visits. That average is the Lyapunov exponent:

λ=limn1ni=0n1lnf(xi).\lambda = \lim_{n\to\infty} \frac 1n \sum_{i=0}^{n-1} \ln|f'(x_i)|.

Everything else in this essay is a consequence of that line. The logarithm is there because multiplication is the natural operation and addition is the tractable one; the average is there because the derivative is different at every point of the orbit and only the typical value matters over a long run.

What the sign means

Read the definition backwards: dnd0eλnd_n \approx d_0 e^{\lambda n}.

Negative λ\lambda. Gaps shrink exponentially. Nearby orbits converge, the system forgets where it started, and the long-run behaviour is a fixed point or a cycle. This is the entire left half of the figure.

Positive λ\lambda. Gaps grow exponentially. This is sensitive dependence, and the number says how fast.

Zero λ\lambda. The borderline, and it is not a technicality. It happens exactly at the parameters where something changes — every period-doubling, the end of the cascade, and the birth of every window — because the marginal case is what a bifurcation is.

The logistic map's bifurcation diagram, 2.9 to 4For each parameter, the values the orbit settles into, plotted as a column of points.10rthe logistic map's attractor at 460 parameters between 2.9 and 4one column per parameter, and the number of points in a column is the period there
Fig. 2 The bifurcation diagram over the same parameter range, drawn from the same map. Every value of rr where the Lyapunov curve touches zero from below is a value where this diagram splits, and every band of positive λ\lambda is a band where this one is a smear.

Placing those two pictures on top of each other is the strongest argument this field has that its two descriptions are the same description. One is drawn from where orbits go, the other from the average of a derivative, and their features line up parameter for parameter. Two independent constructions agreeing on every feature is the same kind of evidence as the constant that does not care which map turning up in families that share nothing but a shape.

The clearest single-step version of the same statement is the picture the stability essay was built around, since a fixed point is the case where the orbit visits one place and the average is just the derivative there.

A fixed point that attracts, and one that does notThe same map at two parameters, with the staircase walking towards the crossing in one and away in the other.r = 2.6slope in (−1, 1) — attractingr = 3.3slope outside (−1, 1) — repellingat r = 2.6 the slope at the crossing is -0.60 and the staircase walks inat r = 3.3 it is -1.30 and the staircase walks out — the crossing has not moved, its steepness has
Fig. 3 The same map at two parameters. On the left the slope at the crossing is inside (1,1)(-1, 1), so lnf\ln|f'| is negative and the exponent is negative; on the right it is outside, the logarithm is positive, and the staircase walks away. The exponent generalises this one number to orbits that do not sit still.

For a fixed point the definition collapses to λ=lnf(x)\lambda = \ln|f'(x^*)|, and the condition f<1|f'| < 1 becomes λ<0\lambda < 0. For a kk-cycle it collapses to the average of the logarithm over the kk points, which is 1kln(fk)\frac1k \ln|(f^k)'| — the multiplier of the cycle, which is the quantity that decides its stability. So the exponent is not a new criterion; it is the old one, written so that it still means something when there is no cycle to take a derivative of.

The one number that can be checked

Everything in the Lyapunov curve is numerical: run an orbit for a few thousand steps, average a logarithm, plot the answer. Numerical curves are exactly the kind of thing that can be quietly wrong, so the generator wants one value it can verify against arithmetic rather than against another computation.

At r=4r = 4 there is one. The logistic map at 44 is conjugate to the tent map at slope 22 — the substitution x=sin2(πθ/2)x = \sin^2(\pi\theta/2) carries one to the other exactly — and the tent map at slope 22 multiplies every gap by exactly 22 at every step, since its derivative is ±2\pm 2 everywhere. So

λ(4)=ln2=0.693147\lambda(4) = \ln 2 = 0.693147\ldots

with no approximation anywhere. The generator computes λ(4)\lambda(4) the same way it computes every other point on the curve, and asserts that the answer is ln2\ln 2. If the sampling, the transient discard, the averaging or the derivative were wrong, that one point would be wrong, and the assertion would fail.

A curve with one exactly known point on it is a different object from a curve with none. This is the same discipline as checking a numerical integral against a case with a closed form: the check does not prove the other values, but a method that gets the checkable one right is a method that has been tested.

Why not just measure the gap

There is an obvious alternative: start two orbits close together, watch the gap, fit an exponential. It is what the last essay’s first figure does by eye.

It does not work as a measurement, for the reason that essay ended on. The gap stops growing once it reaches the size of the interval, so an exponential fit over a long run reports the wrong answer, and over a short run it reports whatever the first few steps happened to do.

The derivative formulation has neither problem. It never mentions a second orbit at all — it is the infinitesimal separation rate, extracted from one orbit — so there is no gap to saturate. That is a recurring trade in this collection: a quantity defined as a limit is often easier to compute than the finite thing it describes.

The practical algorithm still uses a second orbit, but renormalises: step both, measure the gap, record its logarithm, then pull the second point back to the original distance and repeat. That keeps the gap infinitesimal in effect while doing arithmetic at a usable scale, and it generalises to systems where no formula for ff' is available.

The windows are visible in the exponent

The Lyapunov curve’s downward spikes are the most informative part of it, and they are the same phenomenon the period-three window showed as a clear band in the bifurcation diagram.

Inside a window, the map has an attracting cycle. An attracting cycle has (fk)<1|{\left(f^k\right)}'| < 1 around it — that is what attracting means — so the average of lnf\ln|f'| is negative there. The exponent must dip below zero, and it does, sharply, at every window.

The Lyapunov exponent, 3.8 to 3.9The average rate at which nearby orbits separate, plotted against the parameter.0rthe average of log |f′| along the orbit — positive means nearby orbits separateat r = 4 it is log 2 = 0.6931, which is the one value here that can be checked exactly
Fig. 4 The exponent through the period-three window. It crosses zero, goes strongly negative where the three-cycle is attracting, runs through the window’s own miniature doubling cascade, and crosses back.

That figure is worth comparing to the same range of the bifurcation diagram. The window there is a striking visual event — three clean curves in the middle of a smear — but its boundaries are hard to read off, because a smear fading into three curves has no obvious edge. In the exponent the boundaries are the zero crossings, which are unambiguous.

This is a general use for the quantity: it converts a qualitative judgement about a picture into a sign test on a number, and sign tests can be automated.

Reading the curve honestly

Two features of the plotted curve are artefacts of how it is computed, and saying so is part of publishing it.

The negative spikes have no bottom. Where the map has a superstable cycle — one that contains the critical point x=1/2x = 1/2, where f=0f' = 0 — the logarithm is -\infty and the true exponent dives without limit. The plot shows a finite spike because the average is taken over finitely many steps and the exact critical point is never hit. Every window contains one of these, and the deepest visible dip in each is the drawn version of an infinity.

The positive values are noisy. An average over six thousand steps converges like 1/n1/\sqrt{n}, so neighbouring columns disagree by a little even where the true curve is smooth. The generator discards eight hundred steps of transient first, which removes the larger error — an orbit that has not yet reached the attractor is averaging the derivative over places the system does not actually visit.

the logistic map at 4, iterated from 0.2A map drawn as a curve with the diagonal across it, and the staircase that iterating it produces.xf(x)x ↦ 4x(1 − x), started at 0.2the orbit never repeats — no cycle of eight or fewer closes it
Fig. 5 The logistic map at r=4r = 4, the one parameter whose exponent is known exactly. The curve reaches the full height of the square, the staircase covers the whole interval, and the derivative is zero at the peak — the point that makes the negative spikes bottomless.

Neither is hidden by drawing more columns; both are properties of the estimator. The one defence against reporting a numerical artefact as a result is the exact value at r=4r = 4, which is why the generator asserts it rather than merely mentioning it.

Where the average comes from

There is a step in the derivation that was passed over quickly and is the one a careful reader should object to.

The exponent was defined as a limit of averages along an orbit. Which orbit? A different starting point visits different places, so it averages lnf\ln|f'| over a different set of points, and there is no obvious reason the answer should be the same.

It is the same, for almost every starting point, and the reason is the consolation the last essay ended on. A chaotic orbit visits the interval according to a fixed distribution — the invariant density — and the fraction of its time spent near any point converges to the same thing regardless of where it started. An average along the orbit therefore converges to an average against that density, which does not mention the starting point at all:

λ=01lnf(x)ρ(x)dx.\lambda = \int_0^1 \ln|f'(x)|\,\rho(x)\,dx.

This is Birkhoff’s ergodic theorem, and the word “almost” is doing real work: the exceptions are the periodic points, which are dense, infinite in number, and measure zero. Start exactly on the fixed point and the average is lnf\ln|f'| at that one place, which is not λ\lambda. Start anywhere a computer is likely to land and it is.

For the logistic map at r=4r = 4 the invariant density is known in closed form — ρ(x)=1/(πx(1x))\rho(x) = 1/\left(\pi\sqrt{x(1-x)}\right), the arcsine distribution — and doing that integral by hand gives ln2\ln 2 again, by a completely different route from the tent-map conjugacy. Two derivations agreeing is the kind of evidence this collection puts weight on, in the same way that two ways of counting the same set prove an identity that neither proves alone.

More than one dimension

The definition above uses ff', which is a single number, and that is a one-dimensional convenience.

In higher dimensions the derivative is a matrix, and it stretches different directions by different amounts. So there is not one exponent but a spectrum of them, one per dimension, each describing the growth rate along one direction of an evolving frame. The largest one dominates any generic perturbation, and is what “the” Lyapunov exponent usually means.

The Lorenz attractor at ρ = 28A trajectory of the Lorenz equations, projected onto two of its three coordinates.the Lorenz system at ρ = 28, projected onto the x–z planepast the critical ρ of 24.74: two fixed points, neither attracting, and a trajectory that settles on neither
Fig. 6 The Lorenz system, whose exponent spectrum is roughly (+0.9,0,14.6)(+0.9, 0, -14.6): one direction stretching, one along the flow, and one contracting hard enough that the sum is negative. The generator checks the two fixed points against their closed form and confirms the trajectory settles on neither.

The signs of the whole spectrum classify the behaviour. All negative: everything converges to a point. One zero, the rest negative: a periodic orbit, the zero being the direction along the orbit, which neither grows nor shrinks. At least one positive with the sum negative: chaos on an attractor — stretching in some direction, overall contraction, and the two together are precisely the stretch-and-fold that makes a strange attractor. That is the case the Lorenz system sits in, and its exponents are the standard way of establishing that what its picture shows is genuinely chaotic rather than a very long cycle.

A quantity that measures how much is lost

There is a second reading of λ\lambda that arrives from an unrelated direction and lands on the same number.

If two starting points a distance 2k2^{-k} apart are indistinguishable to a measurement of kk binary digits, then each step of a map with exponent λ\lambda makes λ/ln2\lambda/\ln 2 previously invisible digits visible — the stretching brings detail up from below the measurement threshold. Equivalently, each step destroys that many digits of the future: what was known becomes unknown at a fixed rate.

So the exponent is a rate of information production, measured in bits per step, and for the logistic map at r=4r = 4 the rate is exactly one bit per step. That is not a metaphor. The map at r=4r = 4 is conjugate to the doubling map, the doubling map shifts a binary expansion left by one place, and shifting left by one place reveals exactly one new digit per step and discards exactly one.

Pesin’s theorem makes the correspondence general: for a large class of systems, the sum of the positive Lyapunov exponents equals the Kolmogorov–Sinai entropy, which is the information-theoretic quantity defined without any reference to derivatives. A geometric rate of stretching and a rate of information generation turn out to be the same number, which is the sort of coincidence that usually means one definition was the wrong way to think about it.

Both of them are downstream of the same idea this collection has met before — that a measurement is worth what it rules out, and that counting what remains is often easier than describing it.

What the number is worth

The exponent gives the forecast arithmetic its constant. With λ\lambda known, an initial uncertainty ε\varepsilon stays under a tolerance δ\delta for about

n1λlnδεn \approx \frac{1}{\lambda}\ln\frac{\delta}{\varepsilon}

steps, and that is the number a forecaster actually wants. For the logistic map at r=4r = 4, with ε=1016\varepsilon = 10^{-16} and δ=0.1\delta = 0.1, it is about fifty steps — which is why every chaotic figure on this site stops well before it.

One more consequence is worth stating because it is the reason the number appears in fields that have nothing to do with maps on an interval. The exponent is a property of the system, not of the units it is written in: rescale the variable, change the clock, conjugate the map to another one, and λ\lambda per unit time is unchanged. Quantities that survive a change of coordinates are the ones worth naming, which is the same reason the directions a map leaves alone are the ones worth finding.

For the atmosphere, the largest exponent corresponds to a doubling time of a day or two, and the usable horizon lands where the observed one does. That is the strongest evidence that this quantity means anything outside its own definition: it was defined for maps on an interval, computed for a system with millions of variables, and it predicted a fact about weather forecasting that was already known independently.

What links here

Computed from the collection, not written here: the essays that point at this one.

Reads more easily once this is understood

Essays that name this one as worth reading first.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

AverageBifurcationChaosDerivativeLogarithmLogistic mapLyapunov exponentOrbitSensitive dependence