Eigenvalues of a matrix whose square is zero Let $A$ be a nonzero $3 \times 3$ matrix such that $A^2=0$. Then what is the number of non-zero eigenvalues of the matrix?
I am unable to figure out the eigenvalues of the above matrix.
P.S.:  how would the answer change if it were given that $A^3=0$?

Another approach is this one:
Since $A^2 = 0$, the polynomial $g(x) = x^2$ annihilates A (and this means that the Linear operator defined by $g(T)$ is the null operator). However, the minimal polynomial of A must divide every polynomial that annihilates $A$, so if $m(x)$ is such polynomial, $m$ must divide $g$. 
Hence, $m(x) = x^2$, because $A ≠ 0$.
Thus, the characteristical polynomial of $A$ is $p(x) = x^3$, because $p(x)$ has the same roots of $m(x)$ (why?), and $p(x)$ annihilates $A$ (by Cayley-Hamilton theorem).
In conclusion, the characteristical polynomial of $A$ has only a single root, $0$, and since every eigenvalue of $A$ is a root of it's characteristical polynomial, we have that 0 is the only eigenvalue of $A$.
