[Math] Prove matrix $A$ is diagonalizable if and only if each eigenvalue has equal geometric and algebraic multiplicity.

diagonalizationeigenvalues-eigenvectorslinear algebra

Prove: If $A$ is an $n\times n$ matrix with distinct eigenvalues $\lambda_1, \dots, \lambda_k$, then $A$ is diagonalizable if and only if $g_{\lambda_i}=a_{\lambda_i}$ for $1\le i \le k$.

I have seen and understood a proof for $\sum g_{\lambda_i}=n=\sum a_{\lambda_i}$ but nothing for the equality of each distinct eigenvalue.

Best Answer

Hint for one direction: If $A$ is diagonalizable as $A=PDP^{-1}$, then the characteristic polynomial of $A$ is the same as the characteristic polynomial of $D$ (why?). The latter is easy to compute and allows you to describe the algebraic multiplicities. The geometric multiplicities are also easy to describe, since you have all the eigenvectors (columns of $P$).

Hint for the other direction: if all the geometric and algebraic multiplicities match up, then you are able to construct an eigenbasis for $\mathbb{R}^n$ and directly build your diagonalization.