Column Space & Null Space
The columns of a matrix span its column space, the set of reachable outputs. The null space contains all inputs that map to zero. A singular matrix collapses the plane onto a line.
Cyan and rose arrows are the two columns; their span is the column space. The dashed rose line is the null space, the inputs that map to zero. A singular matrix loses rank, so the plane collapses onto a line or a point.
What you are seeing
Color the first column cyan and the second column rose. Their span is the column space.
The null space is the set of vectors x with A x = 0. It is drawn as a rose line when the matrix is singular.
Rank is the dimension of the column space; nullity is the dimension of the null space. For a 2×2 matrix, rank + nullity = 2.
Why it matters
Column space tells you which equations A x = b are solvable. Null space describes the ambiguity in the solution and is central to least squares, control theory, and machine learning.
Complexity & details
For 2×2, rank follows from the determinant. In general, Gaussian elimination costs O(m n min(m,n)).
Frequently asked questions
What does a zero determinant mean geometrically?+
The transformation squashes the plane into a line or a point, so information is lost and the map is not invertible.
Why is rank + nullity = n?+
Every input direction either contributes to the output (rank) or is mapped to zero (nullity). The two counts partition the domain dimension.