Diagonalization
A matrix is diagonalizable if it can be written as , where is a diagonal matrix and is invertible. The columns of are eigenvectors and the diagonal entries of are the corresponding eigenvalues. This decomposition transforms into the simplest possible form — just scaling along eigenvector directions.
Diagonalization makes computing powers trivially easy. Since , and just raises each diagonal entry to the -th power: . For a matrix applied 50 times, diagonalization replaces multiplications with scalar exponentiations.
An matrix is diagonalizable if and only if it has linearly independent eigenvectors — equivalently, if the geometric multiplicity equals the algebraic multiplicity for every eigenvalue. Use the interactive diagram to explore: try the "Distinct λ" and "Symmetric" presets (both diagonalizable) versus "Not diag." (defective) and "Rotation" (complex eigenvalues).
Formal View
Interactive Visualization
Diagonalization: A = PDP⁻¹
Why This Matters
Diagonalization is the key to computing matrix powers, solving linear ODEs, and understanding long-term behavior of dynamical systems.
- Markov chains: converges to a steady-state as when the dominant eigenvalue is 1 and all others are strictly inside the unit circle
- Image and signal processing: diagonal operations in the eigenbasis enable fast filtering and compression
- Quantum computing: quantum gates are often described by their spectral decomposition
- Population dynamics: long-run growth rates of populations are determined by the dominant eigenvalue of the Leslie matrix
Quiz
If , what is ?
A matrix with a repeated eigenvalue is never diagonalizable.
In the diagonalization , the columns of are:
Common Mistakes
- Writing — the formula is , not .
- Confusing diagonalizable with invertible — a matrix can be diagonalizable with eigenvalue 0 (not invertible), or invertible but not diagonalizable (defective).
- Forgetting to check that is invertible — if the eigenvectors are linearly dependent, the diagonalization fails.