Let $A$ be a square matrix.
If $\operatorname{rank}(A)$ = $\operatorname{rank}(A^2)$
Prove that nullspace of $A$ = nullspace of $A^2$
The first thing I notice is that this $\implies$ $\operatorname{nullity}(A)=\operatorname{nullity}(A^2)$
Then I am kinda stuck, any hints?
Hint: Can you see (or prove) that the nullspace of a matrix $A$ is a subspace of the nullspace of $A^2$?