Diagonalization of matrices
Introduction
Matrix diagonalization is the process of taking a square matrix and converting it into a special type of matrix - a so-called diagonal matrix - that shares the same fundamental properties of the underlying matrix. The diagonal matrix is a matrix where all the elements are zero except for the elements along the diagonal.
The diagonal matrix is a special case of a triangular matrix, which is a matrix where all the elements above or below the diagonal are zero.
The diagonal matrix is also a special case of a symmetric matrix, which is a matrix where the elements above the diagonal are the same as the elements below the diagonal.
Calculation
Let
be a square matrix.
The diagonalization of A is calculated using the following steps:
- Calculate the eigenvalues of A
- Calculate the eigenvectors of A
- Calculate the diagonal matrix
Calculation of eigenvalues and eigenvectors is described in Eigenvalues and eigenvectors.
Diagonal matrix
The formula for diagonal matrix is:
where
is the matrix of eigenvectors of
Resulting diagonal matrix is comprised of eigenvalues of
Example
Let
be a square matrix.
Eigenvalues
Characteristic polynomial of
where
Using diagonal rule:
So, the eigenvalues of
Eigenvectors
Calculate for
Eigenspace
Therefore
Calculate for
Eigenspace
Therefore
Calculate for
Eigenspace
Therefore
Diagonal matrix
Eigenbasis
and
