5.4 Diagonalization and Similarity
The chapter so far has been a census: real eigenlines that a matrix stretches, and complex pairs that make it spiral. What the census does not yet supply is a method. That arrives by combining eigenvectors with the idea of Chapter 2 — that a basis is a coordinate system — because in the right coordinate system the matrix from section 5.1 stops being a grid of nine numbers and becomes a list of three.
That matrix was
with characteristic polynomial , so its eigenvalues are , and . The eigenvectors are , and — check the first: , as an eigenvector must satisfy.
Three eigenvectors, and they are independent, so they are a basis of . Coordinates in that basis are what make simple: the matrix does nothing to the frame itself, it just scales along each axis of it.
Explore in 3D (opens in a new tab)Explore the figure
- At the amber curve sits exactly on the gray circle — no transformation has happened yet.
- Drag up slowly. The circle stretches into an ellipse, and the stretching happens along the red dashed line only. That is the direction, and is how far it has been pulled.
- Look at the blue dashed direction as you drag. The ellipse's width across it never changes. Its eigenvalue is , and for every : that direction is not merely un-turned, it is untouched.
- Notice what the ellipse never does. Its long axis stays welded to the red line and never swings around, at any . In the eigenbasis, has no ability to rotate anything — it can only stretch along the axes it is already given.
Writing the frame down
Put the eigenvectors in the columns of a matrix:
is exactly the coordinate matrix of section 2.7: hand it a list of eigenbasis coordinates and it returns the point in standard coordinates. Then
and each factor has a job you can name. Read right to left, following what happens to a vector: converts it into eigenbasis coordinates, scales each coordinate by its eigenvalue, and converts back to the standard grid. Doing all three is doing — because in the middle, where the coordinates are the right ones, is the diagonal matrix.
The inverse of the eigenvector matrix, which is the translator from standard coordinates into eigenbasis coordinates. Its first row reads off the amount of in a vector, its second the amount of , and its third the amount of .
The determinant of is , and the only thing that matters is that it is not zero. By the Invertible Matrix Theorem the columns are independent, so exists and the factorization is legitimate. A matrix whose eigenvectors failed to be independent would have a singular and could not be diagonalized at all — which is exactly what goes wrong for the matrices this book has been careful to avoid.
Two matrices and are called similar when for some invertible . The definition looks like a technicality and is not: similar matrices are the same transformation written in two different bases. Everything basis-independent survives the translation — determinant, rank, eigenvalues, the characteristic polynomial — while the entries themselves, which are only ever coordinates, do not.
Powers, for free
Here is the payoff that makes diagonalization more than a change of viewpoint. Compute from the factorization:
The inner collapses to the identity, and the same cancellation happens however many factors you stack:
Raising a diagonal matrix to a power is just raising each diagonal entry to that power, so and no matrix multiplication is needed at all. That formula is what the figure is drawing: a point at eigen-coordinates goes to , so the circle in the plane becomes an ellipse with semi-axes and along the two eigenlines.
It also tells you the long run without any computation. As grows, swamps everything else, so almost every vector's image swings toward the eigenline and grows by roughly a factor of per step. What licenses that reading is the strict gap : when one eigenvalue is strictly larger in absolute value than every other, it decides the long-term behavior — a fact the next section turns into a working prediction. The strictness is not decoration. Drop the and the remaining eigenvalues and tie in absolute value, and the long run never settles down to one direction at all.
An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.