Minimal Polynomial
Statement
Let be a field and a square matrix over . The minimal polynomial is the unique monic polynomial of smallest degree such that . It satisfies the divisibility characterisation:
for every polynomial . Equivalently, is the generator of the ideal .
Key relationships:
- (the characteristic polynomial) — from the Cayley–Hamilton TheoremCayley–Hamilton TheoremEvery square matrix satisfies its own characteristic polynomialRead more →
- where
- and have the same irreducible factors (same roots, possibly different multiplicities)
Visualization
Compare and .
For (scalar matrix):
For (Jordan block):
| Matrix | Char poly | Min poly | ? |
|---|---|---|---|
| Yes: | |||
| Yes: trivially | |||
| Yes: equal |
The minimal polynomial detects the Jordan block structure: has iff the largest Jordan block for has size .
Proof Sketch
- Ideal structure. The set is an ideal in . Since is a PID, for some monic generator .
- Cayley–Hamilton. The characteristic polynomial , so .
- Divisibility criterion. If then , so .
- Same roots. If is an eigenvalue, then for some ; evaluating shows .
Connections
- Cayley–Hamilton TheoremCayley–Hamilton TheoremEvery square matrix satisfies its own characteristic polynomialRead more → — guarantees ; together, and share the same irreducible factors
- Jordan Canonical FormJordan Canonical FormEvery square matrix over an algebraically closed field is similar to a direct sum of Jordan blocks.Read more → — the degree of in equals the size of the largest Jordan block for eigenvalue
- Diagonalizability CriterionDiagonalizability CriterionA matrix is diagonalizable if and only if its minimal polynomial is squarefree.Read more → — a matrix is diagonalizable if and only if is squarefree (no repeated irreducible factor)
Lean4 Proof
import Mathlib.FieldTheory.Minpoly.Field
import Mathlib.LinearAlgebra.Matrix.Charpoly.Minpoly
/-- The minimal polynomial divides any annihilating polynomial.
Over a field, `minpoly.dvd` is the direct Mathlib alias. -/
theorem minpoly_dvd_of_aeval_zero
{K : Type*} [Field K]
{n : Type*} [Fintype n] [DecidableEq n]
(M : Matrix n n K) {p : K[X]}
(hp : Polynomial.aeval M p = 0) :
minpoly K M ∣ p :=
minpoly.dvd K M hp
/-- The minimal polynomial divides the characteristic polynomial.
Mathlib's `Matrix.minpoly_dvd_charpoly` is the direct alias. -/
theorem minpoly_dvd_charpoly_matrix
{K : Type*} [Field K]
{n : Type*} [Fintype n] [DecidableEq n]
(M : Matrix n n K) :
minpoly K M ∣ M.charpoly :=
Matrix.minpoly_dvd_charpoly MReferenced by
- Companion MatrixLinear Algebra
- Diagonalizability CriterionLinear Algebra
- Jordan Canonical FormLinear Algebra