Column and Null Spaces of Matrices
Column Space, Null Space, and Basis for a Matrix
Column Space of a Matrix
The column space of a matrix A (denoted Col(A)) is the span of its column vectors. It is the set of all linear combinations of the columns.
For the matrix A with column vectors:
v1=123
v2=114
v3=141
v4=132
the column space is:
This is a subspace of R3 (since each column has 3 entries). The column space is straightforward to write but may not yet be in its simplest form — some vectors may be redundant.
Null Space of a Matrix
The null space of A (denoted Nul(A)) is the set of all vectors x such that Ax=0. For an m×n matrix, the null space is a subspace of Rn.
Computing the Null Space via Reduced Row Echelon Form
Since row operations do not change the solution set of Ax=0, the null space of A is equal to the null space of its reduced row echelon form (rref(A)):
Steps to Find RREF
Given A with columns as above, row operations produce:
Keep row 1: [1,1,1,1]
Replace row 2 with 2×row1−row2 → [0,1,−2,−1]
Replace row 3 with row3−3×row1 → [0,1,−2,−1]
Further operations eliminate the second row’s influence on the first row and zero out the third row:
New row 1: row1 − row2 → [1,0,3,2]
New row 3: row3 − row2 → [0,0,0,0]
The final reduced row echelon form of A is:
Identifying Pivot and Free Variables
In RREF:
Pivot columns contain leading 1’s (columns 1 and 2). The variables x1 and x2 are pivot variables.
Non-pivot columns (columns 3 and 4) correspond to free variables x3 and x4.
Pivot variables are determined by the free variables; they can take any value.
Solving for the Null Space
From rref(A):
x1+3x3+2x4=0 ⇒ x1=−3x3−2x4
x2−2x3−x4=0 ⇒ x2=2x3+x4
Thus any solution can be written as:
where x3,x4∈R.
The null space is the span of these two vectors:
This shows that Nul(A) contains more than just the zero vector; it is a 2‑dimensional subspace of R4.
Linear Independence and the Null Space
The columns of A are linearly independent if and only if the only solution to Ax=0 is the zero vector — that is, if Nul(A)={0}.
Conversely, if Nul(A) contains non‑zero vectors, the columns are linearly dependent.
Since Nul(A) here contains infinitely many vectors (including the zero vector), the four column vectors are linearly dependent. Therefore the original set of columns is not a basis for the column space (a basis requires both spanning and linear independence).
Basis for the Column Space
A basis for a subspace is a set of vectors that:
Span the subspace
Are linearly independent
Removing Redundant Vectors
The free variables x3 and x4 indicate which columns are redundant. Using the null space solutions:
Express v4 in terms of v1 and v2:
Set x3=0 and x4=−1.
Then x1=−3(0)−2(−1)=2, x2=2(0)+(−1)=−1.
This gives 2v1−v2=v4 (verify: 2(1,2,3)−(1,1,4)=(1,3,2)=v4).
Express v3 in terms of v1 and v2:
Set x4=0 and x3=−1.
Then x1=−3(−1)−2(0)=3, x2=2(−1)+0=−2.
This gives 3v1−2v2=v3 (verify: 3(1,2,3)−2(1,1,4)=(1,4,1)=v3).
Thus v3 and v4 are linear combinations of v1 and v2, so they do not add new directions. The column space can be simplified:
Checking Linear Independence of v1 and v2
Are these two vectors linearly independent? If one were a scalar multiple of the other, we would need a c such that (1,2,3)=c(1,1,4). This would require c=1 from the first entry, c=2 from the second — a contradiction. Hence no scalar multiple works; they are linearly independent.
Therefore the set ⎩⎨⎧123,114⎭⎬⎫ is a basis for the column space of A.
Summary of Key Results
Column space: Col(A)=span{v1,v2} (a plane in R3).
Null space: Nul(A)=span{(−3,2,1,0),(−2,1,0,1)} (a 2‑dimensional subspace of R4).
The original four columns are linearly dependent; v3 and v4 are redundant.
The basis vectors v1 and v2 are both spanning and linearly independent.
Why This Matters
Understanding the column space and null space reveals the structure of a matrix. The rank of A (dimension of the column space) is 2, and the nullity (dimension of the null space) is 2, satisfying the rank‑nullity theorem: rank(A)+nullity(A)=number of columns.
In the next step, these two basis vectors can be visualized as spanning a plane in R3, giving geometric insight into the linear transformation defined by A.

Ask anything
We've read this whole study set, so questions about it get the best answers.