MechanicsHamiltonian Mechanics and Chaos5 of 5
Hamiltonian Mechanics and Chaos · 5

Nonlinear Dynamics and Chaos

Most nonlinear differential equations cannot be solved for a neat formula x(t)\Pos{x}(t), so we need a geometric method to map out every possible motion from any starting state.

1

1D Phase Lines and Linear Stability

In a one-dimensional system where heavy damping makes inertia negligible, velocity x˙=f(x)\Vel{\dot{x}} = \Vel{f}(\Pos{x}) depends only on position x\Pos{x}, and we want to find the equilibrium points where the system stays at rest and determine whether nearby states are pulled in or pushed away.

1D Phase Lines and Linear Stability
θ\htmlClass{lc-blue}{\theta}
θ¨+gLsin⁡θ=0\htmlClass{lc-orange}{\ddot{\theta}} + \dfrac{g}{L}\sin\htmlClass{lc-blue}{\theta} = 0
sin⁡θ→θ?\sin\htmlClass{lc-blue}{\theta} \enspace\to\enspace \htmlClass{lc-violet}{\theta} \enspace ?

On the horizontal x\Pos{x}-axis phase line, the system moves right wherever f(x)>0\Vel{f}(\Pos{x}) > 0, moves left wherever f(x)<0\Vel{f}(\Pos{x}) < 0, and sits at rest at the fixed points x∗\Pos{x^*} where f(x∗)=0\Vel{f}(\Pos{x^*}) = 0. Starting a tiny nudge ϵ(t)=x(t)−x∗\Pert{\epsilon}(t) = \Pos{x}(t) - \Pos{x^*} away from a fixed point, a first-order Taylor expansion shows that the perturbation grows or decays exponentially at a rate equal to the slope f′(x∗)\Lin{f'}(\Pos{x^*}):

ϵ˙=f(x∗+ϵ)≈f(x∗)⏟0+f′(x∗)⏟slopeϵ  ⟹  ϵ(t)=ϵ0ef′(x∗)t\displaystyle \begin{aligned} \Pert{\dot{\epsilon}} &= \Vel{f}(\Pos{x^*} + \Pert{\epsilon}) \approx \underbrace{\Vel{f}(\Pos{x^*})}_{0} + \underbrace{\Lin{f'}(\Pos{x^*})}_{\text{slope}}\Pert{\epsilon} \\ &\implies \Pert{\epsilon}(t) = \Pert{\epsilon_0} e^{\Lin{f'}(\Pos{x^*})t} \end{aligned}

For the double-well flow x˙=x−x3\Vel{\dot{x}} = \Pos{x} - \Pos{x}^3, the derivative f′(x)=1−3x2\Lin{f'}(\Pos{x}) = 1 - 3\Pos{x}^2 classifies all three fixed points without integrating:

x∗=0:f′(0)=1>0(unstable repeller)x∗=±1:f′(±1)=1−3(1)=−2<0(stable attractors)\displaystyle \begin{aligned} \Pos{x^*} &= 0: & \Lin{f'}(0) &= 1 > 0 \\ & & &\quad (\text{unstable repeller}) \\ \Pos{x^*} &= \pm 1: & \Lin{f'}(\pm 1) &= 1 - 3(1) = -2 < 0 \\ & & &\quad (\text{stable attractors}) \end{aligned}
2

Saddle-Node and Pitchfork Bifurcations

When a system includes a tunable control parameter rr, shifting rr can create or destroy fixed points or flip their stability at the critical value where the linear test is inconclusive (f′(x∗)=0\Lin{f'}(\Pos{x^*}) = 0).

Saddle-Node and Pitchfork Bifurcations
f(x)\htmlClass{lc-pink}{f}(\htmlClass{lc-blue}{x})
x˙\htmlClass{lc-pink}{\dot{x}}
x\htmlClass{lc-blue}{x}
−1-1
00
11
rr
r=0r = 0

Two classic bifurcation patterns show how equilibria appear or split as rr varies:

x∗\displaystyle \Pos{x^*} =±r,f′(±r)\displaystyle = \pm\sqrt{r}, \qquad \Lin{f'}(\pm\sqrt{r}) =r−3(±r)2\displaystyle = r - 3(\pm\sqrt{r})^2 =−2r<0(r>0)\displaystyle = -2r < 0 \quad (r > 0)
00
rr
x∗\htmlClass{lc-blue}{x^*}
x∗=+r\htmlClass{lc-blue}{x^*} = +\sqrt{r}
x∗=0\htmlClass{lc-blue}{x^*} = 0
x∗=−r\htmlClass{lc-blue}{x^*} = -\sqrt{r}
stable\text{stable}
unstable\text{unstable}
stable\text{stable}
stable\text{stable}

In the family x˙=r+x2\Vel{\dot{x}} = r + \Pos{x}^2, fixed points appear at the exact moment the parabola touches the horizontal axis (f(x∗)=0\Vel{f}(\Pos{x^*}) = 0 and f′(x∗)=0\Lin{f'}(\Pos{x^*}) = 0), and their stability once they split is set by whether the curve crosses the axis going downhill or uphill.

As you pull the parabola down across the horizontal axis, a single half-stable fixed point appears where the curve touches the axis and splits into a stable downhill crossing and an unstable uphill crossing.
3

Classifying 2D Fixed Points with the Jacobian

Once we include mass and inertia, the state of a particle requires both position and velocity, so we now want to classify fixed points (x∗,y∗)(\Pos{x^*}, \Pos{y^*}) in a two-dimensional system x˙=f(x,y)\Vel{\dot{x}} = \Vel{f}(\Pos{x}, \Pos{y}) and y˙=g(x,y)\Vel{\dot{y}} = \Vel{g}(\Pos{x}, \Pos{y}). In an undamped conservative system such as θ˙=ω\Vel{\dot{\theta}} = \Vel{\omega}, ω˙=−sin⁡θ\Acc{\dot{\omega}} = -\sin\Pos{\theta}, Liouville's theorem guarantees that phase-space area stays constant as states flow around centers and saddles; when friction or driving is present, phase-space area can shrink or expand.

Classifying 2D Fixed Points with the Jacobian
θ\htmlClass{lc-blue}{\theta}
ω\htmlClass{lc-pink}{\omega}
−π-\pi
π\pi
θ˙=ω,ω˙=−sin⁡θ\htmlClass{lc-pink}{\dot{\theta}} = \htmlClass{lc-pink}{\omega}, \qquad \htmlClass{lc-orange}{\dot{\omega}} = -\sin\htmlClass{lc-blue}{\theta}

Near a fixed point (x∗,y∗)(\Pos{x^*}, \Pos{y^*}) where f(x∗,y∗)=0\Vel{f}(\Pos{x^*}, \Pos{y^*}) = 0 and g(x∗,y∗)=0\Vel{g}(\Pos{x^*}, \Pos{y^*}) = 0, a small displacement (δx,δy)(\Pert{\delta x}, \Pert{\delta y}) evolves according to the 2×22 \times 2 Jacobian matrix J\Lin{J} of partial derivatives:

(δx˙δy˙)=(∂f∂x∂f∂y∂g∂x∂g∂y)(x∗,y∗)⏟Jacobian J(δxδy)\displaystyle \begin{pmatrix} \Pert{\delta\dot{x}} \\ \Pert{\delta\dot{y}} \end{pmatrix} = \underbrace{\begin{pmatrix} \Lin{\dfrac{\partial f}{\partial x}} & \Lin{\dfrac{\partial f}{\partial y}} \\[8pt] \Lin{\dfrac{\partial g}{\partial x}} & \Lin{\dfrac{\partial g}{\partial y}} \end{pmatrix}_{(\Pos{x^*}, \Pos{y^*})}}_{\text{Jacobian } \Lin{J}} \begin{pmatrix} \Pert{\delta x} \\ \Pert{\delta y} \end{pmatrix}

The eigenvalues λ1,2\Lin{\lambda_{1,2}} of J\Lin{J} come from its trace τ\Lin{\tau} (the divergence of the phase-space velocity field, measuring the rate of area expansion or shrinkage) and its determinant Δ\Lin{\Delta}:

τ=Tr⁡(J)=∂f∂x+∂g∂y=λ1+λ2,Δ=det⁡(J)=λ1λ2\displaystyle \begin{aligned} \Lin{\tau} &= \operatorname{Tr}(\Lin{J}) = \Lin{\frac{\partial f}{\partial x}} + \Lin{\frac{\partial g}{\partial y}} = \Lin{\lambda_1} + \Lin{\lambda_2}, \\ \Lin{\Delta} &= \det(\Lin{J}) = \Lin{\lambda_1}\Lin{\lambda_2} \end{aligned}
λ1,2\displaystyle \Lin{\lambda_{1,2}} =τ±τ2−4Δ2\displaystyle = \frac{\Lin{\tau} \pm \sqrt{\Lin{\tau}^2 - 4\Lin{\Delta}}}{2}

The signs of Δ\Lin{\Delta}, τ\Lin{\tau}, and τ2−4Δ\Lin{\tau}^2 - 4\Lin{\Delta} classify the 2D flow around (x∗,y∗)(\Pos{x^*}, \Pos{y^*}):

Across the (τ,Δ)(\Lin{\tau}, \Lin{\Delta}) plane, crossing Δ=0\Lin{\Delta} = 0 flips one eigenvalue's sign to create a saddle regardless of τ\Lin{\tau}, crossing τ=0\Lin{\tau} = 0 reverses phase-space area shrinkage into area expansion, and crossing the parabola Δ=τ24\Lin{\Delta} = \tfrac{\Lin{\tau}^2}{4} switches trajectories between oscillating spirals and non-oscillating nodes.

Where a fixed point sits relative to the axes and the parabola on the trace-determinant plane controls whether nearby states shrink or expand in area, split into a saddle, or switch between a straight-line node and a spiral.
4

Worked Example: The Damped Double-Well Oscillator

Let's use the Jacobian matrix to find and classify the equilibria of a particle of mass m=1m = 1 with linear damping γ>0\gamma > 0 moving on our double-well track:

x¨+γx˙−x+x3\displaystyle \Acc{\ddot{x}} + \gamma\Vel{\dot{x}} - \Pos{x} + \Pos{x}^3 =0\displaystyle = 0
Worked Example: The Damped Double-Well Oscillator
x\htmlClass{lc-blue}{x}
v\htmlClass{lc-pink}{v}
x¨+γx˙−x+x3=0\htmlClass{lc-orange}{\ddot{x}} + \gamma\htmlClass{lc-pink}{\dot{x}} - \htmlClass{lc-blue}{x} + \htmlClass{lc-blue}{x}^3 = 0
m=1,γ>0m = 1, \quad \gamma > 0
Text solution
Write as a 2D first-order systemIntroduce velocity v=x˙\Vel{v} = \Vel{\dot{x}} to convert the second-order equation of motion into two first-order equations for (x,v)(\Pos{x}, \Vel{v}).
x˙=vv˙=x−x3−γv\displaystyle \begin{aligned} \Vel{\dot{x}} &= \Vel{v} \\ \Acc{\dot{v}} &= \Pos{x} - \Pos{x}^3 - \gamma \Vel{v} \end{aligned}
Find the fixed pointsSet x˙=0\Vel{\dot{x}} = 0 and v˙=0\Acc{\dot{v}} = 0 and factor the force equation to find all three equilibrium states in the (x,v)(\Pos{x}, \Vel{v}) plane.
v∗=0x∗−(x∗)3=x∗(1−(x∗)2)=0  ⟹  (x∗,v∗)=(0,0), (+1,0), (−1,0)\displaystyle \begin{aligned} \Vel{v^*} &= 0 \\ \Pos{x^*} - (\Pos{x^*})^3 &= \Pos{x^*}\bigl(1 - (\Pos{x^*})^2\bigr) = 0 \\ &\implies (\Pos{x^*}, \Vel{v^*}) = (0, 0),\ (+1, 0),\ (-1, 0) \end{aligned}
Build the Jacobian matrixTake the partial derivatives of x˙\Vel{\dot{x}} and v˙\Acc{\dot{v}} with respect to x\Pos{x} and v\Vel{v}.
J(x,v)=(∂x˙∂x∂x˙∂v∂v˙∂x∂v˙∂v)=(011−3x2−γ)\displaystyle \Lin{J}(\Pos{x}, \Vel{v}) = \begin{pmatrix} \Lin{\dfrac{\partial \dot{x}}{\partial x}} & \Lin{\dfrac{\partial \dot{x}}{\partial v}} \\[8pt] \Lin{\dfrac{\partial \dot{v}}{\partial x}} & \Lin{\dfrac{\partial \dot{v}}{\partial v}} \end{pmatrix} = \begin{pmatrix} 0 & 1 \\ 1 - 3\Pos{x}^2 & -\gamma \end{pmatrix}
Classify the central hilltop (0,0)(0, 0)Evaluate τ\Lin{\tau} and Δ\Lin{\Delta} at x∗=0\Pos{x^*} = 0 to see that the negative determinant makes the hilltop an unstable saddle for any damping γ>0\gamma > 0.
J(0,0)=(011−γ)  ⟹  τ=−γ<0,Δ=0(−γ)−1(1)=−1<0(unstable saddle)\displaystyle \begin{aligned} \Lin{J}(0, 0) &= \begin{pmatrix} 0 & 1 \\ 1 & -\gamma \end{pmatrix} \\ &\implies \Lin{\tau} = -\gamma < 0, \\ &\qquad \Lin{\Delta} = 0(-\gamma) - 1(1) = -1 < 0 \\ &\qquad (\text{unstable saddle}) \end{aligned}
Classify the well bottoms (±1,0)(\pm 1, 0)Evaluate τ\Lin{\tau}, Δ\Lin{\Delta}, and τ2−4Δ\Lin{\tau}^2 - 4\Lin{\Delta} at x∗=±1\Pos{x^*} = \pm 1 to compare light damping against heavy damping.
J(±1,0)=(01−2−γ)  ⟹  τ=−γ<0,Δ=+2>0,τ2−4Δ=γ2−8\displaystyle \begin{aligned} \Lin{J}(\pm 1, 0) &= \begin{pmatrix} 0 & 1 \\ -2 & -\gamma \end{pmatrix} \\ &\implies \Lin{\tau} = -\gamma < 0, \\ &\qquad \Lin{\Delta} = +2 > 0, \\ &\qquad \Lin{\tau}^2 - 4\Lin{\Delta} = \gamma^2 - 8 \end{aligned}

So the hilltop (0,0)(0, 0) is always an unstable saddle, while both well bottoms (±1,0)(\pm 1, 0) are stable spirals when damping is light (γ<8\gamma < \sqrt{8}, so the marble oscillates as it settles) and stable nodes when damping is heavy (γ>8\gamma > \sqrt{8}, so the marble settles in without oscillating back and forth).

5

Limit Cycles, 3D Phase Space, and Poincaré Sections

In a 2D system that pumps energy in at small amplitudes (τ>0\Lin{\tau} > 0) and dissipates energy at large amplitudes (τ<0\Lin{\tau} < 0), trajectories neither stop at a fixed point nor escape to infinity. Let's see what attractor they approach, and why a continuous system needs a third dimension to become chaotic.

Limit Cycles, 3D Phase Space, and Poincaré Sections
θ\htmlClass{lc-blue}{\theta}
θ˙\htmlClass{lc-pink}{\dot{\theta}}

Trapped between an outward spiral near the origin and an inward spiral at large amplitudes, trajectories in a 2D plane settle onto an isolated closed attractor loop called a limit cycle. Because each point (x,v)(\Pos{x}, \Vel{v}) has only one velocity vector (x˙,v˙)(\Vel{\dot{x}}, \Acc{\dot{v}}), trajectories can never cross. On a flat 2D plane, any non-crossing curve acts as a fence that traps itself, so a 2D trajectory that stays in a bounded region containing no fixed points must be a closed loop or spiral onto one (Poincaré-Bendixson theorem).

Attaching a periodic motor of frequency ωd\omega_d to a damped pendulum,

θ¨+γθ˙+sin⁡θ\displaystyle \Acc{\ddot{\theta}} + \gamma\Vel{\dot{\theta}} + \sin\Pos{\theta} =Fcos⁡(ωdt)\displaystyle = F\cos(\omega_d t)

adds the motor phase ϕ=ωdt mod 2π\Pos{\phi} = \omega_d t \bmod 2\pi as a third coordinate, creating a 3D phase space (θ,ω,ϕ)(\Pos{\theta}, \Vel{\omega}, \Pos{\phi}) where trajectories can pass over and under one another without intersecting:

θ˙=ω,ω˙=−γω−sin⁡θ+Fcos⁡ϕ,ϕ˙=ωd\displaystyle \begin{aligned} \Vel{\dot{\theta}} &= \Vel{\omega}, \\ \Acc{\dot{\omega}} &= -\gamma\Vel{\omega} - \sin\Pos{\theta} + F\cos\Pos{\phi}, \\ \Vel{\dot{\phi}} &= \omega_d \end{aligned}

To view this 3D motion on a flat plane, a stroboscopic Poincaré section plots one dot (θn,ωn)(\Pos{\theta_n}, \Vel{\omega_n}) at the end of every drive period T=2πωdT = \frac{2\pi}{\omega_d} (whenever ϕ=0\Pos{\phi} = 0). A Period-1 limit cycle locked to TT shows up as 11 stationary dot, a subharmonic Period-2 orbit that takes 2T2T to repeat shows up as 22 alternating dots, and increasing FF splits the dots into 4,8,16,…4, 8, 16, \dots at parameter intervals shrinking by Feigenbaum's universal ratio, about 4.6694.669, until the motion turns chaotic.

Period 1
Period 2
one dot every drive period T=2πωdT = \tfrac{2\pi}{\omega_d}
6

The Logistic Map and Period Doubling

To see algebraically why a Period-1 stroboscopic dot goes unstable and splits into a Period-2 cycle as a control parameter increases, we study a discrete step-by-step map with a single-hump arch: the logistic map

xn+1\displaystyle \Pos{x_{n+1}} =f(xn)\displaystyle = \Pos{f}(\Pos{x_n}) =rxn(1−xn),0\displaystyle = r\Pos{x_n}(1 - \Pos{x_n}), \qquad 0 ≤xn\displaystyle \le \Pos{x_n} ≤1\displaystyle \le 1
The Logistic Map and Period Doubling
xn\htmlClass{lc-blue}{x_n}
xn+1\htmlClass{lc-blue}{x_{n+1}}
11
11
00
xn+1=xn\htmlClass{lc-blue}{x_{n+1}} = \htmlClass{lc-blue}{x_n}
rr
r=2.8r = 2.8
xn+1=r xn(1−xn)\htmlClass{lc-blue}{x_{n+1}} = r\,\htmlClass{lc-blue}{x_n}(1 - \htmlClass{lc-blue}{x_n})

In any discrete map xn+1=f(xn)\Pos{x_{n+1}} = \Pos{f}(\Pos{x_n}), a Period-1 fixed point satisfies x∗=f(x∗)\Pos{x^*} = \Pos{f}(\Pos{x^*}), and a small perturbation ϵn=xn−x∗\Pert{\epsilon_n} = \Pos{x_n} - \Pos{x^*} gets multiplied by the derivative f′(x∗)\Lin{f'}(\Pos{x^*}) on each step:

ϵn+1≈f′(x∗)⏟multiplierϵn  ⟹  stable when ∣f′(x∗)∣<1(−1<f′(x∗)<+1)\displaystyle \Pert{\epsilon_{n+1}} \approx \underbrace{\Lin{f'}(\Pos{x^*})}_{\text{multiplier}}\Pert{\epsilon_n} \implies \text{stable when } |\Lin{f'}(\Pos{x^*})| < 1 \quad (-1 < \Lin{f'}(\Pos{x^*}) < +1)

Be careful not to carry over the continuous-flow rule f′(x∗)<0\Lin{f'}(\Pos{x^*}) < 0: in a discrete map, if f′(x∗)\Lin{f'}(\Pos{x^*}) drops below −1-1, the error flips sign and grows in size on every step.

Text solution
Find the Period-1 fixed pointsSet xn+1=xn=x∗\Pos{x_{n+1}} = \Pos{x_n} = \Pos{x^*} where the parabola crosses the 45∘45^\circ diagonal line and solve for both fixed points.
x∗\displaystyle \Pos{x^*} =rx∗(1−x∗)  ⟹  x∗\displaystyle = r\Pos{x^*}(1 - \Pos{x^*}) \implies \Pos{x^*} =0or1\displaystyle = 0 \quad \text{or} \quad 1 =r(1−x∗)  ⟹  x∗\displaystyle = r(1 - \Pos{x^*}) \implies \Pos{x^*} =1−1r\displaystyle = 1 - \frac{1}{r}
Differentiate the mapTake the derivative of f(x)=rx−rx2\Pos{f}(\Pos{x}) = r\Pos{x} - r\Pos{x}^2 with respect to x\Pos{x}.
f′(x)\displaystyle \Lin{f'}(\Pos{x}) =r−2rx\displaystyle = r - 2r\Pos{x} =r(1−2x)\displaystyle = r(1 - 2\Pos{x})
Test the origin x∗=0\Pos{x^*} = 0Evaluate the multiplier at x∗=0\Pos{x^*} = 0 to find the parameter range where the zero state is stable.
f′(0)\displaystyle \Lin{f'}(0) =r  ⟹  ∣f′(0)∣<1 for 0<r<1(goes unstable at r=1)\displaystyle = r \implies |\Lin{f'}(0)| < 1 \text{ for } 0 < r < 1 \quad (\text{goes unstable at } r = 1)
Evaluate the multiplier at x∗=1−1r\Pos{x^*} = 1 - \frac{1}{r}Substitute the positive fixed point into f′(x)\Lin{f'}(\Pos{x}) and simplify.
f′ ⁣(1−1r)\displaystyle \Lin{f'}\!\left(1 - \frac{1}{r}\right) =r[1−2(1−1r)]\displaystyle = r\left[1 - 2\left(1 - \frac{1}{r}\right)\right] =r(−1+2r)\displaystyle = r\left(-1 + \frac{2}{r}\right) =2−r\displaystyle = 2 - r
Find the Period-2 thresholdRequire the multiplier 2−r\Lin{2 - r} to stay between −1-1 and +1+1.
−1<2−r<+1  ⟹  1<r<3(splits into Period 2 at r=3, where f′(x∗)=−1)\displaystyle -1 < \Lin{2 - r} < +1 \implies 1 < r < 3 \quad (\text{splits into Period 2 at } r = 3,\text{ where } \Lin{f'}(\Pos{x^*}) = -1)

So the positive fixed point x∗=1−1r\Pos{x^*} = 1 - \frac{1}{r} is stable for 1<r<31 < r < 3 and loses stability at r=3r = 3, where the slope hits −1-1 and perturbations bounce into an alternating Period-2 loop. That Period-2 orbit splits into Period 4 at r=1+6≈3.449r = 1 + \sqrt{6} \approx 3.449, and the cascade reaches chaos at r∞≈3.56995r_\infty \approx 3.56995.

In the logistic map xn+1=rxn(1−xn)\Pos{x_{n+1}} = r\Pos{x_n}(1 - \Pos{x_n}), the Period-1 fixed point at the intersection with the 45∘45^\circ diagonal stays an attractor only while the parabola crosses with a slope between +1+1 and −1-1; once r>3r > 3 makes the crossing steeper than −1-1, perturbations overshoot further on each step and settle into a square Period-2 loop.

Once the parabola crosses the diagonal steeper than a −1 slope, the steps overshoot the steady point and settle into a loop that doubles as you raise the arch.
7

Strange Attractors, Lyapunov Exponents, and the Prediction Horizon

Once our driven damped pendulum enters the chaotic regime, we want to understand how phase-space volume can shrink while nearby trajectories diverge exponentially, and determine how long a prediction remains useful.

Strange Attractors, Lyapunov Exponents, and the Prediction Horizon
θ\htmlClass{lc-blue}{\theta}
ω\htmlClass{lc-pink}{\omega}
−π-\pi
π\pi
F=1.5F = 1.5

Damping (γ>0\gamma > 0) keeps the 3D phase-space divergence negative so volume shrinks into a bounded region, while passing near the hilltop saddle stretches nearby trajectories apart and wrapping the angle from +π+\pi to −π-\pi folds them back inside, building a multi-layered fractal strange attractor.

Two trajectories started a tiny distance δ0\Pert{\delta_0} apart separate exponentially on average at a rate given by the largest Lyapunov exponent λ\Lin{\lambda} (λ>0\Lin{\lambda} > 0 indicates chaos):

δ(t)≈δ0eλt  ⟹  ln⁡δ(t)≈ln⁡δ0+λ⏟slopet\displaystyle \Pert{\delta}(t) \approx \Pert{\delta_0} e^{\Lin{\lambda} t} \implies \Pert{\ln \delta}(t) \approx \Pert{\ln \delta_0} + \underbrace{\Lin{\lambda}}_{\text{slope}} t

On a plot of ln⁡δ(t)\Pert{\ln \delta}(t) versus tt, exponential divergence appears as a straight-line climb with slope λ=Δ(ln⁡δ)Δt\Lin{\lambda} = \frac{\Delta(\Pert{\ln \delta})}{\Delta t} until δ(t)\Pert{\delta}(t) reaches the total size L\Size{L} of the attractor and levels off at the horizontal plateau ln⁡L\Size{\ln L}. Always compute λ\Lin{\lambda} from the linear climb before this saturation plateau.

Setting δ(thorizon)≈L\Pert{\delta}(t_{\text{horizon}}) \approx \Size{L} gives the prediction horizon, the time when the uncertainty grows as large as the attractor itself:

L≈δ0eλthorizon  ⟹  thorizon≈1λln⁡ ⁣(Lδ0)\displaystyle \Size{L} \approx \Pert{\delta_0} e^{\Lin{\lambda} t_{\text{horizon}}} \implies t_{\text{horizon}} \approx \frac{1}{\Lin{\lambda}}\ln\!\left(\frac{\Size{L}}{\Pert{\delta_0}}\right)

For two nearby trajectories on the chaotic driven pendulum attractor, shrinking the initial separation δ0\Pert{\delta_0} by orders of magnitude shifts the ln⁡δ(t)\Pert{\ln \delta}(t) curve downward without changing its slope λ\Lin{\lambda}, adding only a small logarithmic increase to the time before the separation levels off at the attractor size ln⁡L\Size{\ln L}.

Shrinking the starting separation by factors of a thousand shifts the log-separation line down without changing its slope, adding only a few extra swings before the separation reaches the size of the attractor.

Key concepts

Whether you are analyzing a 1D track, a 2D oscillator, a discrete strobe map, or chaotic time-series data, your first move is to match the stability test to the type of system, and watch for the borderline cases where the linear test is inconclusive:

Continuous 1D flow (x˙=f(x)\Vel{\dot{x}} = \Vel{f}(\Pos{x}))

Fixed points satisfy f(x∗)=0\Vel{f}(\Pos{x^*}) = 0, and perturbations evolve as ϵ(t)\Pert{\epsilon}(t) == ϵ0ef′(x∗)t\Pert{\epsilon_0} e^{\Lin{f'}(\Pos{x^*})t}. A downhill crossing f′(x∗)<0\Lin{f'}(\Pos{x^*}) < 0 is stable (such as x∗=±1\Pos{x^*} = \pm 1 in x˙=x−x3\Vel{\dot{x}} = \Pos{x} - \Pos{x}^3, where f′(±1)=−2\Lin{f'}(\pm 1) = -2), while an uphill crossing f′(x∗)>0\Lin{f'}(\Pos{x^*}) > 0 is unstable (x∗=0\Pos{x^*} = 0, where f′(0)=1\Lin{f'}(0) = 1). When not to use f′(x∗)\Lin{f'}(\Pos{x^*}): If f′(x∗)=0\Lin{f'}(\Pos{x^*}) = 0 (as at x∗=0\Pos{x^*} = 0 in x˙=x2\Vel{\dot{x}} = \Pos{x}^2), the linear test is inconclusive and you must check the sign of x˙\Vel{\dot{x}} on both sides of x∗\Pos{x^*}; in a parameterized system x˙=f(x;r)\Vel{\dot{x}} = \Vel{f}(\Pos{x}; r), simultaneous solutions to f(x∗)=0\Vel{f}(\Pos{x^*}) = 0 and f′(x∗)=0\Lin{f'}(\Pos{x^*}) = 0 mark bifurcations such as saddle-node or pitchfork.

Continuous 2D flow (x˙\Vel{\dot{x}} == f(x,y)\Vel{f}(\Pos{x}, \Pos{y}), y˙\Vel{\dot{y}} == g(x,y)\Vel{g}(\Pos{x}, \Pos{y}))

At a fixed point where x˙=0\Vel{\dot{x}} = 0 and y˙=0\Vel{\dot{y}} = 0, evaluate the Jacobian matrix J\Lin{J}, its trace τ=Tr⁡(J)=∂x˙∂x+∂y˙∂y\Lin{\tau} = \operatorname{Tr}(\Lin{J}) = \Lin{\frac{\partial \dot{x}}{\partial x}} + \Lin{\frac{\partial \dot{y}}{\partial y}} (phase-space area divergence), and its determinant Δ=det⁡(J)\Lin{\Delta} = \det(\Lin{J}). Check Δ\Lin{\Delta} first: Δ<0\Lin{\Delta} < 0 is always an unstable saddle (such as (0,0)(0, 0) in x˙\Vel{\dot{x}} == v\Vel{v}, v˙\Acc{\dot{v}} == x−x3−γv\Pos{x} - \Pos{x}^3 - \gamma \Vel{v}, where Δ=−1<0\Lin{\Delta} = -1 < 0 even though τ=−γ<0\Lin{\tau} = -\gamma < 0). When Δ>0\Lin{\Delta} > 0, τ<0\Lin{\tau} < 0 gives a stable attractor and τ>0\Lin{\tau} > 0 gives an unstable repeller, with τ2−4Δ>0\Lin{\tau}^2 - 4\Lin{\Delta} > 0 for a non-oscillating node and τ2−4Δ<0\Lin{\tau}^2 - 4\Lin{\Delta} < 0 for a spiral. When not to trust the linear matrix: If τ=0\Lin{\tau} = 0 and Δ>0\Lin{\Delta} > 0, J\Lin{J} predicts a center, but the nonlinear terms we dropped can cause slow spiraling, so verify a conserved energy or check the full divergence ∂x˙∂x+∂y˙∂y\Lin{\frac{\partial \dot{x}}{\partial x}} + \Lin{\frac{\partial \dot{y}}{\partial y}} away from the fixed point.

2D vs. 3D phase space and Poincaré sections

Because trajectories cannot cross, a 2D trajectory confined to a bounded region with no fixed points must be a closed loop or approach one (Poincaré-Bendixson theorem), and 2D flows can never be chaotic. A periodically driven damped oscillator θ¨+γθ˙+sin⁡θ=Fcos⁡(ωdt)\Acc{\ddot{\theta}} + \gamma\Vel{\dot{\theta}} + \sin\Pos{\theta} = F\cos(\omega_d t) lives in 3D phase space (θ,ω,ϕ)(\Pos{\theta}, \Vel{\omega}, \Pos{\phi}), and plotting a stroboscopic Poincaré section every T=2πωdT = \frac{2\pi}{\omega_d} turns a Period-1 loop into 11 dot, a Period-2k2^k loop into 2k2^k dots, and chaotic stretching-and-folding into a fractal strange attractor.

Discrete step-by-step map (xn+1=f(xn)\Pos{x_{n+1}} = \Pos{f}(\Pos{x_n}))

Fixed points sit where the curve crosses the 45∘45^\circ diagonal, x∗=f(x∗)\Pos{x^*} = \Pos{f}(\Pos{x^*}), and perturbations multiply by ϵn+1≈f′(x∗)ϵn\Pert{\epsilon_{n+1}} \approx \Lin{f'}(\Pos{x^*})\Pert{\epsilon_n}. Do not use the continuous rule f′(x∗)<0\Lin{f'}(\Pos{x^*}) < 0: stability requires ∣f′(x∗)∣<1|\Lin{f'}(\Pos{x^*})| < 1, or −1<f′(x∗)<+1-1 < \Lin{f'}(\Pos{x^*}) < +1 (for xn+1=rxn(1−xn)\Pos{x_{n+1}} = r\Pos{x_n}(1 - \Pos{x_n}) at x∗=1−1r\Pos{x^*} = 1 - \frac{1}{r}, −1<2−r<1-1 < \Lin{2 - r} < 1 holds for 1<r<31 < r < 3), and hitting f′(x∗)=−1\Lin{f'}(\Pos{x^*}) = -1 flips the orbit into a Period-2 cycle.

Chaotic divergence and prediction horizon

From ln⁡δ(t)≈ln⁡δ0+λt\Pert{\ln \delta}(t) \approx \Pert{\ln \delta_0} + \Lin{\lambda} t, find the Lyapunov exponent λ=Δ(ln⁡δ)Δt\Lin{\lambda} = \frac{\Delta(\Pert{\ln \delta})}{\Delta t} from the straight-line climb before the graph flattens at the attractor limit ln⁡L\Size{\ln L}, and estimate the prediction limit from thorizon≈1λln⁡ ⁣(Lδ0)t_{\text{horizon}} \approx \frac{1}{\Lin{\lambda}}\ln\!\left(\frac{\Size{L}}{\Pert{\delta_0}}\right).

8

Practice

1

A tiny bead on a horizontal track submerged in thick honey obeys the 1D overdamped equation x˙\Vel{\dot{x}} == 2x2−x32\Pos{x}^2 - \Pos{x}^3 == x2(2−x)\Pos{x}^2(2 - \Pos{x}). Find all fixed points x∗\Pos{x^*}, attempt to classify each one using linear stability analysis (f′(x∗)\Lin{f'}(\Pos{x^*})), resolve any inconclusive case by inspecting the sign of x˙\Vel{\dot{x}} on each side of the fixed point, and state the long-term fate of the bead if released from rest at x0=−0.5\Pos{x_0} = -0.5 versus x0=+0.5\Pos{x_0} = +0.5.

After finding where f(x∗)=0\Vel{f}(\Pos{x^*}) = 0 and evaluating f′(x∗)\Lin{f'}(\Pos{x^*}), test the sign of each factor in x2(2−x)\Pos{x}^2(2 - \Pos{x}) on the intervals x<0\Pos{x} < 0 and 0<x<20 < \Pos{x} < 2 to draw the phase-line arrows around the flat crossing.

Setting the velocity x˙\Vel{\dot{x}} to zero gives the fixed points:
x˙\displaystyle \Vel{\dot{x}} =x2(2−x)\displaystyle = \Pos{x}^2(2 - \Pos{x}) =0  ⟹  x∗\displaystyle = 0 \implies \Pos{x^*} =0andx∗\displaystyle = 0 \quad \text{and} \quad \Pos{x^*} =2\displaystyle = 2
Differentiating f(x)=2x2−x3\Vel{f}(\Pos{x}) = 2\Pos{x}^2 - \Pos{x}^3 gives the linear stability slope:
f′(x)\displaystyle \Lin{f'}(\Pos{x}) =4x−3x2\displaystyle = 4\Pos{x} - 3\Pos{x}^2
Evaluating f′(x∗)\Lin{f'}(\Pos{x^*}) at each fixed point:
x∗=2:f′(2)=4(2)−3(2)2=8−12=−4<0(stable attractor, perturbations decay as e−4t)x∗=0:f′(0)=4(0)−3(0)2=0(linear test is inconclusive)\displaystyle \begin{aligned} \Pos{x^*} &= 2: & \Lin{f'}(2) &= 4(2) - 3(2)^2 \\ & & &= 8 - 12 = -4 < 0 \\ & & &\quad (\text{stable attractor, perturbations decay as } e^{-4t}) \\ \Pos{x^*} &= 0: & \Lin{f'}(0) &= 4(0) - 3(0)^2 = 0 \\ & & &\quad (\text{linear test is inconclusive}) \end{aligned}
To classify x∗=0\Pos{x^*} = 0, we check the sign of x˙=x2(2−x)\Vel{\dot{x}} = \Pos{x}^2(2 - \Pos{x}) on either side of the origin. Watch out: don't assume the sign of x˙\Vel{\dot{x}} must flip across every root, because x2>0\Pos{x}^2 > 0 on both sides of x=0\Pos{x} = 0, and assuming x˙<0\Vel{\dot{x}} < 0 for x<0\Pos{x} < 0 would falsely predict that a bead at x0=−0.5\Pos{x_0} = -0.5 runs away to −∞-\infty. Testing each interval directly:
x<0:x2>0 and 2−x>0  ⟹  x˙>0(arrows point right, toward x∗=0)0<x<2:x2>0 and 2−x>0  ⟹  x˙>0(arrows point right, away from x∗=0)\displaystyle \begin{aligned} \Pos{x} < 0 &: \quad \Pos{x}^2 > 0 \text{ and } 2 - \Pos{x} > 0 \implies \Vel{\dot{x}} > 0 \\ &\quad (\text{arrows point right, toward } \Pos{x^*} = 0) \\ 0 < \Pos{x} < 2 &: \quad \Pos{x}^2 > 0 \text{ and } 2 - \Pos{x} > 0 \implies \Vel{\dot{x}} > 0 \\ &\quad (\text{arrows point right, away from } \Pos{x^*} = 0) \end{aligned}
Thus x∗=0\Pos{x^*} = 0 is half-stable (attracting from the left, repelling to the right). A bead released at x0=−0.5\Pos{x_0} = -0.5 moves right and approaches x∗=0\Pos{x^*} = 0, whereas a bead released at x0=+0.5\Pos{x_0} = +0.5 moves right past the origin and settles at the stable fixed point x∗=2\Pos{x^*} = 2.
2

An overdamped mechanical element with tunable load parameter rr obeys x˙=(r−2)x−x3\Vel{\dot{x}} = (r - 2)\Pos{x} - \Pos{x}^3. Find all fixed points x∗\Pos{x^*} as a function of rr, use linear stability analysis to determine the stability of each branch, and identify the critical threshold rcr_c and the type of bifurcation that occurs there.

Factor out x\Pos{x} to find the equilibria, and remember to differentiate with respect to x\Pos{x} before substituting the outer branches x∗=±r−2\Pos{x^*} = \pm\sqrt{r - 2}.

Setting x˙=0\Vel{\dot{x}} = 0 and factoring out x\Pos{x} locates the fixed-point branches:
x˙\displaystyle \Vel{\dot{x}} =x[(r−2)−x2]\displaystyle = \Pos{x}\bigl[(r - 2) - \Pos{x}^2\bigr] =0  ⟹  x∗\displaystyle = 0 \implies \Pos{x^*} =0 (for all r),x∗\displaystyle = 0 \text{ (for all } r\text{)}, \quad \Pos{x^*} =±r−2 (real for r>2)\displaystyle = \pm\sqrt{r - 2} \text{ (real for } r > 2\text{)}
Taking the derivative of f(x)\Vel{f}(\Pos{x}) == (r−2)x−x3(r - 2)\Pos{x} - \Pos{x}^3 with respect to x\Pos{x} gives:
f′(x)\displaystyle \Lin{f'}(\Pos{x}) =(r−2)−3x2\displaystyle = (r - 2) - 3\Pos{x}^2
At the central branch x∗=0\Pos{x^*} = 0:
f′(0)=r−2  ⟹  {stable (f′(0)<0)for r<2unstable (f′(0)>0)for r>2\displaystyle \Lin{f'}(0) = r - 2 \implies \begin{cases} \text{stable } (\Lin{f'}(0) < 0) & \text{for } r < 2 \\ \text{unstable } (\Lin{f'}(0) > 0) & \text{for } r > 2 \end{cases}
For r>2r > 2, we substitute x∗=±r−2\Pos{x^*} = \pm\sqrt{r - 2} into f′(x)\Lin{f'}(\Pos{x}). Watch out: don't forget the factor of 33 from differentiating −x3-\Pos{x}^3 (plugging (x∗)2=r−2(\Pos{x^*})^2 = r - 2 into (r−2)−x2(r - 2) - \Pos{x}^2 instead of (r−2)−3x2(r - 2) - 3\Pos{x}^2 gives 00 and misses the stability of the outer branches), and don't use rc=0r_c = 0 from the unshifted equation x˙=rx−x3\Vel{\dot{x}} = r\Pos{x} - \Pos{x}^3. Evaluating f′(±r−2)\Lin{f'}(\pm\sqrt{r - 2}) gives:
f′ ⁣(±r−2)\displaystyle \Lin{f'}\!\left(\pm\sqrt{r - 2}\right) =(r−2)−3(r−2)\displaystyle = (r - 2) - 3(r - 2) =−2(r−2)<0(for r>2)\displaystyle = -2(r - 2) < 0 \quad (\text{for } r > 2)
Both outer branches x∗=±r−2\Pos{x^*} = \pm\sqrt{r - 2} are stable, so a pitchfork bifurcation (symmetry breaking) occurs at the critical threshold rc=2r_c = 2.
3

A particle of mass m=1m = 1 with linear damping γ>0\gamma > 0 moves in an asymmetric potential according to x¨+γx˙+4x−x2=0\Acc{\ddot{x}} + \gamma\Vel{\dot{x}} + 4\Pos{x} - \Pos{x}^2 = 0. Write this equation as a 2D first-order system in (x,v)(\Pos{x}, \Vel{v}), find all fixed points, compute the Jacobian matrix J\Lin{J}, trace τ\Lin{\tau}, and determinant Δ\Lin{\Delta} at each fixed point to classify its stability, and find the critical damping value γc\gamma_c that separates oscillatory from non-oscillatory settling at the stable equilibrium.

Move the damping and potential-force terms to the right-hand side of v˙=x¨\Acc{\dot{v}} = \Acc{\ddot{x}} carefully, then check the sign of Δ\Lin{\Delta} at each equilibrium before using τ2−4Δ=0\Lin{\tau}^2 - 4\Lin{\Delta} = 0 at the attractor.

Setting v=x˙\Vel{v} = \Vel{\dot{x}} and solving for v˙=x¨\Acc{\dot{v}} = \Acc{\ddot{x}} gives the 2D first-order system. Watch out: when moving +4x−x2+4\Pos{x} - \Pos{x}^2 to the right-hand side, be sure to flip both signs. Writing v˙=4x−x2−γv\Acc{\dot{v}} = 4\Pos{x} - \Pos{x}^2 - \gamma \Vel{v} reverses the sign of Δ\Lin{\Delta} at both equilibria and misclassifies (0,0)(0, 0) as a saddle.
x˙=vv˙=−4x+x2−γv\displaystyle \begin{aligned} \Vel{\dot{x}} &= \Vel{v} \\ \Acc{\dot{v}} &= -4\Pos{x} + \Pos{x}^2 - \gamma \Vel{v} \end{aligned}
Setting x˙=0\Vel{\dot{x}} = 0 and v˙=0\Acc{\dot{v}} = 0 gives v∗=0\Vel{v^*} = 0 and x∗(x∗−4)=0\Pos{x^*}(\Pos{x^*} - 4) = 0, so the two fixed points are (0,0)(0, 0) and (4,0)(4, 0). The Jacobian matrix is:
J(x,v)=(01−4+2x−γ)\displaystyle \Lin{J}(\Pos{x}, \Vel{v}) = \begin{pmatrix} 0 & 1 \\ -4 + 2\Pos{x} & -\gamma \end{pmatrix}
Evaluating J\Lin{J} at (4,0)(4, 0):
J(4,0)=(014−γ)  ⟹  τ=−γ<0,Δ=0(−γ)−1(4)=−4<0\displaystyle \begin{aligned} \Lin{J}(4, 0) &= \begin{pmatrix} 0 & 1 \\ 4 & -\gamma \end{pmatrix} \\ &\implies \Lin{\tau} = -\gamma < 0, \\ &\qquad \Lin{\Delta} = 0(-\gamma) - 1(4) = -4 < 0 \end{aligned}
Because Δ<0\Lin{\Delta} < 0, (4,0)(4, 0) is an unstable saddle point for all γ>0\gamma > 0 (even though friction makes τ<0\Lin{\tau} < 0).
Evaluating J\Lin{J} at (0,0)(0, 0):
J(0,0)=(01−4−γ)  ⟹  τ=−γ<0,Δ=0(−γ)−1(−4)=+4>0\displaystyle \begin{aligned} \Lin{J}(0, 0) &= \begin{pmatrix} 0 & 1 \\ -4 & -\gamma \end{pmatrix} \\ &\implies \Lin{\tau} = -\gamma < 0, \\ &\qquad \Lin{\Delta} = 0(-\gamma) - 1(-4) = +4 > 0 \end{aligned}
Since Δ>0\Lin{\Delta} > 0 and τ<0\Lin{\tau} < 0, (0,0)(0, 0) is a stable attractor. To find where it switches between a spiral and a node, we check τ2−4Δ\Lin{\tau}^2 - 4\Lin{\Delta}:
τ2−4Δ\displaystyle \Lin{\tau}^2 - 4\Lin{\Delta} =(−γ)2−4(4)\displaystyle = (-\gamma)^2 - 4(4) =γ2−16\displaystyle = \gamma^2 - 16
Watch out: don't forget the factor of 44 in τ2−4Δ\Lin{\tau}^2 - 4\Lin{\Delta} (computing τ2−Δ=γ2−4=0\Lin{\tau}^2 - \Lin{\Delta} = \gamma^2 - 4 = 0 gives the wrong threshold γc=2\gamma_c = 2). Here (0,0)(0, 0) is a stable spiral for 0<γ<40 < \gamma < 4 (τ2−4Δ<0\Lin{\tau}^2 - 4\Lin{\Delta} < 0) and a stable node for γ>4\gamma > 4 (τ2−4Δ>0\Lin{\tau}^2 - 4\Lin{\Delta} > 0), so the critical damping value is γc=4\gamma_c = 4.
4

Consider the 2D nonlinear system x˙=y\Vel{\dot{x}} = \Pos{y}, y˙=−x−x2y\Vel{\dot{y}} = -\Pos{x} - \Pos{x}^2 \Pos{y}. (a) Find the fixed point, compute the Jacobian matrix J\Lin{J}, τ\Lin{\tau}, and Δ\Lin{\Delta} there, and state what the linearized system predicts. (b) Explain why the linear test alone cannot confirm that trajectories near the fixed point form closed loops, and calculate the phase-space velocity divergence ∂x˙∂x+∂y˙∂y\Lin{\frac{\partial \dot{x}}{\partial x}} + \Lin{\frac{\partial \dot{y}}{\partial y}} away from the fixed point to determine what the trajectories actually do.

In part (b), take the partial derivative of y˙\Vel{\dot{y}} with respect to y\Pos{y} (not x\Pos{x}) to see whether phase-space area expands or shrinks as a trajectory loops around the origin.

(a)Setting x˙=y=0\Vel{\dot{x}} = \Pos{y} = 0 and y˙=−x−x2y=0\Vel{\dot{y}} = -\Pos{x} - \Pos{x}^2 \Pos{y} = 0 gives the single fixed point (x∗,y∗)=(0,0)(\Pos{x^*}, \Pos{y^*}) = (0, 0). The Jacobian matrix is:
J(x,y)=(∂x˙∂x∂x˙∂y∂y˙∂x∂y˙∂y)=(01−1−2xy−x2)\displaystyle \Lin{J}(\Pos{x}, \Pos{y}) = \begin{pmatrix} \Lin{\dfrac{\partial \dot{x}}{\partial x}} & \Lin{\dfrac{\partial \dot{x}}{\partial y}} \\[8pt] \Lin{\dfrac{\partial \dot{y}}{\partial x}} & \Lin{\dfrac{\partial \dot{y}}{\partial y}} \end{pmatrix} = \begin{pmatrix} 0 & 1 \\ -1 - 2\Pos{x}\Pos{y} & -\Pos{x}^2 \end{pmatrix}
At the origin (0,0)(0, 0):
J(0,0)=(01−10)  ⟹  τ=0,Δ=1>0(λ=±i)\displaystyle \Lin{J}(0, 0) = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} \implies \Lin{\tau} = 0, \quad \Lin{\Delta} = 1 > 0 \quad (\Lin{\lambda} = \pm i)
The linearized matrix therefore predicts a center with closed periodic loops.
(b)Because τ=0\Lin{\tau} = 0 sits right on the boundary between inward spirals (τ<0\Lin{\tau} < 0) and outward spirals (τ>0\Lin{\tau} > 0), higher-order nonlinear terms dropped in the Taylor expansion at (0,0)(0, 0) can act as weak damping or driving without showing up in J(0,0)\Lin{J}(0, 0). Computing the phase-space velocity divergence everywhere in the plane gives:
∂x˙∂x+∂y˙∂y\displaystyle \Lin{\frac{\partial \dot{x}}{\partial x}} + \Lin{\frac{\partial \dot{y}}{\partial y}} =0+∂∂y(−x−x2y)\displaystyle = 0 + \frac{\partial}{\partial y}(-\Pos{x} - \Pos{x}^2 \Pos{y}) =−x2\displaystyle = -\Pos{x}^2 ≤0\displaystyle \le 0
Watch out: make sure you differentiate y˙\Vel{\dot{y}} with respect to y\Pos{y} rather than x\Pos{x}. Computing ∂y˙∂x=−1−2xy\Lin{\frac{\partial \dot{y}}{\partial x}} = -1 - 2\Pos{x}\Pos{y} gives an expression that changes sign across quadrants, whereas the true divergence −x2-\Pos{x}^2 is strictly negative everywhere off the vertical axis x=0\Pos{x} = 0. Because phase-space area shrinks around every loop, the nonlinear term −x2y-\Pos{x}^2 \Pos{y} drains energy and makes trajectories spiral slowly inward to (0,0)(0, 0), so the origin is actually a stable spiral.
5

Contrast two nonlinear oscillators: System A is an autonomous 2D oscillator whose only fixed point (0,0)(0, 0) is an unstable spiral (Δ>0\Lin{\Delta} > 0, τ>0\Lin{\tau} > 0) and whose phase-space flow spirals inward at large amplitudes; System B is a damped pendulum driven by a periodic motor at frequency ωd\omega_d and observed via a stroboscopic Poincaré section flashed every drive period T=2πωdT = \tfrac{2\pi}{\omega_d}. (a) What is the long-term behavior of trajectories in System A, and what geometric property of 2D phase space prevents System A from ever becoming chaotic? (b) Why does System B avoid that 2D constraint, and what kind of motion does System B execute when its Poincaré section after transients shows (i) 1 stationary dot, (ii) 4 distinct dots visited in sequence, or (iii) a swirling, multi-layered fractal pattern of thousands of dots?

Consider what happens when you try to draw a non-crossing curve inside a bounded 2D box, and remember that each flash on the Poincaré section occurs after one full motor period TT.

(a)In System A, trajectories near (0,0)(0, 0) spiral outward (Δ>0\Lin{\Delta} > 0 and τ>0\Lin{\tau} > 0, energy input exceeds dissipation) while trajectories at large amplitudes spiral inward (dissipation exceeds energy input); trapped between them in the bounded 2D plane, trajectories must converge onto a closed attractor loop, which is a stable limit cycle. System A can never become chaotic because the equations of motion assign a unique velocity vector (x˙,y˙)(\Vel{\dot{x}}, \Vel{\dot{y}}) to every point in the 2D phase plane, forbidding trajectories from crossing. On a flat 2D plane, any non-crossing curve acts as a fence that traps itself, so by the Poincaré-Bendixson theorem a trajectory that stays in a bounded region containing no fixed points must be a closed loop or approach one.
(b)System B has a 3D phase space (θ,θ˙,ϕ)(\Pos{\theta}, \Vel{\dot{\theta}}, \Pos{\phi}) because predicting the next state requires the motor phase ϕ=ωdt mod 2π\Pos{\phi} = \omega_d t \bmod 2\pi in addition to angle and angular velocity; in three dimensions, trajectories can pass over and under one another without intersecting. On the stroboscopic Poincaré section flashed once every drive period T=2πωdT = \tfrac{2\pi}{\omega_d}:
(i) 1 stationary dotA Period-1 limit cycle that repeats every drive period TT.
(ii) 4 distinct dots visited in sequenceA subharmonic Period-4 limit cycle (after two period-doubling bifurcations) that takes 4T4T to repeat. Watch out: 44 dots on a stroboscopic map do not mean 44 separate fixed-point equilibria where the pendulum stops. The continuous trajectory is a single closed loop in 3D space that passes through the strobe plane ϕ=0\Pos{\phi} = 0 at four alternating locations on successive flashes.
(iii) Swirling, multi-layered fractal pattern of thousands of dotsA strange attractor produced by deterministic chaos, where phase-space stretching and folding prevent the trajectory from ever repeating.
6

Suppose a single-hump return map is modeled by xn+1\Pos{x_{n+1}} == f(xn)\Pos{f}(\Pos{x_n}) == rxn(2−xn)r\Pos{x_n}(2 - \Pos{x_n}) with control parameter r>0r > 0. Find both Period-1 fixed points x∗\Pos{x^*}, determine the range of rr over which each fixed point is stable using the discrete map stability criterion, and find the exact parameter value rr at which the positive fixed point loses stability to a Period-2 orbit (explaining why the continuous-flow rule f′(x∗)<0\Lin{f'}(\Pos{x^*}) < 0 would give the wrong threshold).

Set x∗=f(x∗)\Pos{x^*} = \Pos{f}(\Pos{x^*}) (not f(x∗)=0\Pos{f}(\Pos{x^*}) = 0) to find the fixed points of a discrete map, then require the multiplier f′(x∗)\Lin{f'}(\Pos{x^*}) to stay between −1-1 and +1+1.

In a discrete map, Period-1 fixed points sit where xn+1=xn=x∗\Pos{x_{n+1}} = \Pos{x_n} = \Pos{x^*}. Watch out: don't set f(x∗)=0\Pos{f}(\Pos{x^*}) = 0 as you would for a continuous flow x˙=f(x)\Vel{\dot{x}} = \Vel{f}(\Pos{x}). Setting rx∗(2−x∗)=0r\Pos{x^*}(2 - \Pos{x^*}) = 0 gives the roots 00 and 22 of the parabola rather than its intersection with the 45∘45^\circ diagonal xn+1=xn\Pos{x_{n+1}} = \Pos{x_n}. Solving x∗=f(x∗)\Pos{x^*} = \Pos{f}(\Pos{x^*}) gives:
x∗\displaystyle \Pos{x^*} =rx∗(2−x∗)  ⟹  x∗\displaystyle = r\Pos{x^*}(2 - \Pos{x^*}) \implies \Pos{x^*} =0or1\displaystyle = 0 \quad \text{or} \quad 1 =r(2−x∗)  ⟹  x∗\displaystyle = r(2 - \Pos{x^*}) \implies \Pos{x^*} =2−1r\displaystyle = 2 - \frac{1}{r}
Differentiating f(x)=2rx−rx2\Pos{f}(\Pos{x}) = 2r\Pos{x} - r\Pos{x}^2 with respect to x\Pos{x} gives the multiplier:
f′(x)\displaystyle \Lin{f'}(\Pos{x}) =2r−2rx\displaystyle = 2r - 2r\Pos{x} =2r(1−x)\displaystyle = 2r(1 - \Pos{x})
For a discrete map, stability requires ∣f′(x∗)∣<1|\Lin{f'}(\Pos{x^*})| < 1, or −1<f′(x∗)<+1-1 < \Lin{f'}(\Pos{x^*}) < +1. At x∗=0\Pos{x^*} = 0:
f′(0)\displaystyle \Lin{f'}(0) =2r  ⟹  −1<2r<+1  ⟹  0<r<12(since r>0; loses stability at r=0.5)\displaystyle = 2r \implies -1 < \Lin{2r} < +1 \implies 0 < r < \frac{1}{2} \quad (\text{since } r > 0;\text{ loses stability at } r = 0.5)
At the positive fixed point x∗=2−1r\Pos{x^*} = 2 - \frac{1}{r}:
f′ ⁣(2−1r)\displaystyle \Lin{f'}\!\left(2 - \frac{1}{r}\right) =2r[1−(2−1r)]\displaystyle = 2r\left[1 - \left(2 - \frac{1}{r}\right)\right] =2r(−1+1r)\displaystyle = 2r\left(-1 + \frac{1}{r}\right) =2−2r\displaystyle = 2 - 2r
Applying the discrete stability condition −1<f′(x∗)<+1-1 < \Lin{f'}(\Pos{x^*}) < +1:
−1<2−2r<+1  ⟹  12<r<32\displaystyle -1 < \Lin{2 - 2r} < +1 \implies \frac{1}{2} < r < \frac{3}{2}
Thus the positive fixed point is stable for 0.5<r<1.50.5 < r < 1.5 and loses stability to a Period-2 orbit at r=1.5r = 1.5, where f′(x∗)=−1\Lin{f'}(\Pos{x^*}) = -1; beyond it, perturbations flip sign and grow on every step. Using the continuous-flow rule f′(x∗)<0\Lin{f'}(\Pos{x^*}) < 0 would only require 2−2r<0\Lin{2 - 2r} < 0 (r>1r > 1) and would completely miss the period-doubling instability at r=1.5r = 1.5.
7

Two runs of a chaotic driven pendulum (attractor size L≈π rad\Size{L} \approx \pi\text{ rad}, so ln⁡L≈1.14\Size{\ln L} \approx 1.14) are launched with initial angular separation δ0=10−6 rad\Pert{\delta_0} = 10^{-6}\text{ rad} (ln⁡δ0≈−13.82\Pert{\ln \delta_0} \approx -13.82). The natural logarithm of their separation ln⁡δ(t)\Pert{\ln \delta}(t) (with δ\Pert{\delta} in radians) is recorded every 2 s2\text{ s}: at t=0,2,4,6,8,10 st = 0, 2, 4, 6, 8, 10\text{ s}, the values of ln⁡δ(t)\Pert{\ln \delta}(t) are −13.8-13.8, −8.8-8.8, −3.8-3.8, +1.1+1.1, +1.1+1.1, +1.1+1.1. (a) Explain why the data flatten out for t≥6 st \ge 6\text{ s} and determine the largest Lyapunov exponent λ\Lin{\lambda} (with units) from the appropriate region of the data. (b) Estimate the prediction horizon thorizont_{\text{horizon}} for δ0=10−6 rad\Pert{\delta_0} = 10^{-6}\text{ rad}, and find how many extra seconds of prediction time you gain if you upgrade your sensor to reduce the initial uncertainty by a factor of 10410^4 (to δ0′=10−10 rad\Pert{\delta_0'} = 10^{-10}\text{ rad}).

Identify where ln⁡δ(t)\Pert{\ln \delta}(t) climbs linearly before hitting the attractor limit ln⁡L≈1.14\Size{\ln L} \approx 1.14, and use natural logarithms (ln⁡10≈2.303\ln 10 \approx 2.303) when finding the time gained from the sensor upgrade.

(a)For t≥6 st \ge 6\text{ s}, ln⁡δ(t)\Pert{\ln \delta}(t) levels off at a horizontal plateau of +1.1≈ln⁡π=ln⁡L+1.1 \approx \ln \pi = \Size{\ln L} because the two trajectories have reached opposite sides of the bounded attractor (δ(t)≈L≈π rad\Pert{\delta}(t) \approx \Size{L} \approx \pi\text{ rad}) and cannot separate any further. Watch out: don't compute the slope across the entire 10 s10\text{ s} table. Using t=0 st = 0\text{ s} and t=10 st = 10\text{ s} includes the flat saturation plateau and underestimates the exponent as 1.1−(−13.8)10 s=1.49 s−1\frac{1.1 - (-13.8)}{10\text{ s}} = 1.49\text{ s}^{-1}. Measuring the slope along the linear climb from t=0 st = 0\text{ s} to t=4 st = 4\text{ s} gives:
λ\displaystyle \Lin{\lambda} =Δ(ln⁡δ)Δt\displaystyle = \frac{\Delta(\Pert{\ln \delta})}{\Delta t} =−3.8−(−13.8)4 s−0 s\displaystyle = \frac{-3.8 - (-13.8)}{4\text{ s} - 0\text{ s}} =10.04 s\displaystyle = \frac{10.0}{4\text{ s}} =2.5 s−1\displaystyle = 2.5\text{ s}^{-1}
(b)From thorizon≈1λln⁡ ⁣(Lδ0)t_{\text{horizon}} \approx \frac{1}{\Lin{\lambda}}\ln\!\left(\frac{\Size{L}}{\Pert{\delta_0}}\right), the prediction horizon for δ0=10−6 rad\Pert{\delta_0} = 10^{-6}\text{ rad} is:
thorizon≈ln⁡L−ln⁡δ0λ≈1.14−(−13.82)2.5 s−1\displaystyle t_{\text{horizon}} \approx \frac{\Size{\ln L} - \Pert{\ln \delta_0}}{\Lin{\lambda}} \approx \frac{1.14 - (-13.82)}{2.5\text{ s}^{-1}} =14.962.5 s−1≈6.0 s\displaystyle = \frac{14.96}{2.5\text{ s}^{-1}} \approx 6.0\text{ s}
which matches the start of the flat plateau at t=6 st = 6\text{ s} in the data. Reducing δ0\Pert{\delta_0} by a factor of 10410^4 to δ0′=10−10 rad\Pert{\delta_0'} = 10^{-10}\text{ rad} adds a logarithmic increase to the horizon. Watch out: improving precision by 10410^4 does not multiply thorizont_{\text{horizon}} by 10410^4, and be sure to use the natural logarithm ln⁡(104)=4ln⁡10≈9.21\ln(10^4) = 4\ln 10 \approx 9.21 rather than the base-10 logarithm log⁡10(104)=4\log_{10}(10^4) = 4 (which would give 1.6 s1.6\text{ s}). The extra prediction time gained is:
Δthorizon\displaystyle \Delta t_{\text{horizon}} =ln⁡(104)λ\displaystyle = \frac{\ln(10^4)}{\Lin{\lambda}} =4ln⁡102.5 s−1≈9.212.5 s−1≈3.7 s\displaystyle = \frac{4\ln 10}{2.5\text{ s}^{-1}} \approx \frac{9.21}{2.5\text{ s}^{-1}} \approx 3.7\text{ s}
extending the total prediction horizon from 6.0 s6.0\text{ s} to 9.7 s9.7\text{ s}.