4.5.14 · D3Linear Algebra (Full)

Worked examples — Rank-nullity theorem — proof

1,835 words8 min readBack to topic

This is the drill-ground for the rank–nullity theorem. The theorem says one thing: where (dimensions that survive) and (dimensions crushed to ). See Kernel and Image of a Linear Map if either word feels unfamiliar.

Our goal here: hit every kind of situation the theorem can appear in, so no exam problem is a surprise.


The scenario matrix

Every rank–nullity problem is really a question about how many input directions collapse. The cases below cover all the shapes that can occur.

Cell Case class What makes it distinct Example
A Injective, nullity nothing crushed; image as big as domain Ex 1
B Surjective, rank image fills the codomain Ex 2
C General middle case ( nullity ) some crush, some survive Ex 3
D Zero map (fully degenerate) everything crushed, rank Ex 4
E Wide matrix (, forced nullity) more inputs than outputs Ex 5
F Tall matrix (, forced non-surjective) fewer outputs than inputs Ex 6
G Abstract space (not ) polynomials / functions Ex 7
H Real-world word problem translate a scenario into Ex 8
I Exam-style twist (solve for unknown dim) rank/nullity given, find one Ex 9
Figure — Rank-nullity theorem — proof

Worked examples

Cell A — Injective map, nothing crushed


Cell B — Surjective map, image fills the codomain


Cell C — General middle case

Figure — Rank-nullity theorem — proof

Cell D — The zero map (fully degenerate)


Cell E — Wide matrix (forced nonzero nullity)


Cell F — Tall matrix (forced non-surjective)


Cell G — Abstract space (polynomials)


Cell H — Real-world word problem


Cell I — Exam-style twist (solve for an unknown dimension)


Recall Quick self-test across the matrix

Injective means nullity equals what? ::: Surjective means rank equals what? ::: (the codomain's dimension) The zero map has rank and nullity? ::: rank , nullity A wide rank-1 matrix has nullity? ::: If and rank , nullity is? ::: Rank–nullity sums to or ? ::: (the domain)