Matrix Diagonalization
Most square matrices act like simple scalings once you look along their eigenvector axes; diagonalization is the change of view that reveals it.
Why Does This Exist?
Matrix powers show up in Markov chains, recurrences, and repeated layer applications, and multiplying a matrix by itself 100 times is brutal. But a diagonal matrix powers trivially: square each diagonal entry and you are done. Diagonalization converts the hard problem into the easy one by viewing the matrix along its natural axes, and it explains why eigenvalues govern long-run behavior everywhere from PageRank to stability analysis.
Eigenvalues and eigenvectors finds the special axes and stretch factors. This page assembles them into the decomposition and shows the payoff.
The one idea you need first
An eigenvector of keeps its direction under : for some stretch factor , the eigenvalue. If you can find independent eigenvectors for an matrix, you have a full alternative coordinate system to work in.
Think of It Like This
A funhouse mirror measured along its own axes
A funhouse mirror stretches your reflection oddly: taller and thinner at once. Measured against the room's walls, the stretch mixes vertical and horizontal in a confusing matrix. But measure along the mirror's own tilt, its personal up and sideways, and the map is dead simple: double along one axis, halve along the other, no mixing.
Diagonalization finds the mirror's personal axes (eigenvectors) and reads off the plain scalings (eigenvalues). The mirror never changed; you stopped describing a tilted stretch in an untilted language.
How It Actually Works
If has independent eigenvectors, stack them as columns of and the eigenvalues into a diagonal . Then:
In plain words: converts into the eigenvector view, scales each axis independently, and converts back. Powers collapse beautifully: , and just raises each diagonal entry to .
Worked example
Trace , determinant . Eigenvalues solve , giving and . Check: (trace) and (determinant).
Eigenvectors: for , , so . Check: . For , , so . Check: .
So and , with . The tenth power needs only and , no repeated multiplication.
Watch Out For
Assuming every matrix diagonalizes
Some matrices are defective: they lack enough independent eigenvectors. The classic case has eigenvalue 1 twice but only one eigenvector direction, so no exists. The symptom is an "inverse" step that explodes because came out singular. Check that is invertible before celebrating, and know that symmetric matrices always diagonalize, which is one more reason to love them.
Assuming eigenvectors come out perpendicular
Only symmetric matrices guarantee perpendicular eigenvectors. For general matrices the eigenvector grid is a slanted lattice, and treating it as a rotation corrupts every projection. The symptom is coordinates computed with a transpose where an inverse belongs. Unless symmetry is proven, always use , never , to change into the eigenbasis.
The Quick Version
- : eigenvectors as columns of , eigenvalues on the diagonal of .
- In the eigenbasis the map is pure per-axis scaling with no mixing.
- Powers collapse: , and raises diagonal entries only.
- The example matrix has eigenvalues 5 and 2 with eigenvectors and .
- Defective matrices cannot diagonalize, so verify is invertible.
- Without symmetry, change basis with , never .