Proof of the Rank-Nullity Theorem
We prove: if is linear and is finite-dimensional, then .
Main proof
Let , , and let be a basis for .
By the basis extension theorem, extend to a basis for :
is a basis for , where .
Claim: is a basis for .
Spanning: Let . Then for some . Write . Then
Since , . So .
Independence: Suppose . Then
so . Write this as a linear combination of the kernel basis:
Rearranging: . Since is a basis for (hence linearly independent), all coefficients are zero. In particular, .
Therefore is a basis for , so
Rearranging: .
Worked examples illustrating the proof
, .
Step 1: . Basis for kernel:
So .
Step 2: Extend to a basis of by adding .
Step 3: is a basis for .
So rank . Check: .
, .
, .
Extend: is a basis for , with , , .
is a basis for .
rank . Check: .
, , .
, .
Extend: is a basis for .
is a basis for .
rank . Check: .
, , .
, . No kernel basis to extend.
is a basis for .
rank . Check: .
, , .
, .
Extend: is a basis for .
is a basis for (the column space).
rank . Check: .
The proof strategy is beautifully simple:
- Find a basis for (size ).
- Extend to a basis for all of (total size , added vectors).
- Show the images of the added vectors form a basis for .
The kernel vectors contribute nothing to the image (they map to ), while the remaining vectors map to an independent spanning set.
The Rank-Nullity Theorem says the sequence
is a short exact sequence of vector spaces. The dimension formula is the statement that dimensions are additive across short exact sequences. This generalizes to the theory of exact sequences in abelian categories.
The first isomorphism theorem gives . Therefore:
This is perhaps the most conceptual proof of the Rank-Nullity Theorem.
Does satisfy for some ?
: the matrix is with . So rank , meaning is surjective. Yes, a solution exists (and it is unique since nullity ).
For a matrix , the Rank-Nullity Theorem applied to gives rank nullity. Here rank is the column rank. A separate argument shows row rank = column rank, giving a single notion of "rank."
If is linear, then nullity. So is at least 2-dimensional. This "pigeonhole principle for linear maps" is a consequence of Rank-Nullity.
For with :
- Existence: iff rank rank.
- Uniqueness: the solution is unique iff nullity, i.e., rank.
- Number of free variables: rank.
The Rank-Nullity Theorem is the fundamental balance equation of linear algebra: the "input dimension" splits into "information preserved" (rank) plus "information lost" (nullity). This principle permeates all of linear algebra and extends to exact sequences in homological algebra.