Jump to content

Linear algebra (Osnabrück 2024-2025)/Part I/Lecture 24



The Theorem of Cayley-Hamilton
Arthur Cayley (1821-1895)
William Hamilton (1805-1865)


One highlight of the linear algebra is the Theorem of Cayley-Hamilton. In order to formulate this theorem, recall that we can plug in a square matrix into a polynomial, see the 20th lecture. Here, the variable X is everywhere replaced by the matrix M, the powers Mi are the i-th matrix product of M with itself, and the addition is the (componentwise) addition of matrices. A scalar a has to be interpreted as the a-fold of the identity matrix. For the polynomial

P=3X2−5X+2

and the matrix

M=(2431),

we get

P(M)=3(2431)2−5(2431)+2=(3003)(1612913)+(−500−5)(2431)+(2002)=(40161236).

For a fixed matrix M∈Matn(K), we have the substitution mapping

K[X]⟶Matn(K),P⟼P(M).

This is (like the substitution mapping for an element a∈K), a ring homomorphism, that is, the relations (see also Lemma 20.3 )

(P+Q)(M)=P(M)+Q(M),(P⋅Q)(M)=P(M)∘Q(M) and 1(M)=En

hold. The Theorem of Cayley-Hamilton answers the question of what happens when we insert a matrix in its characteristic polynomial.


Theorem

Let K be a field, and let M be an n×n-matrix. Let

χM=Xn+cn−1Xn−1+⋯+c1X+c0

denote the characteristic polynomial of M. Then

χM(M)=Mn+cn−1Mn−1+⋯+c1M+c0=0.
This means that the matrix annihilates the characteristic polynomial.

Proof  

We consider the matrix XEn−M as a matrix whose entries are in the field K(X). The adjugate matrix

(XEn−M)adj

belongs also to Matn(K(X)). The entries of the adjugate matrix are by definition the determinants of (n−1)×(n−1)-submatrices of XEn−M. In the entries of this matrix, the variable X occurs at most in its first power, so that, in the entries of the adjugate matrix, the variable occurs at most in its (n−1)-th power. We write

(XEn−M)adj=Xn−1An−1+Xn−2An−2+⋯+XA1+A0

with matrices

Ai∈Matn(K),

that is, we write the entries as polynomials, and we collect all coefficients referring to Xi into a matrix. Because of Theorem 17.9 , we have

χMEn=(XEn−M)∘(XEn−M)adj=(XEn−M)∘(Xn−1An−1+Xn−2An−2+⋯+XA1+A0)=XnAn−1+Xn−1(An−2−M∘An−1)+Xn−2(An−3−M∘An−2)+⋯+X1(A0−M∘A1)−M∘A0.

We can write the matrix on the left according to the powers of X and we get

χMEn=XnEn+Xn−1cn−1En+Xn−2cn−2En+⋯+X1c1En+c0En.

Since these polynomials coincide, their coefficients coincide. That is, we have a system of equations

En=An−1cn−1En=An−2−M∘An−1cn−2En=An−3−M∘An−2⋮⋮⋮c1En=A0−M∘A1c0En=−M∘A0.

We multiply these equations from the left from top down with Mn,Mn−1,Mn−2,…,M1,En, yielding the system of equations

Mn=Mn∘An−1cn−1Mn−1=Mn−1∘An−2−Mn∘An−1cn−2Mn−2=Mn−2∘An−3−Mn−1∘An−2⋮⋮⋮c1M1=MA0−M2∘A1c0En=−M∘A0.

If we add the left-hand side of this system, then we just get χM(M). If we add the right-hand side, then we get 0, because every partial summand Mi+1∘Ai occurs once positively and once negatively. Hence, we have χM(M)=0.

◻



Theorem

Let V be a finite-dimensional vector space over a field K, and let

f:V⟶V

denote a linear mapping. Then the characteristic polynomial of f fulfills the relation

χf(f)=0.

Proof  

This follows immediately from Theorem 24.1 .

◻



Minimal polynomial and characteristic polynomial

Corollary

Let V be a finite-dimensional vector space over a field K, and let

f:V⟶V

be a linear mapping. Then the characteristic polynomial χf is a multiple of the minimal polynomial

μf of f.

Proof  

This follows directly from Theorem 24.2 and Corollary 20.12 .

◻


In particular, the degree of the minimal polynomial of φ:V→V is bounded by the dimension of the vector space V. The minimal polynomial and the characteristic polynomial are related in several respects, for example, they have the same zeroes.


Lemma

Let V be a finite-dimensional vector space over a field K, and let

f:V⟶V

be a linear mapping. Let v∈V be an eigenvector of f with eigenvalue λ, and let P∈K[X] denote a polynomial. Then

(P(f))(v)=P(λ)v.
In particular, v is an eigenvector of P(f) with eigenvalue P(λ). The vector

v≠0

belongs to the kernel of P(f) if and only if λ is a zero of P.

Proof  

We have

(fk)(v)=λkv.

This implies the statement, since the assignment P↦P(f) is compatible with addition and scalar multiplication.

◻



Lemma

Let V be a finite-dimensional vector space over a field K, and let

f:V⟶V

be a linear mapping. Then the characteristic polynomial χf and the minimal polynomial

μf have the same zeroes.

Proof  

It follows directly from Cayley-Hamilton that the zeroes of the minimal polynomial are also zeroes of the characteristic polynomial.

To prove the other implication, let λ∈K be a zero of the characteristic polynomial, and let v∈V denote an eigenvector of f with eigenvalue λ, its existence is guaranteed by Theorem 23.2 . We write the minimal polynomial as

μf=(X−λ1)m1⋯(X−λk)mkQ,

where Q has no zero. Then

0=μf(f)=((X−λ1)m1⋯(X−λk)mkQ)(f)=(f−λ1IdV)m1⋯(f−λkIdV)mkQ(f).

We apply this mapping to v. Because of Fact *****, the factors send the vector v to (λ−λi)miv or to Q(λ)v, respectively. Altogether, v is sent to

(λ−λ1)m1⋯(λ−λk)mkQ(λ)v.

As the composed mapping is the zero mapping and Q(λ)≠0, we must have λi=λ for some i.

◻



Further examples

For the moment, we will apply the following concept only for invertible matrices.


Let G be a group and g∈G an element. Then we call the smallest positive number n with gn=eG the order of g. For this, we write ord⁡(g). If all positive powers of g are different from the neutral element, then we set

ord⁡(g)=∞.

We consider linear mappings

φ:V⟶V

with the property that some power of it is the identity, say

φk=IdV,

that is, φ has finite order. Typical examples are rotations around an angle of the form 360k degree. The polynomial Xk−1 annihilates this endomorphism, and is, therefore, a multiple of the minimal polynomial.


Let K be a field, and n∈ℕ A zero of the polynomial

Xn−1

in K is called an n-th root of unity

in K.

Lemma

Let n∈ℕ+. The zeroes of the polynomials Xn−1 over ℂ are

e2πik/n=cos⁡2πkn+isin⁡2πkn,k=0,1,…,n−1.
In ℂ[X], we have the factorization
Xn−1=(X−1)(X−e2πi/n)⋯(X−e2πi(n−1)/n).

Proof  

The proof uses some basic facts about the complex exponential function. We have

(e2πik/n)n=e2πik=(e2πi)k=1k=1.

Hence, the given complex numbers are indeed zeroes of the polynomial Xn−1. These zeroes are all different, because

e2πik/n=e2πiℓ/n

with 0≤k≤ℓ≤n−1 implies, by considering the fraction, e2πi(ℓ−k)/n=1 that

ℓ−k=0

holds. Therefore, there exist n explicit zeroes and these are all the zeroes of the polynomial. The explicit description in coordinates follows from the Euler's formula.

◻



For a permutation π on {1,…,n}, the n×n-matrix

Mπ=(aij),

where

aπ(j),j=1

and all other entries are 0, is called a

permutation matrix.

We want to determine the characteristic polynomial of a permutation matrix. Here, we use that a permutation is a product of cycles. For a cycle of the form 1↦2↦3↦…↦k↦1, the corresponding permutation matrix is

(00…01100…0010…0⋮⋱⋱⋱⋮0…010).

Every cycle can be brought (by renumbering) into this form.


Lemma

The characteristic polynomial of a permutation matrix Mρ for a cycle ρ∈Sn of order k is

χM=(X−1)n−k(Xk−1).

Proof  

We may assume that the cycle has the form 1↦2↦3↦…↦k↦1. The corresponding permutation matrix Mρ looks with respect to ek+1,…,en like the identity matrix and has, with respect to the first k standard vectors, the form

(00…01100…0010…0⋮⋱⋱⋱⋮0…010).

The determinant of XEn−Mρ is (X−1)n−k multiplied with the determinant of

(X0…0−1−1X0…00−1X…0⋮⋱⋱⋱⋮0…0−1X).

The expansion with respect to the first row yields

Xk+(−1)k+1(−1)(−1)k−1=Xk−1.
◻



Lemma

For a permutation matrix Mρ over ℂ for a cycle ρ∈Sn with ρ:1↦2↦…↦k↦1 and a k-th root of unity ζ, the vectors

vζ:=ζk−1e1+ζk−2e2+⋯+ζek−1+ek

are eigenvectors of Mρ for the eigenvalue ζ. In particular, a permutation matrix of a cycle over ℂ is

diagonalizable.

Proof  

We have

Mρ(vζ)=Mρ(ζk−1e1+ζk−2e2+⋯+ζek−1+ek)=ζk−1Mρ(e1)+ζk−2Mρ(e2)+⋯+ζMρ(ek−1)+Mρ(ek)=ζk−1e2+ζk−2e3+⋯+ζek+e1=e1+ζk−1e2+ζk−2e3+⋯+ζek=ζ(ζk−1e1+ζk−2e2+⋯+ζek−1+ek)=ζvζ.

Since there are k different k-th roots of unity in ℂ, these vectors are linearly independent due to Lemma 22.3 , and they generate a k-dimensional linear subspace U of Kn. In fact, we have

U=⟨ei,i=1,…,k⟩.

Since the vectors ei, i≥k+1, are fixed vectors, the vζ together with the ei, i≥k+1, form a basis consisting of eigenvectors of Mρ. Hence, Mρ is diagonalizable.

◻




<< | Linear algebra (Osnabrück 2024-2025)/Part I | >>
PDF-version of this lecture
Exercise sheet for this lecture (PDF)