Skip to main content

Linear Systems in the Plane

Module 1: Low-Dimensional Dynamics

NoteReading
  • Compulsory: Strogatz (2024), Chapter 5, Sections 6.1-6.2, Chapter 7 and Section 8.2.
  • Recommended: Epstein and Pojman (1998).

In one dimension a trajectory can only move monotonically towards a fixed point or away from it. In two dimensions it can also rotate, and sustained oscillations become possible. The first step is to understand linear systems, because near a fixed point every smooth system looks linear (Strogatz 2024, chap. 5).

Eigenvalues from trace and determinant

Consider \(\dot{\mathbf x} = A\mathbf x\) with \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\). Let

\[ \tau = \operatorname{tr} A = a + d, \qquad \Delta = \det A = ad - bc . \]

The eigenvalues are the roots of \(\lambda^2 - \tau\lambda + \Delta = 0\):

\[ \lambda_{1,2} = \frac{\tau \pm \sqrt{\tau^2 - 4\Delta}}{2}, \qquad \lambda_1 + \lambda_2 = \tau, \quad \lambda_1\lambda_2 = \Delta . \tag{1}\]

Solutions are combinations of \(e^{\lambda_1 t}\) and \(e^{\lambda_2 t}\), so the signs and the type (real or complex) of the eigenvalues decide the phase portrait (Strogatz 2024, sec. 5.2).

Classification

  • \(\Delta < 0\): real eigenvalues of opposite sign. Saddle point.
  • \(\Delta > 0\) and \(\tau^2 > 4\Delta\): real eigenvalues of the same sign. Node, stable if \(\tau < 0\) and unstable if \(\tau > 0\).
  • \(\Delta > 0\) and \(\tau^2 < 4\Delta\): complex eigenvalues \(\tau/2 \pm i\omega\). Spiral, stable if \(\tau < 0\) and unstable if \(\tau > 0\). The frequency is \(\omega = \sqrt{4\Delta - \tau^2}/2\).
  • \(\Delta > 0\) and \(\tau = 0\): purely imaginary eigenvalues. Center, with closed orbits.
  • \(\Delta = 0\): at least one zero eigenvalue. Non-isolated fixed points.
Figure 1: Classification of fixed points of linear systems in the (trace, determinant) plane. The parabola is tau^2 = 4 Delta.
Figure 2: Phase portraits of four linear systems: saddle, stable node, stable spiral and center.

From linear to nonlinear

For a nonlinear system, the Jacobian at a fixed point plays the role of \(A\). The linear classification carries over to the nonlinear system for saddles, nodes and spirals. Centers and the borderline cases on \(\Delta = 0\) or \(\tau^2 = 4\Delta\) can change type under nonlinear terms (Strogatz 2024, sec. 6.3).

Worked example: species in competition

Rabbits \(x\) and sheep \(y\) compete for the same grass (Strogatz 2024, sec. 6.4):

\[ \dot x = x(3 - x - b\,y), \qquad \dot y = y(2 - c\,x - y), \]

with \(b = 2\) and \(c = 1\) in Strogatz’s example. Each species grows logistically on its own, and \(b\) and \(c\) measure how strongly each one is harmed by the other. The fixed points are \((0, 0)\), \((3, 0)\), \((0, 2)\) and, when it lies in the positive quadrant, a coexistence point where the two slanted nullclines cross. Classify each one with the Jacobian, then check your answer in the figure.

  1. With \(b = 2\) and \(c = 1\), click a few starting points. Which species survives? What decides it?
  2. Use the readout to classify the four fixed points. Which one is the saddle, and which curve through it separates the two outcomes?
  3. Set \(b = c = 0.5\). A coexistence point appears in the positive quadrant. Where is it, and is it stable?
  4. Set \(b = 0.8\) and \(c = 1\). Who wins now, from any start with both species present?

Build this in Python. In the lab you draw phase portraits like this one in code: CDIMA: Phase Plane builds the pipeline (vector field, nullclines, trajectories from several initial conditions) and CDIMA: Nullclines and Fixed Points adds the fixed points. Apply the same pipeline to this competition model.

NoteExercise

Classify the fixed point of \(\dot x = -x + 2y\), \(\dot y = -2x - y\).

\(\tau = -2\), \(\Delta = 1 + 4 = 5\), \(\tau^2 - 4\Delta = 4 - 20 < 0\). The eigenvalues are \(-1 \pm 2i\): a stable spiral with angular frequency 2.

print(np.linalg.eigvals([[-1, 2], [-2, -1]]))
[-1.+2.j -1.-2.j]

References

Epstein, Irving R., and John A. Pojman. 1998. An Introduction to Nonlinear Chemical Dynamics: Oscillations, Waves, Patterns, and Chaos. Oxford University Press.
Strogatz, Steven H. 2024. Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering. Chapman; Hall/CRC.