Proof of the finite real matrix product laws
Let be positive integers, let , , and . All the following arguments use the row-by-column definition and finite real sums. For any output position ,
The middle equality only reorders two finite sums and uses real distributivity. Both products are , so equality at every position proves associativity. No factor has changed its order.
For , the same definition gives
For , it gives
Thus both distributive laws hold with the displayed matching sizes. For every real scalar ,
proving by entrywise equality. In particular, for and real ,
This proves the matrix-vector linearity used when comparing solutions of the same linear system. All identities concern compatible finite real matrices; they do not assert commutativity or cancellation of arbitrary matrix factors.
Throughout, is a nonzero finite-dimensional vector space over a field , and . No algebraic closure is assumed unless stated.
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
Let be a commutative ring with identity, , and . Define
The sign is , interpreted in . Exchanging adjacent entries in a permutation changes its inversion count by one in parity. Sorting by adjacent inversions therefore gives its sign as the product of the signs of those exchanges. Applying an adjacent-exchange decomposition of to the positions of proves ; a transposition has sign . These are integer parity facts before mapping the signs into .
The finite formula is multilinear in each row and column. If two rows are equal, pair each permutation term with the term obtained by exchanging the two assigned columns. The pair is distinct, has the same product and opposite signs; its sum is zero in every characteristic. Thus the determinant vanishes on repeated rows; the column statement is identical. This is a paired cancellation, not an inference from . Exchanging rows or columns changes sign by the same permutation substitution. Also . Substituting in the sum gives .
Here is the needed uniqueness principle, valid even with zero divisors. If is an alternating multilinear function of column vectors in , expand each input in the standard basis. Terms with a repeated basis vector vanish. The other index lists are permutations; swapping two slots negates , since expansion of gives . Hence the expansion equals times the Leibniz determinant of the input columns. No division or field assumption was used.
Multiplicativity, triangular blocks and the adjugate
For fixed , the function is alternating multilinear, with . Applying the preceding uniqueness principle to the columns of proves
For with square block sizes , a nonzero Leibniz term must assign all last rows to the last columns; otherwise one lower-left entry is zero. Those rows use all those columns, so the first rows use the first columns. The remaining permutations are exactly pairs of permutations inside the two blocks, with product sign and product monomial. Summing gives , including an empty block using determinant one. This argument also covers terms that vanish for other reasons; it does not require absence of zero divisors.
Let delete row and column , and put . Grouping the Leibniz sum by the value gives row cofactor expansion . The sign factor follows by moving row and column to the first positions, making adjacent exchanges; the remaining permutation is on the undeleted indices. Transpose gives the column expansion. Define . The entry of is , the cofactor expansion of the matrix obtained by replacing row by row . It is if , and zero otherwise by repeated-row cancellation. The column argument gives the other product. Therefore
For , the empty minor has determinant one, so the adjugate is and the identity still holds. For , define the adjugate to be the empty matrix; the identity is the equality of the unique empty matrices, while the determinant remains one. All results in this section apply to ; no division by a determinant has occurred.
A vector space is a set with addition and scalar multiplication satisfying the usual abelian-group and distributive axioms over a field . Columns are one model. Polynomials of degree at most , denoted , and linear maps between spaces are others. The zero polynomial is included in although its degree is not ordinarily defined.
A subspace contains zero and is closed under sums and scalar multiples. A list spans if every vector is a linear combination of its entries; it is independent if only the zero coefficients give zero. A basis is both. A finite spanning list can be reduced to a basis by deleting dependent entries; an independent list can be extended to a basis by adding vectors outside its span until the given finite spanning list is spanned.
Exchange lemma. An independent list of vectors in the span of vectors has . To see this, express the first independent vector in the spanning list, use a nonzero coefficient to replace one spanning vector by it, and repeat. At each stage independence ensures the next independent vector has a nonzero coefficient on an as-yet unreplaced spanning vector. There must be at least such slots. Comparing two bases in both directions proves that their lengths agree; this common length is .
Consequently, in dimension , any independent vectors form a basis, as do any spanning vectors. Counting a list is useful only after its independence or spanning has been justified.
A map is linear if . Its kernel and image are subspaces. Choose a basis of and extend to a basis with . Then form a basis of : spanning follows by expanding any input; a dependence among these images places the corresponding input combination in the kernel, and independence of the extended basis makes all coefficients zero. Thus
This is rank–nullity. In equal finite dimensions, injectivity and surjectivity are equivalent, but the equivalence can fail in infinite-dimensional spaces.
The field bridge: singularity and characteristic polynomials
Now let be a field. If , the adjugate identity gives inverse . If is invertible, multiplicativity gives , so . Rank–nullity, proved in C01, shows a finite square linear map has zero kernel exactly when it is invertible. Thus exactly when its kernel is nonzero.
For a fixed , apply the ring construction to . Its determinant is monic of degree : the identity-permutation product contributes , whereas every other permutation uses an off-diagonal constant entry, so its product is either zero or has degree less than . Multiplicativity proves invariance under with invertible constant ; the block-triangular formula proves restriction–quotient factorization. Finally every adjugate entry is zero or has degree at most , so their coefficient comparison is legitimate in the C02 Cayley–Hamilton proof. In dimension zero, the characteristic polynomial is the empty determinant one; evaluating it gives on the zero space, which is its zero operator, so Cayley–Hamilton is separate and immediate. This supplies the actual commutative-ring determinant prerequisites without extending any real-only determinant authority.
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.
Throughout this note, 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
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
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
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
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
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
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
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
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
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
Upper bound on the number of distinct eigenvalues
An matrix can have at most distinct eigenvalues.
Theorem
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
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 space cannot be diagonalizable over .
A sharper multiplicity version does require splitting:
Theorem
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
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
Cayley-Hamilton theorem
If
then
Equivalently, . The theorem is general; the proof supplied here handles the diagonalizable case, while the general proof is outside this section.
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
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.
Earlier, the 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
Checkpoint
What is the characteristic polynomial of ?
Use .
Solution · Answer
Checkpoint
If an matrix has n 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.
Checkpoint
Can geometric multiplicity ever exceed algebraic multiplicity?
Use the multiplicity inequality.
Solution · Answer
No. For every eigenvalue ,
Exercises
Checkpoint
Find the characteristic polynomial of and list its eigenvalues.
Compute and factor the result.
Solution · Guided solution
So the eigenvalues are and .
Checkpoint
A real 4×4 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 .
Checkpoint
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 8.1 Eigenvalues, eigenvectors, and eigenspaces open for the null-space interpretation of eigenvalues.
Keep 8.2 Diagonalization and similarity nearby, because this note supplies the polynomial tests that feed that chapter.
The determinant machinery inside depends on 7.1 Determinants and cofactor expansion.