Diagonalization
Matrix representation.
Let
be an
matrix, and
let
be the eigenvectors corresponding to
the eigenvalues
satisfying the matrix equations
and
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


