Diagonalization in Differential Equations
Diagonalization and Change of Variables for Linear Systems
A linear change of variables can turn a coupled differential-equation system into independent equations that are easier to solve. When the coefficient matrix is diagonalizable, its eigenvectors provide the new coordinate directions, and its eigenvalues describe the system’s behavior along those directions.
1. The Example System and Its Eigenvalues
Consider the system
In scalar form,
The characteristic polynomial of a 2×2 matrix is
For this matrix, the trace is 3 and the determinant is 2−12=−10, so
Thus the eigenvalues are λ1=−2 and λ2=5. Corresponding eigenvectors are
Because the eigenvalues are distinct, their eigenvectors are linearly independent and can be used as a basis.
2. Diagonalization
Place the eigenvectors in the columns of a matrix, in the same order as their eigenvalues:
The diagonalization relation is
or, equivalently,
The determinant of P is −7, so
The diagonal matrix D places each eigenvalue alongside its corresponding eigenvector’s coordinate. This representation makes the system’s independent modes explicit.
3. Changing Variables to Decouple the System
Introduce new coordinates U=(u,v)T through
This means that the original state vector is expressed as a combination of the eigenvectors, with coefficients u and v. Solving for the new coordinates gives
In scalar form, the two transformations are
and
The matrices P and P−1 are constant, while x, y, u, and v vary with time. Thus, if Y depends on time, so does U.
Differentiate Y=PU with respect to time:
Since Y′=AY and Y=PU,
Multiplying on the left by P−1 gives
Therefore, the transformed system is
or, as two independent scalar equations,
The original equations are coupled because each derivative depends on both original variables. In the new coordinates, each derivative depends only on its own variable. This is the purpose of the change of basis.
4. Solving the Transformed System
Each transformed equation is a simple scalar differential equation. Given initial values u(0)=u0 and v(0)=v0, the solutions are
For an original initial condition
the initial values in the new coordinates are
To return to the original coordinates, use Y=PU. This gives
Equivalently, substituting the initial-coordinate formulas,
The same process works for any initial condition: convert it to the eigenvector coordinates, solve the independent equations, and convert the result back.
5. Connection to the Matrix Exponential
The solution of a constant-coefficient system Y′=AY with initial condition Y(0)=Y0 can be written as
If A=PDP−1, then the matrix exponential can be computed using the diagonal matrix:
Because D is diagonal,
Thus,
This agrees with the change-of-variables method: P−1Y0 gives the initial coordinates (u0,v0), the diagonal exponential evolves them independently, and P converts the result back to the original coordinates.
For this example, the matrix exponential is
The change of variables is therefore not a different solution method from the matrix exponential so much as another way to understand and carry out the same calculation.
Key idea: Diagonalization changes to coordinates in which the system’s independent exponential modes are visible and easy to solve.
6. Geometric Meaning: Eigenvector Directions and the Phase Plane
The system has a unique equilibrium at the origin. Equilibria satisfy AY=0, and since detA=−10=0, the only solution is Y=0.
The eigenvectors identify straight-line solution directions in the phase plane:
Along the eigenvector (−34), the eigenvalue is −2. Solutions in this direction decay like e−2t and approach the origin as t increases.
Along the eigenvector (11), the eigenvalue is 5. Solutions in this direction grow like e5t and move away from the origin as t increases.
The origin is therefore a saddle point: it attracts solutions along the negative-eigenvalue direction and repels them along the positive-eigenvalue direction. These eigenvector lines are the coordinate axes for the new (u,v) system, even though they appear slanted in the original (x,y) plane.
In the new coordinates, the line v=0 is the stable direction, while u=0 is the unstable direction. The corresponding solution behavior follows directly from u(t)=u0e−2t and v(t)=v0e5t.
Nullclines
The nullclines are the locations where one component of the velocity is zero:
The x′-nullcline satisfies x′=0, so 2x+3y=0. Along it, motion has no horizontal component.
The y′-nullcline satisfies y′=0, so 4x+y=0. Along it, motion has no vertical component.
These lines help interpret the vector field in the original phase plane. The signs of x′ and y′ determine whether a trajectory moves right or left and up or down.
7. Skew Coordinates and the Grid
The new coordinate axes are the eigenvector directions, so a grid of constant u and v values appears slanted when drawn in the original (x,y) plane. This is a skew coordinate system: points are still represented by two coordinates, but the coordinate directions are not the usual horizontal and vertical axes.
For example:
The point with new coordinates (u,v)=(1,0) has original coordinates
Y=P(10)=(−34).The point with new coordinates (u,v)=(0,1) has original coordinates
Y=P(01)=(11).
Conversely, the original point (−3,4) has new coordinates (1,0), and the original point (1,1) has new coordinates (0,1). This illustrates why the eigenvectors are the new coordinate directions.
8. Interpreting the Change-of-Basis Matrix Carefully
The equation
converts a coordinate vector in the new basis into the corresponding vector written in the original coordinates. The columns of P show where the two new coordinate unit vectors point in the original plane:
Thus, (1,0) in the new coordinate system represents the original-plane vector (−3,4), while (0,1) represents (1,1). The notation can be confusing because the same geometric point can have different coordinate pairs in different bases. The transformation changes the coordinate description; it does not change the point itself.
The determinant of P is −7. Its absolute value, 7, is the area-scaling factor, and its negative sign means the transformation reverses orientation. For example, the ordered coordinate directions are flipped in orientation when mapped through P. The transformation also changes lengths and angles, so it is not merely a rotation.
9. Why the Method Is Useful
A change of variables is useful when it turns a complicated expression or system into a simpler one. This is the same general strategy as substitution in calculus: express the problem in more convenient variables, solve it there, and translate back.
For a diagonalizable linear differential system, the eigenvector coordinates are especially useful because they separate the modes of motion. In this example, one mode decays and the other grows, and the diagonal system displays both behaviors directly. The same diagonalization also provides an efficient way to compute the matrix exponential and solve arbitrary initial-value problems.

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