Diagonalization
A matrix is diagonalizable when it factors as A equals P D P inverse with D diagonal, which happens exactly when it has n linearly independent eigenvectors. The factorization computes matrix powers cheaply, distinct eigenvalues guarantee it, and a repeated eigenvalue permits it only when its eigenspace dimension equals its multiplicity.
╌╌╌╌
For many matrices , the eigenvalues and eigenvectors assemble into a factorization
with diagonal. When this is possible, questions that are hard for become easy for . The clearest example is computing powers.
Matrix powers from the factorization
Powers of a diagonal matrix are computed entrywise. If , then . When , the inner factors telescope:
and by induction for every . Computing a power of takes one diagonal power plus two matrix products, no matter how large is.
The Diagonalization Theorem
The proof also gives the procedure. Diagonalizing an matrix has four steps.
- 1find the eigenvalues of A from the characteristic equation
- 2for each distinct eigenvalue L do
- 3compute a basis for the eigenspace Nul(A - L I)
- 4collect all eigenvectors found into columns v_1, ..., v_m
- 5if m < n then
- 6return "not diagonalizable"too few independent eigenvectors
- 7P <- [ v_1 ... v_n ]eigenvectors as columns
- 8D <- diag(L_1, ..., L_n)matching eigenvalues, same order as P
- 9return (P, D)
The order of the columns of is free, but the diagonal of must use the same order: the th diagonal entry is the eigenvalue of the th column of .
Diagonalizing a matrix with a repeated eigenvalue
The repeated eigenvalue still gave a two-dimensional eigenspace, so three independent eigenvectors were available. That does not always happen.
A defective matrix
Diagonalizability is not automatic.
A matrix that lacks a full set of independent eigenvectors is called defective.
Sufficient and exact conditions
Distinct eigenvalues guarantee diagonalizability, because eigenvectors for distinct eigenvalues are independent.
This is sufficient but not necessary: the first example above is diagonalizable with only two distinct eigenvalues. The sharp criterion handles repeated eigenvalues by comparing dimensions.
For a triangular matrix the eigenvalues are read off the diagonal, so diagonalizability of, say,
is settled immediately: three distinct diagonal entries , hence three distinct eigenvalues, hence diagonalizable by the distinct-eigenvalues criterion.
The two multiplicities
| Quantity | Definition | Bound |
|---|---|---|
| Algebraic multiplicity of | its multiplicity as a root of | between and |
| Geometric multiplicity of | between and the algebraic multiplicity | |
| Diagonalizable? | yes iff geometric algebraic for every eigenvalue | and multiplicities sum to |
Read as a statement about maps, says that is a pure scaling along the axes of the eigenvector basis. The precise version for transformations between abstract vector spaces is eigenvectors and linear transformations.1
Footnotes
- Lay, Linear Algebra and Its Applications, 5th ed., §5.3 — Diagonalization: the factorization and its use for powers, Theorem 5 (the Diagonalization Theorem), Theorem 6 (distinct eigenvalues), and Theorem 7 (eigenspace dimensions versus multiplicities). ↩
╌╌ END ╌╌