To diagonalize the matrix ( A ):
[
A = \begin{bmatrix}
1 & 0 & 4 \
0 & 3 & 0 \
4 & 0 & 1 \
\end{bmatrix}
]
We will find its eigenvalues and corresponding eigenvectors.
Step 1: Find Eigenvalues
Compute the determinant of ( A - \lambda I ):
[
\det(A - \lambda I) = 0
]
Subtract ( \lambda I ) from ( A ):
[
A - \lambda I = \begin{bmatrix}
1 - \lambda & 0 & 4 \
0 & 3 - \lambda & 0 \
4 & 0 & 1 - \lambda \
\end{bmatrix}
]
Use cofactor expansion along the second row (since it contains zeros):
[
\det(A - \lambda I) = (3 - \lambda) \cdot \det \begin{bmatrix}
1 - \lambda & 4 \
4 & 1 - \lambda \
\end{bmatrix}
]
Compute the determinant of the 2×2 matrix:
[
\det \begin{bmatrix}
1 - \lambda & 4 \
4 & 1 - \lambda \
\end{bmatrix} = (1 - \lambda)^2 - 16 = (1 - \lambda - 4)(1 - \lambda + 4) = -( \lambda + 3)(5 - \lambda)
]
So:
[
\det(A - \lambda I) = (3 - \lambda) \cdot [ - ( \lambda + 3)(5 - \lambda) ] = - (3 - \lambda)( \lambda + 3)(5 - \lambda)
]
Set the determinant to zero:
[
(3 - \lambda)( \lambda + 3)(5 - \lambda) = 0
]
The eigenvalues are:
[
\lambda_1 = -3, \quad \lambda_2 = 3, \quad \lambda_3 = 5
]
Step 2: Find Eigenvectors
For ( \lambda = -3 ):
Solve ( (A + 3I) \mathbf{v} = 0 ):
[
(A + 3I) = \begin{bmatrix}
4 & 0 & 4 \
0 & 6 & 0 \
4 & 0 & 4 \
\end{bmatrix}
]
Setting up the equations:
- ( 4v_1 + 4v_3 = 0 )
- ( 6v_2 = 0 )
- ( 4v_1 + 4v_3 = 0 )
From equation 2:
[
v_2 = 0
]
From equations 1 and 3:
[
4v_1 + 4v_3 = 0 \implies v_1 + v_3 = 0 \implies v_1 = -v_3
]
Eigenvector for ( \lambda = -3 ):
[
\mathbf{v}_1 = \begin{bmatrix} -1 \ 0 \ 1 \end{bmatrix}
]
For ( \lambda = 3 ):
Solve ( (A - 3I) \mathbf{v} = 0 ):
[
(A - 3I) = \begin{bmatrix}
-2 & 0 & 4 \
0 & 0 & 0 \
4 & 0 & -2 \
\end{bmatrix}
]
Setting up the equations:
- ( -2v_1 + 4v_3 = 0 )
- ( 0 = 0 ) (no information)
- ( 4v_1 - 2v_3 = 0 )
From equations 1 and 3:
[
-2v_1 + 4v_3 = 0 \implies -v_1 + 2v_3 = 0 \
4v_1 - 2v_3 = 0 \implies 2v_1 - v_3 = 0
]
Solving these simultaneously:
[
- v_1 + 2v_3 = 0 \implies v_1 = 2v_3 \
2v_1 - v_3 = 0 \implies 2(2v_3) - v_3 = 0 \implies 4v_3 - v_3 = 0 \implies 3v_3 = 0 \implies v_3 = 0 \implies v_1 = 0
]
Since ( v_1 = v_3 = 0 ), ( v_2 ) is free to be any value.
Eigenvector for ( \lambda = 3 ):
[
\mathbf{v}_2 = \begin{bmatrix} 0 \ 1 \ 0 \end{bmatrix}
]
For ( \lambda = 5 ):
Solve ( (A - 5I) \mathbf{v} = 0 ):
[
(A - 5I) = \begin{bmatrix}
-4 & 0 & 4 \
0 & -2 & 0 \
4 & 0 & -4 \
\end{bmatrix}
]
Setting up the equations:
- ( -4v_1 + 4v_3 = 0 )
- ( -2v_2 = 0 )
- ( 4v_1 - 4v_3 = 0 )
From equation 2:
[
v_2 = 0
]
From equations 1 and 3:
[
-4v_1 + 4v_3 = 0 \implies -v_1 + v_3 = 0 \
4v_1 - 4v_3 = 0 \implies v_1 - v_3 = 0
]
Solving these:
[
v_1 = v_3
]
Eigenvector for ( \lambda = 5 ):
[
\mathbf{v}_3 = \begin{bmatrix} 1 \ 0 \ 1 \end{bmatrix}
]
Step 3: Normalize the Eigenvectors
Normalize the eigenvectors to obtain an orthonormal set.
Normalize ( \mathbf{v}_1 ):
[
| \mathbf{v}_1 | = \sqrt{(-1)^2 + 0^2 + 1^2} = \sqrt{2}
]
[
\mathbf{u}_1 = \frac{1}{\sqrt{2}} \begin{bmatrix} -1 \ 0 \ 1 \end{bmatrix}
]
Normalize ( \mathbf{v}_2 ):
[
| \mathbf{v}_2 | = 1
]
[
\mathbf{u}_2 = \mathbf{v}_2 = \begin{bmatrix} 0 \ 1 \ 0 \end{bmatrix}
]
Normalize ( \mathbf{v}_3 ):
[
| \mathbf{v}_3 | = \sqrt{1^2 + 0^2 + 1^2} = \sqrt{2}
]
[
\mathbf{u}_3 = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \ 0 \ 1 \end{bmatrix}
]
Step 4: Form the Orthogonal Matrix ( P ) and Diagonal Matrix ( D )
Matrix ( P ) consists of the normalized eigenvectors as its columns:
[
P = \begin{bmatrix}
-1/\sqrt{2} & 0 & 1/\sqrt{2} \
0 & 1 & 0 \
1/\sqrt{2} & 0 & 1/\sqrt{2} \
\end{bmatrix}
]
Diagonal matrix ( D ) has the eigenvalues on its diagonal:
[
D = \begin{bmatrix}
-3 & 0 & 0 \
0 & 3 & 0 \
0 & 0 & 5 \
\end{bmatrix}
]
Conclusion:
The matrix ( A ) is diagonalized as:
[
A = P D P^\top
]
An explicit diagonalization:
A = PDPᵀ with
P = (\begin{bmatrix}\dfrac{-1}{\sqrt{2}}&0&\dfrac{1}{\sqrt{2}}\0&1&0\\dfrac{1}{\sqrt{2}}&0&\dfrac{1}{\sqrt{2}}\end{bmatrix}) and D = diag(–3, 3, 5)