Phase Portraits and Stability Analysis

April 13, 2026

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 x=F(x)\mathbf{x}' = \mathbf{F}(\mathbf{x}) in the (x1,x2)(x_1, x_2)-plane. Unlike a plot of x1x_1 or x2x_2 versus tt, it plots x2x_2 versus x1x_1 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 x=Ax\mathbf{x}' = A \mathbf{x}, this geometry is entirely determined by the eigenvalues of AA.

The classification chart (memorise this)

For the 2D linear system x=Ax\mathbf{x}' = A \mathbf{x} with eigenvalues λ1,λ2\lambda_1, \lambda_2 of AA:

Real eigenvalues:

  • Both >0> 0unstable node (all trajectories exit)
  • Both <0< 0stable 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 AA has a basis of eigenvectors)

Complex conjugate eigenvalues λ=α±iβ\lambda = \alpha \pm i \beta:

  • α>0\alpha > 0unstable spiral (outward)
  • α<0\alpha < 0stable spiral (inward)
  • α=0\alpha = 0centre (closed orbits; neither attracting nor repelling)

Equivalent to reading off the trace (τ=λ1+λ2\tau = \lambda_1 + \lambda_2) and determinant (Δ=λ1λ2\Delta = \lambda_1 \lambda_2) of AA: λ=(τ±τ24Δ)/2\lambda = (\tau \pm \sqrt{\tau^2 - 4\Delta})/2 gives the same classification with Δ>0\Delta > 0, τ<0\tau < 0 for stable node / spiral; Δ<0\Delta < 0 for saddle; etc. This is the "τ\tau-Δ\Delta diagram" classification.

The given system

A=(0123).A = \begin{pmatrix} 0 & 1 \\ -2 & -3 \end{pmatrix}.

This arises from the 2nd-order ODE y+3y+2y=0y'' + 3 y' + 2 y = 0 rewritten as the system x1=yx_1 = y, x2=yx_2 = y': x1=x2=y,x2=y=3y2y=2x13x2.x_1' = x_2 = y', \qquad x_2' = y'' = -3 y' - 2 y = -2 x_1 - 3 x_2.

So studying the phase portrait of this system is the same as studying the phase portrait of the damped oscillator y+3y+2y=0y'' + 3 y' + 2 y = 0.

Step-by-step analysis

Step 1 — Eigenvalues.

det(AλI)=det(λ123λ)=λ(3λ)(1)(2)=λ2+3λ+2.\det(A - \lambda I) = \det \begin{pmatrix} -\lambda & 1 \\ -2 & -3 - \lambda \end{pmatrix} = -\lambda(-3 - \lambda) - (1)(-2) = \lambda^{2} + 3 \lambda + 2.

Factor: (λ+1)(λ+2)=0    λ1=1,  λ2=2(\lambda + 1)(\lambda + 2) = 0 \implies \lambda_1 = -1, \; \lambda_2 = -2.

Step 2 — Classify.

Both real, both negative ⇒ stable node (asymptotically stable; all trajectories enter the origin). The origin is an attractor.

Trace τ=3<0\tau = -3 < 0, determinant Δ=2>0\Delta = 2 > 0, and discriminant τ24Δ=98=1>0\tau^{2} - 4 \Delta = 9 - 8 = 1 > 0 — two real distinct roots, both negative; classification matches.

Step 3 — Eigenvectors (to draw the portrait).

For λ1=1\lambda_1 = -1: (A+I)v=0(A + I) \mathbf{v} = \mathbf{0}: (1122)v=0    v1+v2=0    v1=(1,1)T.\begin{pmatrix} 1 & 1 \\ -2 & -2 \end{pmatrix} \mathbf{v} = \mathbf{0} \implies v_1 + v_2 = 0 \implies \mathbf{v}_1 = (1, -1)^{T}.

For λ2=2\lambda_2 = -2: (A+2I)v=0(A + 2 I) \mathbf{v} = \mathbf{0}: (2121)v=0    2v1+v2=0    v2=(1,2)T.\begin{pmatrix} 2 & 1 \\ -2 & -1 \end{pmatrix} \mathbf{v} = \mathbf{0} \implies 2 v_1 + v_2 = 0 \implies \mathbf{v}_2 = (1, -2)^{T}.

Step 4 — General solution.

x(t)=C1et(11)+C2e2t(12).\mathbf{x}(t) = C_1 e^{-t} \begin{pmatrix} 1 \\ -1 \end{pmatrix} + C_2 e^{-2 t} \begin{pmatrix} 1 \\ -2 \end{pmatrix}.

Reading the portrait

Both exponentials decay, so every trajectory flows toward the origin. The slower mode (λ1=1\lambda_1 = -1) dominates asymptotically — as tt \to \infty the e2te^{-2t} term shrinks faster and trajectories approach the origin tangent to v1=(1,1)T\mathbf{v}_1 = (1, -1)^{T}.

Direction of approach. Trajectories align with the slow eigenvector as they approach the fixed point. The fast eigenvector v2\mathbf{v}_2 is the direction along which trajectories leave at tt \to -\infty.

For our system, trajectories "stream in" toward the origin tangent to the line through (1,1)(1, -1) — the slow stable manifold. The fast stable manifold v2\mathbf{v}_2 direction (1,2)(1, -2) matters more at early times, further from the origin.

Nullclines — where one component is zero

Drawing the curves F1=0F_1 = 0 (where x1=0x_1' = 0 — horizontal tangents in the phase plane) and F2=0F_2 = 0 (where x2=0x_2' = 0 — vertical tangents) gives a coarse skeleton of the flow. For our linear system:

  • x1=x2=0x_1' = x_2 = 0 on the x1x_1-axis (trajectories cross horizontally there).
  • x2=2x13x2=0x_2' = -2 x_1 - 3 x_2 = 0 on x2=23x1x_2 = -\frac{2}{3} x_1 (trajectories cross vertically there).

These lines partition the plane into regions where the signs of x1x_1' and x2x_2' 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 x=F(x)\mathbf{x}' = \mathbf{F}(\mathbf{x}) with a fixed point x\mathbf{x}^{*} where F(x)=0\mathbf{F}(\mathbf{x}^{*}) = 0, near x\mathbf{x}^{*} the behaviour is approximated by the linear system xJ(x)(xx),\mathbf{x}' \approx J(\mathbf{x}^{*}) (\mathbf{x} - \mathbf{x}^{*}), where J=F/xJ = \partial \mathbf{F} / \partial \mathbf{x} 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 y+3y+2y=0y'' + 3 y' + 2 y = 0. The damping coefficient c=3c = 3 versus natural frequency ω0=2\omega_0 = \sqrt{2}: we have c2=9>4ω02=8c^{2} = 9 > 4 \omega_0^{2} = 8, so the oscillator is over-damped. The two decay rates 11 and 22 correspond to two different exponential decay modes — no oscillation because both eigenvalues are real.

Change the damping: y+y=0y'' + y = 0 is a centre (pure oscillation, eigenvalues ±i\pm i). y+2y+2y=0y'' + 2 y' + 2 y = 0 is a stable spiral (eigenvalues 1±i-1 \pm i).

Common mistakes

  • Classifying by trace/determinant wrong. Stable requires τ<0\tau < 0 and Δ>0\Delta > 0. Just τ<0\tau < 0 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 AA to morph between portrait types (node ↔ spiral ↔ saddle).

Interactive Visualization

Parameters

0.00
1.00
-2.00
-3.00
5.00
4.00
3.00
Your turn

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.

Sign Up Free to Try It30 free visualizations every day
Phase Portraits and Stability Analysis | MathSpin