Question is: If $A$ is an $m$ by $n$ matrix, show that there is an $n$ by $n$ nonzero matrix $B$ such that $AB=0$ iff rank($A$) < $n$.
Another (similar) problem is: If $A$ is an $m$ by $n$ matrix, show that there is an $m$ by $m$ nonzero matrix $B$ such that $BA=0$ iff rank($A$) < $m$.
I was looking at some argument involving image and kernel, since these questions are from the chapter dealing them. I thought there would be some use for the rank-nullity theorem, but I cannot easily figure out the solution.