Show that every idempotent matrix is diagonalizable. What can you say if $A$ is tripotent ($A^3=A?$) What if $A^k=A?$
The first two cases is obvious since we can find the minimal polynomial to be $t(t-1)$ or $t(t-1)(t+1)$, which are products of distinct linear factors. However, what can we say about the general case $A^k=A?$ Any solutions, hints, or suggestions would be appreciated.