n = 5 columns, rank 3
nullity
2.
For a matrix with columns, . The rank is the dimension of the column space and the nullity is the dimension of the solutions of .
This page is easier if you are comfortable with:
The rank counts the independent directions the matrix produces; the nullity counts the independent directions it crushes to zero. Together they account for all input directions. A square matrix has nullity 0 exactly when its determinant is not zero.
To find the rank, row-reduce and count the non-zero rows (see row operations). The nullity is then minus that, and it tells you how many free parameters appear in solutions of systems of linear equations.
The theorem is also used in the study of dimensions of subspaces and in the geometry of bases.
The rank-nullity theorem says that the inputs a matrix keeps and the inputs it flattens to zero together account for every input direction.
The two bars add up to the number of columns.
These examples are worked by hand, step by step, so you can compare your own working.
A 3 × 4 matrix has rank 2. Find its nullity.
Find the rank and nullity of .
Find the rank and nullity of .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
nullity
2.
nullity
0.
nullity
2.
rank
4.
rank A + nullity A = n, the number of columns. Rank is the dimension of the column space; nullity is the dimension of {x : Ax = 0}.
5 columns, rank 3.
4 columns, rank 4.
Columns = 4, rank 2.
6 columns, nullity 2.
rows ✗
columns ✓
Domain dimension.
wrong ✗
= n ✓
Theorem.
column space ✗
null space ✓
Solutions of Ax = 0.
possible ✗
rank ≤ min(rows, cols) ✓
Bound.
Try each one on paper, then open the answer. Use the solver above to see the full working.
3
4
0
3
0
0
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
rank + nullity = number of columns.
The dimension of the column space.
The dimension of the null space.
Ax = 0 has only the zero solution.
dimension of a sum of subspaces.
change of basis.
More in Vectors and matrices and the formula sheets.