Courses / Mathematics I
Linear Algebra

Kernel, Image, and Rank–Nullity

Two subspaces describe any linear transformation T : V W. The kernel (null space) is everything T sends to zero: It measures what the map collapses. The…

Mathematics I 378 words Free to read

What a Map Collapses and What It Reaches

Two subspaces describe any linear transformation T:VWT : V \to W.

The kernel (null space) is everything TT sends to zero: kerT={vV:T(v)=0}.\ker T = \{v \in V : T(v) = \mathbf{0}\}. It measures what the map collapses. The kernel is a subspace of the domain. A crucial fact: TT is injective (one-to-one) exactly when its kernel is just {0}\{\mathbf{0}\} — if only the zero vector maps to zero, no two distinct inputs can collide.

The image (range) is everything TT can produce: imT={T(v):vV}.\operatorname{im} T = \{T(v) : v \in V\}. It measures what the map reaches. The image is a subspace of the codomain, and TT is surjective (onto) exactly when its image is all of WW. The dimension of the image is the rank of TT; the dimension of the kernel is the nullity.

These are tied by the Rank–Nullity Theorem, one of the central results of linear algebra: dim(kerT)+dim(imT)=dimV,\dim(\ker T) + \dim(\operatorname{im} T) = \dim V, i.e. nullity + rank = dimension of the domain. Every dimension of the input is accounted for: some directions get collapsed (the kernel) and the rest survive into the image. If a map from R5\mathbb{R}^5 has a 2-dimensional kernel, its image is exactly 3-dimensional — the numbers must add up.

This theorem instantly settles many questions. A linear map between spaces of the same finite dimension is injective if and only if it is surjective (if and only if it is bijective) — because rank + nullity is fixed, one forces the other. This is why a square matrix is invertible exactly when its kernel is trivial.

Common pitfall: confusing the kernel (in the domain, what maps to zero) with the image (in the codomain, what is reached), and forgetting that rank and nullity must sum to the domain's dimension. If a map from an nn-dimensional space has a kk-dimensional kernel, its image is (nk)(n - k)-dimensional — not free to be anything. Rank–Nullity is a hard accounting constraint, not a rough guide.

An input space split into an accent kernel band (collapsed to the zero point) and the complementary directions surviving into the image, their dimensions summing to the domain dimension.

dim(kerT)+dim(imT)=dimV\dim(\ker T) + \dim(\operatorname{im} T) = \dim V

Kernel, Image, and Rank–Nullity

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes
Start Mathematics I free

Linear Algebra