SECTION 1
Historical Context & Motivation
Matrices are everywhere — from computer graphics to weather prediction. But for centuries, mathematicians wondered: what can a matrix actually do? When you multiply a matrix by different vectors, which outputs are possible, and which inputs give you zero? These questions led to two powerful ideas called the column space and the null space of a matrix.
1750s • Early Systems of Equations
1850s • Arthur Cayley Formalizes Matrices
1870s • Rank and Nullity Emerge
1900s–Today • Modern Applications
The central question is this: given a matrix A, what outputs can Ax produce, and which inputs x get "crushed" to the zero vector? Answering these two questions reveals the structure hiding inside every matrix.
SECTION 2
Core Principles & Definitions
Before we dive into column space and null space, let's make sure we're comfortable with a few building blocks. A matrix is a grid of numbers arranged in rows and columns. A vector is a list of numbers stacked in a column (think of it like a single column of the matrix). When you multiply a matrix A by a vector x, you get a new vector b. We write this as Ax = b.
Column Space (Col A)
Null Space (Nul A)
Linear Combination
Span
KEY TAKEAWAY
SECTION 3
Visual Explanation
Let's visualize what a matrix does. Imagine the matrix A as a machine that takes in a 2D vector (an input arrow) and produces a 2D output arrow. The diagram below shows how the columns of A determine the column space, and how certain input vectors land on the zero vector.
Notice the key relationship: the column space lives in the output space (it shows what the matrix can produce), while the null space lives in the input space (it shows which inputs get "squished" to zero). These two spaces together tell you almost everything about how a matrix behaves.
SECTION 4
Mathematical Framework
Now let's see the formal definitions. Suppose A is an m × n matrix with columns c₁, c₂, …, cₙ.
COLUMN SPACE DEFINITION
This means the column space is every possible linear combination of the columns of A. If a vector b is in Col(A), then the equation Ax = b has at least one solution.
NULL SPACE DEFINITION
The null space collects every input vector x that produces the zero vector when multiplied by A. The zero vector itself (x = 0) is always in the null space.
RANK–NULLITY THEOREM
Here, n is the number of columns. The dimension of the column space is called the rank, and the dimension of the null space is called the nullity. Together they always add up to the number of columns.
Why Does This Matter?
SECTION 5
How to Find Column Space & Null Space
To find these two spaces, we use a technique called row reduction (also known as Gaussian elimination). You convert the matrix to row echelon form (REF) or reduced row echelon form (RREF). The diagram below walks through the process for both spaces.
Important Warning
SECTION 6
Worked Example
Let's work through a complete example with a small matrix. We'll find both the column space and the null space step by step.
Find Col(A) and Nul(A) for a 3×3 Matrix
- 1
Step 1 — Write the matrix
Consider the matrix A = [[1, 2, 3], [2, 4, 6], [0, 1, 1]]. Written as rows: Row 1 is [1, 2, 3], Row 2 is [2, 4, 6], Row 3 is [0, 1, 1].A has 3 rows and 3 columns, so n = 3. - 2
Step 2 — Row reduce to RREF
Replace Row 2 with Row 2 − 2 × Row 1: [2 − 2, 4 − 4, 6 − 6] = [0, 0, 0]. The matrix becomes [[1, 2, 3], [0, 0, 0], [0, 1, 1]]. Swap Row 2 and Row 3: [[1, 2, 3], [0, 1, 1], [0, 0, 0]]. Replace Row 1 with Row 1 − 2 × Row 2: [1, 0, 1], [0, 1, 1], [0, 0, 0].RREF = [[1, 0, 1], [0, 1, 1], [0, 0, 0]]. Pivots are in columns 1 and 2. - 3
Step 3 — Find the column space
The pivot columns are columns 1 and 2. Go back to the original matrix A. Column 1 of A is [1, 2, 0] and column 2 of A is [2, 4, 1].Col(A) = Span{ [1, 2, 0], [2, 4, 1] }. The rank is 2. - 4
Step 4 — Find the null space
Column 3 is a free variable column (no pivot). Set x₃ = t (a free parameter). From the RREF, Row 2 gives x₂ + x₃ = 0, so x₂ = −t. Row 1 gives x₁ + x₃ = 0, so x₁ = −t. The solution is x = t × [−1, −1, 1].Nul(A) = Span{ [−1, −1, 1] }. The nullity is 1. - 5
Step 5 — Verify rank–nullity
We found rank = 2 and nullity = 1. Check: rank + nullity = 2 + 1 = 3 = n (the number of columns). ✓The rank–nullity theorem is confirmed!
SECTION 7
Column Space vs. Null Space — Key Differences
Column space and null space are two sides of the same coin. They describe different aspects of the same matrix, and understanding their differences is crucial.
| Feature | Column Space (Col A) | Null Space (Nul A) |
|---|---|---|
| Question it answers | What outputs can Ax produce? | What inputs make Ax = 0? |
| Lives in | Output space (ℝᵐ) | Input space (ℝⁿ) |
| Built from | Pivot columns of original A | Solutions to Ax = 0 |
| Dimension name | Rank | Nullity |
| Always contains | The zero vector (always reachable via x = 0) | The zero vector (A × 0 = 0 always) |
Side-by-side comparison of column space and null space
KEY TAKEAWAY
SECTION 8
Connections to Advanced Topics
Column space and null space are just the beginning. As you continue in linear algebra, you'll meet two more related spaces: the row space and the left null space. Together, these four spaces form what mathematician Gilbert Strang calls the "Fundamental Theorem of Linear Algebra."
| Concept | What You Know Now | Where It Leads |
|---|---|---|
| Column Space | Span of columns of A; the "reachable outputs" | Image/range of a linear transformation; orthogonal complement of left null space |
| Null Space | Solutions to Ax = 0; the "invisible inputs" | Kernel of a linear transformation; orthogonal complement of row space |
| Rank–Nullity | rank + nullity = number of columns | Generalizes to dimension theorem for linear maps between any vector spaces |
How introductory concepts connect to advanced linear algebra
In data science, the null space helps identify redundant features in a dataset. In engineering, it reveals the "degrees of freedom" in a mechanical system. The column space tells engineers which forces or loads a structure can withstand. These are not just abstract ideas — they have real, powerful applications.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Summary
Summary
Every matrix A has two fundamental spaces. The column space (Col A) is the set of all possible outputs b in the equation Ax = b — it's the span of the pivot columns of the original matrix. The null space (Nul A) is the set of all input vectors x that get mapped to zero — it's found by solving Ax = 0 after row reduction.
The dimensions of these two spaces are linked by the rank–nullity theorem: rank + nullity = n (the number of columns). A high rank means the matrix can reach many outputs; a high nullity means many inputs are "invisible" to the matrix. To find the column space, identify pivot columns via row reduction and select those columns from the original matrix. To find the null space, solve for the free variables in the RREF system.