Suppose $A\in M_n(F)$ has two distinct eigenvalues $\lambda_1$ and $\lambda_2$ and that $dim(E_{\lambda_1})=n-1$ Prove $A$ is diagonalizable.
I'm wondering if there is some sort of theorem that can help as I really have no idea where to start. I believe $dim(E_{\lambda_1})=n-1$ has to mean $dim(E_{\lambda_2})=1$? But am still not sure how to proceed. Hints appreciated.