Eigenvalues and Eigenvectors
Find eigenvalues from the characteristic polynomial, compute their eigenvectors, and connect them to the trace, determinant and invertibility.
Welcome back!
Step 1 of 12Learn
Directions that only stretch
Apply the matrix A = [3 1; 0 2] to a few vectors. (1, 1) goes to (4, 2), a new direction. (0, 1) goes to (1, 2), another new direction. But (1, 0) goes to (3, 0), which is just 3 times (1, 0). And (1, −1) goes to (2, −2), which is 2 times (1, −1).
Most vectors get knocked off their line by A. A few special ones stay on their line and are only stretched. These are eigenvectors, and the stretch factors are eigenvalues:
Av = λv, with v ≠ 0.
For this A, (1, 0) is an eigenvector with eigenvalue 3, and (1, −1) is an eigenvector with eigenvalue 2. Any nonzero multiple of an eigenvector is also an eigenvector with the same eigenvalue; (5, −5) works just as well as (1, −1).
The eigenvalue can be any number:
- λ > 1 stretches, 0 < λ < 1 shrinks.
- λ < 0 flips the vector to point the opposite way (and stretches by |λ|).
- λ = 0 crushes the eigenvector to zero, which means A is singular.
Why should you care? Eigenvectors are the natural axes of a transformation. Along them, a complicated matrix acts like simple multiplication. Engineers find the vibration modes of a bridge as eigenvectors; quantum mechanics finds energy levels as eigenvalues; and the PageRank algorithm that powered early Google search ranked web pages using the main eigenvector of a giant link matrix.
Step 2 of 12Compare
Which vectors keep their direction under A = [3 1; 0 2]?
| Aspect | Av | Eigenvector? |
|---|---|---|
| v = (1, 1) | (4, 2) | No: new direction |
| v = (0, 1) | (1, 2) | No: new direction |
| v = (1, 0) | (3, 0) = 3v | Yes, λ = 3 |
| v = (1, −1) | (2, −2) = 2v | Yes, λ = 2 |
Step 3 of 12Practice · True or false
If v is an eigenvector of A with eigenvalue 4, then 3v is also an eigenvector of A with eigenvalue 4.
Step 4 of 12Learn
Finding eigenvalues: the characteristic polynomial
Rewrite Av = λv as Av − λv = 0, or
(A − λI)v = 0.
We want a nonzero solution v, which means the matrix A − λI must be singular. And a matrix is singular exactly when its determinant is zero. So the eigenvalues are the solutions of the characteristic equation:
det(A − λI) = 0.
Example. A = [4 1; 2 3]. Then A − λI = [4 − λ, 1; 2, 3 − λ], and
det(A − λI) = (4 − λ)(3 − λ) − 2 = λ² − 7λ + 10 = (λ − 5)(λ − 2).
The eigenvalues are λ = 5 and λ = 2.
For a 2 × 2 matrix [a b; c d], the characteristic polynomial is always
λ² − (a + d)λ + (ad − bc),
where a + d is the trace (sum of the diagonal entries) and ad − bc is the determinant. That gives two quick checks for any n × n matrix: the eigenvalues add up to the trace and multiply to the determinant. Here 5 + 2 = 7 = 4 + 3 and 5·2 = 10 = 12 − 2.
For triangular matrices, the eigenvalues are just the diagonal entries, which is why [3 1; 0 2] had eigenvalues 3 and 2.
Some real matrices have no real eigenvalues. A 90° rotation knocks every vector off its line; its characteristic polynomial λ² + 1 has only the complex roots ±i.
Step 5 of 12Explore
Characteristic polynomial of [a b; c d]
The curve is the characteristic polynomial λ² − (a + d)λ + (ad − bc), with λ on the horizontal axis. Its x-intercepts are the eigenvalues. Make b and c have opposite signs and watch the parabola lift off the axis: the eigenvalues become complex, as for a rotation.
- Trace a + d (sum of eigenvalues)
- 7
- Determinant ad − bc (product of eigenvalues)
- 10
- Discriminant (negative means complex eigenvalues)
- 9
Step 6 of 12Practice · Work it out
Find the larger eigenvalue of A = [2 3; 3 2].
Step 7 of 12Learn
Finding eigenvectors
Once you have an eigenvalue λ, its eigenvectors are the nonzero solutions of (A − λI)v = 0. That's a null space problem: row reduce A − λI and solve.
Continue the example A = [4 1; 2 3].
For λ = 5: A − 5I = [−1 1; 2 −2]. Both rows say −v₁ + v₂ = 0 (the second is −2 times the first, as it must be, since the matrix is singular). So v₂ = v₁, and an eigenvector is (1, 1). Check: A(1, 1) = (5, 5) = 5(1, 1).
For λ = 2: A − 2I = [2 1; 2 1]. The equation is 2v₁ + v₂ = 0, so v₂ = −2v₁, and an eigenvector is (1, −2). Check: A(1, −2) = (4 − 2, 2 − 6) = (2, −4) = 2(1, −2).
The set of all eigenvectors for λ, together with 0, is the eigenspace for λ. It's a subspace: the null space of A − λI.
If row reducing A − λI gives you a pivot in every column, you've made an arithmetic mistake: λ wasn't really an eigenvalue, because A − λI should be singular. This is a built-in error check.
Eigenvalue 0 deserves a mention. λ = 0 is an eigenvalue exactly when Av = 0 has a nonzero solution, which happens exactly when A is singular. So "0 is not an eigenvalue" joins the long list of conditions equivalent to invertibility.
Step 8 of 12Diagram
The eigen-recipe
Tap a shape with to see more.
- Form A − λI
Subtract λ from every diagonal entry.
- Set det(A − λI) = 0
The characteristic equation.
- Solve for λ
These are the eigenvalues.
- Solve (A − λI)v = 0
For each λ, a null space problem.
- Nonzero solutions = eigenvectors
Step 9 of 12Practice · Fill in the blanks
Fill in the blanks
For A = [5 2; 0 1], the eigenvalues are and , and an eigenvector for λ = 1 is (1, k) with k = .
Step 10 of 12Note
Step 11 of 12Practice · Choose one
A 3 × 3 matrix has eigenvalues 2, −1 and 0. Which statement is true?
Step 12 of 12Practice · Work it out
A 2 × 2 matrix has trace 6 and determinant 8. What is its smaller eigenvalue?
Lesson complete!