Phase Portraits and Stability Analysis
Problem
For x' = A x with A = [[0, 1], [-2, -3]], find the eigenvalues and classify the equilibrium at the origin (stable node, saddle, spiral, or centre). Draw representative trajectories.
Explanation
What a phase portrait shows
A phase portrait draws solution trajectories of a 2D system in the -plane. Unlike a plot of or versus , it plots versus directly, with the time direction shown by arrows.
The beauty: you can read off the long-term behaviour of the system — stability, type of equilibrium, oscillation, blow-up — from the geometry of the trajectories. For linear systems , this geometry is entirely determined by the eigenvalues of .
The classification chart (memorise this)
For the 2D linear system with eigenvalues of :
Real eigenvalues:
- Both — unstable node (all trajectories exit)
- Both — stable node (all trajectories enter)
- Opposite signs — saddle (two 1-D invariant manifolds; all other trajectories diverge)
- Both equal — degenerate or star node (depends on whether has a basis of eigenvectors)
Complex conjugate eigenvalues :
- — unstable spiral (outward)
- — stable spiral (inward)
- — centre (closed orbits; neither attracting nor repelling)
Equivalent to reading off the trace () and determinant () of : gives the same classification with , for stable node / spiral; for saddle; etc. This is the "- diagram" classification.
The given system
This arises from the 2nd-order ODE rewritten as the system , :
So studying the phase portrait of this system is the same as studying the phase portrait of the damped oscillator .
Step-by-step analysis
Step 1 — Eigenvalues.
Factor: .
Step 2 — Classify.
Both real, both negative ⇒ stable node (asymptotically stable; all trajectories enter the origin). The origin is an attractor.
Trace , determinant , and discriminant — two real distinct roots, both negative; classification matches.
Step 3 — Eigenvectors (to draw the portrait).
For : :
For : :
Step 4 — General solution.
Reading the portrait
Both exponentials decay, so every trajectory flows toward the origin. The slower mode () dominates asymptotically — as the term shrinks faster and trajectories approach the origin tangent to .
Direction of approach. Trajectories align with the slow eigenvector as they approach the fixed point. The fast eigenvector is the direction along which trajectories leave at .
For our system, trajectories "stream in" toward the origin tangent to the line through — the slow stable manifold. The fast stable manifold direction matters more at early times, further from the origin.
Nullclines — where one component is zero
Drawing the curves (where — horizontal tangents in the phase plane) and (where — vertical tangents) gives a coarse skeleton of the flow. For our linear system:
- on the -axis (trajectories cross horizontally there).
- on (trajectories cross vertically there).
These lines partition the plane into regions where the signs of and are fixed, so you can sketch the direction of flow in each region without solving.
Non-linear systems — linearisation at fixed points
For a non-linear system with a fixed point where , near the behaviour is approximated by the linear system where is the Jacobian matrix. So you classify each fixed point by computing the Jacobian there and reading its eigenvalues — "Hartman–Grobman theorem" makes this rigorous when eigenvalues have nonzero real parts.
This is how you draw phase portraits of non-linear systems piece by piece: identify fixed points, linearise each, classify, then sketch global trajectories connecting them.
Physical meaning — damped oscillator
Our system is the 2D phase space of the damped linear oscillator . The damping coefficient versus natural frequency : we have , so the oscillator is over-damped. The two decay rates and correspond to two different exponential decay modes — no oscillation because both eigenvalues are real.
Change the damping: is a centre (pure oscillation, eigenvalues ). is a stable spiral (eigenvalues ).
Common mistakes
- Classifying by trace/determinant wrong. Stable requires and . Just isn't enough (could be a saddle).
- Reading direction of spiral wrong. The sign of the imaginary part of the eigenvalue gives the rotational direction through a specific reference, but the overall direction depends on how you plot axes — always sanity-check with a specific trajectory point.
- Using eigenvalues of the wrong matrix for non-linear systems. You need the Jacobian at the fixed point, not the matrix at an arbitrary point.
- Drawing trajectories that cross. For smooth vector fields (linear or non-linear), uniqueness of solutions means trajectories do not intersect (except possibly at fixed points, where they arrive asymptotically).
Try it in the visualization
Place a cursor at any starting point in the phase plane and watch the trajectory unfurl toward the origin. Overlay the two eigenvector directions as dashed lines — see trajectories approach tangent to the slow eigenvector. Slide the coefficients of to morph between portrait types (node ↔ spiral ↔ saddle).
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.