First-order matrix ODEs solved by exponential eigenmodes.
This page solves coupled first-order equations x′=Ax by
the continuous analogue of matrix powers.
An eigenvector gives a direction whose time dependence is a single
exponential and its eigenvalue is the rate, read for growth or decay by
stability of systems.
The page links the two strands. The Calculus ODE pages develop scalar
methods, but the exponential modes needed here are derived below, so the page
can be read first and compared with the scalar methods later.
An eigenvector is a direction that A does not mix with other directions,
and its eigenvalue is the rate attached to that direction. An eigenbasis writes every initial vector as a combination of such modes.
For a constant matrix A and a non-zero vector u, the function
x(t)=ueλt
is a solution of x′=Ax if and only if λ is an
eigenvalue of A and u is a corresponding eigenvector. The zero
solution is handled separately by taking u=0.
When A is real, the calculation may take place in Cn to use
complex eigenvalues and eigenvectors. Combining a complex solution with its
conjugate then gives real solutions, as in the oscillatory example below.
When A has an eigenbasis v1,…,vn with eigenvalues λ1,…,λn:
find the eigenvalues and corresponding eigenvectors;
write the initial vector as x0=c1v1+⋯+cnvn;
replace each eigenmode vj by eλjtvj;
combine the modes:
x(t)=c1eλ1tv1+⋯+cneλntvn.
This is the matrix-power calculation with the discrete factor λjn replaced by the continuous factor eλjt. A matrix without an eigenbasis instead produces terms such as teλt, as in the repeated-root case for scalar equations.
the eigenvalues are 1+2i and 1−2i. Corresponding eigenvectors may be chosen as
v+=(i1),v−=(−i1).
At t=0, the coefficients must satisfy
c+(i1)+c−(−i1)=(10).
Solving these two scalar equations gives c+=−i/2 and c−=i/2.
Therefore
x(t)=−2ie(1+2i)t(i1)+2ie(1−2i)t(−i1).
Using Euler's formula eiθ=cosθ+isinθ with
θ=2t and simplifying yields the real solution
x(t)=et(cos(2t)sin(2t)).
Direct differentiation checks that x′=Ax and x(0)=(1,0)T.
The factor et makes the amplitude grow, while the sine and cosine rotate
the state with angular frequency 2. The trajectory therefore spirals
outward from the origin: the imaginary parts of the eigenvalues produce the
oscillation and their positive real part produces the instability.
Constant-coefficient scalar equations are solved with a characteristic equation and its
roots. Each such equation can also be rewritten as a first-order system.
The first exponent is positive and the second is negative, so one eigenmode grows and the other decays.
The growing mode is the model's unstable direction: any non-zero component
of the initial state along v1 eventually dominates. The decaying mode
along v2 is a short-run adjustment.
Therefore α<0 gives decay, α>0 gives an unbounded mode and, for
a simple root, α=0 gives a non-decaying oscillatory or constant mode.
A repeated root on the imaginary axis introduces a term tert, whose
magnitude is unbounded.