Canonical: https://knowlpedia.com/linear-algebra/rank-nullity-theorem/

# Rank–nullity theorem

For a linear map on a finite-dimensional space, dimension equals rank plus nullity.

**Rank–nullity theorem:** Let \(T:V\to W\) be a [linear map](https://knowlpedia.com/linear-algebra/linear-map/) between finite-dimensional [vector spaces](https://knowlpedia.com/linear-algebra/vector-space/). Define
\[
\begin{gathered}
\ker T=\{v\in V:T(v)=0\},\\
\operatorname{im}T=\{T(v):v\in V\}.
\end{gathered}
\]
Then
\[
\dim V=\dim(\ker T)+\dim(\operatorname{im}T).
\]

## Rank and nullity

In particular, the rank \(\operatorname{rank}(T)=\dim(\operatorname{im}T)\) and the nullity \(\operatorname{nullity}(T)=\dim(\ker T)\) satisfy \(\dim V=\operatorname{rank}(T)+\operatorname{nullity}(T)\).

## Remarks

The set \(\operatorname{im}T\) is the [image](https://knowlpedia.com/shared-foundations/image/) of the underlying function, and \(\ker T\) is the [preimage](https://knowlpedia.com/shared-foundations/preimage/) of \(\{0\}\). This identity is the basic dimension bookkeeping behind the structure of solution spaces to linear equations.
