Category: Linear Algebra Level: 301
A v = λ v
Most vectors change direction when a matrix acts on them. Eigenvectors stay on their own line and only stretch, by a factor called the eigenvalue.
Take x = (1, 1). The matrix sends it to (4, 2), which is not on the dashed line through x. The direction changed.
A(1, 1) = (4, 2)
The vector (1, 0) lands on (3, 0). It stays on the x-axis and just gets three times longer. That makes it an eigenvector with eigenvalue 3.
A(1, 0) = (3, 0) = 3(1, 0)
The vector (1, −1) lands on (2, −2). Same line, twice as long. That is a second eigenvector, with eigenvalue 2.
A(1, -1) = (2, -2) = 2(1, -1)
Any multiple of an eigenvector is also an eigenvector. The vector (−1, 1) goes to (−2, 2), and (−1, 0) goes to (−3, 0). Both lines map onto themselves.
A(-1, 1) = (-2, 2), A(-1, 0) = (-3, 0)
Av = λv means (A − λI)v = 0 for a nonzero v, so A − λI must squash the plane. Its determinant is zero, and that pins down λ.
det(A - λ I) = (3 - λ)(2 - λ) = 0 ⇒ λ = 3 or 2
cd svg-generator python3 -m svgmath render eigenvectors --out /tmp/eigenvectors
Source: svgmath/diagrams/linear_maps.py