Diagonalizability Criterion
Statement
Let be a field and a square matrix over (or equivalently, a linear endomorphism of a finite-dimensional -vector space). Then:
In particular:
- If has distinct eigenvalues (over ), then is diagonalizable.
- is diagonalizable iff is squarefree (no repeated irreducible factor), i.e.\ .
- Over an algebraically closed field, diagonalizable for distinct .
Visualization
Three canonical examples:
Diagonalizable (distinct eigenvalues):
A = ( 1 1 ) eigenvalues 1, 2 (distinct)
( 0 2 ) mu_A = (x-1)(x-2) -- squarefree
P = ( 1 1 ) P^{-1} A P = diag(1, 2)
( 0 1 )
Not diagonalizable (repeated, non-trivial Jordan block):
B = ( 1 1 ) eigenvalue 1 (double)
( 0 1 ) mu_B = (x-1)^2 -- NOT squarefree
(B - I)^1 ≠ 0, so min poly has degree 2
Diagonalizable (repeated but semisimple):
C = ( 1 0 ) eigenvalue 1 (double)
( 0 1 ) mu_C = x - 1 -- squarefree!
C = I, already diagonal
| Matrix | Eigenvalues | Min poly | Squarefree? | Diagonalizable? |
|---|---|---|---|---|
| Yes | Yes | |||
| No | No | |||
| Yes | Yes |
Proof Sketch
- Squarefree implies diagonalizable. If with distinct monic irreducibles, the Chinese Remainder Theorem for -modules gives . Over an algebraically closed field, each and each kernel is an eigenspace.
- Diagonalizable implies squarefree. If , then , so vanishes at each with multiplicity — hence , which is squarefree.
- Distinct eigenvalues are sufficient. distinct eigenvalues linearly independent eigenvectors (by the linear independence of eigenvectors for distinct eigenvalues) is diagonalizable.
- Semisimple endomorphism perspective. An endomorphism is semisimple iff is squarefree; this is
Module.End.IsSemisimplein Mathlib.
Connections
- Minimal PolynomialMinimal PolynomialThe minimal polynomial of a matrix is the monic polynomial of least degree that annihilates it.Read more → — the squarefree condition on is precisely the distinction between the diagonal and non-diagonal Jordan forms
- Jordan Canonical FormJordan Canonical FormEvery square matrix over an algebraically closed field is similar to a direct sum of Jordan blocks.Read more → — the Jordan form is fully diagonal iff every Jordan block has size , which happens iff is squarefree
- Spectral TheoremSpectral TheoremEvery real symmetric matrix is orthogonally diagonalizableRead more → — for Hermitian matrices over , all eigenvalues are real and the spectral theorem provides an orthonormal eigenbasis, giving diagonalizability unconditionally
Lean4 Proof
import Mathlib.LinearAlgebra.Semisimple
import Mathlib.LinearAlgebra.Eigenspace.Basic
/-- Eigenvectors corresponding to distinct eigenvalues are linearly independent.
This is the key sufficiency lemma: n distinct eigenvalues give n independent
eigenvectors and hence diagonalizability.
Mathlib's direct alias is `Module.End.eigenvectors_linearIndependent`. -/
theorem distinct_eigenvalues_independent
{K : Type*} [Field K]
{V : Type*} [AddCommGroup V] [Module K V]
(f : Module.End K V)
(μs : Set K) (xs : μs → V)
(h_eigenvec : ∀ μ : μs, f.HasEigenvector μ (xs μ)) :
LinearIndependent K xs :=
Module.End.eigenvectors_linearIndependent f μs xs h_eigenvecReferenced by
- Minimal PolynomialLinear Algebra