Diff. EquationsSystems of Differential Equations

The Matrix Exponential

x(t) = e^(At)x(0).

Not started Jump to practice

For $y' = ay$ the solution is $y = e^{at}y(0)$. The same formula works for systems, $\mathbf{x}(t) = e^{At}\mathbf{x}(0)$, once we say what the exponential of a matrix means. The definition copies the series for $e^{x}$.

Key idea

$$e^{At} = I + At + \frac{(At)^{2}}{2!} + \frac{(At)^{3}}{3!} + \dots$$ It satisfies $\frac{d}{dt}e^{At} = Ae^{At}$ and $e^{A\cdot 0} = I$, so $\mathbf{x}(t) = e^{At}\mathbf{x}(0)$. If $A = PDP^{-1}$ with $D$ diagonal, $e^{At} = Pe^{Dt}P^{-1}$, and $e^{Dt}$ is diagonal with entries $e^{\lambda_it}$.

Why it works

Differentiate the series term by term: $\frac{d}{dt}\frac{(At)^{k}}{k!} = A\frac{(At)^{k-1}}{(k - 1)!}$, so the derivative of the series is $A$ times the series. For a diagonalizable matrix, $(PDP^{-1})^{k} = PD^{k}P^{-1}$, so the whole series becomes $P\left(\sum \frac{(Dt)^{k}}{k!}\right)P^{-1} = Pe^{Dt}P^{-1}$. For $A = \lambda I + N$ with $N^{2} = 0$, the identity part and $N$ commute, so $e^{At} = e^{\lambda t}(I + Nt)$: the series for $N$ stops after two terms.

Worked example: A diagonal matrix

Find $e^{At}$ for $A = \begin{bmatrix} 2 & 0 \\ 0 & -3 \end{bmatrix}$.
  1. Powers of a diagonal matrix are diagonal: $A^{k}$ has entries $2^{k}$ and $(-3)^{k}$.
  2. The series sums each diagonal entry separately.

Answer: $e^{At} = \begin{bmatrix} e^{2t} & 0 \\ 0 & e^{-3t} \end{bmatrix}$

Worked example: A nilpotent part

Find $e^{At}$ for $A = \begin{bmatrix} 3 & 2 \\ 0 & 3 \end{bmatrix}$.
  1. $A = 3I + N$ with $N = \begin{bmatrix} 0 & 2 \\ 0 & 0 \end{bmatrix}$ and $N^{2} = 0$.
  2. $e^{At} = e^{3t}(I + Nt)$.

Answer: $\begin{bmatrix} e^{3t} & 2te^{3t} \\ 0 & e^{3t} \end{bmatrix}$

Worked example: By diagonalizing

Find $e^{At}$ for $A = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}$.
  1. Eigenvalues 3 and $-1$ with eigenvectors $(1, 1)$ and $(1, -1)$: $P = \begin{bmatrix} 1 & 1 \\ 1 & -1 \end{bmatrix}$, $P^{-1} = \frac{1}{2}\begin{bmatrix} 1 & 1 \\ 1 & -1 \end{bmatrix}$.
  2. $Pe^{Dt}P^{-1}$ $= \frac{1}{2}\begin{bmatrix} e^{3t} + e^{-t} & e^{3t} - e^{-t} \\ e^{3t} - e^{-t} & e^{3t} + e^{-t} \end{bmatrix}$.

Answer: $e^{At} = \frac{1}{2}\begin{bmatrix} e^{3t} + e^{-t} & e^{3t} - e^{-t} \\ e^{3t} - e^{-t} & e^{3t} + e^{-t} \end{bmatrix}$; its columns are the solutions starting at $(1, 0)$ and $(0, 1)$

Common mistake

Exponentiating each entry: for $A = \begin{bmatrix} 3 & 2 \\ 0 & 3 \end{bmatrix}$ that would give $\begin{bmatrix} e^{3t} & e^{2t} \\ 1 & e^{3t} \end{bmatrix}$, which is not even $I$ at $t = 0$. The matrix exponential comes from the series (or from diagonalizing). Quick checks: $e^{A\cdot 0} = I$, and each column must solve $\mathbf{x}' = A\mathbf{x}$.
A rotation appears naturally: for $A = \begin{bmatrix} 0 & -b \\ b & 0 \end{bmatrix}$, $A^{2} = -b^{2}I$, the even and odd powers form the cosine and sine series, and $e^{At} = \begin{bmatrix} \cos bt & -\sin bt \\ \sin bt & \cos bt \end{bmatrix}$, a rotation by angle $bt$.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 3 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Differential Equations.

Sources and further reading

  • Paul's Online Math Notes, Differential Equations: Solutions to Systems
  • MIT OpenCourseWare 18.03SC Differential Equations (Fall 2011), Unit IV: First-order Systems
@teddyrookbook GitHub