Rank–Nullity Theorem
Statement
Let be a linear map between finite-dimensional vector spaces over a field . Then:
Equivalently, .
Visualization
Consider the linear map given by the matrix:
Step 1 — Row reduce to find the image (column space).
Two pivot columns .
Image basis: columns 1 and 2 of , i.e., .
Step 2 — Find the null space.
Free variable: . Back-substituting: , .
Dimension table:
| Dimension | |
|---|---|
| 2 | |
| 1 | |
| 3 | |
| rank + nullity | ✓ |
Proof Sketch
Choose a basis for and extend it to a basis of . One shows that is a basis for : they span (since ) and are linearly independent (any linear dependence implies , forcing all ). Hence and .
Connections
- Cayley–Hamilton TheoremCayley–Hamilton TheoremEvery square matrix satisfies its own characteristic polynomialRead more → — the minimal polynomial degree and kernel dimensions are intertwined.
- Spectral TheoremSpectral TheoremEvery real symmetric matrix is orthogonally diagonalizableRead more → — the nullity of is the geometric multiplicity of eigenvalue .
- Cramer's RuleCramer's RuleExplicit determinant formula for the solution of a linear systemRead more → — Cramer's rule applies precisely when , i.e., .
- Determinant MultiplicativityDeterminant MultiplicativityThe determinant of a product equals the product of determinantsRead more → — if and only if if and only if .
Lean4 Proof
/-- Rank–nullity theorem: for a linear map f : V → W between finite-dimensional
K-vector spaces, the finrank of the image plus the finrank of the kernel
equals the finrank of the domain. -/
theorem rank_nullity {K V W : Type*}
[DivisionRing K] [AddCommGroup V] [Module K V]
[AddCommGroup W] [Module K W]
[FiniteDimensional K V] (f : V →ₗ[K] W) :
Module.finrank K (LinearMap.range f) +
Module.finrank K (LinearMap.ker f) =
Module.finrank K V :=
LinearMap.finrank_range_add_finrank_ker fReferenced by
- Linear Programming DualityOptimization
- Matrix-Tree TheoremGraph Theory
- Cayley–Hamilton TheoremLinear Algebra
- Singular Value DecompositionLinear Algebra
- Determinant MultiplicativityLinear Algebra
- Cramer's RuleLinear Algebra
- Spectral TheoremLinear Algebra
- Cauchy–Binet FormulaLinear Algebra
- Lagrange InterpolationLinear Algebra
- Gram–Schmidt OrthogonalizationLinear Algebra
- Sylvester Determinant TheoremLinear Algebra
- LU DecompositionLinear Algebra