[Math] $A \in M_n$ is diagonalizable $\iff$ the minimal polynomial has distinct roots

diagonalizationlinear algebra

I have a proof ,written by someone, of : $A\in M_n$ is diagonalizable $\iff$ the minimal polynomial has distinct roots.
The proof says:
$A$ is diagonalizable $\iff$ A has n linearly independent eigenvectors $\iff$ A has n distinct eigenvalues…etc

I doubt the last $\iff$ , it is true for "$\Leftarrow$", but I don't see the forward direction!
Was it ture? If not, could someone continue the proof?

Best Answer

As pointed out in the comments, this is not true.

More specifically, the roots of the minimal polynomial $\mu_A(t)$ of a matrix $A$ are eigenvalues of $A$, but if the minimal polynomial contains irreducible non-linear factors, then $A$ is not diagonalizable. Vice versa, if $A$ is diagonalizable, then $\mu_A$ can be linearly decomposed.

An example can be a matrix $A\neq 0$ with minimal polynomial $\mu(t)=t^2(t-1)$, such as $$A=\begin{pmatrix}0& 1&0\\0 &0&0\\0&0&1\end{pmatrix}.$$ The minimal polynomial of such $A$ is $\mu_A(t)=t^2(t-1)$. The eigenvalues of $A$ are $0$ and $1$. However, the nonlinear factor $t^2$ in the minimal polynomial means that $A$ is not diagonalisable, even though the minimal polynomial does have distinct roots.