Evanalysis
8.3Estimated reading time: 10 min

8.3 Characteristic polynomials and diagonalization tests

Use characteristic polynomials, algebraic and geometric multiplicity, and the distinct-eigenvalue test to decide when eigenvalue data is enough for diagonalization.

Course contents

MATH1030: Linear algebra I

Rigorous linear algebra notes on systems, matrices, structure, and proof, with interaction used only where it clarifies the mathematics.

Chapter 1Systems of equations1 sections
Chapter 4Solution structure1 sections
Chapter 5Invertibility1 sections

The null-space criterion

det(AλI)=0\det(A-\lambda I)=0

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.

Characteristic polynomial

Definition

Characteristic polynomial

Let AA be an n×nn\times n matrix. The polynomial

pA(x)=det(AxIn)p_A(x)=\det(A-xI_n)

is called the characteristic polynomial of AA.

The variable x is only an indeterminate. Once you substitute a scalar λ\lambda, the value pA(λ)p_A(\lambda) becomes the determinant of AλIA-\lambda I.

Theorem

Eigenvalues are exactly the roots of the characteristic polynomial

Let AA be an n×nn\times n matrix and λ\lambda a scalar. Then the following are equivalent:

  1. λ\lambda is an eigenvalue of AA;
  2. λ\lambda is a root of pA(x)p_A(x).

This theorem is just the determinant test from the previous note written in a more organized way:

λ is an eigenvalue    det(AλI)=0    pA(λ)=0.\lambda\text{ is an eigenvalue} \iff \det(A-\lambda I)=0 \iff p_A(\lambda)=0.

Theorem

Basic shape of the characteristic polynomial

If AA is an n×nn\times n matrix, then pA(x)p_A(x) is a degree-n polynomial whose leading coefficient is (1)n(-1)^n and whose constant term is det(A)\det(A).

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.

First examples

Worked example

A 2×2 characteristic polynomial

Let

A=[3232].A= \begin{bmatrix} 3&2\\ 3&-2 \end{bmatrix}.

Then

pA(x)=det[3x232x]=(3x)(2x)6.p_A(x)= \det \begin{bmatrix} 3-x&2\\ 3&-2-x \end{bmatrix} =(3-x)(-2-x)-6.

Simplifying gives

pA(x)=x2x12=(x4)(x+3).p_A(x)=x^2-x-12=(x-4)(x+3).

Therefore the eigenvalues are 4 and 3-3.

Worked example

A repeated root

Let

B=[2302].B= \begin{bmatrix} 2&3\\ 0&2 \end{bmatrix}.

Then

pB(x)=det[2x302x]=(2x)2=(x2)2.p_B(x)= \det \begin{bmatrix} 2-x&3\\ 0&2-x \end{bmatrix} =(2-x)^2=(x-2)^2.

So 2 is the only eigenvalue, but it appears with multiplicity 2.

Algebraic and geometric multiplicity

Repeated roots need extra language.

Definition

Algebraic multiplicity and geometric multiplicity

Suppose the characteristic polynomial factors as

pA(x)=(1)n(xλ1)m1(xλs)ms,p_A(x)=(-1)^n(x-\lambda_1)^{m_1}\cdots(x-\lambda_s)^{m_s},

where λ1,,λs\lambda_1,\dots,\lambda_s are distinct roots.

  1. The exponent mim_i is the algebraic multiplicity of λi\lambda_i.
  2. The dimension of the eigenspace EA(λi)E_A(\lambda_i) is the geometric multiplicity of λi\lambda_i.

Algebraic multiplicity comes from the polynomial. Geometric multiplicity comes from the null space N(AλI)N(A-\lambda I). They measure different things, and they do not always agree.

Theorem

Multiplicity inequality

If λ\lambda is an eigenvalue of an n×nn\times n matrix AA, then

1mg(λ)ma(λ)n.1\le m_g(\lambda)\le m_a(\lambda)\le n.

So every eigenspace has dimension at least 1, but it can never be larger than the algebraic multiplicity of its eigenvalue.

Worked example

A repeated eigenvalue with too small an eigenspace

For

B=[2302],B= \begin{bmatrix} 2&3\\ 0&2 \end{bmatrix},

the characteristic polynomial is (x2)2(x-2)^2, so the eigenvalue 2 has algebraic multiplicity 2.

Now solve (B2I)x=0(B-2I)x=0:

B2I=[0300].B-2I= \begin{bmatrix} 0&3\\ 0&0 \end{bmatrix}.

So x2=0x_2=0 and x1x_1 is free. The eigenspace is

span{[10]},\operatorname{span}\left\{ \begin{bmatrix} 1\\0 \end{bmatrix} \right\},

which has dimension 1. Therefore

ma(2)=2,mg(2)=1.m_a(2)=2,\qquad m_g(2)=1.

This mismatch is exactly why the matrix is not diagonalizable.

Distinct eigenvalues force independence

Theorem

Eigenvectors of distinct eigenvalues are linearly independent

If v1,,vkv_1,\dots,v_k are eigenvectors of AA corresponding to pairwise distinct eigenvalues λ1,,λk\lambda_1,\dots,\lambda_k, then

v1,,vkv_1,\dots,v_k

are linearly independent.

This theorem has two major consequences.

Theorem

Upper bound on the number of distinct eigenvalues

An n×nn\times n matrix can have at most n distinct eigenvalues.

Theorem

Distinct eigenvalue test for diagonalizability

If an n×nn\times n matrix has exactly n distinct eigenvalues, then it is diagonalizable.

The converse is false. A diagonalizable matrix may still have repeated eigenvalues. The identity matrix is the simplest example: every vector is an eigenvector with eigenvalue 1, 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

Suppose a real n×nn\times n matrix AA has distinct real eigenvalues λ1,,λs\lambda_1,\dots,\lambda_s. Then AA is diagonalizable if and only if

dimEA(λ1)++dimEA(λs)=n.\dim E_A(\lambda_1)+\cdots+\dim E_A(\lambda_s)=n.

This criterion says that diagonalization succeeds exactly when the eigenspaces together contribute enough independent eigenvectors to form a basis of the whole space.

Worked example

Repeated eigenvalue but still diagonalizable

Let

A=[211121112].A= \begin{bmatrix} 2&1&1\\ 1&2&1\\ 1&1&2 \end{bmatrix}.

Its eigenvalues are 4 and 1, with 1 repeated algebraically. But the eigenspace for 4 is one-dimensional, while the eigenspace for 1 is two-dimensional. Therefore

1+2=3,1+2=3,

which matches the matrix size. So AA is diagonalizable even though one eigenvalue is repeated.

Cayley-Hamilton gives a polynomial identity

One further theorem relates the characteristic polynomial back to the matrix itself.

Theorem

Cayley-Hamilton theorem

If

pA(x)=c0+c1x+c2x2++cnxn,p_A(x)=c_0+c_1x+c_2x^2+\cdots+c_nx^n,

then

c0I+c1A+c2A2++cnAn=0.c_0I+c_1A+c_2A^2+\cdots+c_nA^n=0.

Equivalently, pA(A)=0p_A(A)=0.

For diagonalizable matrices this is easy to believe: once AA is written as SDS1SDS^{-1}, the identity reduces to applying the scalar polynomial pAp_A to each diagonal entry of DD, and every diagonal entry is an eigenvalue, hence a root of pAp_A.

The practical consequence is that high powers of AA can be rewritten in terms of lower powers I,A,,An1I,A,\dots,A^{n-1}.

Worked example

A small Cayley-Hamilton identity

Let

A=[1401].A= \begin{bmatrix} 1&4\\ 0&1 \end{bmatrix}.

Its characteristic polynomial is

pA(x)=(1x)2=x22x+1.p_A(x)=(1-x)^2=x^2-2x+1.

Therefore Cayley-Hamilton says

A22A+I=0.A^2-2A+I=0.

So every higher power of AA can be reduced using this quadratic relation.

Common mistake

Common mistake

Repeated eigenvalue does not automatically mean 'not diagonalizable'

A repeated eigenvalue only tells you the algebraic multiplicity is greater than 1. Diagonalizability depends on whether the corresponding eigenspaces still supply enough linearly independent eigenvectors. Repetition is a warning sign, not a final verdict.

Quick check

Quick check

What is the characteristic polynomial of [2005]\begin{bmatrix}2&0\\0&5\end{bmatrix}?

Use pA(x)=det(AxI)p_A(x)=\det(A-xI).

Solution

Answer

Quick check

If an n×nn\times n matrix has n distinct eigenvalues, what can you conclude immediately?

Use the distinct-eigenvalue theorem.

Solution

Answer

Quick check

Can geometric multiplicity ever exceed algebraic multiplicity?

Use the multiplicity inequality.

Solution

Answer

Exercises

Quick check

Find the characteristic polynomial of [0123]\begin{bmatrix}0&1\\-2&3\end{bmatrix} and list its eigenvalues.

Compute det(AxI)\det(A-xI) and factor the result.

Solution

Guided solution

Quick check

A 4×4 matrix has four distinct 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

Quick check

Suppose pA(x)=x36x2+11x6p_A(x)=x^3-6x^2+11x-6. What matrix identity does Cayley-Hamilton give?

Replace the variable x by the matrix AA.

Solution

Guided solution

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 pA(x)=det(AxI)p_A(x)=\det(A-xI) depends on 7.1 Determinants and cofactor expansion.

Section mastery checkpoint

Answer each question correctly to complete this section checkpoint. Correct progress: 0%.

Skills: characteristic-polynomial, eigenvalue, root-test

Fill in the blank: λ is an eigenvalue of A exactly when p_A(λ)= ____.

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Syntax guidance: A one-symbol answer is enough.

Key terms in this unit