Diagonalisation
Eigenbases, diagonal matrices and the criterion for diagonalising a matrix.
This page asks when a matrix has enough independent eigenvectors to form an eigenbasis. In that basis the matrix representation is diagonal, so repeated multiplication or coupled evolution splits into scalar modes, as in matrix powers, linear ODE systems and Markov systems.
Diagonalisation always takes place over a chosen scalar field: the change-of-basis matrix and the diagonal entries must belong to that field. A real matrix may therefore be diagonalisable over but not over .
Independent eigenvectors
Eigenvalue
Let be a linear map over a field . A scalar is an eigenvalue of if there is a non-zero vector such that
Eigenvector
If for a non-zero vector , then is an eigenvector of corresponding to the eigenvalue .
Basis
A set in a vector space is a basis for if it is linearly independent and spans .
Matrix representation of a linear map
Let be a linear map, where and . For ordered bases
form the coordinate columns
Then
is the unique matrix satisfying
We call the matrix representation of relative to and and may write it as .
With this notation, the subscript names the domain basis and the superscript names the codomain basis, matching the direction in the displayed coordinate identity.
Eigenvectors for distinct eigenvalues
Eigenvectors belonging to distinct eigenvalues are linearly independent. In particular, an matrix with distinct eigenvalues has linearly independent eigenvectors.
Let be eigenvectors for distinct eigenvalues and suppose
To isolate one coefficient, fix and apply
to both sides. The factors commute because each is a polynomial in . Every term except the th is killed by one factor, while
Thus the transformed relation is
The scalar product is non-zero and , so . Since was arbitrary, all coefficients vanish.
Eigenbasis
An eigenbasis for a vector space is a basis whose vectors are eigenvectors of the linear map under consideration.
In an eigenbasis, each coordinate direction is scaled independently. Every vector therefore splits into eigenmodes, which matrix powers and linear ODE systems evolve separately.
Diagonalisation
An matrix over a field is diagonalisable over if there are an invertible matrix and a diagonal matrix such that
The columns of are the eigenvectors in the chosen eigenbasis and the corresponding eigenvalues appear on the diagonal of .
When diagonalisation is possible
An matrix over is diagonalisable over if and only if it has linearly independent eigenvectors in .
This test decides whether matrix powers can be computed in diagonal form.
- [1]:Diagonalisation
- [2]:Eigenbasis
- [3]:Linear independence
- [4]:Proof
If are independent eigenvectors, let
The matrix is invertible and applying to each column gives . Hence .
Conversely, if , then . The columns of are therefore eigenvectors corresponding to the diagonal entries of . Since is invertible, its columns are linearly independent.
Similarity and change of basis
Two square matrices and are similar if an invertible matrix satisfies
Similar matrices represent the same linear operator in different bases, as in a matrix representation, so their entries can differ. They share eigenvalues, determinant, rank, nullity and invertibility. Diagonalisation is the case in which the matrix in the new basis is diagonal.
Worked examples
A real matrix with complex eigenvalues
For
the characteristic polynomial is
Its eigenvalues are and . For ,
and solving gives
The conjugate eigenvalue has eigenvector . These two eigenvectors are independent over , so the matrix is diagonalisable over although it has no real eigenvalues. Discarding the complex roots of a real matrix would miss this diagonalisation.
[routine]
- [1]:Eigenvalue
- [2]:Eigenvector
- [3]:Diagonalisation
A repeated eigenvalue needs more care. Its algebraic multiplicity counts how often it repeats as a root of the characteristic polynomial. Its geometric multiplicity is the dimension of its eigenspace, which is never larger.
A repeated root is not itself an obstruction to diagonalisation over . The obstruction is an eigenspace that is too small, leaving fewer than independent eigenvectors in . The three repeated-eigenvalue cases compare the possibilities.
A repeated eigenvalue without enough modes
Let
Then
The only eigenvalue is . Solving
gives
The algebraic multiplicity is , but the geometric multiplicity is . There is only one independent eigenvector, so no eigenbasis of exists and is not diagonalisable over either or .
[routine]
- [1]:Eigenspace
- [2]:Diagonalisation
A triangular matrix with an eigenbasis
For
the eigenvalues are the diagonal entries , and . They are distinct, so the corresponding eigenvectors are independent. Solving gives for . For , the last two equations give and the first gives , so choose . For , the second equation gives ; taking gives and the first equation then gives . Thus one choice is
With
the column checks give and hence
Symmetric matrices
Real symmetric matrices are especially well behaved: their eigenvalues are real and their eigenvectors can be chosen mutually perpendicular. This is the spectral theorem, stated here without proof. The orthonormal form makes the change of basis easy to invert, because the inverse of is its transpose.
Real symmetric matrices
If is a real symmetric matrix, then its eigenvalues are real, its eigenvectors can be chosen as an orthonormal basis of and
for an orthogonal matrix and a diagonal matrix .
Orthonormal eigenvectors
For
the eigenvectors
are perpendicular and have length . Normalising them gives
Thus is orthogonal and
[routine]
Invertibility and the zero eigenvalue
Invertibility and eigenvalues
An matrix is invertible if and only if is not an eigenvalue of .
The number is an eigenvalue exactly when has a non-zero vector in its kernel, which is exactly when is not invertible.