Math Core

Lesson 5.2 · Eigenvalues and Eigenvectors

The characteristic equation

In the last lesson you could test whether a given number is an eigenvalue. But how do you find the eigenvalues when nobody hands you a candidate? Determinants answer that question: they turn "A−λIA - \lambda I is not invertible" into a polynomial equation in λ\lambda whose roots are exactly the eigenvalues.

From invertibility to a polynomial

A scalar λ\lambda is an eigenvalue of AA exactly when (A−λI)x=0(A - \lambda I)\mathbf{x} = \mathbf{0} has a nontrivial solution, which by the Invertible Matrix Theorem happens exactly when A−λIA - \lambda I is not invertible, which happens exactly when its determinant is zero.

The characteristic equation

A scalar λ\lambda is an eigenvalue of the n×nn \times n matrix AA if and only if it satisfies the characteristic equation

det⁡(A−λI)=0.\det(A - \lambda I) = 0.

The expression det⁡(A−λI)\det(A - \lambda I) is a polynomial of degree nn in λ\lambda, called the characteristic polynomial of AA.

Why is it a polynomial of degree nn? Each entry of A−λIA - \lambda I is either a constant or a constant minus λ\lambda, and the determinant is a sum of products of nn entries. The product of the diagonal entries contributes (−λ)n(-\lambda)^n, and no other term has that many factors of λ\lambda.

The 2×22 \times 2 case

For A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix},

det⁡(A−λI)=(a−λ)(d−λ)−bc=λ2−(a+d)λ+(ad−bc).\det(A - \lambda I) = (a - \lambda)(d - \lambda) - bc = \lambda^2 - (a + d)\lambda + (ad - bc).

The coefficient a+da + d is the trace of AA (the sum of the diagonal entries), and the constant term is det⁡A\det A. So every 2×22 \times 2 characteristic polynomial is

λ2−(tr⁡A) λ+det⁡A.\lambda^2 - (\operatorname{tr} A)\,\lambda + \det A.

This is worth memorizing; it saves time on every 2×22 \times 2 problem.

Worked example: Integer eigenvalues

Find the eigenvalues of A=[233−6]A = \begin{bmatrix} 2 & 3 \\ 3 & -6 \end{bmatrix}.

Here tr⁡A=−4\operatorname{tr} A = -4 and det⁡A=−12−9=−21\det A = -12 - 9 = -21, so the characteristic equation is

λ2+4λ−21=(λ+7)(λ−3)=0.\lambda^2 + 4\lambda - 21 = (\lambda + 7)(\lambda - 3) = 0.

The eigenvalues are 33 and −7-7.

Worked example: Irrational eigenvalues

Find the eigenvalues of A=[3121]A = \begin{bmatrix} 3 & 1 \\ 2 & 1 \end{bmatrix}.

tr⁡A=4\operatorname{tr} A = 4 and det⁡A=3−2=1\det A = 3 - 2 = 1, so λ2−4λ+1=0\lambda^2 - 4\lambda + 1 = 0. The quadratic formula gives

λ=4±16−42=2±3.\lambda = \frac{4 \pm \sqrt{16 - 4}}{2} = 2 \pm \sqrt{3}.

Eigenvalues do not have to be nice numbers, and (as the lesson on complex eigenvalues will show) they do not even have to be real.

Larger matrices and multiplicity

For a 3×33 \times 3 matrix you compute det⁡(A−λI)\det(A - \lambda I) by cofactor expansion, choosing a row or column with zeros to keep the algebra short. Try to leave the answer factored as long as you can; multiplying everything out and then factoring a cubic is much harder.

Worked example: A 3 × 3 matrix

Find the characteristic polynomial and eigenvalues of A=[20013−1420]A = \begin{bmatrix} 2 & 0 & 0 \\ 1 & 3 & -1 \\ 4 & 2 & 0 \end{bmatrix}.

Expand det⁡(A−λI)\det(A - \lambda I) along the first row, which has two zeros:

det⁡(A−λI)=(2−λ)det⁡[3−λ−12−λ]=(2−λ)[(3−λ)(−λ)+2]=(2−λ)(λ2−3λ+2)=(2−λ)(λ−1)(λ−2)=−(λ−2)2(λ−1).\begin{aligned} \det(A - \lambda I) &= (2 - \lambda)\det\begin{bmatrix} 3 - \lambda & -1 \\ 2 & -\lambda \end{bmatrix} \\ &= (2 - \lambda)\big[(3 - \lambda)(-\lambda) + 2\big] \\ &= (2 - \lambda)(\lambda^2 - 3\lambda + 2) \\ &= (2 - \lambda)(\lambda - 1)(\lambda - 2) = -(\lambda - 2)^2(\lambda - 1). \end{aligned}

The eigenvalues are 22 and 11, and the factor λ−2\lambda - 2 appears twice.

Definition

Algebraic multiplicity

The algebraic multiplicity of an eigenvalue λ0\lambda_0 is the number of times (λ−λ0)(\lambda - \lambda_0) appears as a factor of the characteristic polynomial.

In the example, λ=2\lambda = 2 has algebraic multiplicity 22 and λ=1\lambda = 1 has multiplicity 11. Counting with multiplicity (and allowing complex roots), an n×nn \times n matrix always has exactly nn eigenvalues, because a degree-nn polynomial has nn roots.

Two consequences follow from comparing coefficients. If the eigenvalues of AA, listed with multiplicity, are λ1,…,λn\lambda_1, \dots, \lambda_n, then

det⁡A=λ1λ2⋯λnandtr⁡A=λ1+λ2+⋯+λn.\det A = \lambda_1\lambda_2\cdots\lambda_n \qquad\text{and}\qquad \operatorname{tr} A = \lambda_1 + \lambda_2 + \cdots + \lambda_n.

(The determinant fact comes from setting λ=0\lambda = 0 in det⁡(A−λI)=(λ1−λ)⋯(λn−λ)\det(A - \lambda I) = (\lambda_1 - \lambda)\cdots(\lambda_n - \lambda).) These give quick checks: in the 3×33 \times 3 example, 2⋅2⋅1=4=det⁡A2 \cdot 2 \cdot 1 = 4 = \det A and 2+2+1=5=tr⁡A2 + 2 + 1 = 5 = \operatorname{tr} A.

Tip

After finding eigenvalues, check that they add up to the trace and multiply to the determinant. It catches most arithmetic slips in seconds.

Similar matrices

Definition

Similarity

Square matrices AA and BB are similar if there is an invertible matrix PP with B=P−1APB = P^{-1}AP (equivalently, A=PBP−1A = PBP^{-1}). Changing AA into P−1APP^{-1}AP is called a similarity transformation.

Similar matrices describe the same linear transformation in different coordinate systems, just as in the change-of-basis lesson. So it is no surprise that they share their eigenvalues. In fact they share the whole characteristic polynomial:

B−λI=P−1AP−λP−1P=P−1(A−λI)P,B - \lambda I = P^{-1}AP - \lambda P^{-1}P = P^{-1}(A - \lambda I)P,

so by the multiplicative property of determinants,

det⁡(B−λI)=det⁡(P−1)det⁡(A−λI)det⁡(P)=det⁡(A−λI).\det(B - \lambda I) = \det(P^{-1})\det(A - \lambda I)\det(P) = \det(A - \lambda I).

Common mistake

Two cautions. First, the converse is false: [2102]\begin{bmatrix} 2 & 1 \\ 0 & 2 \end{bmatrix} and [2002]\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} have the same characteristic polynomial, (λ−2)2(\lambda - 2)^2, but are not similar (the only matrix similar to 2I2I is 2I2I itself). Second, row equivalence is not similarity. Row operations usually change the eigenvalues, so never read eigenvalues off an echelon form of AA.

Practice

Practice 1

Find the eigenvalues of [5−24−1]\begin{bmatrix} 5 & -2 \\ 4 & -1 \end{bmatrix}.

Separate answers with commas, e.g. 2, -5

Practice 2

The characteristic polynomial of [72−31]\begin{bmatrix} 7 & 2 \\ -3 & 1 \end{bmatrix} is λ2+bλ+c\lambda^2 + b\lambda + c. Find cc.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Find the eigenvalues of [4122]\begin{bmatrix} 4 & 1 \\ 2 & 2 \end{bmatrix}. Give exact values.

Separate answers with commas, e.g. 2, -5

Practice 4

Find the algebraic multiplicity of the eigenvalue λ=1\lambda = 1 for A=[100243−112]A = \begin{bmatrix} 1 & 0 & 0 \\ 2 & 4 & 3 \\ -1 & 1 & 2 \end{bmatrix}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Find the value of hh for which A=[3h24]A = \begin{bmatrix} 3 & h \\ 2 & 4 \end{bmatrix} has a repeated eigenvalue.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

A 3×33 \times 3 matrix AA has eigenvalues 22, −1-1 and 44. Find det⁡A\det A.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Which statement is always true for n×nn \times n matrices?

Practice 8

Find all eigenvalues of A=[0100016−116]A = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 6 & -11 & 6 \end{bmatrix}.

Separate answers with commas, e.g. 2, -5