Courses / Physics I
Differential Equations and Vector Calculus

Systems of Differential Equations

Physics I 217 words Free to read

Many physical systems involve coupled variables. A system of two first-order ODEs:

dxdt=Ax,x=(x1x2)\frac{d\vec{x}}{dt} = A\vec{x}, \qquad \vec{x} = \begin{pmatrix} x_1 \\ x_2 \end{pmatrix}

Solution method — Find eigenvalues λi\lambda_i and eigenvectors vi\vec{v}_i of AA:

x(t)=C1eλ1tv1+C2eλ2tv2\vec{x}(t) = C_1\,e^{\lambda_1 t}\,\vec{v}_1 + C_2\,e^{\lambda_2 t}\,\vec{v}_2

Phase portrait classification

EigenvaluesTypeStability
λ1,λ2<0\lambda_1, \lambda_2 < 0 realNodeStable
λ1,λ2>0\lambda_1, \lambda_2 > 0 realNodeUnstable
λ1<0<λ2\lambda_1 < 0 < \lambda_2 realSaddleUnstable
α±βi\alpha \pm \beta i, α<0\alpha < 0SpiralStable
α±βi\alpha \pm \beta i, α>0\alpha > 0SpiralUnstable
±βi\pm \beta i (pure imaginary)CentreNeutrally stable

Example — Coupled spring-mass system with two masses yields a 4×44\times 4 system. The eigenvalues give the normal mode frequencies.

import numpy as np
A = np.array([[-3, 1], [2, -2]])
vals, vecs = np.linalg.eig(A)
print("Eigenvalues:", vals)
print("Eigenvectors:\n", vecs)

Key insight: The eigenvalues of the system matrix completely determine the long-term behaviour — stability, oscillation, and decay rate.
Common pitfall: In coupled systems, each equation’s rate depends on the other variable — solving them one at a time as if independent destroys exactly the interaction the system exists to model.
Placeholder: Systems of Differential Equations

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes
Start Physics I free

Differential Equations and Vector Calculus