lenatriestounderstand

Chapter 29 of 31

Eigenvectors: The Directions a Matrix Won't Turn

Created Jul 2, 2026 Updated Jul 2, 2026

A matrix isn't really a grid of numbers — it's a machine that moves space around. Feed it an arrow (a vector), and it hands you back a different arrow: turned a little, stretched a little. Do that to every arrow at once and the whole plane shears, rotates, squashes.

Here's the twist. A few special arrows come back lying on the exact same line — maybe longer, shorter, or even flipped, but not pushed off that line. Those are the eigenvectors. How much each one stretches is its eigenvalue, written λ.

A v = λ v

Read it as: "matrix A applied to arrow v gives you v again, just scaled by the number λ." There is no sideways component: the matrix may stretch or shrink v, but it can't push it off its own line.

Spin a globe. Most points move in circles, but the axis through the poles keeps pointing the same way — that axis direction is an eigenvector. Or take a clean stretch of a rubber sheet: there are directions along which it only stretches instead of skewing, while everything else gets pulled off at an angle. Those pure-stretch directions are the eigenvectors, and the stretch amounts are the eigenvalues.

The useful mental image: eigenvectors are the natural grain of the transformation, the way wood has a grain. Work along it and things stay simple; work across it and everything twists.

The matrix A = [[2, 1], [1, 2]] acting on a unit vector. Drag the angle: almost every direction comes back rotated, but two — the dashed eigenvector lines — come back pointing the same way, scaled by λ = 3 and λ = 1.

Why a non-mathematician keeps bumping into them:

  • PCA / dimensionality reduction — the eigenvectors of a data cloud's covariance matrix are the directions the data spreads along; the big-eigenvalue ones are the "main axes" of variation, and the small ones are often the first candidates to drop.
  • GMM clusters — a Gaussian blob is an ellipse, and its eigenvectors are the ellipse's axes while the eigenvalues say how far it spreads each way.
  • PageRank and spectral clustering — in PageRank, one eigenvector captures the stable importance scores of every page; in spectral clustering, the eigenvectors of a graph Laplacian reveal group structure that's invisible in the raw coordinates.

One convenient fact for many matrices that show up in ML — covariance matrices, undirected similarity matrices, graph Laplacians — is that they are symmetric. For symmetric matrices, the eigenvectors can be chosen perpendicular to each other, and the eigenvalues are plain real numbers. No complex-number arithmetic to worry about.

So an eigenvector is a direction a transformation refuses to turn, and its eigenvalue is how hard it pulls along it. That one idea quietly runs through a surprising amount of machine learning — and once you have it, the natural next question is what the whole matrix looks like rewritten around these special directions. That is eigendecomposition.