Many problems involve several unknown functions that influence one another, so their equations cannot be solved one at a time. Written in matrix form, such a system becomes \mathbf{y}' = \mathbf{A}\mathbf{y}, and the entire solution theory reduces to the eigenvalues and eigenvectors of . This is the point where linear algebra becomes indispensable to differential equations.
What This Chapter Covers
| Section | What you will learn |
|---|---|
| 5.1 Constant Coefficient Systems | Writing a system as \mathbf{y}' = \mathbf{A}\mathbf{y}, and why forces to be an eigenvector. Includes complex eigenvalues. |
| 5.2 Defective Coefficient Matrices | What to do when has fewer than independent eigenvectors, using generalized eigenvectors. |
| 5.3 Nonhomogeneous Systems: Undetermined Coefficients | Guessing from the shape of , with the modification rules that differ from the scalar case. |
| 5.4 Nonhomogeneous Systems: Variation of Parameters | The fundamental matrix and the compact formula \mathbf{u}' = \mathbf{Y}^{-1}\mathbf{g}. |
The Central Idea
Substituting the trial solution into \mathbf{y}' = \mathbf{A}\mathbf{y} gives
So a nontrivial solution of that form exists precisely when is an eigenvalue and an eigenvector of . Solving the system becomes the algebraic problem of finding eigenvalues and eigenvectors.
This is the exact analogue of the characteristic equation for a single equation, and the analogy runs deep:
| Single equation ay'' + by' + cy = 0 | System \mathbf{y}' = \mathbf{A}\mathbf{y} |
|---|---|
| Trial | Trial |
| Characteristic polynomial | Characteristic polynomial |
| Distinct roots give , | Independent eigenvectors give , |
| Repeated root gives an extra | Defective matrix gives an extra |
| Complex roots give and | Complex eigenvalues give the real and imaginary parts of |
Systems and Single Equations Are Interchangeable
Any th order equation can be rewritten as a system of first-order equations. Given
y^{(n)} = f\left(t, y, y', \dots, y^{(n-1)}\right) ,set , x_2 = y', through . Then
x_1' = x_2, \quad x_2' = x_3, \quad \dots, \quad x_{n-1}' = x_n, \quad x_n' = f\left(t, x_1, \dots, x_n\right) .Convert y'' + 3y' + 2y = 0 into a first-order system and check that the eigenvalues match the characteristic roots.
Solution
Set and x_2 = y'. Then x_1' = x_2 and x_2' = y'' = -3y' - 2y = -2x_1 - 3x_2, so
\mathbf{x}' = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}\mathbf{x} .The characteristic polynomial is
identical to the characteristic polynomial of the original equation. The eigenvalues and are exactly the characteristic roots.
This equivalence matters in both directions. It means the systems theory subsumes everything in Chapter 4, and it means numerical software that solves first-order systems can handle equations of any order after this rewriting. It is the standard preprocessing step for numerical work.
Where Systems Appear
- Coupled oscillators. Two masses joined by springs exchange energy, and neither displacement can be solved for alone.
- Compartment and mixing models. Two tanks that pump fluid into each other give a system for the two concentrations.
- Predator and prey. The Lotka-Volterra equations are a nonlinear system whose behavior near equilibrium is studied by linearizing to \mathbf{y}' = \mathbf{A}\mathbf{y}.
- Electrical networks. A circuit with several loops yields one equation per loop current.
- Compartmental models in medicine. Drug concentrations across blood, tissue, and organs follow a linear system.
Frequently Asked Questions
Why write the system in matrix form?
Because the matrix form exposes the structure. Written out as scalar equations, a system looks like a mess of interlocking relations. Written as \mathbf{y}' = \mathbf{A}\mathbf{y}, it looks exactly like the scalar equation y' = ay whose solution is , and that resemblance is not superficial: the solution really is , built from eigenvalues and eigenvectors.
How many arbitrary constants does the general solution have?
Exactly for a system of first-order equations, one for each independent solution vector. The initial condition is then a vector with components, which determines all constants.
What if the matrix has complex eigenvalues?
They come in conjugate pairs when is real, and the pair contributes two real solutions: the real and imaginary parts of . The result oscillates, with setting the growth or decay and setting the frequency. Section 5.1 works this out.
Does every matrix have enough eigenvectors?
No. A matrix with fewer than independent eigenvectors is called defective, and this can only happen when eigenvalues repeat. Section 5.2 shows how generalized eigenvectors supply the missing solutions, in a way that closely parallels the extra factor of for repeated roots in Chapter 4.