The Rank-Nullity Theorem is the crown jewel of linear map theory. This fundamental dimension formula connects the kernel and image, revealing that dimension is conserved under linear maps.
The Rank-Nullity Theorem is also known as the Dimension Theorem or the Fundamental Theorem of Linear Maps. It represents one of the deepest insights in linear algebra, connecting the "information lost" (kernel) with the "information preserved" (image) under a linear transformation.
The theorem's proof technique—extending a basis of a subspace to a basis of the whole space—is a fundamental method that appears throughout linear algebra. This "extend the small to the large" approach is central to many dimension-counting arguments.
This theorem provides the fundamental relationship between the dimensions of the kernel and image of a linear map. It is the cornerstone for understanding linear systems.
For a linear map from a finite-dimensional space :
Let be a linear map from a finite-dimensional vector space . Then:
Equivalently:
The proof uses the "extend a basis" technique. Let .
Step 1: Let be a basis for . Since , we can extend this to a basis of :
where .
Step 2: We claim is a basis for .
Spanning: Any equals for some . Write . Then:
since for each .
Linear independence: Suppose . Then:
So . Since is a basis for :
Rearranging: . Since is a basis of , all coefficients are 0. In particular, .
Conclusion: .
Think of as having "degrees of freedom." The kernel measures how many degrees of freedom get "collapsed" to zero. The image measures how many "survive" to the output. These must add up to .
Let be linear with . The following are equivalent:
By Rank-Nullity: .
So injective ⟺ surjective ⟺ bijective when dimensions are equal.
Let be linear.
Case 1: If , then .
By Rank-Nullity: .
So , meaning is not injective.
Case 2: If , then:
So , meaning is not surjective.
For any linear map :
Problem: Let be differentiation. Find rank and nullity.
Solution:
Problem: Let be defined by .
Solution:
Problem: Let be defined by where
Solution: Row reduce to find rank:
(2 pivot rows)
(2 free variables)
Problem: Can there exist an injective linear map ?
Solution: No! If were injective, then .
By Rank-Nullity: .
But . Contradiction!
The Rank-Nullity Theorem directly applies to understanding solutions of .
For an matrix with :
Problem: A matrix has . Describe solutions of .
Solution:
The solution space is 3-dimensional:
General solution: for
If is linear and is a subspace, then:
If satisfies (idempotent), then:
Step 1: Show .
Let . Then and for some .
Thus .
Step 2: Show .
For any :
Check:
So and .
Conclusion: By Rank-Nullity, dimensions add up, confirming .
For linear, there exists such that:
Moreover, .
For any linear map :
Taking dimensions: , which is the Rank-Nullity Theorem!
Problem: Find rank and nullity of .
Solution:
since .
By Rank-Nullity:
Problem: Is with injective?
Solution: Find : solve .
Adding equations: , so .
Combined with : , then .
Check: ✓, unless .
So and is injective.
Problem: If and , what can we say about ?
Solution: Let .
By Rank-Nullity:
Conclusion: must be even.
The theorem says , where is the domain. The codomain doesn't appear directly in the formula!
This is only true when ! A map can be injective but never surjective.
The theorem requires to be finite-dimensional! In infinite dimensions, the statement doesn't make sense as stated.
Remember: . The rank is bounded by both domain and codomain dimensions.
When : injective ⟺ surjective ⟺ bijective
For matrix: nullity = n - rank = # free variables
Problem 1
Let be linear with . What is ?
Problem 2
If is surjective, what is ?
Problem 3
Prove that if satisfies , then .
Problem 4
Let be defined by . Find and , and verify Rank-Nullity.
Problem 5
If and has , what are the possible values of ?
Problem 6
Let be linear operators with . Prove that .
Problem: Let be defined by . Find rank and nullity.
Solution:
= skew-symmetric matrices
= symmetric matrices
Verification: ✓
Problem: Let be defined by . Find rank and nullity.
Solution:
If , then for all .
Differentiating: .
So and .
By Rank-Nullity: .
is injective but not surjective (constant polynomials are not in ).
Problem: If has rank 3 and has rank 2, what can we say about ?
Solution:
Also,
Conclusion:
Problem: Let be defined by . Find rank and nullity.
Solution:
For :
has degree (leading term na_n x^{n-1}})
, so
, so
Check: ✓
For linear maps and :
Moreover (Sylvester's inequality):
For linear:
The sequence stabilizes: there exists such that
If is nilpotent ( for some ), then:
In particular, if , then .
If , then .
So .
By Rank-Nullity: .
Thus .
For with , the following are equivalent:
For the linear ODE where is a differential operator:
In Principal Component Analysis (PCA):
Controllability and observability depend on rank conditions:
In linear codes:
| Result | Statement |
|---|---|
| Rank-Nullity | |
| Equal dim | injective ⟺ surjective ⟺ bijective |
| cannot be injective | |
| cannot be surjective | |
| Rank bound | |
| Matrix | nullity = n - rank = # free variables |
| Idempotent |
Problem: Let be linear. Prove that for all :
In other words, the rank decreases by smaller and smaller amounts.
Problem: Let have dimension 6. Find all possible values of for a linear operator with .
Problem: Let be linear. Prove:
Give an example where equality holds and one where it fails.
After finding kernel and image separately, verify . This catches computational errors.
Before computing anything, compare and to determine what's possible (injective? surjective? neither?).
When , you only need to check ONE of: injective, surjective,, or . They're all equivalent!
Nullity = number of free variables = n - rank. Row reduce to find pivot columns, then count non-pivot columns.
The Rank-Nullity Theorem has a beautiful geometric meaning that helps build intuition.
Think of the linear map as "projecting" or "flattening" the domain:
Consider projecting onto the xy-plane:
Consider a rotation in :
The First Isomorphism Theorem gives .
Taking dimensions:
This is exactly Rank-Nullity! The theorem is the "dimension version" of the First Isomorphism Theorem.
In homological algebra, Rank-Nullity generalizes to the statement that:
is an exact sequence. The dimensions must "add up" correctly.
For an eigenvalue of :
Many linear algebra proofs use Rank-Nullity as a key step. Here are common techniques:
To show is an isomorphism when :
To prove something cannot exist:
To bound the dimension of a subspace:
With the Rank-Nullity Theorem mastered, you're ready for:
The Rank-Nullity Theorem will continue to appear throughout linear algebra—it's truly foundational. Mastering it now will pay dividends in every topic that follows.
It's the fundamental constraint on linear maps. It tells us that 'dimension lost' (kernel) plus 'dimension gained' (image) equals the starting dimension. Everything about existence and uniqueness of solutions follows from this.
For the matrix A: nullity = # free variables, rank = # basic variables. A solution exists iff b ∈ im(A). The solution is unique iff nullity = 0. The general solution is x = x_p + null(A).
The Rank-Nullity theorem can be seen as a special case of dimension formulas. For the map T, we're decomposing V based on what happens under T. The proof technique ('extend a basis') is the same.
The theorem needs modification. It holds for finite-dimensional V, but in infinite dimensions, both ker and im can be infinite-dimensional. Functional analysis handles these cases with concepts like Fredholm operators.
Yes! If T: V → W with dim(V) = dim(W), then T is an isomorphism iff ker(T) = {0} iff T is surjective. You only need to check one condition—the other follows automatically.
Think of the domain V as having n 'degrees of freedom'. Some are 'used up' by being sent to 0 (the nullity). The rest 'survive' to form the image (the rank). These must add up to n.
For a matrix A representing T, rank(A) = rank(T) = dim(im T) = column rank = row rank. The nullity equals the number of free variables, which is n - rank(A).
The First Isomorphism Theorem states V/ker(T) ≅ im(T). Taking dimensions: dim(V) - dim(ker T) = dim(im T), which is exactly the Rank-Nullity Theorem!
No! rank(T) = dim(im T), and im(T) is spanned by the images of a basis of V, so rank(T) ≤ dim(V). Similarly, rank(T) ≤ dim(W).
The statement 'dim(V) = rank(T) + nullity(T)' may not make sense as written. In functional analysis, one studies the 'index' of an operator: ind(T) = dim(ker T) - dim(coker T), which can be finite even when ker and coker are infinite-dimensional.