Systems of ODEs · Foundational

Systems of ODEs Track Interacting Quantities

How coupled first-order equations, phase planes, equilibria, and eigenvalues describe multivariable dynamics.

Real systems rarely contain one changing quantity in isolation. Predator and prey populations interact, chemical species react, and position and velocity evolve together. A system of ODEs tracks these coupled states simultaneously.

Vector form

A first-order system can be written as

x=f(t,x).\mathbf x'=\mathbf f(t,\mathbf x).

For a linear autonomous system,

x=Ax,\mathbf x'=A\mathbf x,

the matrix AA describes how every state variable influences every rate of change.

Converting higher-order equations

The second-order equation y+cy+ky=0y''+cy'+ky=0 becomes a first-order system by setting x1=yx_1=y and x2=yx_2=y':

x1=x2,x2=kx1cx2.\begin{aligned} x_1'&=x_2,\\ x_2'&=-kx_1-cx_2. \end{aligned}

This conversion lets one framework and one family of numerical methods handle equations of any order.

Phase planes and equilibria

For a two-state autonomous system, the phase plane plots x2x_2 against x1x_1 rather than either variable against time. Equilibria satisfy f(x)=0\mathbf f(\mathbf x^*)=\mathbf0. Trajectories reveal whether nearby states approach, depart from, or circulate around them.

Negative real parts of all eigenvalues indicate decay toward the equilibrium. A positive real part creates an unstable direction. Complex eigenvalues introduce rotation or oscillation.

Nonlinear systems

Near an equilibrium, the Jacobian matrix of f\mathbf f provides a linear approximation. Its eigenvalues often predict local behavior, though zero real parts require deeper analysis and distant trajectories may behave differently.

Solve along eigenvector directions

If Av=λvA\mathbf v=\lambda\mathbf v, then x=eλtv\mathbf x=e^{\lambda t}\mathbf v satisfies x=Ax\mathbf x'=A\mathbf x. Independent eigenvectors therefore build the general solution as a linear combination of modes.

Check your understanding

Why can a second-order scalar ODE always be written as two first-order equations?

Show the reasoning

Introduce state variables for the quantity and its first derivative. Then one equation defines the derivative of position as velocity, and the original ODE defines the derivative of velocity.

Continue exploring

Connections

Related concepts

Eigenvalue StabilityEigenvalues Classify Linear System StabilityOrdinary Differential EquationsOrdinary Differential Equations Describe Evolving SystemsPhase PlanesPhase Planes Show the Geometry of Two-State Systems

Applications

  • coupled populations
  • chemical networks
  • compartment models
  • mechanical systems