Suppose $A$ is a real $n\times n$ matrix of rank $r$. Let $V$ be the vector space of all real $n\times n$ matrices $X$ such that $AX=O$. What is the dimension of $V$?
My working: We need matrices $X$ such that $AX=O$ should form the null space of $T$. Hence from rank nullity theorem Nullity $(T)=n^2-r$.
But the right answer is $n^2-nr$.
Please correct me and help me to solve this problem.