The Rank-Nullity Theorem
The Rank-Nullity Theorem is one of the most important results in linear algebra: for any matrix , The number of pivots plus the number of free variables always equals the total number of unknowns.
Geometrically: the domain is split into two parts. The part that "goes to zero" (the null space, of dimension Nullity()) and the part that "survives" and contributes to the output (of dimension Rank()). These two dimensions must add up to .
A corollary: if is , then Rank() . A matrix has rank at most 3; nullity at least 2.
Formal View
This is sometimes called the "Fundamental Theorem of Linear Algebra" (first part).
Interactive Visualization
Rank-Nullity Theorem
Why This Matters
Rank-Nullity connects geometry (dimension) to computation (number of pivots and free variables) and provides fundamental constraints.
- In control theory: Rank-Nullity tells you how many states are controllable vs. uncontrollable
- In statistics: Rank-Nullity explains degrees of freedom in linear regression
- Hyperplane corollary: any single linear equation defines a subspace of dimension
Quiz
Matrix is with rank 3. What is Nullity()?
A matrix with rank 3 has nullity 0.
Common Mistakes
- Using (number of rows) instead of (number of columns) in the formula Rank + Nullity = .
- Confusing Rank of (dim of column space) with number of rows — these can differ.