6.5-exam3-2011-strang¶
Quiz 3, 2011 (strang) · Section 6.5: Solving Linear Differential Equations Source: exam3_2.pdf, p. 29
Problem¶
1. (a) Find two eigenvalues and eigenvectors of
\[
A = \begin{bmatrix} 2 & 3 \\ 0 & 5 \end{bmatrix}.
\]
(b) Express any vector \(u_0 = \begin{bmatrix} a \\ b \end{bmatrix}\) as a combination of the eigenvectors.
(c) What is the solution \(u(t)\) to \(\frac{du}{dt} = Au\) starting from \(u(0) = u_0\)?
(d) Find a formula \(u_k = \underline{\hspace{3cm}}\) for the solution to \(u_{k+1} = Au_k\) which starts from that vector \(u_0\). Set \(k = -1\) to find \(A^{-1}u_0\).
Solution
(a) The characteristic polynomial is \[ p(\lambda) = \det(A - \lambda I) = \lambda^2 - 7\lambda + 10 = (\lambda - 2)(\lambda - 5) = 0, \] so \(\lambda_1 = 2\) and \(\lambda_2 = 5\). For the eigenvectors: \[ N(A - 2I) = N\left(\begin{bmatrix} 0 & 3 \\ 0 & 3 \end{bmatrix}\right) = \operatorname{span}\left\{ \begin{bmatrix} 1 \\ 0 \end{bmatrix} \right\} = x_1, \qquad N(A - 5I) = N\left(\begin{bmatrix} -3 & 3 \\ 0 & 0 \end{bmatrix}\right) = \operatorname{span}\left\{ \begin{bmatrix} 1 \\ 1 \end{bmatrix} \right\} = x_2. \] (b) \[ \begin{bmatrix} c_1 \\ c_2 \end{bmatrix} = S^{-1}u_0 = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}^{-1}\begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} 1 & -1 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} a \\ b \end{bmatrix} = \begin{bmatrix} a - b \\ b \end{bmatrix}. \] So \(u_0 = c_1x_1 + c_2x_2 = (a - b)\begin{bmatrix} 1 \\ 0 \end{bmatrix} + b\begin{bmatrix} 1 \\ 1 \end{bmatrix}\). (c) \[ u(t) = c_1e^{\lambda_1 t}x_1 + c_2e^{\lambda_2 t}x_2 = (a - b)e^{2t}\begin{bmatrix} 1 \\ 0 \end{bmatrix} + b\,e^{5t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}. \] (d) \[ u_k = A^ku_0 = c_1\lambda_1^k x_1 + c_2\lambda_2^k x_2 = (a - b)2^k\begin{bmatrix} 1 \\ 0 \end{bmatrix} + b\,5^k\begin{bmatrix} 1 \\ 1 \end{bmatrix}. \] Setting \(k = -1\), \[ u_{-1} = (a - b)2^{-1}\begin{bmatrix} 1 \\ 0 \end{bmatrix} + b\,5^{-1}\begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} \frac{a - b}{2} + \frac{b}{5} \\ \frac{b}{5} \end{bmatrix}. \]Keywords: eigenvalues, eigenvectors, differential equation, matrix powers, similar matrices