Sec 5.3
Sec 5.3
3 Diagonalization
EPIC FACT: If A = P DP −1 for some invertible P and diagonal D we can compute Ak without computing
AA · · · A}. In fact, Ak = P Dk P −1 . This is much less computation because
| {z
k f actors
k
λ1 0 0 ... 0 λ1 0 0 ... 0
0
λ2 0 ... 0
0
λk2 0 ... 0
if D=0
0 λ3 ... 0
then Dk = 0
0 λk3 ... 0
.. .. .. .. .. .. .. .. .. ..
. . . . . . . . . .
0 0 0 ... λn 0 0 0 ... λkn
NB:
• It’s not necessary for an n × n matrix to have n distinct eigenvalues in order to be diagonalizable.
What matters is having n linearly independent eigenvectors.
• Two matrices with the same eigenvalues, with the same multiplicities, aren’t necessarily both diagonal-
izable, or both not diagonalizable. What matters is having enough linearly independent eigenvectors.
• To summarize, an n × n matrix A is diagonalizable if and only if there are enough linearly independent
eigenvectors to form a basis of Rn . This occurs precisely when the sum of the dimensions of the distinct
eigenspaces = n.
• If A is diagonalizable and λ1 , λ2 , . . . , λn are its eigenvalues then
– The λj do not all need to be distinct.
– The eigenvector basis B = {v1 , . . . , vn } must be in the same order as the eigenvalues in D (e.g.,
v1 must be an eigenvector for λ1 ).
MORAL 1: Let A be an n × n matrix. To see if A is diagonalizable:
1. Find eigenvalues: that is, find roots, λ, to the characteristic equation det(A − λIn ) = 0.
Let λ be an eigenvalue of A. The eigenspace of A associated to λ is Nul (A − λIn ), the solution space
to (A − λIn )x = 0.
2. For each eigenvalue, λ, of A, find a basis for its eigenspace. (By Theorem 7, that the eigenspace associated
to λ has dimension less than or equal to the multiplicity of λ as a root to the characteristic equation.)
3. The matrix A is diagonalizable if and only if the sum of the dimensions of the eigenspaces equals n.
4. If A is diagonalizable, use Theorem 5 (above) to find P and D so that A = P DP −1 .
(the matrix formed by the coordinates of the T (vj ) in the C basis) which satisfies, for all v ∈ V ,
[T v]C = C [T ]B [v]B .
Now we consider the case of linear transformations on Rn . Let T : Rn → Rn be linear, and let A be the
standard matrix of T . This means that
T (x) = Ax for all x ∈ Rn .
In class we will show that the standard matrix of T , A, is equal to the matrix of T in the standard basis
E = {e1 , e2 , . . . , en }: A = [T ]E .
We say that the linear transformation T is a diagonalizable linear transformation if its standard matrix
A = [T ]E is a diagonalizable matrix.
Theorem 8. Suppose A is diagonalizable and A = P DP −1 where and D is diagonal. If B is the basis for Rn
formed from the columns of P , then D is the B-matrix for the linear transformation x 7→ Ax.
Using the notation T (x) = Ax, we have [T ]B = D so