Rank–Nullity (Linear Maps)
The Rank–Nullity Theorem says that for a linear map out of a finite-dimensional space, the dimensions of its kernel and image always add up to the dimension of the domain. This one equation lets you compute any missing count and instantly rule out impossible injective or surjective maps.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
True or false: there exists an injective linear map .
A linear map can never be surjective. Which statement best explains why?
What you’ll be able to do
- State the Rank–Nullity Theorem precisely and identify which quantity is the nullity, the rank, and the dimension of the domain.
- Use the theorem to compute nullity from rank (or rank from nullity) when the domain dimension is known.
- Translate injectivity into 'nullity ' and surjectivity into 'rank ', and connect each to the kernel and image.
- Decide whether a linear map between given spaces can be injective or surjective using only dimension counting.
- Explain standard consequences, such as why cannot be injective and cannot be surjective.
In your course
· MATH2015 · Linear Algebra & Probability- Theorem 3.7Rank–Nullity TheoremLet and be linear. Then .
- Corollary 3.2 iff
The two subspaces every linear map carries
Let be a linear map between vector spaces over , with finite-dimensional. Two subspaces come along for free.
-
The kernel (or null space) is everything the map sends to zero: It lives inside the domain and is a subspace of . Intuitively it measures how much information the map collapses.
-
The image (or range) is everything the map actually hits: It lives inside the codomain and is a subspace of . It measures how much of the map reaches.
We give their dimensions short names:
- nullity — the size of what gets squashed to .
- rank — the size of what gets produced.
Here is the dimension (number of vectors in a basis) and is the zero vector of . Keep straight that the kernel is measured inside the domain and the image inside the codomain.
Rank–Nullity: dimension is conserved
The central fact is a kind of conservation law: the domain's dimension splits cleanly into what the map kills and what it keeps.
or in words,
Why it is believable. Pick a basis of (so nullity) and extend it to a basis of all of (so ). One shows that is a basis of . That image basis has vectors, so rank , giving . The directions inside the kernel contribute nothing new to the image; the remaining directions are exactly what survives.
How you actually use it. The equation has three slots, and knowing any two gives the third: For a map given by an matrix (a map ), the rank is the number of pivots after row reduction and the nullity is the number of free columns, and these always sum to , the number of columns.
Reading injectivity and surjectivity off dimensions
The theorem turns two qualitative questions — is one-to-one? onto? — into arithmetic.
Injective trivial kernel. A linear map is injective (one-to-one) exactly when , i.e. when (Reason: if then , so ; the kernel being trivial forces .)
Surjective full image. A linear map is surjective (onto) exactly when , i.e. when
Now combine these with Rank–Nullity. Because rank always, and rank :
- If , then nullity , so cannot be injective. (Too big a domain must collapse something.)
- If , then rank , so cannot be surjective. (Too small a domain cannot fill the codomain.)
These are counting arguments only — no formulas for needed.
Consequences and the square case
The two bounds above produce the classic quick verdicts.
- can never be injective. Here , so rank and nullity . The kernel is nontrivial, so some nonzero vector maps to .
- can never be surjective. Here rank , so the image is a proper subspace (at most a plane) of .
The square case with . Rank–Nullity reads rank nullity . So For a linear operator on a finite-dimensional space, injective, surjective, and bijective are all the same condition. (This fails for infinite-dimensional spaces: the shift map is injective but not surjective.)
Let be a linear map with finite-dimensional. Then ; equivalently, .
A linear map is injective if and only if , i.e. if and only if .
If is finite-dimensional and is linear, then is injective is surjective is bijective.
Worked examples
Let be given by the matrix . Find the rank and nullity of , verify the Rank–Nullity Theorem, and state whether is injective and/or surjective.
- 1
First identify the spaces. The matrix is , so it sends a vector in (three columns, three inputs) to a vector in (two rows). Thus , , and .
- 2
Find the rank by row reducing . Subtract from row : There is exactly one pivot (in column ), so .
- 3
Find the nullity with Rank–Nullity: (Check directly: the reduced system is , with free — two free variables, so a 2-dimensional kernel.)
- 4
Verify the theorem: The equation holds.
- 5
Decide injectivity: injective requires nullity , but here nullity , so is not injective. Decide surjectivity: surjective requires rank , but here rank , so is not surjective.
A linear map has rank . Find its nullity, and determine whether is injective and whether it is surjective.
Show, using dimension counting alone, that no linear map can be injective.