Eigenvalues, eigenvectors, and complete solution methods
By the end of this section, you will be able to:
We focus on systems of the form:
where $\mathbf{x}(t) = \begin{pmatrix} x_1(t) \\ x_2(t) \end{pmatrix}$ is a vector of unknown functions and $A$ is a constant $2 \times 2$ matrix. The solution method depends entirely on the eigenvalues and eigenvectors of $A$.
The exponential matrix function $e^{At}$ forms the fundamental matrix, and eigenvalues tell us the growth rate along eigenvector directions. This is one of the most elegant connections between linear algebra and differential equations.
If $\lambda$ is an eigenvalue of $A$ and $\mathbf{v}$ is a corresponding eigenvector (so $A\mathbf{v} = \lambda\mathbf{v}$), then
is a solution to $\mathbf{x}' = A\mathbf{x}$.
Compute the derivative:
Since $A\mathbf{v} = \lambda\mathbf{v}$, we have:
Therefore $\mathbf{x}' = A\mathbf{x}$. ✓
When $A$ has two distinct real eigenvalues $\lambda_1 \neq \lambda_2$ with corresponding eigenvectors $\mathbf{v}_1$ and $\mathbf{v}_2$, both $e^{\lambda_1 t}\mathbf{v}_1$ and $e^{\lambda_2 t}\mathbf{v}_2$ are solutions.
where $C_1, C_2$ are arbitrary constants determined by initial conditions.
Superposition Principle: Any linear combination of solutions is also a solution. This follows from the linearity of the system.
When $A$ has complex eigenvalues $\lambda = \alpha \pm \beta i$ (with $\beta \neq 0$) and corresponding eigenvector $\mathbf{v} = \mathbf{a} + i\mathbf{b}$ (where $\mathbf{a}, \mathbf{b}$ are real vectors), the complex exponential $e^{(\alpha + \beta i)t}\mathbf{v}$ is a solution. However, we need real-valued solutions.
Using Euler's formula $e^{i\theta} = \cos\theta + i\sin\theta$:
Separating real and imaginary parts:
where $\mathbf{x}_1(t)$ and $\mathbf{x}_2(t)$ are the real and imaginary parts as shown above.
Interpretation: The factor $e^{\alpha t}$ controls exponential growth/decay. If $\alpha > 0$, solutions spiral outward (unstable); if $\alpha < 0$, they spiral inward (stable). The frequency $\beta$ determines the rotation speed.
When the characteristic polynomial has a repeated eigenvalue $\lambda$ (eigenvalue of multiplicity 2), there are two subcases:
If there are two linearly independent eigenvectors $\mathbf{v}_1, \mathbf{v}_2$, then:
If there is only one linearly independent eigenvector $\mathbf{v}$, we need a generalized eigenvector $\mathbf{w}$ satisfying:
Then the two linearly independent solutions are:
where $\mathbf{v}$ is the eigenvector and $\mathbf{w}$ is the generalized eigenvector.
A repeated eigenvalue does not always require a generalized eigenvector. If the eigenspace has dimension 2 (two independent eigenvectors exist), use Case 3a. Always check the rank of $(A - \lambda I)$ to determine the number of independent eigenvectors.
Solve the system:
Step 1: Find eigenvalues
Expand:
Factor or use the quadratic formula:
So $\lambda_1 = 6$ and $\lambda_2 = -2$ (distinct real eigenvalues).
Step 2: Find eigenvectors
For $\lambda_1 = 6$: Solve $(A - 6I)\mathbf{v}_1 = \mathbf{0}$
From the first row: $-5v_1 + 3v_2 = 0 \Rightarrow v_2 = \frac{5}{3}v_1$. Choose $v_1 = 3$: $\mathbf{v}_1 = \begin{pmatrix} 3 \\ 5 \end{pmatrix}$
For $\lambda_2 = -2$: Solve $(A + 2I)\mathbf{v}_2 = \mathbf{0}$
From the first row: $3v_1 + 3v_2 = 0 \Rightarrow v_1 = -v_2$. Choose $v_2 = -1$: $\mathbf{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}$
Step 3: Write the general solution
In component form:
Solve the system:
Step 1: Find eigenvalues
Expand:
By the quadratic formula:
So $\alpha = -1$ and $\beta = 2$.
Step 2: Find the eigenvector for $\lambda = -1 + 2i$
Solve $(A - (-1+2i)I)\mathbf{v} = \mathbf{0}$:
From the first row: $-2iv_1 + 2v_2 = 0 \Rightarrow v_2 = iv_1$. Choose $v_1 = 1$: $\mathbf{v} = \begin{pmatrix} 1 \\ i \end{pmatrix}$
So $\mathbf{a} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} 0 \\ 1 \end{pmatrix}$
Step 3: Write the real-valued solutions
Step 4: General solution
This represents a spiral converging to the origin (stable focus) because $\alpha = -1 < 0$.
Solve the system:
Step 1: Find eigenvalues
Expand:
So $\lambda = 2$ (repeated, multiplicity 2).
Step 2: Find eigenvector(s)
Solve $(A - 2I)\mathbf{v} = \mathbf{0}$:
From the first row: $v_1 - v_2 = 0 \Rightarrow v_1 = v_2$. Choose $v_1 = 1$: $\mathbf{v} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$
Only one eigenvector exists (rank is 1), so this is a defective matrix. We need a generalized eigenvector.
Step 3: Find generalized eigenvector
Solve $(A - 2I)\mathbf{w} = \mathbf{v}$:
This gives $w_1 - w_2 = 1$. Choose $w_1 = 1$: $w_2 = 0$, so $\mathbf{w} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}$
Step 4: General solution
Simplifying:
Solve the IVP:
Step 1: Find eigenvalues
Expand:
So $\lambda_1 = 6$ and $\lambda_2 = -1$.
Step 2: Find eigenvectors
For $\lambda_1 = 6$: $(A - 6I)\mathbf{v}_1 = \mathbf{0}$
From the first row: $-4v_1 + 3v_2 = 0 \Rightarrow v_2 = \frac{4}{3}v_1$. Choose $v_1 = 3$: $\mathbf{v}_1 = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$
For $\lambda_2 = -1$: $(A + I)\mathbf{v}_2 = \mathbf{0}$
From the first row: $3v_1 + 3v_2 = 0 \Rightarrow v_1 = -v_2$. Choose $v_2 = -1$: $\mathbf{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}$
Step 3: General solution
Step 4: Apply initial conditions
At $t=0$:
This gives the system:
Adding the equations: $7C_1 = 3 \Rightarrow C_1 = \frac{3}{7}$
From the first: $C_2 = 1 - 3C_1 = 1 - \frac{9}{7} = -\frac{2}{7}$
Particular solution:
Or in component form:
Any $n$th-order ODE can be rewritten as a system of $n$ first-order equations by introducing new variables for each derivative. This lets us apply the eigenvalue method to equations that are not originally written as systems.
Given an $n$th-order ODE in $y$, define new state variables:
Then the system becomes $x_1' = x_2$, $x_2' = x_3$, $\ldots$, and the last equation comes from the original ODE solved for the highest derivative.
Convert the following to a first-order system and solve:
Let $x_1 = y$ and $x_2 = y'$. Then:
From the original ODE: $y'' = -y' + 6y = -x_2 + 6x_1$, so:
In matrix form:
For $\lambda_1 = 2$: solve $(A - 2I)\mathbf{v} = \mathbf{0}$
Choose $v_1 = 1$: $\quad \mathbf{v}_1 = \begin{pmatrix} 1 \\ 2 \end{pmatrix}$
For $\lambda_2 = -3$: solve $(A + 3I)\mathbf{v} = \mathbf{0}$
Choose $v_1 = 1$: $\quad \mathbf{v}_2 = \begin{pmatrix} 1 \\ -3 \end{pmatrix}$
The system solution is:
Since $y = x_1$, the solution to the original ODE is:
The characteristic equation of $y'' + y' - 6y = 0$ is $r^2 + r - 6 = (r+3)(r-2) = 0$, giving $r = 2, -3$. This matches our eigenvalues exactly — the eigenvalues of the companion matrix are always the roots of the characteristic equation!
Convert to a first-order system and solve:
Let $x_1 = y$ and $x_2 = y'$. Then $x_1' = x_2$ and from the ODE: $y'' = -2y' - 5y$, so $x_2' = -5x_1 - 2x_2$.
We have complex eigenvalues with $\alpha = -1$ and $\beta = 2$.
For $\lambda = -1 + 2i$: solve $(A - (-1+2i)I)\mathbf{v} = \mathbf{0}$
From the first row: $(1-2i)v_1 + v_2 = 0$, so $v_2 = -(1-2i)v_1 = (-1+2i)v_1$.
Choose $v_1 = 1$:
Using the formula $\mathbf{x}(t) = e^{\alpha t}\big[C_1(\mathbf{a}\cos\beta t - \mathbf{b}\sin\beta t) + C_2(\mathbf{a}\sin\beta t + \mathbf{b}\cos\beta t)\big]$:
So $x_1(t) = y(t) = e^{-t}(C_1 \cos 2t + C_2 \sin 2t)$.
$y(0) = 1$: $\quad C_1 \cdot 1 + C_2 \cdot 0 = 1 \quad \Longrightarrow \quad C_1 = 1$
For $y'(0) = -1$, compute $y' = e^{-t}[(-C_1 + 2C_2)\cos 2t + (-C_2 - 2C_1)\sin 2t]$:
$y'(0) = -C_1 + 2C_2 = -1 + 2C_2 = -1 \quad \Longrightarrow \quad C_2 = 0$
This describes a damped oscillation: the $\cos 2t$ factor produces oscillation with frequency $\omega = 2$, while the $e^{-t}$ envelope causes the amplitude to decay over time. The negative real part $\alpha = -1$ guarantees stability — the system spirals toward the origin.
Convert the following third-order ODE to a first-order system and solve:
A third-order ODE needs three state variables:
Then:
In matrix form:
This $3 \times 3$ matrix is called a companion matrix. It always has 1's on the superdiagonal, and the coefficients of the ODE (with appropriate signs) in the last row. The eigenvalues of this matrix are exactly the roots of the characteristic equation of the original ODE.
The characteristic equation of the companion matrix equals the characteristic equation of the ODE:
Try $r = 1$: $1 - 6 + 11 - 6 = 0$ ✓. So $(r-1)$ is a factor. Divide:
Eigenvalues: $\lambda_1 = 1, \quad \lambda_2 = 2, \quad \lambda_3 = 3$.
For a companion matrix, the eigenvector for eigenvalue $\lambda$ is always:
This gives us:
Since $x_1 = y$, $x_2 = y'$, and $x_3 = y''$, and if $y = e^{\lambda t}$, then $y' = \lambda e^{\lambda t}$ and $y'' = \lambda^2 e^{\lambda t}$. The ratios $1 : \lambda : \lambda^2$ form the eigenvector — each component is one more derivative of $e^{\lambda t}$.
Since $y = x_1$:
And we can verify: $y' = x_2 = C_1 e^t + 2C_2 e^{2t} + 3C_3 e^{3t}$ and $y'' = x_3 = C_1 e^t + 4C_2 e^{2t} + 9C_3 e^{3t}$, which are consistent with differentiating $y(t)$.
Converting a higher-order ODE to a system is not just an exercise — it reveals deeper structure. The eigenvalues of the companion matrix are exactly the roots of the characteristic equation, and the eigenvector structure encodes the derivative relationships. For numerical computation, the system form is essential since all ODE solvers (like MATLAB's ode45) work with first-order systems.
Enter a 2×2 matrix and visualize the solution trajectories in the phase plane.
Work through these problems to test your understanding. Click to reveal solutions.
Characteristic equation:
Eigenvalues: $\lambda_1 = 2, \lambda_2 = -1$ (distinct real)
Eigenvectors:
For $\lambda_1 = 2$: $(A-2I)\mathbf{v}_1 = \mathbf{0}$ gives $2v_1 - 2v_2 = 0$, so $\mathbf{v}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$
For $\lambda_2 = -1$: $(A+I)\mathbf{v}_2 = \mathbf{0}$ gives $5v_1 - 2v_2 = 0$, so $\mathbf{v}_2 = \begin{pmatrix} 2 \\ 5 \end{pmatrix}$
General solution:
Characteristic equation:
Eigenvalues: $\lambda = 1 \pm 2i$ (complex with $\alpha = 1, \beta = 2$)
Eigenvector for $\lambda = 1 + 2i$:
Solve $(A - (1+2i)I)\mathbf{v} = \mathbf{0}$:
From the first row: $(2-2i)v_1 - 4v_2 = 0 \Rightarrow v_1 = \frac{4v_2}{2-2i} = \frac{4v_2(2+2i)}{8} = v_2(1+i)$
Choose $v_2 = 1$: $\mathbf{v} = \begin{pmatrix} 1+i \\ 1 \end{pmatrix}$, so $\mathbf{a} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$, $\mathbf{b} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}$
Real-valued solutions:
General solution:
Note: System is unstable (spiraling outward) since $\alpha = 1 > 0$.
Characteristic equation:
Repeated eigenvalue: $\lambda = 1$ (multiplicity 2)
Eigenspace: $(A - I)\mathbf{v} = \mathbf{0}$ gives
So $v_1 = v_2$, giving one eigenvector $\mathbf{v} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$
Generalized eigenvector: Solve $(A-I)\mathbf{w} = \mathbf{v}$:
From the first row: $4w_1 - 4w_2 = 1 \Rightarrow w_1 = w_2 + \frac{1}{4}$. Choose $w_2 = 0$: $\mathbf{w} = \begin{pmatrix} 1/4 \\ 0 \end{pmatrix}$
General solution:
Apply initial conditions: At $t=0$:
This gives: $C_1 + \frac{C_2}{4} = 3$ and $C_1 = 4$
From the second: $C_1 = 4$, so $4 + \frac{C_2}{4} = 3 \Rightarrow C_2 = -4$
Particular solution: