Phase Portraits: See a Differential Equation Before You Solve It
Most differential equations have no closed-form solution — we treat that as a dead end. But the qualitative behaviour is fully visible in the vector field before you solve anything. Poincare's trick: stop chasing solutions, draw the flow.
You can tell whether a system settles to rest, oscillates forever, or blows up to infinity without solving its differential equation — often more reliably than you could from the solution itself, if one even existed. The honest fact, the one rarely said out loud in a first calculus course, is that most differential equations have no closed-form solution. Write down a nonlinear ordinary differential equation (ODE) at random and the odds of a tidy formula in terms of , , and polynomials are essentially zero. We are trained to read that as a dead end — no formula, no answer.
It is not a dead end. It is the wrong question. The fate of a system — does it come to rest, lock into a rhythm, or run away — is written into the equation's vector field before any solving happens. Henri Poincare saw this in the 1880s, drowning in the three-body problem, which famously has no closed-form solution. So he stopped chasing solutions and started drawing the flow: pin an arrow to every point in space telling a particle which way to move next, and the long-run behaviour becomes a question about the shape of that arrow field. Fixed points, limit cycles, basins of attraction — analysis turns into geometry.
The field, not the formula
Start with the object itself. A planar autonomous system is a pair of first-order ODEs that fix the rate of change of two state variables purely in terms of where you currently are:
The dot is . Read equation (1) not as "two equations to solve" but as an instruction: at the point , the velocity of the state is the vector . Do this at every point and you have painted a vector field across the plane — a fixed arrow everywhere, the flow. A solution is then nothing more than a curve that is everywhere tangent to its arrows: a particle dropped into the field and swept along. That curve is a trajectory, and the whole gallery of trajectories is the phase portrait.
The shift in viewpoint is the entire game. The formula — were you lucky enough to have one — tells you where one particle is at one time from one start. The phase portrait tells you the fate of every start at once, as a picture. And critically, you can draw the field directly from and . No integration required. The arrows come for free; the curves are optional.
Why two trajectories can never cross
Pick any point in the plane. Equation (1) assigns it exactly one velocity vector — and are single-valued functions. So a particle there has exactly one direction to go. If two trajectories crossed, the crossing point would need two different futures, which the equation forbids. This "no crossing" rule (the uniqueness theorem for ODEs) is not a technicality. It is the structural constraint that makes everything below work — it is why a bounded 2D flow has so few options, and why escaping that constraint takes a third dimension.
Fixed points and what linearisation tells you
The skeleton of any phase portrait is its fixed points — the places where and simultaneously. The velocity there is zero, so a particle placed exactly on one never moves: it is an equilibrium. Find these first. They are the rest states, the candidate "settling" points, and the organising centres around which all the trajectories arrange themselves.
But knowing where the equilibria sit tells you nothing yet about what they do. Push a marble slightly off a fixed point — does it roll back (stable), roll away (unstable), or spiral? The answer lives in how the field behaves in an infinitesimal neighbourhood, and that is exactly what the derivative captures. Linearise: replace and near the fixed point with their best linear approximation, whose coefficients form the Jacobian matrix.
Evaluate at the fixed point and find its two eigenvalues . Near the equilibrium the flow looks like along each eigenvector, so the eigenvalues' signs and imaginary parts read off the local picture directly — and the Hartman-Grobman theorem guarantees this linear sketch matches the true nonlinear flow near the point, as long as no eigenvalue sits exactly on the imaginary axis.
The full classification is short enough to memorise:
| Eigenvalues | Fixed point | Behaviour |
|---|---|---|
| Both real, same sign, | Stable node | Trajectories flow straight in |
| Both real, same sign, | Unstable node | Trajectories flow straight out |
| Real, opposite signs | Saddle | In along one axis, out along the other |
| Complex, negative real part | Stable spiral | Spirals inward to rest |
| Complex, positive real part | Unstable spiral | Spirals outward |
| Pure imaginary (real part 0) | Centre | Closed orbits, neither in nor out |
The trace and determinant shortcut
You rarely need the eigenvalues themselves. For a Jacobian, the eigenvalues are fixed by two numbers: the trace and the determinant . The determinant's sign separates saddles () from everything else; the trace's sign separates stable () from unstable; and the discriminant separates nodes (real eigenvalues) from spirals (complex). One plot of against — the trace-determinant plane — classifies every possible planar fixed point at a glance. Geometry collapsing algebra again.
This is the payoff of Poincare's shift. You found the equilibria by solving (often easy — it is algebra, not calculus), you took derivatives to build (mechanical), and you read off two numbers. No solution to the ODE was ever required, yet you now know whether each rest state attracts, repels, or saddles the flow around it. The phase portrait's skeleton is fully drawn.
The formula tells you where one particle goes; the vector field tells you the fate of every particle at once — and you can read it without solving anything.
Limit cycles: oscillation without a driver
Fixed points are the static skeleton. The genuinely surprising structure in nonlinear systems is dynamic: the limit cycle, an isolated closed loop that nearby trajectories spiral onto. A system on a limit cycle oscillates forever with a fixed amplitude and period — and remarkably, it does so with no external clock, no periodic forcing, nothing pushing it. The oscillation is generated entirely from within. This is what a heartbeat is, what a firing neuron is, what a laser's output is.
The cleanest example is the Van der Pol oscillator, born in the 1920s from Balthasar van der Pol's work on vacuum-tube circuits:
Look at the damping term . When the amplitude is small (), the factor is positive, so the term is negative damping — it pumps energy in, growing the oscillation. When the amplitude is large (), goes negative, the damping turns positive, and energy bleeds out, shrinking the oscillation. The two effects fight to a draw at one particular amplitude. That self-balancing amplitude is the limit cycle. Start anywhere — a tiny nudge or a huge swing — and the system converges to the same ring.
That distinction matters in practice. A centre is structurally fragile — the slightest perturbation to the equations turns it into a slow spiral, inward or outward. A limit cycle is structurally robust — perturb the equations and the loop wobbles but survives, still attracting. Real oscillators that keep ticking despite noise and component drift — pacemaker cells, electronic clocks, the predator-prey cycles that actually persist in ecosystems — are limit cycles, not centres. Robustness is why nature can build reliable rhythms out of messy parts.
Basins of attraction
When a system has more than one stable destination — two stable fixed points, or a fixed point and a limit cycle — a new question appears: which one does a given start end up at? The set of all initial conditions that flow to a particular attractor is its basin of attraction. The plane gets carved into territories, one per attractor, and the borders between them are the separatrices — often the stable trajectories running into a saddle point, the knife-edges from which the flow tips one way or the other.
The Duffing oscillator makes this vivid. Its potential has two wells, like a ball rolling in a double valley. In the damped, unforced version, the field has two stable resting points — one at the bottom of each well, at — separated by an unstable saddle at the central ridge. Release the ball with no drive and where you start decides which well it rolls into.
Basin boundaries can be fractal
In tame 2D systems the separatrix is a smooth curve and the basins are clean territories. But raise the dimension or add forcing and basin boundaries can become fractal — infinitely intricate, so that arbitrarily close to any starting point lie initial conditions destined for every attractor. When that happens, predicting the destination from a finitely-precise initial measurement becomes impossible in exactly the sense of the Lorenz post: not because the system is random, but because the geometry of "which basin" is finer than any measurement. The phase portrait shows you this danger directly — you see the boundary thrashing — where a formula would hide it.
Why 2D is special, and 3D isn't
There is a deep reason the autonomous planar systems above are all so well-behaved — Lotka-Volterra and Van der Pol each settle to a fixed point, a centre, or a limit cycle, and nothing more exotic. (The Duffing widget escapes the list precisely because its periodic drive makes it secretly three-dimensional, as we will see.) It is a theorem, and it is one of the most beautiful results in the subject.
The Poincare-Bendixson theorem says: if a trajectory of a smooth planar system stays inside a bounded region forever and that region contains no fixed point, the trajectory must approach a closed orbit. That is the entire menu of long-run behaviour available in two dimensions. Settle to a point, or wind onto a cycle. Nothing else is allowed.
The proof rests entirely on the no-crossing rule from the first callout. In the plane, a trajectory is a curve, and a non-self-intersecting curve that cannot escape a bounded box has only so much room — the Jordan curve theorem boxes it in, literally, until it has nowhere to go but a loop. The plane is simply too cramped for anything wilder. There is no room to be perpetually surprising.
Chaos needs three dimensions
Add one dimension and the cage springs open. In 3D, a trajectory can pass over or under itself without crossing — no violation of uniqueness, because the third coordinate differs at the apparent intersection. That extra room is exactly what lets a bounded, non-repeating, never-crossing trajectory exist: the strange attractor. Poincare-Bendixson is false in three dimensions, and chaos lives in the gap. This is not a vague analogy — it is why the Lorenz system needs three variables and not two, and why no autonomous continuous 2D flow can be chaotic. (The escape hatch is a third axis by any name: the forced Duffing above smuggled one in as the clock that drives its periodic term — a time-dependent 2D system is a 3D one in disguise.)
That third dimension is where the phase-portrait viewpoint pays its largest dividend, because a 3D phase portrait is something you can still draw even when you cannot solve the equations at all.
The same geometry in other rooms
Phase portraits are not a calculus-class abstraction. The reason the technique endures is that the same handful of shapes — node, saddle, spiral, centre, limit cycle, basin — keep reappearing in fields that share no vocabulary.
- Equilibria to classify
- 2 numbers
- trace and determinant fix any planar fixed point
- Bounded fates in 2D
- 2
- rest point or limit cycle — Poincare-Bendixson rules out the rest
- Dimensions for chaos
- 3
- the strange attractor needs the third axis
Predator-prey ecology. The Lotka-Volterra system in the opening lab is the canonical population model: prey, predators, the closed orbits the boom-and-bust cycles ecologists read off the classic lynx-hare records. The phase portrait answers "will the populations cycle, coexist, or crash?" without ever solving for population-as-a-function-of-time — which has no elementary closed form anyway.
The heartbeat as a limit cycle. A healthy heart's pacemaker cells are a biological Van der Pol oscillator: a self-sustaining limit cycle with no external driver, robust to perturbation. Cardiac arrhythmias are, in the phase-portrait language, the limit cycle losing stability or a competing attractor capturing the dynamics. Defibrillation is, geometrically, a kick large enough to knock the state out of a pathological basin and back into the healthy cycle's basin.
Control-system stability. An engineer asking "is this feedback loop stable?" is asking whether the closed-loop system's fixed point is a stable node or spiral — whether the Jacobian's eigenvalues have negative real parts. The entire apparatus of control theory — poles in the left half-plane, gain margins, the Routh-Hurwitz criterion — is the trace-determinant classification of equation (2), dressed in engineering clothes. Same eigenvalues, same geometry, different room.
The thread tying these together is Poincare's original insight, now a century and a half old: when the formula is unavailable — and for nonlinear systems it almost always is — the geometry is still right there in the vector field, waiting to be read. You do not need the solution. You need the flow.
Reading further
- Strogatz, Nonlinear Dynamics and Chaos, chapters 5-8 — the standard modern text; chapters 5-8 build linear classification, phase portraits, limit cycles, and Poincare-Bendixson in exactly the order of this post, with the clearest geometric intuition in print.
- Poincare, Sur les courbes definies par une equation differentielle (1881-1886) — the original memoirs where Poincare invents the qualitative theory of differential equations: fixed points, the index, and the idea of studying flows instead of solutions.
- Hirsch, Smale & Devaney, Differential Equations, Dynamical Systems, and an Introduction to Chaos — the rigorous bridge from linear algebra (eigenvalues of ) to nonlinear flows and chaos; the canonical graduate-level treatment of the classification you read off equation (2).
- Lotka, Elements of Physical Biology (1925) — the teaching case: the original predator-prey model that turns the abstract phase portrait into a concrete, measurable ecological cycle.
Try it in the lab
All effects →Phase Portrait
mathsODE trajectories flowing through vector fields — Lotka-Volterra, Van der Pol, Duffing.
odedynamical systemsConformal Grid
mathsComplex mappings deforming a Cartesian grid — Joukowski, power maps, inversion.
complex analysisdifferential geometryDouble Pendulum
mathsChaotic pendulums diverging from near-identical starting conditions.
chaosode
More from the blog
The Lorenz Attractor and the Limits of Prediction
Determinism does not imply predictability. Lorenz's three-equation toy weather model is fully deterministic yet unknowable past a horizon you can compute — a geometric fact, not an engineering failure.
Every Wave Is a Circle: Fourier Series as Epicycles
We are taught Fourier as an integral to memorise. The geometric truth is older and stranger: any periodic signal, however square or spiky, is drawn by a stack of spinning circles — the same epicycles Ptolemy used for the planets.
A* Search, Visually: the Heuristic Is the Whole Game
A* is not a clever algorithm so much as Dijkstra plus a bet about the future. The same code becomes Dijkstra, greedy best-first, or A* depending on one term in the priority key — and admissibility is the single property that buys optimality.