Dynamical systems · x → r x (1 − x)

Logistic map

The logistic map is the one-line rule x → r x (1 − x): as r grows, the long run goes from one value to two, four, and on into chaos.

The logistic map in this visualization

The logistic map is the map f(x)=rx(1−x)f(x) = r x (1 - x) of the interval [0,1][0, 1] to itself, with a parameter 0≤r≤40 \le r \le 4. Starting from x0x_0 and applying xn+1=f(xn)x_{n+1} = f(x_n) again and again gives a sequence; this page is about how its long run changes with rr.

xn+1=r xn (1−xn),xn∈[0,1],0≤r≤4x_{n+1} = r\,x_n\,(1 - x_n),\qquad x_n \in [0, 1],\qquad 0 \le r \le 4

What the pictures show

The bifurcation diagram, the large picture: rr across, xx up. Each column takes the rr at its centre, starts from x0=1/πx_0 = 1/\pi, skips the first TT steps and records where the next KK land; the brighter, the more often. TT and KK are printed in the top right corner and grow as you zoom in. So each column is a long-run sample of one start, not the whole history of an orbit. “Typical” means almost every start (in the sense of length); 1/π1/\pi stands in for them, without a proof that it is typical for every rr.

The λ strip, under the diagram on the same rr axis: a numerical estimate of the Lyapunov exponent λ(r)=lim⁡1n∑ln⁡∣f′(xi)∣\lambda(r) = \lim \frac1n \sum \ln|f'(x_i)| (the same typical start, 1000 steps skipped, 4000 averaged). It is the average exponential rate at which an infinitesimal difference between two starts grows: below 0 such differences shrink on average, above 0 they grow. At a superstable parameter (12\tfrac12 lies on the attracting cycle) λ=−∞\lambda = -\infty; it is drawn as a downward arrow, labelled with the period, at the parameter found numerically.

The cobweb plot, heading the panel: the curve y=f(x)y = f(x) (or f2f^2, f3f^3, f4f^4) and the diagonal y=xy = x. Up from x0x_0 to the curve, across to the diagonal: one step. Filled dots are attracting fixed points, hollow ones repelling.

The time series, one key away: xnx_n against nn, and on its right the share of 10510^5 steps of this orbit in each of 40 bins; at r=4r = 4 the ink line is the probability in theory.

Why it looks like this

At the fixed point x∗=1−1/rx^* = 1 - 1/r the slope is f′(x∗)=2−rf'(x^*) = 2 - r. For 1<r<31 < r < 3, ∣f′(x∗)∣<1|f'(x^*)| < 1 and it attracts its neighbours. As rr passes 3, f′(x∗)f'(x^*) passes −1-1: it loses its pull, and beside it a 2-cycle appears, r+1±(r−3)(r+1)2r\frac{r + 1 \pm \sqrt{(r - 3)(r + 1)}}{2r}, with multiplier 4+2r−r24 + 2r - r^2. The pair is where f2f^2 newly meets the diagonal — switch the cobweb to f2f^2 to see it. At r=1+6r = 1 + \sqrt6 the 2-cycle’s multiplier reaches −1-1 and it splits in turn.

The doublings come faster and faster and pile up at r∞≈3.5699r_\infty \approx 3.5699. The ratio of successive spacings tends to Feigenbaum’s constant δ≈4.6692\delta \approx 4.6692, and not only for this map: it is the same for a whole class of one-humped maps with a quadratic maximum (found by Feigenbaum in 1978, proved later with computer assistance by Lanford).

A window inside chaos: as rr passes 1+8≈3.82841 + \sqrt8 \approx 3.8284, f3f^3 touches the diagonal and a pair of 3-cycles is born, one attracting and one repelling (a saddle-node bifurcation, multiplier +1+1). Inside the window comes its own period-doubling cascade.

At r=4r = 4, f(sin⁡2πu)=sin⁡2(2πu)f(\sin^2 \pi u) = \sin^2(2\pi u): putting x=sin⁡2(πu)x = \sin^2(\pi u) carries the doubling map u↦2u mod 1u \mapsto 2u \bmod 1 onto ff (a semiconjugacy: uu and 1−u1 - u give the same xx). From this one gets, exactly, the long-run density of a typical start, 1πx(1−x)\frac{1}{\pi\sqrt{x(1 - x)}}, and λ=ln⁡2\lambda = \ln 2.

Periodic windows occur throughout the chaotic-looking region. When an attracting cycle exists, typical starts approach it; otherwise the plotted column is a long-run sample of the stated initial value, not a classification of every possible start.

Easy to misread

History

“Logistic” comes from Verhulst’s 1838 differential equation for population growth. In 1976 May used this discrete map in Nature to show that simple models can behave in very complicated ways [1]. Ulam and von Neumann had already noted the invariant density at r=4r = 4 in 1947 [2]. In 1978 Feigenbaum found the universal constants of the period-doubling cascade [3], and Singer gave the criterion for at most one attracting cycle [4].

Related concepts

References

  1. R. M. May, “Simple mathematical models with very complicated dynamics”, Nature 261 (1976) 459–467. doi:10.1038/261459a0
  2. S. M. Ulam, J. von Neumann, “On combination of stochastic and deterministic processes” (abstract), Bulletin of the American Mathematical Society 53 (1947) 1120.
  3. M. J. Feigenbaum, “Quantitative universality for a class of nonlinear transformations”, Journal of Statistical Physics 19 (1978) 25–52. doi:10.1007/BF01020332
  4. D. Singer, “Stable orbits and bifurcation of maps of the interval”, SIAM Journal on Applied Mathematics 35 (1978) 260–267.
  5. O. E. Lanford III, “A computer-assisted proof of the Feigenbaum conjectures”, Bulletin of the American Mathematical Society (N.S.) 6 (1982) 427–434.
  6. M. V. Jakobson, “Absolutely continuous invariant measures for one-parameter families of one-dimensional maps”, Communications in Mathematical Physics 81 (1981) 39–88.
  7. J. Graczyk, G. Świątek, “Generic hyperbolicity in the logistic family”, Annals of Mathematics 146 (1997) 1–52.
  8. M. Lyubich, “Dynamics of quadratic polynomials, I–II”, Acta Mathematica 178 (1997) 185–297.

Further reading: Wikipedia: Logistic map; MacTutor History of Mathematics: Robert May; MacTutor History of Mathematics: Mitchell Feigenbaum.