9. Let
\begin{pmatrix} 1 & -3 & -3 \\ 3 & -5 & 3 \\ 6 & -6 & 4 \end{pmatrix}
Eigenvalues $\lambda = 4, -2$ (repeated)
$\vec{v}_1 = \begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix}, \vec{v}_2 = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}, \vec{v}_3 = \begin{pmatrix} -1 \\ 1 \\ 0 \end{pmatrix}$
$\vec{v}_1, \vec{v}_2, \vec{v}_3$ are the eigenvectors corresponding to the eigenvalues 4, -2, -2 respectively
Use this information to diagonalize A.
10. Diagonalize the following matrices, if possible.
(a) $A = \begin{bmatrix} 3 & 1 & 1 \\ 1 & 3 & 1 \\ 1 & 1 & 3 \end{bmatrix}$
(b) $B = \begin{bmatrix} 1 & 2 & -3 \\ 2 & 5 & -2 \\ 1 & 3 & 1 \end{bmatrix}$