Given $T : V \to V$ linear operator on $V$ space vector such that $T^2 =T$ , prove that $T$ is Diagonalizable,
What i did is $f(x) = x^2-x = x (x-1)$ and so we know that $f(T) = 0$
then it must be that $m_T (x) | f(x)$ where $m_T(x)$ is the minimal polynomial such that $m_T(T) =0$.
so $x(x-1) | m_T(x)$ and $m_T (x) | x(x-1) = f(x)$ and so $m_T(x) = x(x-1)$ and because is the multiplication of linear factors then $T$ is Diagonalizable.
is this proof correct ?!
This proof is not completely correct as $x(x-1) | m_T(x)$ is false.
For example $0$ or $\operatorname{Id}_V$ are such that $0^2=0$ and $\operatorname{Id}_V^2=\operatorname{Id}_V$ but their minimal polynomials are $x$ and $x-1$.
But the proof is almost correct as from $ m_T(x)| x(x-1) $ there is only three different cases: