$A \in \mathcal{M}_n(\mathbb{C})$ such that $A^2$ has got $n$ distinct non zero eigenvalues. Show that A is diagonalizable.
Attempt :
As $A^2$ has got $n$ distinct non zero eigenvalues. The characteristic polynomial of $A^2$ :$\mathcal{X}_{A^2}$ is :
$\mathcal{X}_{A^2}(X)=(-1)^n\prod\limits_{k=1}^n(X-\lambda_k)$ since $\mathcal{X}_{A^2}(A^2)=0$, I deduce that
$P(A)=0$ with $P(X)=\mathcal{X}_{A^2}(X^2)=\prod\limits_{k=1}^n(X-\sqrt{\lambda_k})(X+\sqrt{\lambda_k})$
As $P$ is composed with linear factors, we deduce the same for its minimal polynomial. Then A is diagonalizable.