4.5.14 · D5Linear Algebra (Full)

Question bank — Rank-nullity theorem — proof

1,652 words8 min readBack to topic
Recall What the Basis Extension Theorem actually says (needed below)

Statement. If is a linearly independent set (e.g. a basis of a subspace) inside a finite-dimensional space , then there exist vectors such that is a basis of . Hypothesis that matters: the starting set must be independent, and must be finite-dimensional. The added are chosen precisely so independence is preserved — you cannot just grab any vectors. This is the tool that lets us extend a kernel basis to a full basis of .

Recall The proof steps this page refers to (from the parent)

The proof shows is a basis of in two moves. Spanning: any splits into a kernel part (mapped to ) plus a survivor part, so every output is a combination of the . Independence (the step doing real work): if then ; rewriting that via the and invoking independence of the full basis of forces every . Wherever this page says "the independence step," it means exactly this argument.


True or false — justify

Rank + nullity equals , the codomain.
False. It equals , the domain. The image can sit inside a huge with tons of room unused — that spare room is irrelevant to the count of how 's directions are sorted.
If , its rank can be at most .
True. The image is a subspace of , so ; then nullity , so a lot of the domain must be crushed.
A linear map can have rank .
False. Rank as well (the image is spanned by images of a basis of , which has only vectors), so rank .
If then is injective (one-to-one).
True. Nullity means only maps to ; since is linear, . This is exactly why the kernel measures failure of injectivity.
For with , injective implies surjective.
True. Injective gives nullity , so rank , meaning the image fills all of . This equivalence is special to equal finite dimensions — see Invertible Linear Maps and Isomorphisms.
If then can be surjective.
False. Rank , so the image never fills . You cannot ship out more independent directions than you fed in.
Nullity is always strictly less than .
False. The zero map has , so nullity (that is ) and rank . Every input direction is crushed.
Rank forces to be the zero map.
True. Rank means , so for every . That is the definition of the zero map.
If two maps have the same rank, they have the same kernel.
False. Same rank forces same nullity (both equal ), but equal dimension of kernel does not mean the same kernel subspace — different lines through the origin can share a dimension.
The independence of the survivors in guarantees is independent.
False in general — a map can collapse independent vectors. It holds here only because those were chosen outside the kernel via the Basis Extension Theorem; the independence step of the proof (recalled above) does real work to earn it.
Rank–nullity applies to on all polynomials (unbounded degree).
False as stated. That space is infinite-dimensional, and the counting proof needs (see Dimension of a Vector Space). The finite-degree version is fine.

Spot the error

"Rank number of columns of the matrix, so an matrix has rank ."
Wrong: rank number of independent columns (the dimension of the column space), which can be far less than if columns repeat or depend on each other.
"Since and , and they only meet at , we get ."
Wrong: lives in the codomain , not in , so they need not even be in the same space. The theorem adds dimensions, it does not split into these two subspaces.
" spans the image because there are of them and ."
Circular: you cannot use the conclusion () to prove spanning. The proof spans first (any collapses onto the since kernel parts vanish), then deduces the dimension.
"If then each , so ."
Wrong: a single sum of vectors equalling does not force each term to be unless the vectors are already known independent — which is exactly what we are trying to prove. The correct route pulls into and uses full-basis independence of .
"Extend the kernel basis by any vectors of ; they'll form a basis."
Wrong: arbitrary added vectors may be dependent on the kernel basis. The Basis Extension Theorem specifically supplies vectors that keep the set independent.
"Row rank and column rank can differ, so 'rank' in the theorem is ambiguous."
Wrong: row rank column rank always (see Rank of a Matrix (row vs column space)). Rank in rank–nullity is column rank, which equals row rank.

Why questions

Why does the sum land on and never on ?
Because we start by counting a basis of ( vectors) and sort those input directions into "crushed" () and "shipped independently" (). The codomain never enters the count.
Why must we choose the kernel basis first, then extend?
To cleanly isolate the crushed directions () so that the remaining are guaranteed to lie outside the kernel; that separation is what makes their images independent.
Why does each matter in the spanning step?
Writing any input in the full basis, the kernel-coefficient part maps to , so every output is built solely from the survivors — that is precisely why they span the image.
Why is finite-dimensionality of essential?
The proof extends a basis and counts a finite number of vectors (). With infinitely many basis vectors that arithmetic of dimensions breaks down and needs cardinality care.
Why does more nullity force less rank (for fixed domain)?
They are tied by : every extra crushed direction is one fewer surviving output direction — free variables trade off against pivots.
Why is rank number of pivots when we row-reduce?
Each pivot marks an independent surviving direction of the column space (the image), so counting pivots counts the rank; the non-pivot (free) columns correspond to the nullity.

Edge cases

The zero map : what are its rank and nullity?
Rank (image is just ) and nullity (everything is crushed, ). Their sum is . ✓
The identity map : what are its rank and nullity?
Rank (nothing is lost) and nullity (only maps to , ). Sum . ✓
A map from the zero space : does the theorem hold?
Yes trivially: , and both rank and nullity are , so . The empty basis case still obeys the law.
An isomorphism with : what does rank–nullity say?
Nullity and rank , so is injective and surjective — exactly the isomorphism condition.
Can nullity and rank both be zero at once?
Only if , i.e. . Otherwise their sum is the positive number , so at least one must be nonzero.
If is injective but , is it surjective?
No. Injective gives rank , so the image is a proper subspace — plenty of is never reached. Injective ≠ surjective when dimensions differ.