The characteristic polynomial
Find all eigenvalues of a matrix from det(A − λI) = 0, find eigenvectors as the null space of A − λI, and use trace and determinant as the sum and product of the eigenvalues.
It opens on
Last lesson found eigenvectors by guessing sums and differences of the columns; for A = [[4, 1], [2, 3]] there is no obvious guess, so how do we find every λ at once?
Why it matters
Guessing eigenvectors only works for simple matrices; the characteristic polynomial turns the search into algebra that works for every square matrix, and its roots drive stability, growth rates and principal directions.
Good to know first
- Eigenvalues and eigenvectors: Av = λv with v ≠ 0
- When a matrix is invertible: a square matrix is singular exactly when its determinant is 0
- Column space and null space: eigenvectors for λ fill N(A − λI)
Step by step
From Av = λv to det(A − λI) = 0
Derive the characteristic equation, expand it for A = [[4, 1], [2, 3]] and read the eigenvalues from the roots.
For A = [[4, 1], [2, 3]], A − λI = [[4 − λ, 1], [2, 3 − λ]], with determinant (4 − λ)(3 − λ) − 1·2.
A common mix-up
Set A − λI equal to the zero matrix.
In fact: That needs A = λI; the equation is about the determinant, which vanishes much more often.
Eigenvectors from the null space
Solve (A − λI)v = 0 for each eigenvalue of A and check Av = λv on the picture of the unit square.
For λ = 5: A − 5I = [[−1, 1], [2, −2]]; row 1 gives −v₁ + v₂ = 0 and row 2 is −2 times row 1, so v = (1, 1).
A common mix-up
Eigenvectors are unique.
In fact: Any nonzero multiple works; (2, 2) and (−3, −3) are also eigenvectors for λ = 5.
Trace, determinant and the three cases
Use trace = sum and determinant = product of the eigenvalues, and classify a 2 × 2 matrix by the sign of the discriminant tr² − 4 det.
For A: 2 + 5 = 7 = 4 + 3 and 2·5 = 10 = det A. Also p(0) = det A = 10, the height of the curve at λ = 0.
A common mix-up
A repeated root means two eigenvectors for it.
In fact: The repeated λ = 1 of C has only one eigen-line; the root's multiplicity can exceed the number of independent eigenvectors.
Try it
Find the characteristic polynomial and eigenvalues of [[5, 2], [2, 2]].Answer
λ² − 7λ + 6 = (λ − 1)(λ − 6), so λ = 1 and λ = 6
Hint: Trace 7, determinant 10 − 4 = 6
Find eigenvectors of [[5, 2], [2, 2]] for λ = 6 and λ = 1.Answer
(2, 1) for 6 and (1, −2) for 1
Hint: Solve (A − 6I)v = 0 from the row (−1, 2)
The matrix [[2, 3], [−1, 4]] has trace 6 and det 11. Does it have real eigenvalues?Answer
No: 36 − 44 = −8 < 0
Hint: Compute the discriminant
Factor p(λ) and solve p(λ) = 0: what are the eigenvalues?Answer
(λ − 2)(λ − 5) = 0, so λ = 2 and λ = 5.
Check Av for v = (1, −2): what do you get?Answer
(4 − 2, 2 − 6) = (2, −4) = 2(1, −2).
