Diagonalization
If has independent eigenvectors, then in their basis just stretches each axis: , with the eigenvectors in and the eigenvalues in . That makes powers easy, , because powering a diagonal matrix just powers its entries.
What the symbols mean
- Eigenvector matrix
Columns are independent eigenvectors.
- Eigenvalue matrix
Diagonal, with eigenvalues in the same order as P's columns.
Explanation
Diagonalizing a matrix is simply rewriting it in a basis made of its eigenvectors, where all it does is stretch each axis by its own eigenvalue. The name comes from the result: in that basis the matrix is diagonal, all zeros except down the main diagonal. That's useful because diagonal matrices are about as easy as matrices get, especially when you need to apply the same one over and over. All we're really saying in is three steps, read right to left: (translate into eigenvector coordinates), (stretch each coordinate by its eigenvalue) and (translate back). It's three simple moves in a row; bear with it.
Why it works. This is the from the change-of-basis lesson, with 's columns chosen to be eigenvectors. In the eigenvector basis, just scales each coordinate by its eigenvalue, and that's . So converts into eigenvector coordinates, scales, and converts back.
Powers: notice what happens when you square it: , and the in the middle cancels, leaving . The same thing happens for any power, so . And just raises each diagonal entry to the th power. This predicts the long-run behavior of repeated processes.
When is diagonalizable?
- distinct eigenvalues: always.
- Repeated eigenvalues: only if each eigenspace's dimension equals the eigenvalue's multiplicity. A shear like fails.
A common mistake. It's tempting to think a repeated eigenvalue automatically rules out diagonalizing, because the shear fails. It isn't: the identity matrix has twice and is already diagonal. What matters is whether you can find independent eigenvectors, not whether the eigenvalues repeat. And when you build , keep the eigenvalues in the same order as their eigenvectors in .
Why it matters: seeing far ahead in one step. A robot's tracker predicts its state one step at a time, . To know where it will be in steps, you could multiply by a hundred times, which is slow and piles up rounding error. Or diagonalize once: , and only asks for two numbers raised to the th power. Split the state along the eigenvectors and the whole future is readable at a glance: each piece just gets multiplied by its own eigenvalue every step. There's an animation further down that shows it: the piece with eigenvalue dies out, so the robot's path lines up with the eigenvector whose eigenvalue is .
See it
Worked examples
Diagonalize .
- 1
The trace is and the determinant is , so the characteristic equation is , giving .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Find the eigenvalues of .
Give the eigenvector for with first component 1.
Give the eigenvector for with first component 1.
With , give , row by row.
Is diagonalizable?
A robot's tracker predicts its state with , where has eigenvectors (eigenvalue ) and (eigenvalue ). Starting from , find , to at least three decimals.
The hardest one here. Get it, and you've got this lesson.
For the same , find the top-left entry of as a formula in .
Where it's used
Fibonacci numbers, population projections and Markov chains are computed with ; the largest eigenvalue gives the long-run growth rate.