Linear Algebra
3.510 min read

Column Span and Rank

The column span (or column space) of a matrix AA is the span of its columns: the set of all vectors of the form AxA\mathbf{x} as x\mathbf{x} ranges over Rn\mathbb{R}^n. It is a subspace of Rm\mathbb{R}^m.

The rank of AA is the dimension of its column span: Rank(A)=dim(Col(A))\text{Rank}(A) = \dim(\text{Col}(A)). Rank measures how many "truly independent directions" the matrix can produce as output.

Rank equals the number of pivot columns in the echelon form of AA. A matrix has full rank when its rank equals min(m,n)\min(m, n).

Formal View

Definition 3.5 — Column Space and Rank
The column space of ARm×nA \in \mathbb{R}^{m \times n} is Col(A)={Ax:xRn}Rm\text{Col}(A) = \{A\mathbf{x} : \mathbf{x} \in \mathbb{R}^n\} \subseteq \mathbb{R}^m. The rank is Rank(A)=dim(Col(A))\text{Rank}(A) = \dim(\text{Col}(A)), equal to the number of pivots in echelon form.

Why This Matters

The column space is the set of all outputs a matrix can produce — it determines solvability.

  • Solvability of Ax=bA\mathbf{x} = \mathbf{b}: solvable iff bCol(A)\mathbf{b} \in \text{Col}(A)
  • In data science, rank determines how many "independent factors" explain a dataset
  • Rank of the Jacobian matrix determines degrees of freedom in robotic manipulators

Quiz

Question 1

Matrix AA has size 4×34 \times 3 and rank 2. The column space has dimension:

Common Mistakes

  • Confusing rank with the number of rows or columns — rank is the dimension of the column space.
  • Thinking columns of AA directly form a basis for Col(AA) — only the pivot columns do.