Skip to content

6.5-final-2010

Final Exam, 2010 · Section 6.5: Solving Linear Differential Equations Source: finalexam_2.pdf, pp. 10-11

Problem

4. (15 pts.)

Find the solution to

\[ \frac{du}{dt} = -\begin{bmatrix} 1 & 2 \\ 1 & 2 \end{bmatrix} u \]

starting with \(u(0) = \begin{bmatrix} 3 \\ 0 \end{bmatrix}\). (Note the minus sign.)

Solution The general formula for the solution to this differential equation is entirely analogous to the formula you learned in 18.01: \[ \vec{u}(t) = e^{-t \begin{bmatrix} 1 & 2 \\ 1 & 2 \end{bmatrix}} \vec{u}(0). \] Of course, you should actually rewrite this in simplest form. To take the matrix exponential, diagonalize \(\begin{bmatrix} 1 & 2 \\ 1 & 2 \end{bmatrix}\). The eigenvalues are easily computed to be 0 (because the matrix is obviously singular) and 3 (because the trace is 3), and the corresponding eigenvectors are \((2, -1)\) and \((1, 1)\), so \[ \begin{bmatrix} 1 & 2 \\ 1 & 2 \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 0 & 0 \\ 0 & 3 \end{bmatrix} \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix}^{-1}. \] It follows that \[ e^{-t \begin{bmatrix} 1 & 2 \\ 1 & 2 \end{bmatrix}} = \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & e^{-3t} \end{bmatrix} \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix}^{-1}, \] where \[ \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix}^{-1} = \frac{1}{3} \begin{bmatrix} 1 & -1 \\ 1 & 2 \end{bmatrix}, \] so \[ \begin{aligned} \vec{u}(t) &= \frac{1}{3} \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & e^{-3t} \end{bmatrix} \begin{bmatrix} 1 & -1 \\ 1 & 2 \end{bmatrix} \begin{bmatrix} 3 \\ 0 \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & e^{-3t} \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ e^{-3t} \end{bmatrix} = \begin{bmatrix} e^{-3t} + 2 \\ e^{-3t} - 1 \end{bmatrix}. \end{aligned} \]

Keywords: matrix exponential, differential equations, diagonalization, eigenvalues