Null Space — Definition, Formula & Examples
The null space of a matrix is the set of all vectors that produce the zero vector when multiplied by . In other words, it collects every solution to the homogeneous equation .
Given an matrix , the null space (or kernel) of is the subspace . It is a subspace of and always contains at least the zero vector.
Key Formula
Where:
- = An m × n matrix
- = A vector in ℝⁿ
- = The zero vector in ℝᵐ
How It Works
To find the null space, set up the equation and row-reduce the augmented matrix to reduced row echelon form. Identify the free variables (columns without pivots) and express each pivot variable in terms of the free variables. Write the general solution as a linear combination of vectors, each scaled by one free variable. Those vectors form a basis for the null space. If there are no free variables, the null space contains only the zero vector, meaning has only the trivial solution.
Worked Example
Problem: Find the null space of the matrix A = [[1, 2, 1], [2, 4, 0]].
Set up the system: Write the augmented matrix for Ax = 0 and row-reduce.
Reach reduced row echelon form: Divide R₂ by −2, then eliminate above the pivot in column 3.
Express the general solution: Pivots are in columns 1 and 3, so x₂ is free. Let x₂ = t. Then x₁ = −2t and x₃ = 0.
Answer: The null space of A is spanned by the vector (−2, 1, 0), forming a one-dimensional subspace of ℝ³.
Why It Matters
The dimension of the null space (called the nullity) directly determines how many free variables a linear system has. In differential equations and data science, the null space reveals redundancies among variables. The rank-nullity theorem ties it to the column space, making it essential for understanding when systems have unique versus infinitely many solutions.
Common Mistakes
Mistake: Confusing the null space with the set {0} whenever a matrix is square.
Correction: A square matrix can still have a nontrivial null space if it is singular (determinant = 0). Only invertible matrices have a null space consisting of just the zero vector.
