[Math] Diagonalizing a 3×3 matrix

diagonalizationeigenvalues-eigenvectors

Prove that matrix $A$ is diagonalizable, find the bases for the eigenspaces, the diagonalizing matrix $P$, and compute $P^{-1} A P$ where
$A= \left(\begin{array}{ccc} 2 & 0 & 3 \\
0 & 3 & 0 \\
0 & 0 & 3 \end{array}\right).$

Best Answer

A matrix is diagonalizable if it is similar to a diagonal matrix. So in order to prove this matrix is diagonalizable, why don't we make it similar to a diagonal matrix.

As it is upper triangular, we can just read the eigenvalues off of the diagonal (to convince yourself of this, try finding $det(A-\lambda I)$ for any diagonal A or remember that finding the determinant of a diagonal matrix is just summing the diagonal entries): $\lambda=2,3$.

Then finding the eigenvectors, we look at the null space of $A-I\lambda$ for the two eigenvalues.

For $\lambda=2$, we find the nullspace of $\begin{bmatrix}0&0&3\\0&1&0\\0&0&1 \end{bmatrix}$, which eyeballing we can see is the vector $\begin{bmatrix}1\\0\\0\end{bmatrix}$

or $\lambda=3$, we find the nullspace of $\begin{bmatrix}-1&0&3\\0&0&0\\0&0&0 \end{bmatrix}$ which we can eyeball one easily as $\begin{bmatrix}0\\1\\0\end{bmatrix}$. Then we need one more for this matrix to be diagonalizable, and fortunately this one is pretty clear too we need the first input in row 1 to sum with the third input to 0, $\begin{bmatrix}3\\0\\1\end{bmatrix}$ fits the bill.

Now we have put the eigenvectors together to get our $P=\begin{bmatrix}1\\0\\0\end{bmatrix}\begin{bmatrix}0\\1\\0\end{bmatrix}\begin{bmatrix}3\\0\\1\end{bmatrix}$ which we can invert and plug into the formula $PDP^{-1}=A$, with D the matrix with eigenvalues on the diagonal,

$D=\begin{bmatrix}2&0&0\\0&3&0\\0&0&3 \end{bmatrix}$ I leave it to you to compute $P^{-1}$ and multiply by the appropriate values to go from $PDP^{-1}=A$ to $P^{-1}AP=D$

Related Question