Eigenvalues and eigenvectors
Define an eigenvector and eigenvalue by Av = λv, find them for simple 2 × 2 matrices by inspection and checking, and see which matrices have real eigen-directions at all.
It opens on
Apply A = [[2, 1], [1, 2]] to every arrow of the plane: almost all of them turn, but are there arrows that stay on their own line?
Why it matters
Eigen-directions are the directions a matrix only stretches; they decompose repeated action (powers, dynamics, covariance) into independent stretches, which is why they run through data science.
Good to know first
- Linear transformations: a matrix moves the unit square to the parallelogram on its columns
- Matrix-vector multiplication: Av combines the columns of A
- Column space and null space: Av = 0 means v is in N(A)
Step by step
Directions that are only stretched
Define an eigenvector and eigenvalue from the action of A = [[2, 1], [1, 2]] on the unit square and on the directions (1, 1) and (1, −1).
A(1, 0) = (2, 1) is the first column: the arrow left the x-axis, so it no longer lies on its own line.
A common mix-up
Eigenvectors are the arrows that A does not move.
In fact: A moves them, along their own line; only an eigenvalue of 1 leaves the arrow fixed.
Finding eigenpairs by inspection
Find and check eigenpairs by inspection, including a negative eigenvalue and the eigenvalue 0, and connect Av = λv to the null space of A − λI.
For A = [[2, 1], [1, 2]] both rows add to 3, so A(1, 1) = (3, 3) and λ = 3, as in S1.
A common mix-up
An eigenvalue must be positive, since it is a stretch factor.
In fact: λ = −1 reverses the arrow and λ = 0 collapses it to 0, and both are allowed.
Matrices with few or no real eigenvectors
Show that a 90° rotation has no real eigenvector and a shear has only one eigen-direction.
Algebra agrees: R(x, y) = λ(x, y) needs −y = λx and x = λy, so x = −λ²x, and λ² = −1 has no real solution: no real eigenvector.
A common mix-up
Every matrix has real eigenvectors.
In fact: a rotation has none, and a shear has only one eigen-line.
Try it
For A = [[2, 1], [1, 2]], check that (2, 1) is not an eigenvector.Answer
A(2, 1) = (5, 4), not a multiple of (2, 1)
Hint: Compare the ratios 5/2 and 4/1
Find the eigenvalues of C = [[1, 1], [1, 1]] for the vectors (1, 1) and (1, −1).Answer
2 for (1, 1) and 0 for (1, −1)
Hint: C(1, 1) = (2, 2)
Does the reflection in the x-axis, [[1, 0], [0, −1]], have eigenvectors? Give them.Answer
Yes: (1, 0) with λ = 1 and (0, 1) with λ = −1
Hint: Test the axis vectors
What does A do to (1, −1)?Answer
A(1, −1) = (2 − 1, 1 − 2) = (1, −1): unchanged, stretched by 1.
Is (2, 1) an eigenvector of A?Answer
No: A(2, 1) = (5, 4) is not a multiple of (2, 1).
