Matrix Differential Equations
Solving Linear Matrix Differential Equations with Eigenvalues and Eigenvectors
1. The General System x˙=Ax
A linear system of first-order ordinary differential equations can be written compactly as
where:
x(t) is an n-dimensional state vector,
x˙(t) is the time derivative of the state vector,
A is an n×n constant matrix,
the entries of A describe how the components of the state influence one another.
The state vector has the form
so the system represents n simultaneous differential equations.
Why the system is called first-order, coupled, and linear
First-order: Only first derivatives with respect to time appear, such as x˙1,x˙2,…,x˙n.
Coupled: The derivative of one state may depend on several or all of the other states.
Linear: Each derivative is a linear combination of the state variables. Matrix multiplication Ax produces exactly such linear combinations.
For example, the first component of x˙=Ax is generally
Thus, off-diagonal entries of A represent interactions between different state variables.
2. The Simplest Case: Decoupled Dynamics
The easiest situation occurs when the matrix is diagonal. A diagonal system has the form
where
The diagonal entries λ1,λ2,…,λn determine the behavior of the individual state variables.
Because all off-diagonal entries are zero, each state evolves independently:
There are no cross terms such as x2 appearing in the equation for x˙1. Each equation depends only on its own state variable.
Example: Separate animal populations
Suppose the components of x represent populations of different animals in separate zoo enclosures:
If the populations do not interact, then:
The bunny population changes only according to the current bunny population.
The wolf population changes only according to the current wolf population.
The antelope population changes only according to the current antelope population.
No population affects any other population.
This is a model of decoupled dynamics.
3. Solving the Decoupled Equations
Each scalar equation
has the familiar exponential solution
where xk(0) is the initial value of the kth state.
Therefore, the complete solution is
In vector form,
The diagonal matrix containing the exponentials is denoted by
Thus, the solution can be written as
Key idea: A diagonal matrix produces decoupled equations, and decoupled equations can be solved independently using scalar exponential solutions.
Matrix exponentials
The notation eDt is a matrix exponential. For a general matrix A, it is defined through the Taylor series for the exponential function:
For a diagonal matrix, evaluating the matrix exponential is especially simple: exponentiate each diagonal entry separately.
4. Why General Systems Are More Difficult
In most applications, the matrix A is not diagonal. For example, populations in the wild may interact:
Wolves affect the number of bunnies.
Bunnies affect the available food supply.
Antelope may compete with other animals.
Each population may influence the growth or decline of other populations.
The equations could look like
with similar equations for the other components.
The off-diagonal terms create coupling between the equations. Consequently, the scalar equations cannot be solved independently in the original coordinates.
The central strategy is therefore:
Find a new coordinate system in which the coupled system becomes diagonal and decoupled.
This is the role of eigenvalues and eigenvectors.
5. Changing Coordinates
Suppose the original state vector is x. A new state vector, denoted by z, is introduced through the linear coordinate transformation
where T is an invertible matrix.
The matrix T must be invertible so that the transformation can be reversed:
Invertibility means that T has a nonzero determinant:
The original and transformed coordinates describe the same physical state, but they use different coordinate bases.
The objective is to choose T so that the dynamics in the new coordinates become
where D is diagonal.
If this can be achieved, then the transformed system is easy to solve:
The original solution can then be recovered from
6. Deriving the Coordinate Transformation
Begin with the transformation
Assuming T is constant in time, differentiate both sides:
The original system states that
Substituting both relationships gives
Since x=Tz, substitute again:
To isolate z˙, multiply both sides on the left by T−1:
Therefore,
The transformed system is diagonal precisely when
where D is diagonal.
This equation states that T must be chosen so that it diagonalizes A.
7. Deriving the Eigenvalue–Eigenvector Equation
Starting with the diagonalization condition
multiply both sides on the left by T:
Because TT−1=I, this simplifies to
This is the matrix eigenvalue–eigenvector equation.
Central result:
AT=TDThe diagonal entries of D are the eigenvalues of A, and the columns of T are the corresponding eigenvectors of A.
This equation is not merely an abstract linear algebra definition. It arises naturally from the goal of simplifying and solving the differential equation x˙=Ax.
8. Interpreting T and D by Columns
Write the transformation matrix T in terms of its columns:
where each Tk is a column vector.
Write the diagonal matrix D as
Then
Because D is diagonal,
Equating corresponding columns of AT=TD produces the individual equations
The general kth equation is
This is the standard eigenvalue–eigenvector relationship.
Meaning of an eigenpair
An eigenvector Tk is a nonzero vector whose direction is unchanged when multiplied by A. The matrix only scales it by a corresponding scalar λk:
The pair (λk,Tk) is called an eigenpair:
λk is the eigenvalue.
Tk is the associated eigenvector.
The eigenvalues and eigenvectors occur in corresponding pairs. The kth diagonal entry of D must be paired with the kth column of T.
9. Why Eigenvector Coordinates Decouple the Dynamics
If T is formed from eigenvectors of A, then
Since T is invertible,
The transformed state z satisfies
Using the diagonalization relation gives
Because D is diagonal, the transformed system becomes
Each transformed coordinate evolves independently:
Thus, the eigenvectors define a coordinate system in which the original coupled dynamics become decoupled.
The main purpose of eigenvectors in linear systems: Eigenvectors provide a change of coordinates that diagonalizes the system matrix, allowing the differential equations to be solved independently.
10. Solving the Original System Once T and D Are Known
Once the matrix has been diagonalized,
the solution process is:
Transform the original initial condition into eigenvector coordinates: $$ z(0)=T^{-1}x(0). $$
Solve the decoupled system: $$ z(t)=e^{Dt}z(0). $$
Transform back to the original coordinates: $$ x(t)=Tz(t). $$
Combining these expressions gives
The matrix exponential of A can therefore be expressed as
provided that A is diagonalizable and T is invertible.
This converts the difficult problem of solving the coupled system into:
finding eigenvalues,
finding eigenvectors,
solving independent scalar exponential equations,
transforming between coordinate systems.
11. Conceptual Summary
The complete reasoning is:
A general linear system has the form $$ \dot{x}=Ax. $$
Diagonal systems are easy because they represent independent scalar equations.
A general matrix A usually contains off-diagonal terms, which create coupling.
Introduce a new coordinate system using $$ x=Tz. $$
The transformed dynamics are $$ \dot{z}=T^{-1}ATz. $$
Choose T so that $$ T^{-1}AT=D, $whereD$ is diagonal.
Rearranging produces $$ AT=TD. $$
The columns of T are eigenvectors of A, and the diagonal entries of D are their corresponding eigenvalues.
In the eigenvector coordinate system, the system becomes $$ \dot{z}=Dz, $$ which can be solved using independent exponentials.
The solution in the original coordinates is recovered through $$ x(t)=Te^{Dt}T^{-1}x(0). $$
Central insight: Eigenvalues and eigenvectors are useful for differential equations because they transform a coupled linear system into a diagonal, decoupled system whose components can be solved separately.

Ask anything
We've read this whole study set, so questions about it get the best answers.