Row Space and Rank

Definition

For an matrix , there are two additional fundamental vector spaces beyond the column space and null space:

  • Row space : the column space of — the span of the rows of , a subspace of .
  • Left null space : the null space of — all with , a subspace of .

Intuition

A matrix has four fundamental subspaces that come in two orthogonal pairs: the row space and null space partition (the input space), while the column space and left null space partition (the output space). Rank is the “effective dimensionality” of the mapping — how many independent output directions the matrix can reach.

Formal Description

A basis for the row space can be read directly from : the non-zero rows (written as column vectors) with pivot entries form a basis.

The null space of is orthogonal to the row space: every vector in is orthogonal to every vector in . These two subspaces are orthogonal complements within , i.e. their dimensions sum to . Similarly, and are orthogonal complements within .

The dimensions of the column space and row space are equal:

This common value is the rank of :

When equality holds, is of full rank. For a square matrix of full rank, and is invertible.

Applications

  • Rank reveals the number of linearly independent constraints or equations in a system.
  • Full column rank is necessary and sufficient for to be invertible (uniqueness in least squares).
  • Rank deficiency signals multicollinearity in regression or redundant features in a dataset.

Trade-offs

Rank computed via RREF can be numerically unreliable for nearly-rank-deficient matrices. Numerical rank is better estimated as the number of singular values exceeding a threshold (SVD-based), at the cost of computation.