Let $N$ be a 9 $\times$ 9 matrix for which $N^3 = 0$. Suppose that $N^2$ has rank 3. Prove that $N$ has rank 6.
I probably need to use the Rank-nullity theorem; dim ker $f +$ rk $f = 9$, and show that dim ker $f = 3$?
I understand that ker $f \subset$ ker $f^2 \subset$ ker $f^3$, so dim ker $f \leq$ dim ker $f^2 = 6$.
How do I proceed?