Diagonalizability and the sum of eigenspaces
Statement
Let or , and let be a linear endomorphism of an -dimensional -vector space. For put . Call diagonalizable if has a basis of eigenvectors of (equivalently, the matrix of in some basis is diagonal).
Show that is diagonalizable if and only if , the sum running over the eigenvalues of .
Hint
First show that eigenspaces for distinct eigenvalues are in direct sum. Then compare a basis of eigenvectors with the eigenspaces.
Show solutionHide solution
Solution
Lemma. If are distinct and satisfy , then all .
*Proof, by induction on .* The case is trivial. For , apply : it maps to and kills . So , and by induction , hence for (as ). Then .
Consequently the sum of the eigenspaces is direct and .
() Let be a basis of eigenvectors, with . For each eigenvalue , let be the number of with . These are independent vectors of , so . Since , we get , hence equality.
() Suppose . Choose a basis of each and let be the union of these bases: it has vectors. It is linearly independent: a vanishing combination groups into one vector per eigenvalue with ; by the Lemma every , and then all coefficients vanish because each family is a basis of . So is a basis of made of eigenvectors, and is diagonalizable.
Conclusion. is diagonalizable iff .