5.4 Phase plane and classification

We’ve spent three lessons looking at time-series plots — graphs of xx against tt. There is a different way to picture the same motion, one that hides time but exposes geometry, and once you’ve seen it you can read off the qualitative behaviour of a second-order linear system at a glance.

That alternative is the phase plane. Plot the position xx and the velocity v=x˙v = \dot x on perpendicular axes, and watch trajectories in this (x,v)(x, v) plane evolve. The move rests on a small bookkeeping trick that re-frames second-order ODEs as systems of first-order ones, which is also where this lesson begins.

ODEs as matrix systems

A second-order ODE can be rewritten as a first-order system of two coupled equations by introducing the velocity v=x˙v = \dot x as a second variable. Take the damped oscillator,

x¨  +  2γx˙  +  ω02x  =  0,\ddot x \;+\; 2\gamma\, \dot x \;+\; \omega_0^2\, x \;=\; 0,

and set vx˙v \equiv \dot x. Then v˙=x¨=ω02x2γv\dot v = \ddot x = -\omega_0^2 x - 2\gamma v. Stack the two equations together:

ddt(xv)  =  (01ω022γ)A(xv).\frac{d}{dt}\begin{pmatrix} x \\ v \end{pmatrix} \;=\; \underbrace{\begin{pmatrix} 0 & 1 \\ -\omega_0^2 & -2\gamma \end{pmatrix}}_{A} \begin{pmatrix} x \\ v \end{pmatrix}.

The first row says x˙=v\dot x = v — the definition of vv. The second row is the original ODE solved for x¨\ddot x. The whole second-order equation has become a single matrix–vector equation x˙=Ax\dot{\mathbf{x}} = A\, \mathbf{x}.

What are the eigenvalues of AA (refresher →)? Solve det(AλI)=0\det(A - \lambda I) = 0:

det ⁣(λ1ω022γλ)  =  λ(λ+2γ)+ω02  =  λ2+2γλ+ω02  =  0.\det\!\begin{pmatrix} -\lambda & 1 \\ -\omega_0^2 & -2\gamma - \lambda \end{pmatrix} \;=\; \lambda(\lambda + 2\gamma) + \omega_0^2 \;=\; \lambda^2 + 2\gamma\lambda + \omega_0^2 \;=\; 0.

That is the same characteristic polynomial we have been solving all along — the matrix’s eigenvalues are the λ±\lambda_\pm from the substitute-eλte^{\lambda t} trick. The two pictures are one object:

The payoff of doing the rewrite is geometric. Once a second-order ODE is recast as x˙=Ax\dot{\mathbf{x}} = A\,\mathbf{x}, the state x=(x,v)\mathbf{x} = (x, v) lives in a 2-D plane and traces out a curve there as time runs. The matrix AA defines a flow — at each point of the plane it tells you the instantaneous direction x˙\dot{\mathbf{x}} that the state moves in.

The phase plane

x →v ↑
regime: underdamped

Slide damping from 0 (closed orbits) through γ < ω₀ (inward spirals — underdamped) to γ > ω₀ (overdamped node — no oscillation, monotone return).

Each curve in the interactive above is one solution, starting from a different initial condition. The grey arrows show the local flow direction at every point — the direction that x˙=Ax\dot{\mathbf{x}} = A\mathbf{x} points there. The damping slider walks you through the regimes from 5.3:

The phase plane is the same dynamical system shown differently. The time-domain plot tells you when xx does what; the phase plane tells you how xx and vv relate as the state evolves. Both views are useful — the phase plane is especially powerful for nonlinear systems, where time-series plots can be hard to interpret but the geometry of the flow is often immediately legible.

Classification of equilibria

The phase plane above is for the damped oscillator specifically. But every 2-D linear system x˙=Ax\dot{\mathbf{x}} = A\mathbf{x} has an equilibrium (a “fixed point”) at the origin, and its character — how nearby trajectories behave — is set entirely by the eigenvalues of AA. These are the same eigenvalues we have been calling λ±\lambda_\pm, viewed now for a generic matrix rather than the specific damped-oscillator one.

There are six canonical types. They correspond exactly to the six root patterns we already met as outputs of the characteristic equation in 5.2:

1 of 6 stable node (sink) two real negative eigenvalues
phase portrait — (x, ẋ) planeeigenvalues — complex planeRe λIm λ← stableunstable →

Trajectories approach the origin from all directions — overdamped behaviour. Both eigenvalues live on the negative real axis.

Flip through the gallery. For each classification you get the phase portrait on the left and the eigenvalues in the complex plane on the right.

NameEigenvaluesConnection to our chapter
Stable node (sink)two real, both negativeoverdamped regime (5.3)
Stable spiralcomplex conjugates, negative real partunderdamped regime (5.3)
Centrepure imaginaryundamped SHM (5.3)
Saddlereal, opposite signsthe saddle case in the trick carousel (5.2)
Unstable spiralcomplex conjugates, positive real partoscillator with negative damping; out of scope for acoustics but standard in fluid instabilities
Unstable node (source)two real, both positiveexponential-growth case from the carousel (5.2)

The classification names are useful jargon — you’ll see stable spiral and saddle throughout dynamical-systems and control-theory literature — but the underlying math is the same algebra we’ve been doing. Where the eigenvalues live in the complex plane determines how the flow behaves near the equilibrium:

Initial conditions

A second-order linear ODE has a two-parameter family of solutions; two pieces of data fix a single member of that family. Usually we are given one of:

Which is appropriate is dictated by the problem. Initial-value problems (an ODE in time) take initial conditions; boundary-value problems (an ODE in space, e.g. a vibrating string fixed at both ends) take boundary conditions.

Existence and uniqueness. For any linear ODE with continuous coefficients, every initial-value problem has a unique solution defined on the interval where the coefficients are continuous — so the two pieces of data above always specify the answer without ambiguity. This is not automatic for nonlinear ODEs, where solutions can fail to exist, can become non-unique, or can blow up in finite time. For the constant-coefficient linear case the chapter covers, you can safely assume the solution exists and is unique.

Linearity and superposition

The defining property of a linear ODE is

L[ax1+bx2]  =  aL[x1]+bL[x2],L[\,a x_1 + b x_2\,] \;=\; a\, L[x_1] + b\, L[x_2],

where LL is the differential operator (whatever combination of derivatives appears on the left-hand side). Two consequences we use constantly:

Nonlinear equations don’t give you this gift. The pendulum’s exact equation,

θ¨  +  (g/L)sinθ  =  0,\ddot \theta \;+\; (g/L)\, \sin\theta \;=\; 0,

fails superposition because sin(θ1+θ2)sinθ1+sinθ2\sin(\theta_1 + \theta_2) \neq \sin\theta_1 + \sin\theta_2. Two solutions to the exact pendulum equation cannot in general be added to make a third. Linearisation around small angles — replacing sinθ\sin\theta with θ\theta — restores linearity at the cost of small-amplitude accuracy. Most of acoustics is exactly this kind of linearisation around equilibrium (Sound 4.5 — Linearisation and the wave equation).

What we use linear ODEs for

The cash value of this chapter, across the bookshelf:

ODEs we don’t develop here

Two large families of ODEs sit outside this chapter’s scope but are worth knowing exist:

That is the chapter. Linear constant-coefficient ODEs come down to a polynomial and its roots; the position of those roots in the complex plane is the answer.