Use rank plus nullity equals the number of columns
State r + (n - r) = n and read the nullity off it. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
- - Forward. From the shape and the rank, the nullity is. No elimination needed beyond finding.
- - Backward. From the nullity, the rank is. This is how you answer "how many independent columns" when the question is phrased in terms of solutions.
The same computation on the transpose gives the other side:
The transpose is, so its "columns" are's rows, and its nullity is the left nullspace.
The argument is a partition, not a computation.
Elimination sweeps left to right and puts a pivot in a column exactly when that column is not a combination of the columns to its left. At the end:
- - columns are pivot columns — each one is genuinely new;
- - the remaining columns are free columns — each is a combination of the pivot columns.
Since every column is one or the other, and there are columns,
And each free column contributes exactly one special solution: set that free variable to 1, the other free variables to 0, and solve for the pivot variables. The special solutions are independent — each has a 1 in a different free position — and they span the nullspace, because every solution is determined by its free entries. So the nullity, which is the nullspace dimension, equals the number of free columns, which is.
That is why the theorem is not a coincidence: both sides count the same object.
Question.. Find the rank, the nullity, and a basis for the nullspace, and check the count.
Step 1. Subtract twice row 1 from row 2:. Two pivots (columns 1 and 3), so.
Step 2., so the nullity is: one free column, column 2.
Step 3. Set, the free variable. Row 2 gives; row 1 gives, so. The special solution is.
Check.. Correct, and the count holds.
One free variable, one special solution, a line of solutions. Every part of that sentence comes from the same number.
- State r + (n - r) = n and read the nullity off it
- Compute the nullity of a specific matrix by counting pivots
- Apply the same counting to the transpose
<ol class="steps"> <li, rank 3 — nullity? <em>.)</em></li> <li, rank 2 — nullity? <em>.)</em></li> <li>An matrix with nullity 0 — what do you know? <em>(Full column rank, so since it is square, it is invertible.)</em></li> <li, rank 3 — what is? <em>.)</em></li> <li>Can a matrix have nullity 0? <em>(No: rank would have to be 5, impossible with three rows.)</em></li> </ol>
Answers
- 1. 0.
- 2. 4.
- 3. It is invertible.
- 4. 5 — the left nullspace, using the row count.
- 5. No: the nullity is and, so the nullity is at least 2.