Reading route. For a first calculation, begin with the characteristic-polynomial definition and the worked matrices. The general Cayley–Hamilton proof uses the preceding chain: polynomial division and scalar evaluation, determinants over the commutative ring , and the adjugate identity. Follow that chain before reading the coefficient comparison; it explains why substituting a matrix into an arbitrary matrix-coefficient identity is not justified. The later diagonalizable proof is an additional interpretation of the general result.
Proof
(Prerequisite proofs and exact reading routes)
Proof of the finite real matrix product laws
For the real-matrix calculations, use 2.1 finite matrix product laws: compatible finite sizes give associativity, distributivity and matrix-vector linearity by entrywise finite sums. These laws do not allow exchanging or cancelling arbitrary matrix factors.
Only the general Cayley–Hamilton argument below uses an arbitrary field : choose a basis of the nonzero finite-dimensional , let be the matrix of , and write . No algebraic closure is required. The later computational core specializes to real matrices and uses . Associativity in the general proof comes from composition of linear maps, which is associative over every field.
Polynomial division and the root factor identity over a field
Let be any field, and use formal polynomials in . The zero polynomial is a separate case whenever degree is used. For nonzero , the leading coefficient of is the product of their nonzero leading coefficients, so ; in particular there are no zero divisors.
For every and every nonzero there are unique polynomials with , where or . Start with residual and quotient zero. If a nonzero residual has degree , subtract , where are its and 's leading coefficients, and add to the quotient. The new residual is zero or has strictly smaller degree. Nonnegative integer degrees cannot strictly decrease indefinitely, so the process stops. If two answers exist, ; a nonzero left side has degree at least , whereas a nonzero right side has degree below . Thus both differences are zero.
For , the finite identity
gives . Consequently exactly when divides . This does not assert that any root exists in .
Leibniz determinant and alternation over a commutative ring
The complete proof is the commutative-ring determinant argument. Its coefficients may lie in any commutative ring with identity, in particular . Alternation uses paired cancellation even in characteristic two; product, triangular-block and adjugate identities require no determinant division. These are the actual prerequisites for the general coefficient proof, rather than an unsupported transfer of a real-only theorem.
Multiplicativity, triangular blocks and the adjugate
The complete proof is the commutative-ring determinant argument, under the same hypotheses as in the preceding paragraph.
The real core uses 3.5 finite basis existence, extension and dimension and 3.6 rank–nullity. The domain is finite-dimensional; a list is a basis only after independence and spanning are proved. The optional arbitrary-field argument instead uses field-valid basis exchange and field-valid rank–nullity, with the same finite-dimensional hypothesis.
The field bridge: singularity and characteristic polynomials
For a field , the singularity/characteristic-polynomial bridge proves that a finite square matrix has a nonzero kernel exactly when its determinant is zero, and that is monic of degree , basis-invariant and block-factorizing. It also bounds each adjugate entry by degree when . At dimension zero the characteristic polynomial is one and the identity operator on the zero space is zero, so its annihilation assertion is checked separately.
For , define , with . Because powers of the same operator commute, and evaluation is a ring homomorphism . This does not permit replacing variables by arbitrary noncommuting matrices in every matrix-coefficient identity.
Theorem. .
Proof. Let with . The adjugate identity over the commutative polynomial ring gives
Set . Comparing coefficients yields for . Multiply the th identity on the left by and sum. The terms telescope:
This is . It uses coefficient identities and associativity only, not an unexplained substitution into a matrix polynomial with potentially noncommuting coefficients. ∎
The null-space criterion
tells you how to test a proposed eigenvalue. The next step is to package that test into one polynomial whose roots are exactly the eigenvalues of the matrix.
That polynomial is strong enough to limit how many eigenvalues a matrix can have, describe repeated eigenvalues, and give practical tests for diagonalization.
For the computational core from this point, the base field is . Unless a complex extension is explicitly mentioned, matrices, vectors, scalars, and eigenvalues are over ; every determinant is taken for a square matrix with . We use for the polynomial indeterminate, so the convention is .
Characteristic polynomial
Definition 5.3.1
(Characteristic polynomial)
Let with and . The polynomial
is called the characteristic polynomial of .
The variable is only an indeterminate. Once you substitute a scalar , the value becomes the determinant of .
Theorem 5.3.2
(Eigenvalues are exactly the roots of the characteristic polynomial)
Let be an matrix and a scalar. Then the following are equivalent:
- is an eigenvalue of ;
- is a root of .
This theorem is just the determinant test from the previous note written in a more organized way:
A root finds a value; an eigenspace counts directions
The roots of identify the eigenvalues. The corresponding eigenspace dimensions determine whether they supply enough independent vectors for diagonalization.
Theorem 5.3.3
(Basic shape of the characteristic polynomial)
If is an matrix, then is a degree- polynomial whose leading coefficient is and whose constant term is .
So the characteristic polynomial is never an arbitrary expression. Its degree is fixed by the matrix size, and its constant term already remembers the determinant.
Proof
(Degree and leading sign from column multilinearity)
Write the columns of as . The columns of are . Column multilinearity expands the determinant by choosing either or in each position. Choosing in every column gives
Every other choice contains at least one , so it has at most factors of . Hence the degree is exactly and the leading coefficient is . The term with no is , so . This proof keeps the convention ; the alternative is , with the same roots and multiplicities but different odd-degree coefficient signs.
First examples
Worked example 5.3.4
(A 2×2 characteristic polynomial)
Let
Then
Simplifying gives
The coefficient calculation is worth checking rather than treating the factorization as a pattern to memorize:
The constant term is , which agrees with , and the leading coefficient is because this is a 2 by 2 instance of the sign . The factors therefore give the roots and , and the root theorem turns those scalar roots into the two eigenvalues. Notice that the sign convention does not change this root set: replacing by multiplies the whole polynomial by , rather than changing its zeros. It does change the leading coefficient when is odd, which is why the convention must be stated before reading coefficient identities such as Cayley-Hamilton. Under our convention , the constant term remains , as the shape proof predicted.
Worked example 5.3.5
(A repeated root)
Let
Then
So is the only eigenvalue, but it appears with multiplicity . The factorization alone does not say that there are two independent eigenvectors: that question belongs to the null space of , which is why algebraic and geometric multiplicity must be kept separate.
Algebraic and geometric multiplicity
Repeated roots need extra language.
Definition 5.3.6
(Algebraic multiplicity and geometric multiplicity)
Let be a root of . Its algebraic multiplicity is the greatest positive integer for which divides . Equivalently, for a polynomial with . Its geometric multiplicity is .
If splits completely over , its distinct roots can be listed as and
The factorization and sum require complete splitting over the chosen field; the local multiplicity definition itself does not.
Algebraic multiplicity comes from the polynomial. Geometric multiplicity comes from the null space . They measure different things, and they do not always agree.
Theorem 5.3.7
(Multiplicity inequality)
If is an eigenvalue of an matrix , then
So every eigenspace has dimension at least , but it can never be larger than the algebraic multiplicity of its eigenvalue.
Proof
(Why geometric multiplicity cannot exceed algebraic multiplicity)
Fix an eigenvalue and let . Choose a basis of that eigenspace and extend it to a basis of . Let have this extended basis as columns. The first columns of are , so
Similarity preserves characteristic polynomials. If , the first columns of have at most one potentially nonzero entry, namely ; at that entry is zero, and the repeated column expansion is a polynomial identity giving
Thus divides , so . If , then and . This composition uses basis extension and similarity already established earlier and does not assume splitting.
Worked example 5.3.8
(A repeated eigenvalue with too small an eigenspace)
For
the characteristic polynomial is , so the eigenvalue has algebraic multiplicity .
Now solve :
So and is free. The eigenspace is
which has dimension . Therefore
This mismatch is exactly why the matrix is not diagonalizable.
Distinct eigenvalues force independence
Theorem 5.3.9
(Eigenvectors of distinct eigenvalues are linearly independent)
If are eigenvectors of corresponding to pairwise distinct eigenvalues , then
are linearly independent.
Proof
(Induction without assuming independence)
Suppose are pairwise distinct and . We prove by induction on that forces every , allowing some to be zero. The case is immediate. For the induction step, apply to the relation. The last term vanishes and we obtain
Each scaled vector remains in its own eigenspace. The induction hypothesis forces every to be zero; distinctness makes each scalar nonzero, so for , and the original relation gives . Grouping a relation by eigenvalue then proves that the union of bases chosen inside the eigenspaces is independent: the grouped vector in each eigenspace is zero, and independence inside that eigenspace kills every coefficient.
This theorem has two major consequences.
Theorem 5.3.10
(Upper bound on the number of distinct eigenvalues)
An matrix can have at most distinct eigenvalues.
Theorem 5.3.11
(Distinct eigenvalue test for diagonalizability)
If an matrix has exactly distinct eigenvalues, then it is diagonalizable.
The preceding independence result gives both consequences: there can be at most distinct eigenvalues, and when there are , one nonzero eigenvector from each one is an independent list of length , hence a basis of .
The converse is false. A diagonalizable matrix may still have repeated eigenvalues. The identity matrix is the simplest example: every nonzero vector is an eigenvector with eigenvalue , yet the matrix is already diagonal.
A sharper diagonalization criterion
Distinct eigenvalues are a sufficient test, but not the only one.
Theorem 5.3.12
(Dimension-sum test for diagonalizability)
List all distinct eigenvalues of that lie in the chosen field as ; the list may be empty. Then is diagonalizable over if and only if
This criterion is a basis count and does not require the characteristic polynomial to split. Choose a basis in each nonzero eigenspace and concatenate these finite lists. The distinct-eigenspace proof shows that the union of eigenspace bases is independent. If the sum is , that union is a basis and diagonalization follows. Conversely, a diagonalizing basis is partitioned by its diagonal eigenvalues; its vectors lie in the corresponding eigenspaces. The independent union of eigenspace bases has dimension at most ; its span contains every vector of the diagonalizing basis, so it spans and has dimension at least . Thus the sum is exactly . If there are no eigenvalues in , the sum is , and an matrix with cannot be diagonalizable over .
A sharper multiplicity version does require splitting:
Theorem 5.3.13
(Algebraic-geometric multiplicity test)
If splits completely over , then is diagonalizable over if and only if for every eigenvalue in .
Indeed, complete splitting gives , while the multiplicity inequality gives term by term. Thus equality of every pair is equivalent to the dimension sum being , and the preceding criterion applies. Without splitting, the condition is not a safe replacement. Over the reals,
has no real eigenvalue. The statement “ for every real eigenvalue” would be vacuous, but is not diagonalizable over . Over , its roots and are distinct, so the field-qualified criterion applies there.
Worked example 5.3.14
(Repeated eigenvalue but still diagonalizable)
Let
Put . Expanding along the first row, the first minor is with positive sign. The second minor is and receives the cofactor sign ; the third is with sign . Thus the three signed terms are , , and , so
Substituting back gives
The factorization records root twice and root once, while the odd degree explains the negative leading coefficient. Since the polynomial has degree three, these are all of its roots over , so the later eigenspace count accounts for every real eigenvalue of this matrix, before we inspect eigenspace dimensions.
For , solving gives , so
For , the equations give , hence . The two vectors in are independent because their second and third coordinates force both coefficients to vanish. The distinct-eigenspace lemma then makes their union with the vector independent, and
For an audit of the eigenspace calculations,
The first matrix gives exactly the single equation , so its null space has dimension ; the second has row equations equivalent to , so its null space has dimension . The polynomial and these dimensions therefore agree with the factorization: the repeated root contributes two independent directions, while root contributes one. Their union is a basis of , which is the concrete diagonalization test in this example.
Thus is diagonalizable even though is a repeated root.
Cayley-Hamilton gives a polynomial identity
One further theorem relates the characteristic polynomial back to the matrix itself.
Theorem 5.3.15
(Cayley-Hamilton theorem)
If
then
Equivalently, . The coefficient-comparison proof above establishes the general case using . Here , so the same zero identity follows. The proof immediately below gives another explanation for diagonalizable matrices.
For diagonalizable matrices this is easy to believe: once is written as , the identity reduces to applying the scalar polynomial to each diagonal entry of , and every diagonal entry is an eigenvalue, hence a root of .
Proof
(Cayley-Hamilton in the diagonalizable case)
Assume with . For a scalar polynomial , define ; this is scalar substitution into matrix powers, not substitution inside a determinant. Since powers respect similarity, , and is diagonal with entries . Taking , every diagonal entry is zero by the eigenvalue-root theorem. The constant term uses , so .
The practical consequence is that high powers of can be rewritten in terms of lower powers . If
then is nonzero, so the Cayley-Hamilton identity solves for . Multiplying that expression by and reducing again gives an algorithm for all later powers. When , multiplying the identity by and solving gives the explicit formula
This use is valid only after invertibility has been established.
Worked example 5.3.16
(A small Cayley-Hamilton identity)
Let
Its characteristic polynomial is
Therefore Cayley-Hamilton says
Directly,
Multiplying this verified identity by gives
More explicitly, multiplying by gives the recurrence for every . Thus the next terms are determined without multiplying two large matrices from scratch; for example, . This is the concrete reduction mechanism behind the polynomial identity. In fact, for every positive integer ,
The case is the definition of . If the formula holds for , then , proving the next case. This makes the reduction concrete even though is not diagonalizable.
The earlier coefficient formula can now be applied concretely: here , , and , so
Both cancellation orders can be checked directly:
Common mistake
Counterexample mode
A repeated eigenvalue can still be diagonalizable
False claim: every repeated eigenvalue prevents diagonalization. Take . Then , so has algebraic multiplicity , but has basis ; the matrix is already diagonal. The earlier matrix has the same repeated-root pattern but only a one-dimensional eigenspace, so it is not diagonalizable. The repair is to compare with under the stated splitting condition, or to use the unconditioned dimension-sum criterion over the chosen field.
Quick check
Quick check
(What is the characteristic polynomial of ?)
Use .
Solution · Answer
Quick check
(If an matrix has distinct eigenvalues, what can you conclude immediately?)
Use the distinct-eigenvalue theorem.
Solution · Answer
It is diagonalizable, because eigenvectors corresponding to distinct eigenvalues are linearly independent.
Quick check
(Can geometric multiplicity ever exceed algebraic multiplicity?)
Use the multiplicity inequality.
Solution · Answer
No. For every eigenvalue ,
Exercises
Quick check
(Find the characteristic polynomial of and list its eigenvalues.)
Compute and factor the result.
Solution · Guided solution
So the eigenvalues are and .
Quick check
(A real matrix has four distinct real eigenvalues. What is the dimension of the span of one chosen eigenvector from each eigenvalue?)
Use linear independence of eigenvectors with distinct eigenvalues.
Solution · Guided solution
The four chosen eigenvectors are linearly independent, so their span has dimension . Therefore they already form a basis of .
Quick check
(Suppose . What matrix identity does Cayley-Hamilton give?)
Replace the variable by the matrix .
Solution · Guided solution
or, after multiplying by ,
That is the Cayley-Hamilton identity for this characteristic polynomial.
Related notes
Keep 5.1 Eigenvalues, eigenvectors, and eigenspaces open for the null-space interpretation of eigenvalues.
Keep 5.2 Diagonalization and similarity nearby, because this note supplies the polynomial tests that feed that chapter.
The determinant machinery inside depends on 4.1 Determinants and cofactor expansion.