4.6.23Ordinary Differential Equations

Stability of equilibria — stable, unstable, saddle, spiral, centre

1,908 words9 min readdifficulty · medium1 backlinks

1. Setup and definitions


2. WHY linearise? (Derivation from scratch)

Let u=xxu=x-x^*, v=yyv=y-y^* be small deviations. Taylor-expand:

f(x,y)=f(x,y)=0+fxu+fyv+(higher order),f(x,y)=\underbrace{f(x^*,y^*)}_{=0}+f_x\,u+f_y\,v+\text{(higher order)}, g(x,y)=g(x,y)=0+gxu+gyv+g(x,y)=\underbrace{g(x^*,y^*)}_{=0}+g_x\,u+g_y\,v+\dots

Since u˙=x˙\dot u=\dot x and v˙=y˙\dot v=\dot y, dropping higher-order terms gives the linearised system:

(u˙v˙)=J(uv),J=(fxfygxgy)(x,y).\begin{pmatrix}\dot u\\ \dot v\end{pmatrix} = J\begin{pmatrix}u\\ v\end{pmatrix}, \qquad J=\begin{pmatrix} f_x & f_y\\ g_x & g_y\end{pmatrix}_{(x^*,y^*)}.

HOW we read it: solutions of w˙=Jw\dot{\mathbf{w}}=J\mathbf{w} are combinations of eλtee^{\lambda t}\mathbf{e}, where λ\lambda is an eigenvalue and e\mathbf{e} its eigenvector. So:

  • Re(λ)<0\mathrm{Re}(\lambda)<0 \Rightarrow that mode decays (stabilising).
  • Re(λ)>0\mathrm{Re}(\lambda)>0 \Rightarrow that mode grows (destabilising).
  • Im(λ)0\mathrm{Im}(\lambda)\neq 0 \Rightarrow rotation (spiralling / circling).

3. Eigenvalues from trace & determinant (derive it)

For a 2×22\times2 matrix JJ, eigenvalues solve det(JλI)=0\det(J-\lambda I)=0:

λ2(fx+gyτ=trJ)λ+(fxgyfygx)Δ=detJ=0.\lambda^2-(\underbrace{f_x+g_y}_{\tau=\mathrm{tr}\,J})\,\lambda+\underbrace{(f_xg_y-f_yg_x)}_{\Delta=\det J}=0.

Why this is powerful: you classify the equilibrium using just two numbers τ\tau and Δ\Delta — no need to solve for eigenvectors.


4. The complete classification (the 80/20 core)

Figure — Stability of equilibria — stable, unstable, saddle, spiral, centre

5. Worked examples


6. Steel-manned mistakes


7. Forecast-then-Verify drill


8. Flashcards

What makes a point an equilibrium of x˙=f,y˙=g\dot x=f,\dot y=g?
f=g=0f=g=0 there (zero velocity).
Which matrix governs local stability?
The Jacobian JJ of partials evaluated at the equilibrium.
Eigenvalue formula for a 2×2 system?
λ=τ±τ24Δ2\lambda=\frac{\tau\pm\sqrt{\tau^2-4\Delta}}{2} with τ=trJ, Δ=detJ\tau=\mathrm{tr}J,\ \Delta=\det J.
Δ<0\Delta<0 implies which type?
Saddle (eigenvalues of opposite sign) — always unstable.
Condition for a stable node/spiral?
τ<0\tau<0 AND Δ>0\Delta>0 (negative trace, positive determinant).
What distinguishes spiral from node?
Discriminant D=τ24Δ<0D=\tau^2-4\Delta<0 → complex eigenvalues → rotation → spiral.
When do you get a centre?
τ=0, Δ>0\tau=0,\ \Delta>0 → pure imaginary eigenvalues ±iω\pm i\omega → closed orbits.
Is a centre asymptotically stable?
No, only neutrally/marginally stable; perturbations persist.
λ1+λ2\lambda_1+\lambda_2 and λ1λ2\lambda_1\lambda_2 equal what?
τ\tau and Δ\Delta respectively (Vieta).
When can linearisation fail?
At non-hyperbolic points (some Reλ=0\mathrm{Re}\lambda=0, e.g. a centre); nonlinear terms then decide.

Recall Feynman: explain to a 12-year-old

Imagine a marble in a landscape. An equilibrium is a flat spot where it can rest. If it's at the bottom of a bowl, push it and it rolls back — stable. On top of a hill, push it and it rolls away — unstable. On a mountain pass (saddle), it rolls back if you push along the ridge but away if you push down the valley — saddle. If the bowl is slippery and spinning, the marble spirals down — spiral. On a perfectly frictionless circular track it just goes round and round forever — centre. The "Jacobian" is just a way of measuring how steep the ground is in each direction right at the resting spot.

Connections

  • Jacobian matrix — the engine of linearisation.
  • Eigenvalues and eigenvectors — sign & complexity = stability.
  • Phase portraits — visualising trajectories near fixed points.
  • Linearisation and Hartman–Grobman theorem — when linear ≈ nonlinear.
  • Lyapunov stability — proving stability without eigenvalues.
  • Damped harmonic oscillator — physical spiral/centre example.
  • Trace–determinant plane — the master classification chart.

Concept Map

nudge and ask

answered by

Taylor to first order

characteristic poly

solve for

Re lambda less than 0

Re lambda greater than 0

real opposite signs

complex with Re nonzero

pure imaginary

trace and det

feed into

Equilibrium fixed point

Stability question

Linearise near equilibrium

Jacobian matrix J

lambda squared minus tau lambda plus Delta

Eigenvalues lambda

Stable sink

Unstable source

Saddle

Spiral focus

Centre closed loops

tau and Delta

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Socho ek system jiska behaviour ek differential equation se control hota hai. Jahan velocity zero ho jaati hai, wahan ek equilibrium (fixed point) hota hai — system wahan ruk sakta hai. Lekin asli sawaal yeh hai: agar hum thoda sa nudge karein, to system wapas aata hai (stable), bhaag jaata hai (unstable), ya gol gol ghoomta hai (spiral/centre)? Yeh decide karne ke liye hum equation ko fixed point ke aas-paas linearise karte hain, yaani Taylor expansion se sirf first-order term rakhte hain. Isse milta hai Jacobian matrix JJ.

Ab JJ ke do numbers kaafi hain: trace τ\tau aur determinant Δ\Delta. Inse eigenvalues nikalte hain: λ=τ±τ24Δ2\lambda=\frac{\tau\pm\sqrt{\tau^2-4\Delta}}{2}. Eigenvalue ka real part agar negative hai to woh mode mar jaata hai (stable), positive hai to grow karta hai (unstable), aur imaginary part ho to rotation aati hai (spiral/centre).

Classification yaad rakhne ka simple rule: agar Δ<0\Delta<0 to hamesha saddle (unstable, ek direction mein khinchta, doosri mein bhagaata). Agar Δ>0\Delta>0 aur τ<0\tau<0 to stable; τ>0\tau>0 to unstable. Discriminant D=τ24ΔD=\tau^2-4\Delta negative ho to spiral (ghoomta hua), positive ho to seedha node. Aur jab τ=0\tau=0 ho aur Δ>0\Delta>0, to centre — bilkul friction-less jhoole jaisa, gol gol orbit, na paas aata na door jaata.

Yeh topic isliye important hai kyunki physics, biology, engineering — sab jagah systems ka long-term behaviour isi se samajh aata hai. Damped spring stable spiral hai, ulta pendulum saddle hai, perfect oscillator centre hai. Ek important warning: centre sirf neutrally stable hota hai, aur jab τ=0\tau=0 ho to linearisation jhooth bol sakti hai — wahan nonlinear terms dekhne padte hain.

Go deeper — visual, from zero

Test yourself — Ordinary Differential Equations

Connections