BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Chaos in maps: the logistic map, period doubling and Lyapunov exponents

Two-variable flows cannot be chaotic, but maps can: the Poincaré map of the driven pendulum is a two-variable map, and even one variable suffices. The logistic map x_(n+1) = r x_n(1 − x_n) stays in [0, 1] for 0 < r ≤ 4. Its fixed points are x* = 0 and x* = 1 − 1/r; a fixed point of a map is stable when |f′(x*)| < 1, so x* = 0 is stable for r < 1 and 1 − 1/r for 1 < r < 3. At r = 3 the fixed point gives way to a stable 2-cycle, a pair of fixed points of f(f(x)), which itself turns unstable at r = 1 + √6 when |f′(p)f′(q)| exceeds 1. Period doublings 2 → 4 → 8 → … come ever faster, their spacings shrinking by the universal Feigenbaum ratio 4.669…, and accumulate at r ≈ 3.5699, beyond which the map is mostly chaotic, with periodic windows such as the 3-cycle near 3.83. Chaos is confirmed by a positive Lyapunov exponent λ = lim (1/n) Σ ln|f′(x_j)|. Bounded orbits can separate exponentially because the map stretches and folds the interval, like kneading dough.

You need this first

Full reading path (165 pages)
  1. Vectors (8.01)
  2. Position and velocity in one dimension (8.01)
  3. Acceleration in one dimension (8.01)
  4. Motion in two dimensions and projectiles (8.01)
  5. Newton's laws of motion (8.01)
  6. Momentum and impulse (8.01)
  7. Conservation of momentum (8.01)
  8. Centre of mass and its motion (8.01)
  9. Relative velocity and recoil (8.01)
  10. Symmetry and Galilean invariance (8.033)
  11. The universal law of gravitation (8.01)
  12. Contact forces: the normal force and friction (8.01)
  13. Tension in ropes and the spring force (8.01)
  14. The derivative: slope of the tangent line and rate of change (18.01)
  15. Limits and continuity (18.01)
  16. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  17. The chain rule and higher derivatives (18.01)
  18. Implicit differentiation and the derivatives of inverse functions (18.01)
  19. Exponentials and logarithms: the number e and its derivatives (18.01)
  20. Linear and quadratic approximations (18.01)
  21. Curve sketching with the first and second derivative (18.01)
  22. Sketching strategy and maximum–minimum problems (18.01)
  23. More max–min, and related rates (18.01)
  24. A ring on a string, and Newton's method (18.01)
  25. The mean value theorem and inequalities (18.01)
  26. Differentials and antiderivatives (18.01)
  27. Kinetic energy and work in one dimension (8.01)
  28. Work and kinetic energy in two and three dimensions (8.01)
  29. Conservative and non-conservative forces (8.01)
  30. Potential energy (8.01)
  31. Circular motion: polar coordinates, position and velocity (8.01)
  32. Uniform circular motion: centripetal acceleration, period and frequency (8.01)
  33. Circular motion: tangential acceleration and angular acceleration (8.01)
  34. Newton's second law and circular motion: banked turns and orbits (8.01)
  35. Circular motion dynamics: worked problems (8.01)
  36. Mechanical energy and energy conservation (8.01)
  37. Definite integrals and Riemann sums (18.01)
  38. The first fundamental theorem of calculus (18.01)
  39. Potential energy diagrams (8.01)
  40. Differential equations and separation of variables (18.01)
  41. Direction fields, isoclines and integral curves (18.03)
  42. Euler's method and better numerical methods (18.03)
  43. First-order linear equations and integrating factors (18.03)
  44. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  45. Autonomous equations, critical points and stability (18.03)
  46. Complex numbers and complex exponentials (18.03)
  47. Indeterminate forms and L'Hôpital's rule (18.01)
  48. The second fundamental theorem of calculus (18.01)
  49. Improper integrals (18.01)
  50. Infinite series and convergence tests (18.01)
  51. Stacking blocks and Taylor series (18.01)
  52. The harmonic oscillator (8.03)
  53. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  54. Combining sine and cosine; models for first-order linear equations (18.03)
  55. Second-order linear equations with constant coefficients (18.03)
  56. Complex characteristic roots and damped oscillations (18.03)
  57. Damped free oscillators (8.03)
  58. Linear operators, the Wronskian and normalized solutions (18.03)
  59. Inhomogeneous equations, particular solutions and stability (18.03)
  60. Driven oscillators and resonance (8.03)
  61. Vectors and the dot product (18.02)
  62. Determinants and the cross product (18.02)
  63. Planes through three points, and matrices (18.02)
  64. Equations of planes and square systems (18.02)
  65. The geometry of linear equations (18.06)
  66. Elimination with matrices (18.06)
  67. Matrix multiplication and inverse matrices (18.06)
  68. Factorization into A = LU (18.06)
  69. Transposes, permutations and vector spaces (18.06)
  70. Properties of determinants (18.06)
  71. Determinant formulas and cofactors (18.06)
  72. Cramer's rule, the inverse matrix and volume (18.06)
  73. Column space and nullspace (18.06)
  74. Eigenvalues and eigenvectors (18.06)
  75. Coupled oscillators and normal modes (8.03)
  76. Coupled pendulums and beats (8.03)
  77. Driven coupled oscillators and symmetry (8.03)
  78. Symmetry and infinitely many oscillators (8.03)
  79. The beaded string and the wave equation (8.03)
  80. Particular solutions: the exponential input theorem (18.03)
  81. Resonance and beats (18.03)
  82. Introduction to Fourier series (18.03)
  83. Normal modes of a string and Fourier series (8.03)
  84. Travelling waves, energy and reflection (8.03)
  85. Sound waves (8.03)
  86. Parametric equations of lines and the cycloid (18.02)
  87. Velocity, acceleration and Kepler's second law (18.02)
  88. Functions of two variables and partial derivatives (18.02)
  89. Tangent planes, critical points and least squares (18.02)
  90. The second derivative test (18.02)
  91. Differentials and the chain rule (18.02)
  92. The gradient and directional derivatives (18.02)
  93. Lagrange multipliers (18.02)
  94. Non-independent variables (18.02)
  95. Double integrals (18.02)
  96. Double integrals in polar coordinates, and their uses (18.02)
  97. Change of variables in double integrals (18.02)
  98. Vector fields and line integrals (18.02)
  99. Fields: scalar, vector, gravitational and electric (8.02)
  100. Field lines, charging and electric dipoles (8.02)
  101. Electric fields of continuous charge distributions (8.02)
  102. Electric potential and potential energy (8.02)
  103. Gradient fields and path independence (18.02)
  104. Testing for gradient fields, potentials and curl (18.02)
  105. Green's theorem (18.02)
  106. Flux and the normal form of Green's theorem (18.02)
  107. Simply connected regions (18.02)
  108. Triple integrals and cylindrical coordinates (18.02)
  109. Spherical coordinates and gravitational attraction (18.02)
  110. Vector fields in space and flux through surfaces (18.02)
  111. Flux through graphs and the divergence theorem (18.02)
  112. Gauss's law (8.02)
  113. Conductors, capacitors and stored energy (8.02)
  114. Shielding, combining capacitors and dielectrics (8.02)
  115. Current, resistance and DC circuits (8.02)
  116. Rigid bodies and rotational kinematics (8.01)
  117. Moment of inertia (8.01)
  118. Torque and the cross product (8.01)
  119. Magnetic fields and the force on moving charges (8.02)
  120. Forces on currents and the Biot–Savart law (8.02)
  121. Magnetic dipoles: torque, energy and force (8.02)
  122. Levitation and Ampère's law (8.02)
  123. The divergence theorem, its proof and the diffusion equation (18.02)
  124. Line integrals, gradient fields and curl in space (18.02)
  125. Stokes' theorem (18.02)
  126. Stokes' theorem, path independence and div curl = 0 (18.02)
  127. Div and curl in physics: torque and Maxwell's equations (18.02)
  128. Faraday's law of induction (8.02)
  129. Eddy currents, transformers and magnetic materials (8.02)
  130. Measuring circuits and RC circuits (8.02)
  131. Self-inductance, LR circuits and magnetic energy (8.02)
  132. LC oscillations and damped RLC circuits (8.02)
  133. AC circuits, phasors and resonance (8.02)
  134. Displacement current, Maxwell's equations and light (8.02)
  135. Electromagnetic waves (8.03)
  136. The speed of light and the Michelson–Morley experiment (8.033)
  137. Deriving the Lorentz transformation (8.033)
  138. Time dilation, length contraction and the interval (8.033)
  139. Four-vectors, the Doppler effect and aberration (8.033)
  140. Doppler effect, aberration and the twin paradox (8.033)
  141. Geodesics and the calculus of variations (8.033)
  142. The brachistochrone and the hanging chain (8.033)
  143. Angular momentum of a point particle (8.01)
  144. Newton to Lagrange: inertial frames and the Euler–Lagrange equations (8.09)
  145. Hamiltonian mechanics: phase space, the Legendre transformation and a pendulum on a sliding support (8.09)
  146. Fourier series: even and odd functions, convergence and other periods (18.03)
  147. Particular solutions via Fourier series, and how we hear (18.03)
  148. Introduction to the Laplace transform (18.03)
  149. Laplace transforms of derivatives and solving initial value problems (18.03)
  150. The convolution formula (18.03)
  151. The unit step and discontinuous inputs (18.03)
  152. Impulse inputs, the delta function and the weight function (18.03)
  153. Introduction to first-order systems (18.03)
  154. Linear systems with constant coefficients: eigenvalues and eigenvectors (18.03)
  155. Repeated and complex eigenvalues (18.03)
  156. Sketching the solutions of 2 × 2 linear systems (18.03)
  157. Fundamental matrices and inhomogeneous systems (18.03)
  158. The matrix exponential (18.03)
  159. Decoupling linear systems (18.03)
  160. Nonlinear autonomous systems and the pendulum (18.03)
  161. Introduction to chaos: phase space, fixed points and Poincaré sections (8.09)
  162. Bifurcations in one dimension: saddle-node, transcritical and pitchfork (8.09)
  163. Fixed points in two dimensions: classification and conserved quantities (8.09)
  164. Limit cycles (18.03)
  165. Limit cycles, the Poincaré–Bendixson theorem and Hopf bifurcations (8.09)
On this page · 7 sections
  1. From flows to maps
  2. Fixed points of maps and their stability
  3. Period doubling
  4. The Lyapunov exponent
  5. Feigenbaum's number
  6. Stretching and folding
  7. Summary

Section 7.4 showed that two continuous variables cannot produce chaos, and that three can. Before tackling three-variable flows, Stewart looks for chaos in a simpler setting: maps, where time advances in discrete steps. (Citations give the printed page numbers 182 to 188 of the Chapter 7 notes. On this page nn counts iterations, rr is the parameter of the map, and pp, qq are the two points of a 2-cycle.)

From flows to maps#

Flows with two variables are understood through their fixed points and limit cycles, and they include every one-dimensional particle with its two phase-space variables; none of them is chaotic (p. 182). Chaos was found in Section 7.1, however, in the Poincaré section of the driven pendulum. Sampling at φ=2πN\varphi = 2\pi N, the state at one drive period determines the next one, so the section defines a map of two discrete variables (p. 182):

The pendulum's Poincaré map
θN+1=f1(θN,ωN),ωN+1=f2(θN,ωN)\theta_{N+1} = f_1(\theta_N, \omega_N), \qquad \omega_{N+1} = f_2(\theta_N, \omega_N)
In words

theta sub N plus 1 equals f 1 ( theta sub N, omega sub N ), omega sub N plus 1 equals f 2 ( theta sub N, omega sub N )

The functions f1f_1 and f2f_2 exist because the three-variable flow has unique solutions. One can go further: a one-dimensional map xn+1=f(xn)x_{n+1} = f(x_n) with a nonlinear ff is already enough for chaos (p. 182). The standard example is the logistic map (p. 182)

Logistic map
xn+1=f(xn)=rxn(1−xn)x_{n+1} = f(x_n) = rx_n(1 - x_n)
In words

x sub n plus 1 equals f( x sub n ) equals r x sub n the quantity 1 minus x sub n

For 0<r≤40 < r \le 4, an xnx_n in [0,1][0, 1] stays in [0,1][0, 1], because the largest value of ff is f(12)=r/4f(\frac12) = r/4 (p. 182). Its graph in the xnx_n–xn+1x_{n+1} plane is a parabola whose height grows with rr.

The logistic map, computed from f(x)=rx(1−x)f(x) = rx(1 - x), with the diagonal xn+1=xnx_{n+1} = x_n; move the slider. Fixed points are where the parabola meets the diagonal: always at 0, and at 1−1/r1 - 1/r once r>1r > 1. The peak f(12)=r/4f(\frac12) = r/4 reaches 1 at r=4r = 4.

Fixed points of maps and their stability#

A fixed point of a map is a point the map leaves unchanged (p. 183),

Fixed point of a map
x∗=f(x∗)x_* = f(x_*)
In words

x star equals f( x star )

which differs from the condition f(x∗)=0f(x_*) = 0 for flows, because a map is an iterated difference equation. For the logistic map (p. 183)

Fixed points of the logistic map
x∗=rx∗(1−x∗)⇒x∗=0 for all r,x∗=1−1r for r>1x_* = rx_*(1 - x_*) \quad\Rightarrow\quad x_* = 0 \ \text{for all } r, \qquad x_* = 1 - \frac{1}{r} \ \text{for } r > 1
In words

x star equals r x star the quantity 1 minus x star, which gives x star equals 0 for all r, x star equals 1 minus 1 over r for r greater than 1

Stability. Perturb the fixed point, xn=x∗+ηnx_n = x_* + \eta_n, and expand (p. 183):

Perturbing a fixed point of a map
xn+1=x∗+ηn+1=f(x∗+ηn)=f(x∗)+dfdx∣x∗ηn+O(ηn2)x_{n+1} = x_* + \eta_{n+1} = f(x_* + \eta_n) = f(x_*) + \left.\frac{df}{dx}\right|_{x_*}\eta_n + O(\eta_n^2)
In words

x sub n plus 1 equals x star plus eta sub n plus 1 equals f of the quantity x star plus eta sub n, equals f( x star ) plus d f over d x evaluated at x star eta sub n plus O( eta sub n squared )

so, since f(x∗)=x∗f(x_*) = x_* (p. 183),

Linearized map
ηn+1=dfdx∣x∗ηn\eta_{n+1} = \left.\frac{df}{dx}\right|_{x_*}\eta_n
In words

eta sub n plus 1 equals d f over d x evaluated at x star eta sub n

Each step multiplies the deviation by the same factor. If ∣f′(x∗)∣<1|f'(x_*)| < 1 the deviation shrinks to zero and the fixed point is stable; if ∣f′(x∗)∣>1|f'(x_*)| > 1 it grows and the fixed point is unstable; if ∣f′(x∗)∣=1|f'(x_*)| = 1 the fixed point is marginal and the linear analysis does not decide (p. 183). (The notes write these steps with the index NN.) Unlike in a one-dimensional flow, where a deviation keeps its sign, the multiplier of a one-dimensional map can be negative, and then the deviation changes sign at every step.

For the logistic map f′(x)=r−2rxf'(x) = r - 2rx, so (p. 184)

Multipliers of the logistic map's fixed points
dfdx∣x∗=0=r,dfdx∣x∗=1−1/r=2−r\left.\frac{df}{dx}\right|_{x_* = 0} = r, \qquad \left.\frac{df}{dx}\right|_{x_* = 1 - 1/r} = 2 - r
In words

d f over d x evaluated at x star equals 0 equals r, d f over d x evaluated at x star equals 1 minus 1 over r equals 2 minus r

The origin is stable for r<1r < 1; the other fixed point is stable for 1<r<31 < r < 3 and unstable otherwise (p. 184). Hence, for almost every starting point in (0,1)(0, 1) (p. 184; the qualifier is ours),

Long-term behaviour for r<3r < 3
lim⁡n→∞xn={0,r<11−1r,1<r<3\lim_{n\to\infty} x_n = \begin{cases} 0, & r < 1 \\ 1 - \dfrac{1}{r}, & 1 < r < 3 \end{cases}
In words

the limit as n goes to infinity of x sub n equals 0, when r less than 1; or 1 minus 1 over r, when 1 less than r less than 3

Worked example

Converging to the fixed point at r=2.5r = 2.5

Iterate the logistic map at r=2.5r = 2.5 from x0=0.3x_0 = 0.3 and compare with the linear prediction.

The fixed point

x∗=1−1/2.5=0.6x_* = 1 - 1/2.5 = 0.6, with multiplier f′(x∗)=2−2.5=−0.5f'(x_*) = 2 - 2.5 = -0.5: stable.

The iterates

x1=2.5×0.3×0.7=0.525x_1 = 2.5 \times 0.3 \times 0.7 = 0.525, then x2=0.6234x_2 = 0.6234, x3=0.5869x_3 = 0.5869, x4=0.6061x_4 = 0.6061, x5=0.5968x_5 = 0.5968. The deviations from 0.6 are −0.075-0.075, +0.023+0.023, −0.013-0.013, +0.006+0.006, −0.003-0.003: they alternate in sign and, once small, roughly halve each step, as the multiplier −0.5-0.5 predicts.

Period doubling#

For r>3r > 3 no fixed point is stable, so what happens? Look at two steps at once (p. 184):

The twice-iterated map
xn+2=f(f(xn))x_{n+2} = f(f(x_n))
In words

x sub n plus 2 equals f(f( x sub n ))

a fourth-order polynomial in xnx_n. Besides the origin, for rr just above 3 its graph crosses the diagonal three times: at the old fixed point 1−1/r1 - 1/r, now unstable, and at two new stable points pp and qq (p. 184). Since f(f(p))=pf(f(p)) = p but f(p)≠pf(p) \ne p, the map sends pp to qq and qq back to pp: the long-term state is a 2-cycle, oscillating between them (pp. 184–185). The period has doubled, and the notes call this a pitchfork bifurcation of the map at r=3r = 3 (p. 185): it is one for f∘ff \circ f, whose two new fixed points branch off the old one, while for ff itself it is usually called a flip or period-doubling bifurcation. Solving f(f(x))=xf(f(x)) = x (our step) gives

The 2-cycle of the logistic map
p, q=r+1±(r−3)(r+1)2rp,\ q = \frac{r + 1 \pm \sqrt{(r - 3)(r + 1)}}{2r}
In words

p, q equals the quantity r plus 1 plus or minus the square root of the quantity r minus 3, the quantity r plus 1, all over the quantity 2 r

real only for r>3r > 3.

The twice-iterated logistic map f(f(x))f(f(x)), computed by substituting ff into itself, with the diagonal. For r<3r < 3 it crosses the diagonal only at 0 and 1−1/r1 - 1/r. Above r=3r = 3 two more crossings appear, the 2-cycle: at r=3.2r = 3.2 they are p=0.7995p = 0.7995 and q=0.5130q = 0.5130, on either side of the now unstable 1−1/r=0.68751 - 1/r = 0.6875.

When the 2-cycle fails (p. 185). By the chain rule, at x∗=px_* = p or qq,

Multiplier of the 2-cycle
ddxf(f(x))∣x=x∗=df(p)dp df(q)dq\left.\frac{d}{dx}f(f(x))\right|_{x = x_*} = \frac{df(p)}{dp}\,\frac{df(q)}{dq}
In words

d over d x f(f(x)) evaluated at x equals x star equals d f(p) over d p, times d f(q) over d q

the same for both points, so pp and qq lose stability together, when ∣f′(p)f′(q)∣>1|f'(p)f'(q)| > 1. The 2-cycle then splits into a 4-cycle (p. 185). For the logistic map the product works out to 4+2r−r24 + 2r - r^2 (our step), which falls from +1+1 at r=3r = 3 to −1-1 at r=1+6≈3.449r = 1 + \sqrt6 \approx 3.449, the second bifurcation quoted in the notes (p. 186).

The doublings continue, 2→4→8→16→32→…2 \to 4 \to 8 \to 16 \to 32 \to \ldots, coming ever closer together, until r=3.5699456…r = 3.5699456\ldots; beyond that the map is chaotic (p. 185). In the bifurcation diagram (the long-term values of xx plotted against rr, the notes' Fig. 7.64) the branches split again and again and then dissolve into a band of points, broken by narrow periodic windows (p. 186). (The caption of Fig. 7.64 puts one window "near r=0.384r = 0.384", a slip for 3.84.) This is the period-doubling route to chaos, one of the common ways chaos sets in; the driven pendulum of Section 7.1 follows it too (p. 186).

The start of the logistic map's bifurcation diagram, computed exactly: x∗=0x_* = 0 (stable for r<1r < 1), x∗=1−1/rx_* = 1 - 1/r (stable for 1<r<31 < r < 3) and the 2-cycle p,q=[r+1±(r−3)(r+1)]/2rp, q = [r + 1 \pm \sqrt{(r - 3)(r + 1)}]/2r (stable for 3<r<1+6=3.4493 < r < 1 + \sqrt{6} = 3.449). Beyond that come the 4-cycle and higher, which have no simple formula; they accumulate at r≈3.5699r \approx 3.5699, where chaos begins.

The Lyapunov exponent#

How do we know the motion beyond 3.5699 is chaotic? Chaos means sensitive dependence on initial conditions. Follow two orbits that start δ0\delta_0 apart, x0→x1→x2…x_0 \to x_1 \to x_2 \ldots and x0+δ0→x1+δ1→x2+δ2…x_0 + \delta_0 \to x_1 + \delta_1 \to x_2 + \delta_2 \ldots; for chaos we expect ∣δn∣≈∣δ0∣eλn|\delta_n| \approx |\delta_0|e^{\lambda n} for large nn with λ>0\lambda > 0, the Lyapunov exponent (p. 186). For a map it can be computed (p. 186):

Lyapunov exponent from two orbits
λ=lim⁡n→∞1nln⁡∣δnδ0∣=lim⁡n→∞1nln⁡∣fn(x0+δ0)−fn(x0)δ0∣\lambda = \lim_{n\to\infty}\frac{1}{n}\ln\left|\frac{\delta_n}{\delta_0}\right| = \lim_{n\to\infty}\frac{1}{n}\ln\left|\frac{f^n(x_0 + \delta_0) - f^n(x_0)}{\delta_0}\right|
In words

lambda equals the limit as n goes to infinity of 1 over n, times log the absolute value of delta sub n over delta nought equals the limit as n goes to infinity of 1 over n, times log the absolute value of the quantity f to the power n of the quantity x nought plus delta nought, minus f to the power n ( x nought ), all over delta nought

where fnf^n means ff applied nn times (not a power). For small δ0\delta_0 the ratio is the derivative of fnf^n, and the chain rule turns it into a product along the orbit (p. 186):

Chain rule along the orbit
λ≃lim⁡n→∞1nln⁡∣ddx0fn(x0)∣=lim⁡n→∞1nln⁡∣∏j=0n−1df(xj)dxj∣\lambda \simeq \lim_{n\to\infty}\frac{1}{n}\ln\left|\frac{d}{dx_0}f^n(x_0)\right| = \lim_{n\to\infty}\frac{1}{n}\ln\left|\prod_{j=0}^{n-1}\frac{df(x_j)}{dx_j}\right|
In words

lambda is about the limit as n goes to infinity of 1 over n, times log the absolute value of d over d x nought f to the power n ( x nought ) equals the limit as n goes to infinity of 1 over n, times log the absolute value of the product over j equals 0 of to the power n minus 1, end of power, d f( x sub j ) over d x sub j

and so (p. 187)

Lyapunov exponent of a map
λ=lim⁡n→∞1n∑j=0n−1ln⁡∣df(xj)dxj∣\lambda = \lim_{n\to\infty}\frac{1}{n}\sum_{j=0}^{n-1}\ln\left|\frac{df(x_j)}{dx_j}\right|
In words

lambda equals the limit as n goes to infinity of 1 over n, times the sum over j equals 0 of to the power n minus 1, end of power, log the absolute value of d f( x sub j ) over d x sub j

the average of the logarithmic stretching along the orbit, easy to accumulate on a computer. For the logistic map, λ<0\lambda < 0 in the period-doubling region and λ>0\lambda > 0 in the chaotic regions, which contain periodic windows with chaos on both sides; the largest is a 3-cycle near r≈3.83r \approx 3.83 (p. 187). On a periodic orbit the sum repeats, so λ\lambda can be written down: ln⁡∣2−r∣\ln|2 - r| on the fixed point and 12ln⁡∣4+2r−r2∣\frac12\ln|4 + 2r - r^2| on the 2-cycle (our step). It touches zero at each bifurcation, where a multiplier reaches ±1\pm1.

The Lyapunov exponent of the logistic map on its stable periodic orbits, computed from the multipliers: ln⁡∣2−r∣\ln|2 - r| on the fixed point (diving to −∞-\infty at r=2r = 2, where f′(x∗)=0f'(x_*) = 0) and 12ln⁡∣4+2r−r2∣\frac12\ln|4 + 2r - r^2| on the 2-cycle (−∞-\infty at r=1+5=3.236r = 1 + \sqrt{5} = 3.236). It is negative and rises to 0 at each bifurcation, r=3r = 3 and r=3.449r = 3.449. In the chaotic regime it is positive; the dot marks r=4r = 4, where it is exactly ln⁡2=0.693\ln 2 = 0.693 (a known result, not in the notes).
Worked example

Stability of the 2-cycle at r=3.2r = 3.2

At r=3.2r = 3.2, find the 2-cycle, check its stability, and give its Lyapunov exponent.

The cycle

(r−3)(r+1)=0.84=0.9165\sqrt{(r - 3)(r + 1)} = \sqrt{0.84} = 0.9165, so p=(4.2+0.9165)/6.4=0.7995p = (4.2 + 0.9165)/6.4 = 0.7995 and q=(4.2−0.9165)/6.4=0.5130q = (4.2 - 0.9165)/6.4 = 0.5130. Check: 3.2×0.7995×0.2005=0.51303.2 \times 0.7995 \times 0.2005 = 0.5130.

Stability and λ

f′(p)=3.2(1−1.599)=−1.917f'(p) = 3.2(1 - 1.599) = -1.917 and f′(q)=3.2(1−1.026)=−0.0835f'(q) = 3.2(1 - 1.026) = -0.0835; the product is 0.160=4+6.4−10.240.160 = 4 + 6.4 - 10.24. Since ∣0.160∣<1|0.160| < 1 the cycle is stable, and λ=12ln⁡0.160=−0.916\lambda = \frac12\ln 0.160 = -0.916: nearby orbits converge onto it, by a factor 0.4 per step on average.

Feigenbaum's number#

The period doublings come at shorter and shorter intervals, and for a wide class of maps (and nonlinear differential equations) the rate at which they speed up is a universal number. If rαr_\alpha is the parameter of the α\alpha-th period doubling (p. 187),

Feigenbaum number
δF=lim⁡α→∞rα−rα−1rα+1−rα≈4.669201\delta_F = \lim_{\alpha\to\infty}\frac{r_\alpha - r_{\alpha-1}}{r_{\alpha+1} - r_\alpha} \approx 4.669201
In words

delta F equals the limit as alpha goes to infinity of the quantity r sub alpha minus r sub alpha minus 1, all over the quantity r sub alpha plus 1 minus r sub alpha, is approximately 4.669201

For the logistic map the ratio is close to δF\delta_F already for small α\alpha (p. 187): with r1=3r_1 = 3, r2=1+6=3.4495r_2 = 1 + \sqrt6 = 3.4495 and r3=3.5441r_3 = 3.5441 (the standard numerically computed value, not in the notes), the first ratio is 0.4495/0.0946=4.750.4495/0.0946 = 4.75. Assuming every interval is 1/δF1/\delta_F times the previous one (p. 187),

Shrinking intervals
δ1=r2−r1=6−2,δn=rn+1−rn=δn−1δF=…=δ1δF n−1\delta_1 = r_2 - r_1 = \sqrt6 - 2, \qquad \delta_n = r_{n+1} - r_n = \frac{\delta_{n-1}}{\delta_F} = \ldots = \frac{\delta_1}{\delta_F^{\,n-1}}
In words

delta sub 1 equals r two minus r one equals the square root of 6 minus 2, delta sub n equals r sub n plus 1 minus r sub n equals delta sub n minus 1 over delta F equals and so on equals delta sub 1 over delta F to the power n minus 1, end of power

(here δn\delta_n are intervals of rr, not separations of orbits), the doublings accumulate at a geometric sum (p. 188):

Estimated onset of chaos
r∞=lim⁡n→∞rn=3+∑n=1∞δn≃3+δ11−1/δF=3.572r_\infty = \lim_{n\to\infty} r_n = 3 + \sum_{n=1}^{\infty}\delta_n \simeq 3 + \frac{\delta_1}{1 - 1/\delta_F} = 3.572
In words

r sub infinity equals the limit as n goes to infinity of r sub n equals 3 plus the sum from n equals 1 to infinity of delta sub n is about 3 plus delta sub 1 over the quantity 1 minus 1 over delta F, equals 3.572

close to the true 3.56994563.5699456 (p. 188).

Stretching and folding#

How can orbits separate exponentially and yet stay inside [0,1][0, 1]? By stretching and folding, as when a drop of food colouring is kneaded into dough (p. 188). Take r≃4r \simeq 4 (p. 188):

Stretching and folding at r=4r = 4
xn∈(0,12) is sent to xn+1∈(0,1),xn∈(12,1) is sent to xn+1∈(1,0)x_n \in \left(0, \tfrac12\right) \ \text{is sent to}\ x_{n+1} \in (0, 1), \qquad x_n \in \left(\tfrac12, 1\right) \ \text{is sent to}\ x_{n+1} \in (1, 0)
In words

x sub n is in (0, one half ) is sent to x sub n plus 1 is in (0, 1), x sub n is in ( one half, 1 ) is sent to x sub n plus 1 is in (1, 0)

Source: 8.09 Chapter 7 notes (Stewart, typed, pp. 182–188), p. 188, eqs. (7.84), (7.85)

Each half is stretched to the full interval, the second in reverse: the interval is stretched to twice its length and folded back onto itself. Repeating this makes the structure ever more intricate, while nearby points are pulled apart on average (p. 188).

Finally, the bifurcation diagram is self-similar: blow up a small enough range of rr and the period doublings, chaotic bands and periodic windows reappear in miniature. Self-similarity is a property of fractals, the subject of the next section (p. 188).

Summary#

Symbols on this page

Show the 68 symbols used here
α\alpha alpha.
An index counting period doublings. Say it: “alpha”.
δ\delta delta.
A separation between two orbits, or (δ_n, δ_F) an interval between period doublings and its ratio. Say it: “delta”.
θ\theta theta.
An angle. Say it: “theta” (sounds like “thay-ta or thee-ta”).
λ\lambda lambda.
The Lyapunov exponent: the average exponential rate at which nearby orbits separate, per iteration. Say it: “lambda”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ϕ\phi phi.
The phase of the drive; the Poincaré section samples at φ = 2πN. Say it: “phi” (sounds like “fye”).
ω\omega omega.
The pendulum's angular velocity. Say it: “omega”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
∘\circ degree.
Degrees of angle (as in 45°). Say it: “degrees”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
∈\in element of.
Is an element of (belongs to) a set. Say it: “is in”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
≃\simeq approximately equal.
Approximately equal to. Say it: “is about”.
xx x.
The variable of a one-dimensional map, between 0 and 1 for the logistic map. Say it: “x”.
dd d.
Marks a derivative, as in df/dx. Say it: “d”.
nn n.
The number of iterations of the map. Say it: “n”.
ee e.
The base of natural logarithms, e ≈ 2.718. Say it: “e”.
ff f.
The function of a one-dimensional map, x_(n+1) = f(x_n); for the logistic map f(x) = rx(1 − x). Say it: “f”.
rr r.
The parameter of the logistic map, between 0 and 4. Say it: “r”.
OO big O.
Order of: O(η²) stands for second- and higher-order terms. Say it: “big O”.
qq q.
The other point of the 2-cycle, q = f(p). Say it: “q”.
NN N.
An integer counting drive periods, φ = 2πN. Say it: “capital N”.
pp p.
One point of the 2-cycle of the logistic map. Say it: “p”.
f′f' f prime.
The derivative of the map function, f′(x) = r − 2rx for the logistic map: the multiplier of small deviations. Say it: “f prime”.
x0x_{0} x nought.
The starting value of an orbit of the map. Say it: “x nought”.
r1r_{1} r one.
The parameter value of the first period doubling, r₁ = 3. Say it: “r one”.
r2r_{2} r two.
The parameter value of the second period doubling, r₂ = 1 + √6. Say it: “r two”.
x1x_{1} x 1.
The first iterate of the map. Say it: “x one”.
x2x_{2} x 2.
The second iterate of the map. Say it: “x two”.
x4x_{4} x four.
The fourth iterate of the map. Say it: “x four”.
δ0\delta_{0} density contrast today.
The initial separation of two orbits of the map. Say it: “delta nought”.
r3r_{3} r three.
The parameter value of the third period doubling, about 3.5441. Say it: “r sub 3”.
xn+1x_{n+1} x n plus 1.
The value after n + 1 iterations, x_(n+1) = f(x_n). Say it: “x sub n plus 1”.
xnx_{n} x n.
The value of the map's variable after n iterations. Say it: “x sub n”.
x3x_{3} x three.
The third iterate of the map. Say it: “x three”.
η\eta eta.
A small deviation from a fixed point of the map. Say it: “eta”.
xjx_{j} x j.
The j-th point of an orbit of the map. Say it: “x sub j”.
f1f_{1} f 1.
The function giving the next angle in the pendulum's Poincaré map. Say it: “f 1”.
f2f_{2} f 2.
The function giving the next angular velocity in the pendulum's Poincaré map. Say it: “f 2”.
ωN\omega_{N} omega N.
The pendulum's angular velocity at the N-th drive period, in the Poincaré map. Say it: “omega sub N”.
δ1\delta_{1} delta 1.
The separation after one iteration; in the Feigenbaum estimate, the first interval r₂ − r₁ = √6 − 2. Say it: “delta sub 1”.
∏\prod product.
Product: multiply the factors over the range written below. Say it: “the product of”.
ηn\eta_{n} eta n.
The deviation from a fixed point after n iterations. Say it: “eta sub n”.
x∗x_{*} x star.
A fixed point of the map, x* = f(x*). Say it: “x star”.
θN\theta_{N} theta N.
The pendulum angle at the N-th drive period, in the Poincaré map. Say it: “theta sub N”.
θN+1\theta_{N+1} theta N plus 1.
The pendulum angle one drive period later, in the Poincaré map. Say it: “theta sub N plus 1”.
ωN+1\omega_{N+1} omega N plus 1.
The angular velocity one drive period later, in the Poincaré map. Say it: “omega sub N plus 1”.
xn+2x_{n+2} x n plus 2.
The value after n + 2 iterations, f(f(x_n)). Say it: “x sub n plus 2”.
x5x_{5} x 5.
The fifth iterate of the map. Say it: “x five”.
rnr_{n} r n.
The parameter value of the n-th period doubling. Say it: “r sub n”.
rn+1r_{n+1} r n plus 1.
The parameter value of the (n + 1)-th period doubling. Say it: “r sub n plus 1”.
rαr_{\alpha} r alpha.
The parameter value of the α-th period doubling. Say it: “r sub alpha”.
rα−1r_{\alpha-1} r alpha minus 1.
The parameter value of the previous period doubling. Say it: “r sub alpha minus 1”.
rα+1r_{\alpha+1} r alpha plus 1.
The parameter value of the next period doubling. Say it: “r sub alpha plus 1”.
r∞r_{\infty} r infinity.
The accumulation point of the period doublings, where chaos begins. Say it: “r sub infinity”.
ηn+1\eta_{n+1} eta n plus 1.
The deviation from a fixed point after n + 1 iterations. Say it: “eta sub n plus 1”.
δn\delta_{n} delta n.
The separation of two orbits after n iterations; in the Feigenbaum estimate, the interval r_(n+1) − r_n between period doublings. Say it: “delta sub n”.
δn−1\delta_{n-1} delta n minus 1.
The previous interval between period doublings. Say it: “delta sub n minus 1”.
δ2\delta_{2} delta 2.
The separation of two orbits after two iterations. Say it: “delta two”.
δF\delta_{F} delta F.
The Feigenbaum number, about 4.669201. Say it: “delta F”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 43 words used here

New here

map.
A rule that turns each state of a system into the next one, applied step by step, such as xₙ₊₁ = f(xₙ).
logistic map.
The rule x → r x (1 − x), applied again and again, the simplest system that shows period doubling and chaos.
Lyapunov exponent.
The average rate at which two nearby motions separate: their distance grows like e raised to the exponent times time.
universal.
The same for a whole class of different systems, whatever their details.
self-similar.
Containing smaller copies of itself, so that a magnified piece looks like the whole.

Also used

continuous.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
chaos.
Long-term behaviour of a system with exact rules that never settles or repeats and depends sensitively on where it starts. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
fixed point.
A state of a system that does not change: where all rates of change are zero, or, for a map, a point sent to itself. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
limit cycle.
An isolated closed orbit of a system, which nearby solutions spiral towards, or away from, as time goes on. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
phase space.
The space of all possible states of a system, one axis for each coordinate and one for each momentum. Explained in Statistical mechanics and the microcanonical ensemble.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
Poincaré section.
A picture of a motion made by marking its state only at regular moments, or each time it crosses a chosen surface. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
period.
The time one full cycle of a repeating motion takes, such as one turn round a circle or one swing of a pendulum. Explained in Uniform circular motion: centripetal acceleration, period and frequency.
nonlinear.
Not linear: containing squares, products or other functions of the unknowns, so effects do not simply add. Explained in Resistive forces: drag and terminal velocity.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
parabola.
The U-shaped curve of y = ax² + bx + c, also the path of a thrown ball when air resistance is ignored. Explained in Quadratics and power laws.
stability.
Whether a state or solution returns after a small disturbance (stable) or moves further and further from it (unstable). Explained in Autonomous equations, critical points and stability.
stable.
Of a state or motion: a small disturbance stays small or dies away, so the system remains close to it. Explained in Torque and balance.
unstable.
Of a state or motion: a small disturbance grows, carrying the system further and further away from it. Explained in Radioactive decay.
linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
pitchfork bifurcation.
A bifurcation in a symmetric system where one fixed point splits into three, drawn like a pitchfork, or three merge into one. Explained in Bifurcations in one dimension: saddle-node, transcritical and pitchfork.
period doubling.
A bifurcation in which a cycle is replaced by one that takes twice as long to repeat. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
chain rule.
The rule for the derivative of a function of a function: multiply the derivative of the outer one by that of the inner one. Explained in Circular motion: polar coordinates, position and velocity.
bifurcation.
A sudden change in the kind of behaviour of a system as a setting is varied smoothly, such as fixed points appearing or vanishing. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
bifurcation diagram.
A graph of where a system settles, its fixed points or cycles, against the setting being varied, with stable and unstable branches marked. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
Fig..
Figure: a numbered picture or diagram in the source; Figs. means figures.
periodic.
Repeating itself exactly after a fixed interval of time or distance, called the period. Explained in Angles, radians and trigonometry.
sensitive dependence on initial conditions.
The property that two motions starting very close together soon become completely different, the mark of chaos. Explained in Introduction to chaos: phase space, fixed points and Poincaré sections.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000. Explained in Exponentials and logarithms.
converge.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
interval.
A stretch between two values or two moments; in maths, all the numbers between two end points. Explained in Time dilation, length contraction and the interval.
differential equation.
An equation that links an unknown function to its derivatives; solving it means finding the function. Explained in Circular motion dynamics: worked problems.
geometric series.
A series where each term is x times the one before; for x between −1 and 1 the total is 1/(1 − x).
fractal.
A shape with fine detail at every scale, whose dimension is usually not a whole number. Explained in Strange attractors, fractals and turbulence: the Lorenz equations and beyond.
Feigenbaum's number.
The number 4.669…, the ratio by which the gaps between successive period doublings shrink, the same for a wide class of systems.

Academic

citation.
A note saying exactly where a statement, number or formula comes from, so readers can check it.
iterate.
To repeat a step again and again, each time starting from the previous result.
hence.
For this reason; as a result of what was just said.
numerically.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
assumption.
Something accepted as true, without proof, so that an argument or calculation can proceed; to assume is to accept it so.
blow up.
To enlarge a picture of a small region so its detail can be seen.
onset.
The start of something, especially a change of behaviour.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. For the logistic map at r=2.5r = 2.5, what is the non-zero fixed point and is it stable?
  2. At which value of rr does the 2-cycle of the logistic map lose stability?
  3. Using the Feigenbaum ratio δF≈4.669\delta_F \approx 4.669 and the first two period doublings, r1=3r_1 = 3 and r2=1+6r_2 = 1 + \sqrt6, estimate where chaos begins.
  4. How can two orbits of a bounded map separate exponentially for ever?
0 of 4 answered

Flashcards

1 / 5