MAT1041 · Week 13 · - Eigenvalues and Eigenvectors
Eigenvalues and eigenvectors
You learn to set up the characteristic equation and find eigenvalues, to compute a basis of the eigenspace for each eigenvalue, to tell algebraic and geometric multiplicity apart, and the shortcuts relating eigenvalues to trace, determinant, powers and inverse.
When a matrix multiplies a vector, it generally both rotates and stretches it. But there are some special vectors that the matrix does not rotate, it only multiplies by a number. These are the eigenvectors, and the multiplier is the eigenvalue. This week we learn to find them; on the next page, if there are enough eigenvectors, we will make the matrix diagonal. The computing side is completely familiar: determinants (weeks 4-5) and the null space (week 9).
Golden rules:
First the eigenvalue: det(λI−A)=0.
Then for each eigenvalue the eigenspace: solve (A−λI)x=0.
A−λI must come out singular. If there is no zero row, you have found the eigenvalue wrongly.
Check: the sum of the eigenvalues is the trace, their product is the determinant.
Definition
Let A be n×n. If, for a nonzero v and a number λ,
Av=λv
then λ is an eigenvalue of A and v is an eigenvector corresponding to λ.
v=0 is never counted as an eigenvector (A0=λ0 for every λ, which would be meaningless).
λ=0 can be an eigenvalue: it means Av=0.
If v is an eigenvector, so is every cv (c=0). Eigenvectors are not single, they come along a line (or subspace).
Geometry.Av lies on the same line as v. If λ>1 it stretches, if 0<λ<1 it shrinks, if λ<0 it reverses direction. For the projection onto the x-axis in the plane, e1 corresponds to eigenvalue 1 and e2 to eigenvalue 0.
The characteristic equation
Av=λv⟺(λI−A)v=0. For a nonzero solution to exist, λI−A must be singular:
det(λI−A)=0.
The left side is a polynomial of degree n in λ: the characteristic polynomial. Its roots are exactly the eigenvalues. (Using det(A−λI) gives the same roots; the sign differs only if n is odd.)
PITFALL · getting a unique solution. If solving (A−λI)x=0 gives only x=0, there is a calculation error in the eigenvalue. At a true eigenvalue A−λI is always singular and at least one zero row appears. This is both a warning and a free check.
A 3×3 example and multiplicity
Example 2.A=322232−2−2−1.
Characteristic polynomial (the calculation is long; using the common structure in the first two columns or expanding along the first row helps): λ3−5λ2+7λ−3=(λ−1)2(λ−3). Check: trace 3+3−1=5=1+1+3, det =1⋅1⋅3=3.
the multiplicity of the root in the characteristic polynomial
2
2
Geometric
dimEλ
2
1
Always 1≤geometric≤algebraic. Whether the two are equal is the key to diagonalization (next page).
Shortcuts
If the eigenvalues of A are λ1,…,λn (with multiplicities):
Information
Result
λ1+⋯+λn
trA
λ1λ2⋯λn
detA
A triangular
eigenvalues on the diagonal
0 is an eigenvalue
A is singular
Ak
eigenvalues λk, same eigenvectors
A−1
1/λ, same eigenvectors
A+cI
λ+c
AT
same eigenvalues (eigenvectors may differ)
One more item for the invertible matrix theorem: A is invertible ⟺ 0 is not an eigenvalue of A.
There may be no real eigenvalue
The characteristic polynomial of the 90∘ rotation matrix [01−10] is λ2+1: no real root. In this course we usually work with real eigenvalues; in week 14 we will see that the eigenvalues of symmetric matrices are always real.
Common mistakes
Wrong
Right
Writing det(A−λ)
det(A−λI): λ only on the diagonal
Counting v=0 as an eigenvector
An eigenvector must be nonzero
Expanding the characteristic polynomial and losing the factors
Keep the common factor, take (λ−3) out
Thinking the eigenspace is the null space of A
It is the null space of A−λI
Writing a single vector for the eigenspace basis and forgetting the second free variable
As many vectors as free variables
Thinking row operations preserve eigenvalues
Row operations change eigenvalues; don’t reduce A first
Assuming algebraic and geometric multiplicity are equal
Compute; they differ in Q7
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Show that v=(1,1) is an eigenvector of A=[3212] and find the corresponding eigenvalue.
Show answer
λ=4
Av=(3+1,2+2)=(4,4)=4(1,1). So Av=4v, v=0: an eigenvector, with eigenvalue 4.
Question 2easy
Find the eigenvalues of 2005−30−147.
Show answer
2,−3,7
A triangular matrix: λI−A is triangular too, and its determinant is the product of the diagonal (λ−2)(λ+3)(λ−7). The eigenvalues of a triangular matrix are its diagonal entries.
Question 3medium
Find the characteristic polynomial and the eigenvalues of A=[1243].
Show answer
λ2−4λ−5; λ=5,−1
det(λI−A)=(λ−1)(λ−3)−8=λ2−4λ−5=(λ−5)(λ+1). Shortcut (2×2): λ2−(trA)λ+detA; trace 4, det 3−8=−5.
Question 4medium
For A=[1243], find a basis for each eigenspace.
Show answer
E5: {(1,1)}; E−1: {(−2,1)}
λ=5: A−5I=[−424−2], the rows are proportional, x=y: (1,1).λ=−1: A+I=[2244], x+2y=0: (−2,1). Check: A(−2,1)T=(−2+4,−4+3)=(2,−1)=−1⋅(−2,1).
Question 5medium
Find the eigenvalues of [1224]. What does one of them tell you about the matrix?
Show answer
0 and 5; the matrix is singular
Trace 5, det 4−4=0: λ2−5λ=λ(λ−5).λ=0 is an eigenvalue ⟺Av=0 has a nonzero solution ⟺A is singular.
Question 6medium
Find the eigenvalues of A=102030201 with their algebraic multiplicities.
Show answer
λ=3 (multiplicity 2), λ=−1 (multiplicity 1)
Expand det(λI−A) along row 2 (its only entry is λ−3): (λ−3)[(λ−1)2−4].(λ−1)2−4=(λ−3)(λ+1). Total: (λ−3)2(λ+1). Check: the sum of the eigenvalues 3+3−1=5=trA.
Question 7hard
For A=200120003, find the algebraic and geometric multiplicity of λ=2.
Show answer
Algebraic 2, geometric 1
Triangular: the eigenvalues are 2,2,3. Algebraic multiplicity 2.A−2I=000100001: y=0, z=0, x free. E2=span{(1,0,0)}, dimension 1. The geometric multiplicity is always ≤ the algebraic; here it is smaller.
Question 8medium
λ=3 is an eigenvalue of an invertible matrix A with eigenvector v. Find the corresponding eigenvalues of A2−2A+I and of A−1.
Show answer
4 and 1/3
A2v=9v, so (A2−2A+I)v=(9−6+1)v=4v. Multiply Av=3v from the left by A−1: v=3A−1v, A−1v=31v. The eigenvector stays the same.
Question 9medium
A 3×3 matrix A has eigenvalues 1,2,−3. Find detA and trA.
Show answer
detA=−6, trA=0
Determinant = the product of the eigenvalues: 1⋅2⋅(−3)=−6. Trace = the sum of the eigenvalues: 1+2−3=0.
Question 10hard
Does A=[01−10] (rotation by 90∘) have real eigenvalues?
Show answer
No (the eigenvalues are ±i)
det(λI−A)=λ2+1. It has no real root. Geometric meaning: a 90∘ rotation leaves no nonzero vector along its own direction.
Question 11hard
Find k such that λ=4 is an eigenvalue of [21k3].
Show answer
k=2
λ=4 is an eigenvalue ⟺det(A−4I)=0. −21k−1=2−k=0. Check k=2: trace 5, det 6−2=4, λ2−5λ+4=(λ−1)(λ−4).
Verification: The characteristic polynomials were computed exactly in node with the Faddeev-LeVerrier method using BigInt fractions, and their roots were found with their multiplicities by a rational-root scan; each eigenspace basis was obtained as the exact null space of (A − λI), and the equality Av = λv was checked by multiplication for every eigenvector (verify/MAT1041/13.mjs).
Review card
Av = λv, v ≠ 0 → λ is an eigenvalue, v an eigenvector. (v = 0 does NOT count; λ = 0 is allowed.)
Characteristic equation: det(λI - A) = 0 (or det(A - λI) = 0, same roots).
2×2 shortcut: λ² - (tr A)λ + det A = 0.
Triangular/diagonal → eigenvalues on the diagonal.
Eigenspace E_λ = null(A - λI): solve (A - λI)x = 0, write a basis with the free variables.
(A - λI) must be SINGULAR; if you get only the trivial solution, you found λ wrongly.
Algebraic multiplicity = multiplicity of the root. Geometric = dim E_λ. 1 ≤ geom ≤ algebraic.
Σλ = tr A, Πλ = det A.
λ = 0 is an eigenvalue ⇔ A is singular.
A^k → λ^k; A⁻¹ → 1/λ; A + cI → λ + c; p(A) → p(λ). The eigenvector is the SAME.
A and A^T have the same eigenvalues. Similar matrices have the same eigenvalues.
There may be no real root (rotation: λ² + 1).
For 3×3, expand det(λI - A) along the row with the most zeros, keep the factor.