Diagonalization
Diagonalization rewrites a matrix using its eigenvectors.
The usual form is:
Here:
Pcontains eigenvectorsDis diagonal and contains eigenvaluesP^{-1}changes coordinates back
Read the product from right to left:
P^{-1}expresses a vector in the eigenvector coordinate systemDscales each eigenvector coordinate independentlyPconverts the result back to the original coordinates
Why This Helps
A diagonal matrix is easy to understand. It scales each coordinate separately.
Diagonalization says: if we choose the right coordinate system, this matrix acts like simple scaling.
That is a powerful idea, even when a matrix cannot be diagonalized cleanly.
The phrase "if we choose the right coordinate system" is doing real work. The eigenvectors must give enough independent directions to form the coordinate system. If there are not enough independent eigenvectors, this simple diagonal view is not available.
Small Example
If:
then:
The first coordinate is scaled by 2. The second coordinate is scaled by 3.
Diagonalization tries to find a coordinate system where a more complicated
matrix behaves this way.
Connection to Repeated Application
If:
then:
The diagonal part becomes easier to repeat because powers of a diagonal matrix raise each diagonal entry to a power.
For example:
This is why diagonalization is useful for repeated transformations. Instead of multiplying a complicated matrix again and again, we study independent scaling directions.
For:
what is D[4, 5]?
Compute it first, then check your number.
Hint
Scale each coordinate by its diagonal entry.
Solution
D[4, 5] = [2(4), 3(5)] = [8, 15]. A diagonal matrix does not mix the
coordinates; it scales each coordinate by its own diagonal entry.
In A = PDP^{-1}, which factor acts first on an input vector?
Enter P, D, or P^{-1}.
Answer it first, then check.
Hint
Matrix products act from right to left on a vector.
Solution
P^{-1} acts first. It changes the input into the eigenvector coordinate
system, where the diagonal matrix D can scale each eigenvector coordinate
independently.
For D = diag(2, 3), what is the second diagonal entry of D^2?
Compute it first, then check your number.
Hint
Powers of diagonal matrices raise each diagonal entry to that power.
Solution
The second diagonal entry is 3^2 = 9. For a diagonal matrix, powers do not
mix entries; each diagonal scaling factor is raised to the same power.
Enter 1 if diagonalization needs enough independent eigenvectors to form the
change-of-basis matrix P.
Compute it first, then check your number.
Hint
Ask what columns of P contain.
Solution
Enter 1. The columns of P are eigenvectors. They must form a usable
coordinate frame for the diagonal view to work.
Before Moving On
Do not treat diagonalization as a trick. Treat it as a search for coordinates where the matrix becomes simpler.