Column Space of a Matrix

April 13, 2026

Problem

Find the column space of A = [[1,0],[0,1],[1,1]]. Describe which output vectors b make A·x = b solvable.

Explanation

Definition

The column space of an m×nm \times n matrix AA, written Col(A)\operatorname{Col}(A), is the span of its column vectors: Col(A)={Ax:xRn}Rm\operatorname{Col}(A) = \{A \mathbf{x} : \mathbf{x} \in \mathbb{R}^n\} \subseteq \mathbb{R}^m

It's a subspace of Rm\mathbb{R}^m (the output space). Its dimension is rank(A)\operatorname{rank}(A).

Key interpretation: Col(A)\operatorname{Col}(A) is exactly the set of vectors b\mathbf{b} for which Ax=bA \mathbf{x} = \mathbf{b} is consistent (has a solution). If bCol(A)\mathbf{b} \notin \operatorname{Col}(A), no x\mathbf{x} can produce it.

Step-by-step

A=(100111)A = \begin{pmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{pmatrix} (3 × 2 matrix; output space is R3\mathbb{R}^3).

Step 1 — Are the columns independent?

Columns: a1=(1,0,1)T\mathbf{a}_1 = (1, 0, 1)^T, a2=(0,1,1)T\mathbf{a}_2 = (0, 1, 1)^T.

Set c1a1+c2a2=0c_1 \mathbf{a}_1 + c_2 \mathbf{a}_2 = \mathbf{0}:

  • c1=0c_1 = 0 (first component),
  • c2=0c_2 = 0 (second component),
  • c1+c2=0c_1 + c_2 = 0 (third component).

Only the trivial solution — independent.

Step 2 — A basis for Col(A)\operatorname{Col}(A).

Since both columns are independent, the basis is {(1,0,1)T,(0,1,1)T}\{(1, 0, 1)^T, (0, 1, 1)^T\}.

rank(A)=2,Col(A)R3 is 2-dimensional.\operatorname{rank}(A) = 2, \quad \operatorname{Col}(A) \subseteq \mathbb{R}^3 \text{ is 2-dimensional.}

Step 3 — Describe the column space as an equation.

Any bCol(A)\mathbf{b} \in \operatorname{Col}(A) satisfies b=c1a1+c2a2\mathbf{b} = c_1 \mathbf{a}_1 + c_2 \mathbf{a}_2, i.e. b=(c1c2c1+c2)\mathbf{b} = \begin{pmatrix} c_1 \\ c_2 \\ c_1 + c_2 \end{pmatrix}

So b3=b1+b2b_3 = b_1 + b_2. The column space is the plane {(b1,b2,b3):b3=b1+b2}\{(b_1, b_2, b_3) : b_3 = b_1 + b_2\} in R3\mathbb{R}^3.

Geometric picture

In R3\mathbb{R}^3, we have a 2D plane through the origin with normal vector (1,1,1)(1, 1, -1) (from b1+b2b3=0b_1 + b_2 - b_3 = 0). Only target vectors b\mathbf{b} on this plane can be produced by AxA \mathbf{x}.

  • b=(1,2,3)\mathbf{b} = (1, 2, 3)? Check: 1+2=31 + 2 = 3 ✓. Solvable.
  • b=(1,2,5)\mathbf{b} = (1, 2, 5)? Check: 1+2=351 + 2 = 3 \ne 5 ✗. Not solvable.

Why the column space matters

  • Consistency test: Ax=bA \mathbf{x} = \mathbf{b} has a solution ⟺ bCol(A)\mathbf{b} \in \operatorname{Col}(A).
  • Surjectivity: AA is onto Rm\mathbb{R}^mCol(A)=Rm\operatorname{Col}(A) = \mathbb{R}^mrank(A)=m\operatorname{rank}(A) = m.
  • Least squares: when bCol(A)\mathbf{b} \notin \operatorname{Col}(A), we project b\mathbf{b} onto Col(A)\operatorname{Col}(A) to find the closest fittable target.

Column space vs. row space

Both have the same dimension: rank(A)=dimCol(A)=dimRow(A)\operatorname{rank}(A) = \dim \operatorname{Col}(A) = \dim \operatorname{Row}(A).

They live in different ambient spaces though: Col(A)Rm\operatorname{Col}(A) \subseteq \mathbb{R}^m, Row(A)Rn\operatorname{Row}(A) \subseteq \mathbb{R}^n. And they're related by Col(A)=Row(AT)\operatorname{Col}(A) = \operatorname{Row}(A^T).

Common mistakes

  • Using RREF columns as the basis. Row reduction changes the column space! Use original columns in pivot positions (identified by RREF) for the basis.
  • Confusing column space with column rank. The space is a set of vectors; the rank is its dimension.
  • Testing b\mathbf{b} wrong. To check if bCol(A)\mathbf{b} \in \operatorname{Col}(A), augment [Ab][A \mid \mathbf{b}] and row reduce; if the bottom row becomes [00c][0 \cdots 0 \mid c] with c0c \ne 0, then bCol(A)\mathbf{b} \notin \operatorname{Col}(A).

Try it in the visualization

A 3D plot shows the two column vectors as arrows from the origin. They span a plane — the column space. Drag a test point b\mathbf{b} around; it turns green when it lies on the plane (solvable) and red otherwise.

Interactive Visualization

Parameters

A = [[1,0],[0,1],[1,1]] (rank 2 plane in ℝ³)
1.00
2.00
3.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Column Space of a Matrix | MathSpin