Rank-Nullity Theorem — Definition, Formula & Examples
The Rank-Nullity Theorem states that for any matrix, the number of columns equals the rank (dimension of the column space) plus the nullity (dimension of the null space). It tells you exactly how the 'information' in a matrix splits between independent directions and free variables.
Let be an matrix. Then , where is the dimension of the column space and is the dimension of the null space (kernel) of .
Key Formula
Where:
- = An m × n matrix
- = Number of pivot columns (dimension of the column space)
- = Number of free variables (dimension of the null space)
- = Total number of columns of A
How It Works
To apply the theorem, row-reduce the matrix to echelon form. Count the pivot columns — that number is the rank. The remaining non-pivot columns correspond to free variables, and their count is the nullity. The theorem guarantees these two numbers always sum to , the total number of columns. This means if you know any two of rank, nullity, and , you can immediately find the third.
Worked Example
Problem: Find the rank and nullity of the matrix A, then verify the Rank-Nullity Theorem.
Given matrix: Consider the 2 × 4 matrix:
Find the rank: The matrix is already in echelon form. There are pivot positions in columns 1 and 3, so:
Find the nullity: Columns 2 and 4 are non-pivot (free variable) columns, so:
Verify the theorem: The matrix has n = 4 columns. Check that rank + nullity = n:
Answer: The rank is 2, the nullity is 2, and their sum equals the number of columns (4), confirming the Rank-Nullity Theorem.
Why It Matters
The Rank-Nullity Theorem is essential for determining whether a system has unique solutions, infinitely many solutions, or none. Engineers use it when analyzing degrees of freedom in mechanical systems, and it appears throughout linear algebra courses when studying invertibility, linear transformations, and eigenspaces.
Common Mistakes
Mistake: Using the number of rows instead of columns on the right side of the equation.
Correction: The theorem says rank + nullity = n, where n is the number of columns, not rows. The number of rows determines the maximum possible rank but does not appear directly in the formula.
