Linear Algebra in
Differential Equations
Discover how eigenvalues and eigenvectors unlock the solutions to systems of differential equations: the bridge between matrix algebra and dynamic behavior.
What Is a System of Differential Equations?
Instead of a single equation with one unknown function, we often need to model multiple quantities that change simultaneously and influence each other. A system of linear DEs looks like:
For example, with two unknowns \(x_1(t)\) and \(x_2(t)\), the system becomes two coupled equations whose behavior depends entirely on the matrix \(A\).
Why Do Eigenvalues Matter Here?
Eigenvalue and Eigenvector Refresher
A scalar \(\lambda\) is an eigenvalue of matrix \(A\) if there exists a nonzero vector \(\mathbf{v}\) such that:
The vector \(\mathbf{v}\) only gets scaled (by \(\lambda\)), never rotated. This special property is what makes eigenvectors perfect for solving DEs.
The Characteristic Equation
To find eigenvalues, we solve:
For a \(2 \times 2\) matrix, this gives a quadratic in \(\lambda\), easy to solve with the quadratic formula.
Core Solution Theorem
Why? Differentiate: \(\mathbf{x}'(t) = \lambda e^{\lambda t}\mathbf{v}\). Compare with \(A\mathbf{x}(t) = e^{\lambda t}A\mathbf{v} = e^{\lambda t}\lambda\mathbf{v}\). They match!
Eigenvalue Sign and Phase Portraits
\(\lambda_1 < 0, \lambda_2 < 0\)
\(\lambda_1 > 0, \lambda_2 > 0\)
\(\lambda_1 > 0, \lambda_2 < 0\)
Single DE vs. System of DEs
| Single DE | System of DEs | |
|---|---|---|
| Form | \(x' = ax\) | \(\mathbf{x}' = A\mathbf{x}\) |
| Unknown | One function \(x(t)\) | Vector \(\mathbf{x}(t)\) |
| Growth rate | Constant \(a\) | Eigenvalues \(\lambda_1, \lambda_2, \ldots\) |
| Solution | \(x(t) = ce^{at}\) | \(\mathbf{x}(t) = \sum c_i e^{\lambda_i t}\mathbf{v}_i\) |
| Directions | Not applicable | Eigenvectors \(\mathbf{v}_i\) |
How to Solve \(\mathbf{x}' = A\mathbf{x}\)
Example 1: Finding Eigenvalues
Solve the system \(\mathbf{x}' = A\mathbf{x}\) where:
Step 1: Characteristic equation.
Example 1: Finding Eigenvectors
Step 2: For \(\lambda_1 = 2\), solve \((A - 2I)\mathbf{v} = \mathbf{0}\):
For \(\lambda_2 = -2\), solve \((A + 2I)\mathbf{v} = \mathbf{0}\):
Example 2: Negative Eigenvalues
Consider the matrix:
Since \(A\) is upper triangular, the eigenvalues are the diagonal entries:
Example 3: Applying an Initial Condition
Using Example 2 with \(\mathbf{x}(0) = \begin{pmatrix} 4 \\ 2 \end{pmatrix}\), find \(c_1\) and \(c_2\).
Visualizing Exponential Decay
Both components of our solution from Example 3 decay as \(t\) increases:
\(x_1(t)\)
\(x_2(t)\)
Common Mistakes to Avoid
Summary Table
| Eigenvalue Type | Solution Form | Behavior |
|---|---|---|
| Both \(\lambda < 0\) | Decaying exponentials | Stable node |
| Both \(\lambda > 0\) | Growing exponentials | Unstable node |
| Mixed signs | One grows, one decays | Saddle point |
| Complex \(\lambda = \alpha \pm \beta i\) | Oscillation with \(e^{\alpha t}\) | Spiral (stable if \(\alpha < 0\)) |
| Pure imaginary \(\lambda = \pm \beta i\) | Pure oscillation | Center (ellipses) |
Question 1 of 5
If \(\lambda\) is an eigenvalue of \(A\) with eigenvector \(\mathbf{v}\), what is a solution to \(\mathbf{x}' = A\mathbf{x}\)?
Question 2 of 5
What is the first step in solving \(\mathbf{x}' = A\mathbf{x}\)?
Question 3 of 5
A \(2 \times 2\) system has eigenvalues \(\lambda_1 = -5\) and \(\lambda_2 = -1\). As \(t \to \infty\), what happens to the solutions?
Question 4 of 5
For \(A = \begin{pmatrix} 4 & 0 \\ 0 & -1 \end{pmatrix}\), what are the eigenvalues?
Question 5 of 5
In the general solution \(\mathbf{x}(t) = c_1 e^{\lambda_1 t}\mathbf{v}_1 + c_2 e^{\lambda_2 t}\mathbf{v}_2\), what determines the constants \(c_1\) and \(c_2\)?