Foundations — Subspaces — four fundamental subspaces of a matrix
This page assumes nothing. We build every symbol the parent note leans on, in an order where each new idea only uses ideas already defined.
1. — the space where vectors live
Plain words: the little means "real numbers" (like , , ). The superscript counts how many slots each vector has.
The picture: is the flat page you draw on — every point is an arrow from the origin to that point. is the room you sit in. Higher we cannot draw, but the rules stay identical.
Why the topic needs it: the parent says two subspaces "live in " (inputs) and two "live in " (outputs). That sentence is meaningless until you know is just "the space of -slot vectors."

2. A vector, and the origin
The picture: the origin is the single anchor point where every arrow begins. The bold is that anchor itself, viewed as a (degenerate) arrow.
Why the topic needs it: the very first rule of a subspace is "contains ." A subspace is a "flat thing through the origin." Without you cannot even state rule 1.
3. Two vector operations: add and scale
The picture: addition is "tip-to-tail" — walk along the first arrow, then along the second; where you end is the sum. Scaling by stretches the arrow (if ), shrinks it (if ), or flips it around the origin (if ).
Why the topic needs it: subspace rules 2 and 3 are exactly these two operations. "Closed under addition/scaling" means: do these operations and you never leave the set. Every subspace is built only from adding and scaling.

4. Linear combination and
The picture: the span of one nonzero vector is the line through it. The span of two non-parallel vectors is the whole plane they sweep out. Span is "everywhere you can reach by mixing."
Why the topic needs it: the column space is defined as of the columns, and the row space as of the rows. Span is the word that turns "a few vectors" into "a whole subspace."
5. The dot product and "perpendicular"
Why this tool and not another? The topic's deepest claim is that the subspaces come in perpendicular pairs. To say "perpendicular" with numbers you need one gadget that returns precisely at a right angle — the dot product is that gadget. No angle-measuring, no protractor: a single sum tells you if two arrows meet at .
The picture: slide one arrow so both start at the origin. If they make a right angle, their dot product is . If they lean the same way it is positive; opposite ways, negative.

Why the topic needs it: the whole of "Section 4: Orthogonality" is written in dot-product language. " is orthogonal to every row" means every row dotted with gives .
6. The matrix and the product
Plain words: feed in the list ; each entry of says "how much of that column to use." Add the scaled columns and you get the output.
The picture: think of as a machine. In goes an -slot vector, out comes an -slot vector. The columns of are the machine's "building blocks"; is the recipe of how much of each block to stir in.
Why the topic needs it: everything is .
- Column space = all outputs (the reachable juices).
- Null space = inputs with (recipes that make nothing). Once you accept " = mix of columns," the definitions read themselves.
7. The transpose
The picture: tip the matrix onto its side. Row 1 becomes column 1.
Why the topic needs it: the row space is defined as — "the column space of the flipped matrix" — because the rows of are the columns of . Likewise the left null space is . Transpose is the trick that lets us reuse "column space" and "null space" language for rows.
8. Rank , pivots, and dimension
The picture: rank counts how many arrows actually point in new directions. If column 2 is just twice column 1, it adds no new direction — it does not raise the rank.
Why the topic needs it: the single number controls all four dimensions: See Rank of a Matrix and Rank–Nullity Theorem for the machinery; here we just note that without "rank" the parent's Section 3 has no vocabulary.
9. Direct sum and orthogonal complement
The picture: in , a plane through the origin and the line through the origin perpendicular to it are orthogonal complements — no shared arrow except , and any vector = (its shadow on the plane) + (its part along the line).
Why the topic needs it: Section 4's punchline is with . That single symbol packages "they fit together with no overlap and no gap."
Prerequisite map
Equipment checklist
Test yourself — each line is prompt ::: answer.
What does mean in plain words?
What is the difference between and ?
Draw/describe the sum of two vectors.
What is ?
Why is every span automatically a subspace?
What does tell you?
Compute in words.
What is , and why do we use it?
What single number fixes all four subspace dimensions?
What does mean?
Connections
- Subspaces — four fundamental subspaces of a matrix — the parent this page prepares you for.
- Rank of a Matrix — the number built in Section 8.
- Rank–Nullity Theorem — where comes from.
- Orthogonal Complements — deepens Section 9.
- RREF and Pivots — how pivots (Section 8) are found.
- Solving Ax=b — uses from Section 6.
- Least Squares & Projections — uses the dot product and .