Problem 1
Solve the following system of first order linear differential equations with the given initial conditions.
\(x_1(0) = 1\), \(x_2(0) = 0\), \(x_3(0) = -1\). You may use the fact that the coefficient matrix is diagonalizable with eigenvalues \(2, 2, 3\) and diagonalizing matrix \(P = \begin{pmatrix} 1 & 0 & 1\\0 & 1 & 1\\0 & 0 & 1\end{pmatrix}\) and \(P^{-1} = \begin{pmatrix} 1 & 0 & -1\\0 & 1 & -1\\0 & 0 & 1\end{pmatrix}\). (5 points)
Solution. In matrix form the system is \(X'(t) = AX(t)\), where
and \(P^{-1}AP = D = \begin{pmatrix} 2 & 0 & 0\\ 0 & 2 & 0\\ 0 & 0 & 3\end{pmatrix}\). The columns of \(P\),
are eigenvectors of \(A\) for the eigenvalues \(2, 2, 3\) respectively.
Substitute \(X = PY\). Then \(PY' = APY\), so \(Y' = P^{-1}APY = DY\), which is the decoupled system
with solutions
Initial conditions for \(Y\). Since \(X = PY\), we have \(Y = P^{-1}X\), and in particular \(Y(0) = P^{-1}X(0)\). With \(X(0) = \begin{pmatrix} 1\\ 0\\ -1\end{pmatrix}\),
So \(y_1(0) = 2\), \(y_2(0) = 1\), \(y_3(0) = -1\), and therefore
Back to \(X\). Finally,
Therefore
Problem 2
Find an orthogonal matrix \(Q\) that diagonalizes \(A = \begin{pmatrix} 1 & 2\\2 & -2\end{pmatrix}\). Explain why \(Q\) is orthogonal. (5 points)
Solution. The characteristic polynomial is
so the eigenvalues are \(\lambda = 2\) and \(\lambda = -3\).
For \(\lambda = 2\): \(A - 2I = \begin{pmatrix} -1 & 2\\ 2 & -4\end{pmatrix}\), so \(E_2\) is spanned by \(\begin{pmatrix} 2\\1\end{pmatrix}\).
For \(\lambda = -3\): \(A + 3I = \begin{pmatrix} 4 & 2\\ 2 & 1\end{pmatrix}\), so \(E_{-3}\) is spanned by \(\begin{pmatrix} 1\\-2\end{pmatrix}\).
These eigenvectors are orthogonal, since \(\langle (2,1), (1,-2)\rangle = 2 - 2 = 0\) (as must happen, because \(A\) is symmetric and the eigenvalues are distinct). Each has length \(\sqrt{5}\), so normalizing gives the orthonormal basis
Let
Why \(Q\) is orthogonal: The columns of \(Q\) are orthogonal and have length one.