Does there exist a $2×2$ matrix such that $A^2 \neq 0$ but $A^3=0$? Prove or disprove it.
I figured out that if such matrix exists, then A cannot be invertible, and because A cannot be a zero matrix (easily proven), A must have rank $1$. This can be seen as an extension question of nilpotent matrices. More generally, does there exist a $n × n$ matrix such that $A^n \neq 0$ but $A^{n+1} = 0$?
By Cayley Hamilton theorem, the minimal polynomial divides the characteristic polynomial. The characteristic polynomial of a $n\times n$ matrix is degree $n$. Thus the minimal polynomial cannot be degree $n+1$.