Subspaces of Rⁿ, Dimension, and Rank
A subspace is a set closed under addition and scalar multiplication. Every matrix carries two: the column space of all attainable outputs Ax, and the null space of all solutions of Ax = 0.
╌╌╌╌
Sets of vectors closed under the two linear operations, addition and scalar multiplication, recur throughout the subject: the span of a set of vectors, the outputs a matrix can produce, the solutions of a homogeneous system. Such a set is a subspace. Every matrix carries two of them, and basis, dimension, and rank measure their size. The general abstract vector space generalizes the construction; here everything lives inside .
Subspaces
A subspace is closed under linear combinations. The span of any set of vectors is the standard example: for in , the set contains , and a sum or scalar multiple of linear combinations is again a linear combination, so all three properties hold. Geometrically, with is a line through the origin, and with independent is a plane through the origin.
A line not through the origin is not a subspace: it fails the first property and is closed under neither operation. The whole space is a subspace of itself, and the set containing only the zero vector is the zero subspace.
Column space and null space
Two subspaces attach to every matrix, and they capture the two basic questions about : which are reachable, and which collapse to zero.
Because is a combination of the columns, lies in exactly when is consistent. The column space is Span of the columns, so it is described explicitly — its vectors are built directly from the columns. It equals all of only when the columns span .
The proof checks the three properties: , so ; if and , then and . The null space is described implicitly — a vector belongs only if it passes the test — so producing its members takes work. Solving and writing the answer in parametric vector form turns the implicit description into an explicit spanning set.
| Lives in | ||
| Defined by | the columns of (explicit) | the equation (implicit) |
| Membership of | is consistent | |
| Easy to | list a member | test a member |
Basis
A subspace holds infinitely many vectors, but a finite, non-redundant spanning set describes it completely.
Independence removes redundancy; spanning guarantees coverage. The columns of an invertible matrix form a basis for , and the simplest case is the standard basis , the columns of .
A basis for the null space
The parametric vector form of the solution set of yields a basis for directly: one basis vector per free variable.
A basis for the column space
For the column space, take the pivot columns of itself, not of an echelon form.
Row reduction changes the columns, yet it preserves every linear dependence relation among them: and have the same solutions when is an echelon form of . So the non-pivot columns of are the same combinations of pivot columns that they are in , hence redundant, while the pivot columns inherit the independence of the pivot columns of .
Coordinate systems
The point of choosing a basis, rather than any spanning set, is uniqueness of representation.
Uniqueness follows from independence: two representations subtract to a dependence relation, which must be trivial. The unique weights are the coordinates of relative to , collected into the coordinate vector
The map is a one-to-one correspondence between and that preserves linear combinations — an isomorphism. A -dimensional subspace of , whatever the ambient , looks and behaves like through its coordinate map; coordinate systems develop this in the abstract setting.
Dimension and rank
Every basis of a given subspace has the same number of vectors, so counting them is well defined.
Thus , a plane through in has dimension , and a line through has dimension . The dimension of is the number of free variables in , since each free variable contributes one basis vector.
Every column of is either a pivot column, contributing to the rank, or a non-pivot column, contributing a free variable and so a dimension of the null space. Since the columns are exhausted by these two kinds, their counts add to the number of columns.
A useful shortcut follows once the dimension of a subspace is known: it already determines how many vectors a basis needs.
With the right count, only one of independent
and spanning
needs checking; the
other follows.
The Invertible Matrix Theorem, continued
For a square matrix these dimension counts become new equivalent conditions for invertibility, extending the earlier list.1
By the Rank Theorem, full rank forces , so has only the trivial solution — exactly the earlier condition (d). An invertible matrix has the largest possible column space and the smallest possible null space.
Numerical note
Counting pivots to find rank is exact only with exact arithmetic. In floating point, a matrix entry stored inexactly can make a would-be zero appear nonzero (or the reverse), changing the apparent rank. The reliable notion in practice is the effective rank, read from the singular value decomposition: count the singular values that are large relative to the rounding level, rather than counting pivots.
Footnotes
- Lay, Linear Algebra and Its Applications, §2.9 — the Rank Theorem , the Basis Theorem, and the continuation of the Invertible Matrix Theorem with statements (m)–(r) on column space, rank, and null space; §2.8 supplies the definitions of subspace, column space, null space (Theorem 12), basis, and Theorem 13 on pivot columns. ↩
╌╌ END ╌╌