Suppose that an $n \times n$ matrix has only real eigenvalues. Then $A$ is diagonalizable if and only if the dimension of each eigenspace is equal to the multiplicity of the corresponding eigenvalue.
Why do we need the eigenvalues to be real here? I'm reading the proof of this and it seems like the same argument could be applied even if we had complex eigenvalues.