Diagonalization
Matrix representation.
Let be an
matrix, and
let
be the eigenvectors corresponding to
the eigenvalues
satisfying the matrix equations







![$\displaystyle \quad
P = [\mathbf{v}_1 \ldots \mathbf{v}_n] .
$](img381.png)
![$\displaystyle A P = P D = [\lambda_1\mathbf{v}_1 \:\ldots\: \lambda_n\mathbf{v}_n] .
$](img382.png)
Diagonalization.
If
are linearly independent,
the matrix
is invertible, and therefore, we obtain



EXAMPLE 4. Diagonalize each of the following matrices if possible.
Matlab/Octave.
To find whether is diagonalizable, we can use the
command [P,D] = eig(A) and the function det(P).
If det(P) returns 0, or the magnitude of
(for example, 1.2608e-08),
is not invertible numerically, and therefore,
is not diagonalizable.
© TTU Mathematics