Column Space
Definition
The column space of a matrix , denoted , is the span of the columns of . For an matrix, is a subspace of .
Intuition
is just a weighted sum of the columns of , with weights given by . So the column space is exactly the set of all outputs the matrix can produce — the range of the linear map. The system is solvable precisely when lands inside this output set.
Formal Description
For any vector , the product is a linear combination of the columns of :
Thus for all , and the system is consistent if and only if .
Finding a basis. Row operations preserve the linear dependence relations among columns. The pivot columns of identify which columns of (not ) form a basis for .
Example.
The pivot columns are 1 and 3, so a basis for is
Rank-nullity theorem. For an matrix :
The dimension of equals the number of pivot columns; the dimension of equals the number of non-pivot (free) columns.
Applications
- Determining solvability of : consistent iff .
- Least-squares problems project onto when no exact solution exists.
- In neural networks, each layer maps inputs into the column space of its weight matrix.
Trade-offs
The column space depends on which columns are chosen as a basis — basis vectors are not unique, though the subspace they span is. Using the actual pivot columns of (not ) preserves the geometric meaning of the original data.