Module 3 of 3 · Lesson 3 of 4
Systems of Linear Differential Equations
Coupled equations, and the eigenvectors along which they come apart.
What you will be able to do
Given
Orientation
When no quantity can be tracked alone
Two tanks of brine exchange liquid. The salt in the first drains into the second, and the second drains back. Neither amount can be worked out on its own: the rate at which the first changes depends on how much is in the second, whose rate depends on the first.
Writing
which in matrix form is simply
The move that works is to ask whether some direction can be tracked alone. Try
That is the eigenvalue equation, arrived at from a differential equation rather than from geometry. The directions in which a coupled system behaves like a single scalar equation are exactly the eigenvectors of its matrix, and the rate along each is its eigenvalue.
So the whole method is: find the eigenpairs, solve the one-dimensional problem in each, and add. The coupling was never removed. It was aligned with directions where it acts as one number.
Two further things follow. The eigenvalues answer the question usually worth asking, which is not what
Why this matters
Why eigenvectors, and not some other change of variable
The obstacle in
the system would read
So the natural question is whether a change of variable can make
which is decoupled. Solve each component separately as
That is why eigenvectors and no other change of variable. They are the directions along which the matrix acts by scaling alone, and scaling is the one behaviour a scalar exponential can express.
What this predicts. If the method depends on
Why this is worth the trouble. The eigenvalues are usually the answer, not just a route to a formula. A system is stable when every real part is negative, and that is read off without solving anything. In circuits, mixing, populations and control loops, the question is almost always whether the system settles, oscillates or runs away, and the eigenvalues decide it.
Figure
A saddle and a centre, with eigendirections where they exist
The lesson's two matrices, each drawn as the flow it defines. The two panels are separate coordinate frames: each has its own origin, marked
Real eigenvalues,
Complex eigenvalues,
These are two of the patterns eigenvalues produce, and both are readable before any solution is written down: real eigenvalues of opposite sign give a saddle, a pure imaginary pair gives a centre.
They are not the whole classification. Complex eigenvalues with nonzero real part spiral rather than close; repeated eigenvalues behave differently according to whether the matrix is diagonalizable or defective; a zero eigenvalue leaves a whole line of equilibria. What is general is that the eigenvalues decide.
Definition
Multiplicities, conjugate pairs, and counting solutions
Why
Counting, and the two multiplicities. An
- algebraic multiplicity, how many times
repeats as a root of ; - geometric multiplicity,
, the number of independent eigenvectors it actually supplies.
The geometric never exceeds the algebraic. When they are equal for every eigenvalue, the eigenvectors span and the method finishes; when the geometric falls short, the matrix is defective and the shortfall must be repaired.
Why a conjugate pair yields two real solutions, not four. A real matrix with a complex eigenvalue
Concretely,
both real, both solutions.
Why the eigenvalues decide the long run. Each term carries
That is why stability is read from the eigenvalues alone, and why no solving is needed to answer it.
Theorem
Independent eigenvectors give a basis of solutions
Theorem. Let
is the general solution of
Each term is a solution. For
The solution set is a vector space of dimension
The constants are uniquely determined. At
a linear system whose matrix has the eigenvectors as columns. Independence makes it invertible, so the
Verification on three systems. Each claimed solution was substituted and
| System | Eigenvalues | Solution checked | Max residual |
|---|---|---|---|
The residuals are finite-difference error. For
When the hypothesis fails. The third row is the case the theorem does not cover:
Corollary (stability). If every eigenvalue has negative real part, every solution tends to
Derivation
The complex pair made real, and the defective repair
Complex eigenvalues to real solutions. Take
so
For
Separating real and imaginary parts gives two real solutions:
Verification. Substituting the first,
The conjugate eigenvalue
The defective case. Take
has rank 1, so its kernel is one-dimensional: every eigenvector is a multiple of
Finding the missing solution. Guided by the scalar repair, try
while
using
So
Worked instance. With
Verification. With
The scalar case was this case. Writing
Procedure
Solving a constant-coefficient linear system
Input. A system
Step 1 — Write the system in matrix form. Collect the coefficients so that row
Step 2 — Find the eigenvalues. Solve
For a
Step 3 — Find an eigenvector for each eigenvalue. Solve
Step 4 — At a repeated eigenvalue, test for defectiveness. Compute
- rank 0. Every vector is an eigenvector;
and any basis works; - rank 1, only one independent eigenvector; the matrix is defective, so go to step 5.
Never infer the count of eigenvectors from the multiplicity.
Step 5 — Supply the missing solution if defective. Solve
Step 6 — Convert any complex pair to real form. For
Do not also process the conjugate eigenvalue; it yields the same two solutions.
Step 7 — Assemble the general solution as a combination of the
Step 8 — Apply the initial vector. Substituting
Step 9 — Verify, and read the behaviour. Substitute back into
Where it goes wrong.
- Assuming a repeated eigenvalue gives two eigenvectors. It sometimes does and sometimes does not, and only the rank of
says which. - Counting a conjugate pair twice. Two complex eigenvalues yield two real solutions, not four; a
system is then complete. - Solving for the constants one at a time. The initial condition couples them;
generally cannot be found without . - Reading stability from the entries of
. The diagonal entries are not the eigenvalues unless is triangular. A matrix with negative diagonal entries can still have a positive eigenvalue. - Applying the method to a non-constant
. If the entries depend on , the trial does not reduce to an eigenvalue equation.
Worked example
An initial value problem, worked in full
Problem. Solve
Step 1 — Matrix form.
Step 2 — Eigenvalues. With
so
Check against the invariants. Sum
Step 3 — Eigenvectors.
For
For
Verify.
Step 4 — Not repeated, so no defectiveness test is needed. The two eigenvectors are independent, since neither is a multiple of the other.
Step 7 — General solution.
Step 8 — Apply the initial vector. At
Adding gives
Componentwise,
Step 9 — Verify and read.
Initial vector.
The system. Evaluating
Behaviour. The eigenvalue 3 is positive, so the solution grows without bound:
The eigenvalue with the largest real part dominates the long run, and the trajectory aligns with its eigenvector, here
Example
A system with no real eigenvalues
The worked example had two real eigenvalues, so both solutions were exponentials along fixed directions. Here is the other kind of
Problem. Solve
that is
Eigenvalues.
Check against the invariants. Sum
No real eigenvalue exists, which says something geometric: no direction is preserved. Every vector is turned by this matrix, so no solution can keep a fixed direction and merely scale, and the real-exponential solutions of the worked example have no counterpart here.
Eigenvector for
The first row gives
The second row is
Real solutions. Expand
using
The conjugate eigenvalue
Verification. For the first solution,
identical. Numerically
What the trajectories look like. The norm is
for every
That constancy is the real part being zero. The general complex case contributes
| Trajectory | |
|---|---|
| spirals inward to the origin | |
| closed orbit, constant radius | |
| spirals outward without bound |
Here
Comparison with the worked example.
| Eigenvalues | ||
| Invariant directions | two lines, | none |
| Solutions | real exponentials | sines and cosines |
| Long run | escapes along | circles forever |
Both were solved by the same three steps, characteristic equation, eigenvectors, combine, and the difference in behaviour was settled by the eigenvalues before any solution was written down.
Contrast
Two matrices with the same repeated eigenvalue
A repeated eigenvalue does not by itself determine the shape of the solution. These two matrices both have the single eigenvalue 3, doubled, and their solutions differ.
---
Case 1 — not defective.
Characteristic polynomial
The kernel is all of
No
---
Case 2 — defective.
Being triangular, the characteristic polynomial is again
confirmed numerically. The kernel is one-dimensional, spanned by
Here
With
---
What differs, and what does not.
| Eigenvalue | 3, twice | 3, twice |
| Algebraic multiplicity | 2 | 2 |
| 0 | 1 | |
| Geometric multiplicity | 2 | 1 |
| Defective | no | yes |
| Solution | ||
| none | present |
The characteristic polynomial is identical; everything that distinguishes the two lives in the rank of
The stability reading survives either way. Both have eigenvalue 3 with positive real part, so both grow without bound,
The same distinction, one unit earlier. For scalar equations this is the difference between distinct roots and a repeated root needing
Application
Two connected tanks, solved by eigenvalues
Two tanks are connected by pipes running both ways. Brine flows out of the first into the second and back, and the salt in each is stirred uniformly. Writing
A particular arrangement yields
that is
Why this cannot be done one tank at a time. The first equation involves
The eigenvalues.
Computing:
Both eigenvalues are real and negative, so:
- No oscillation. There is no imaginary part, so the salt does not slosh back and forth past its equilibrium, but approaches it monotonically once the transient has settled.
- Both tanks drain to zero. Every term carries
with . Physically this says the arrangement has no salt source, so the system runs down. A model of this kind that produced a positive eigenvalue would be telling us we had written the conservation wrongly. - One rate eventually dominates. The term with
dies roughly six times faster than the one with . After the fast transient, the whole system decays at the slow rate, with a half-life of time units.
That last number is the practically useful one, and it came from an eigenvalue rather than from a solution. Asked "how long until the tanks are nearly clean?", the answer is about five time units per halving, obtained without ever writing down
The slow eigenvector is the shape the system settles into. Long after the start, the state lies almost along the eigenvector for
The same reading elsewhere. Computing eigenvalues, reading signs and imaginary parts, and extracting a rate is what makes this method carry across fields:
| System | Coupled quantities | What the eigenvalues give |
|---|---|---|
| Mixing tanks | salt in each tank | decay rates, settling time |
| charge and current | ringing frequency, damping | |
| Two-species population | predator and prey numbers | growth or collapse; a complex pair means population cycles |
| Structure under load | displacements | natural frequencies, resonance risk |
In each case the question asked is about behaviour rather than formula, and the eigenvalues answer it directly. A complex pair in the population model, for instance, predicts cycles, predator and prey numbers chasing each other around, and the sign of the real part says whether those cycles grow, shrink, or persist.
A caution the procedure block also raises. The diagonal entries of