5.1 The Directions a Matrix Cannot Turn
Take the matrix whose rows are , , and . Fed a vector , it hands back pointing somewhere else — for almost every . This section is a hunt for the exceptions: the directions cannot turn.
The figure plots as a field of arrows. At each grid point , an arrow shows the direction of , computed componentwise as . The arrows are all drawn at nearly the same short length, so their size is carried by color instead: dark purple where is short, yellow where it is long. Threaded through the field are four straight lines through the origin: red along , blue along , green along the -axis, and a pale gray line along the -axis. (The coordinate axes are left out of this figure so that nothing is drawn on top of these lines.) Three of them are genuinely special. One is a decoy.
Explore in 3D (opens in a new tab)A cube-shaped grid of small arrows for the vector field that sends each point to A times that point, over a dim floor grid. The arrows are all drawn at nearly the same short length and are colored by the strength of the field, from dark purple (weak) to yellow (strong). The coordinate axes are not drawn, so four straight lines through the origin stand alone: a red line along the direction (1, 1, 0), a blue line along (1, -1, 0), a green line along the z-axis, and a pale gray line along the x-axis. Arrows sitting on the red, blue, and green lines point exactly along those lines; arrows on the pale gray line point noticeably off it.
Explore the figure
- Orbit slowly. Most arrows point off whatever line they sit near — the matrix is turning those vectors. On which of the four marked lines do the arrows lie exactly along the line itself?
- Zoom in on the pale gray line near and read the field formula there: . The arrow visibly leaves the -axis — that is why this line is drawn in gray rather than a color. Looking special is not being special; the field is the test.
- On each line that passes the test, note whether the arrows point outward (away from the origin, with the position vector) or inward (back toward it). One of the three colored lines disagrees with the other two.
- Now use the colors, since the arrow lengths barely vary. At equal distances from the origin, the red line's arrows are much brighter than the others — teal at , yellow out at — because there triples the position vector. The blue line's arrows and the green line's stay dark, because keeps those position vectors at their own length — reversing the green ones — so their color depends only on the distance from the origin. Three lines, three stretch factors; the colors rank them, and the arithmetic below pins them down.
Naming what you found
A nonzero vector with is an eigenvector of , and the scalar is its eigenvalue. The equation says exactly what you hunted for: the line through is invariant — may stretch, shrink, or flip vectors on it, but cannot turn them off it. The arrows encode : outward means , inward means , and the color, which tracks the length of , brightens with . Check the three catches by arithmetic: , so on the red line; , so on the blue line — invariant pointwise, the field there merely restating each position; and , so on the green line. The inward green arrows are not a failure of invariance — they are the visual signature of a negative eigenvalue. The decoy fails outright: is no multiple of .
Observation found these lines; algebra can find them blind. Rearranged, the eigenvector equation says has a nonzero solution — which, by the last chapter, happens exactly when collapses: . That determinant, as a function of , is the characteristic polynomial.
The characteristic polynomial of the same matrix the figure draws, expanded by a computer algebra system rather than by hand — and checked against the factored form worked out above. Its roots are the three stretch factors checked above: on red, on blue, on green. ( stands for .)
The same three numbers again — but this time the computer algebra system starts from the matrix itself, extracts the complete set of eigenvalues, and certifies each one's algebraic multiplicity along the way. All three are simple, listed here in ascending order, and they agree with the roots worked out above: the inward flip on green, the pointwise fix on blue, the outward triple stretch on red.
An original work of XYZ Homework, built around interactive XYZ 3D figures. Chapters 1–6 follow the topic sequence of Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL). Chapter 0's scope (its topics, their order, and the idea each figure shows) follows the Vectors chapter of Ximera's Linear Algebra: An Interactive Introduction. The prose, worked examples and figures were written for this book, which is not affiliated with or endorsed by the authors of either work. License: CC-BY-NC-SA-4.0.