For a linear map $T:V\to W$ with finite-dimensional domain, rank is $\dim\operatorname{range}T$ and nullity is $\dim\ker T$. The rank–nullity theorem gives $\operatorname{rank}T+\operatorname{nullity}T=\dim V$. For an $m\times n$ matrix of rank $r$, right nullity is $n-r$, while left nullity is $m-r$.