Skip to content
The book

Bases, dimension, rank–nullity

Why this is asked: Rank–nullity plus 'rank is unchanged by field extension' answers most of these. Watch the direction of the rank inequalities for products.

In one sentence

Dimension is a statement about a set and a field, rank–nullity is the one theorem that constrains everything else, and rank behaves badly under every operation candidates expect it to respect.

Why the exam asks it

Because linear algebra is the part of the syllabus where a candidate is most likely to be confident and wrong. The definitions are familiar from undergraduate work, so the paper does not test them; it tests the base field, the failure of rank to be additive or symmetric, and the places where finite-dimensional intuition silently assumes finite dimension.

The idea

A vector space over a field FF. A basis is a linearly independent spanning set; every basis of a given space has the same cardinality, and that is the dimension.

Three facts that get used constantly and are worth stating precisely, all in finite dimension:

  • Any linearly independent set can be extended to a basis.
  • Any spanning set contains a basis.
  • In a space of dimension nn, any nn independent vectors form a basis, and so do any nn spanning vectors. Getting the count right does half the work.

The base field is part of the question

the set over the field dimension ℂ ℂ 1 ℂ ℝ 2 basis {1, i} ℝ ℚ infinite M₂(ℂ) ℂ 4 M₂(ℂ) ℝ 8 "Dimension" is meaningless until the field is named. The stem always names it; read it.
The same set has different dimensions over different fields. ℂ is one-dimensional over itself and two-dimensional over ℝ.

C\mathbb{C} has dimension 11 over C\mathbb{C} and dimension 22 over R\mathbb{R}, with basis {1,i}\{1, i\}. R\mathbb{R} over Q\mathbb{Q} is infinite-dimensional. M2(C)M_2(\mathbb{C}) has dimension 44 over C\mathbb{C} and 88 over R\mathbb{R}.

This is not a curiosity; it is a standing trap. An option saying "the dimension is nn" is incomplete until the field is named, and the stem always names it.

Rank–nullity

For T:V→WT : V \to W linear with VV finite-dimensional,

dim⁡V=rank⁡(T)+nullity⁡(T).\dim V = \operatorname{rank}(T) + \operatorname{nullity}(T).
V ker T dimension = nullity any complement dimension = rank W im T dimension = rank 0 isomorphism collapses dim V = rank + nullity — the kernel is exactly what the map forgets.
Rank–nullity in one picture: the kernel is exactly what the map forgets, and any complement of it maps isomorphically onto the image.

The proof is the picture: choose a basis of ker⁡T\ker T, extend it to a basis of VV, and the added vectors map to a basis of the image. Note the theorem is about dim⁡V\dim V, the domain — not the codomain. Options that put dim⁡W\dim W there are a standard misdirection.

Two immediate consequences, both requiring dim⁡V=dim⁡W\dim V = \dim W finite:

  • TT injective   ⟺  \iff TT surjective   ⟺  \iff TT bijective.

That equivalence is false in infinite dimensions, and the counterexample is worth having. On the space of polynomials, T(p)=xp(x)T(p) = xp(x) is injective and not surjective, while differentiation is surjective and not injective. On ℓ2\ell^2 the shift operators do the same job.

Dimensions of sums

dim⁡(U+W)=dim⁡U+dim⁡W−dim⁡(U∩W).\dim(U + W) = \dim U + \dim W - \dim(U \cap W).

Equality dim⁡(U+W)=dim⁡U+dim⁡W\dim(U+W) = \dim U + \dim W holds exactly when U∩W={0}U \cap W = \{0\}, that is when the sum is direct. Note also that U∪WU \cup W is a subspace only when one contains the other — the union is almost never a subspace, and the sum is what you want.

How rank behaves

  • rank⁡(A)=rank⁡(AT)\operatorname{rank}(A) = \operatorname{rank}(A^T): row rank equals column rank.
  • rank⁡(AB)≤min⁡(rank⁡A,rank⁡B)\operatorname{rank}(AB) \le \min(\operatorname{rank}A, \operatorname{rank}B).
  • Sylvester: rank⁡(A)+rank⁡(B)−n≤rank⁡(AB)\operatorname{rank}(A) + \operatorname{rank}(B) - n \le \operatorname{rank}(AB) for n×nn \times n matrices.
  • rank⁡(A+B)≤rank⁡A+rank⁡B\operatorname{rank}(A + B) \le \operatorname{rank}A + \operatorname{rank}B — an inequality, never an equality.

And two failures worth committing to memory. With A=(1000)A = \begin{pmatrix}1&0\\0&0\end{pmatrix} and B=(0100)B = \begin{pmatrix}0&1\\0&0\end{pmatrix}:

AB=(0100),BA=(0000),AB = \begin{pmatrix}0&1\\0&0\end{pmatrix}, \quad BA = \begin{pmatrix}0&0\\0&0\end{pmatrix},

so rank⁡(AB)=1\operatorname{rank}(AB) = 1 while rank⁡(BA)=0\operatorname{rank}(BA) = 0. Rank is not symmetric in the product. And (1000)+(0001)=I\begin{pmatrix}1&0\\0&0\end{pmatrix} + \begin{pmatrix}0&0\\0&1\end{pmatrix} = I has rank 22 from two matrices of rank 11, so rank is not additive either — though here it happens to hit the upper bound.

Where intuition breaks

"The dimension of Cn\mathbb{C}^n is nn." Over C\mathbb{C}, yes; over R\mathbb{R} it is 2n2n. This is the base field dependence trap and it appears in some form most years.

"The union of two subspaces is a subspace." Take the two coordinate axes in R2\mathbb{R}^2: (1,0)(1,0) and (0,1)(0,1) are both in the union and their sum is not. It is a subspace exactly when one contains the other.

"rank⁡(AB)=rank⁡(BA)\operatorname{rank}(AB) = \operatorname{rank}(BA)." The pair above gives 11 and 00. Tempting because trace does satisfy tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA), and the two facts get merged. Trace is symmetric; rank is not.

"rank⁡(A+B)=rank⁡A+rank⁡B\operatorname{rank}(A+B) = \operatorname{rank}A + \operatorname{rank}B." Only an inequality, and it can fail on both sides: A+(−A)=0A + (-A) = 0 has rank 00.

"A2=0A^2 = 0, so A=0A = 0." (0100)\begin{pmatrix}0&1\\0&0\end{pmatrix}. There are no zero divisors in a field and plenty among matrices, which is the whole difference.

"TT injective, so TT is surjective." True when dim⁡V=dim⁡W<∞\dim V = \dim W < \infty, false otherwise. Multiplication by xx on the polynomial space is the standard witness. A hypothesis dropped, and the hypothesis is finite dimensionality — easy to lose because the paper rarely states it in so many words.

"A proper subspace has strictly smaller dimension." Finite-dimensionally, yes. In infinite dimensions a proper subspace can have the same dimension: the even-indexed sequences inside ℓ2\ell^2, or polynomials of even degree inside all polynomials.

"dim⁡(U+W)=dim⁡U+dim⁡W\dim(U + W) = \dim U + \dim W." Only when the intersection is trivial. Two distinct planes through the origin in R3\mathbb{R}^3 each have dimension 22, and their sum is all of R3\mathbb{R}^3, dimension 33, not 44.

The exam's angle

  1. Read the field first. If the stem says "as a vector space over R\mathbb{R}" and the space is complex, the dimension doubles, and that is usually the entire question.
  2. Count. Most basis questions reduce to comparing a number of vectors against a dimension. nn independent vectors in an nn-dimensional space are a basis; you do not need to check spanning separately.
  3. Reach for rank–nullity whenever a kernel or an image appears. It is the only equation available, so it is almost always the intended route.
  4. For any claim about rank of a product or sum, test with the two 2×22\times2 matrices above. They are small enough to multiply in your head and they break most of what can be claimed.
  5. Ask whether finite dimensionality is being used. Injective-implies-surjective, proper subspaces being smaller, and every subspace having a complement of positive codimension all need it.

The night before

  • Dimension depends on the field. C\mathbb{C} over R\mathbb{R} has dimension 22; R\mathbb{R} over Q\mathbb{Q} is infinite-dimensional.
  • Rank–nullity: dim⁡V=rank⁡+nullity⁡\dim V = \operatorname{rank} + \operatorname{nullity}, with VV the domain.
  • Finite dimension, equal dimensions: injective   ⟺  \iff surjective   ⟺  \iff bijective. Fails in infinite dimensions — multiplication by xx on polynomials.
  • dim⁡(U+W)=dim⁡U+dim⁡W−dim⁡(U∩W)\dim(U+W) = \dim U + \dim W - \dim(U\cap W). The union is a subspace only if one contains the other.
  • Row rank == column rank. rank⁡(AB)≤min⁡\operatorname{rank}(AB) \le \min, and Sylvester bounds it below.
  • rank⁡(AB)≠rank⁡(BA)\operatorname{rank}(AB) \ne \operatorname{rank}(BA) in general — 11 and 00 for the standard pair. But tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA) always.
  • Rank is subadditive, not additive.
  • Independent sets extend to bases; spanning sets contain bases.

See it move

Rank–nullity, used the way the exam uses itinteractive

This visual is part of Trap Analysis

Three questions answered from one identity — including the bound most candidates get backwards.

Unlock interactive visuals

The trap here

“An injective linear operator on a vector space is surjective” — false

The right shift on ℓ2:(x1,x2,… )↦(0,x1,x2,… )\ell^{2}: (x_{1}, x_{2}, \dots) \mapsto (0, x_{1}, x_{2}, \dots)

Injective but misses everything with a non-zero first coordinate. Rank–nullity needs finite dimension.

More on this →

Check yourself — select all that apply

Let B be a 3×5 matrix with entries from Q\mathbb{Q}. Assume that {v∈R5v \in \mathbb{R}^{5} | Bv = 0} is a three-dimensional real vector space. Which of the following statements are true?

More in Vector Spaces and Linear Maps

Take it further

Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.

Next: Linear transformations, matrix representation, change of basis

Create a free account to keep your place and have this feed your study plan.

ShareWhatsAppTelegram

Open this in the full syllabus view · Unit 1