Rank, Nullity and the Four Fundamental Spaces
Count independent constraints and locate each fundamental space in its correct ambient space.
Builds on Subspaces, Null Spaces and Column Spaces
The bigger question: How many independent directions does a model really have?
On this page
Count pivots once, interpret them twice
For an matrix , its rank is the number of pivots. It equals both the dimension of the column space and the dimension of the row space. The rank-nullity theorem states
There are free input directions that map to zero. Applying the same theorem to gives .
The four spaces are , , (row space), and (left null space). Their dimensions are respectively.
Visual guide
- Nullspace y = −x
- Column space y = 0
Worked example: count and construct
Let . Its rank is one. The column space is spanned by , and the row space by . The null space has basis . The left null space is spanned by .
Check dimensions: the input has three coordinates, with one row-space direction and two null directions. The output has two coordinates, with one reachable direction and one left-null direction.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Rank and nullity split the number of input coordinates.
Hint 2 · Take the next step
Use rank+nullity=number of columns.
Show the reasoning
Answer: 2
Nullity=5−3=2, the number of independent free directions in the null space.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: a consistency certificate
A system can be solvable only if every satisfies , because . This condition is also sufficient: the column space is the orthogonal complement of the left null space.
For the matrix above and , the left-null vector gives dot product . The system is inconsistent. For , the test gives zero and the target is reachable.
Practice
- A matrix has rank three. Find both nullities.
- Can a matrix be one-to-one on ?
- When is a square matrix invertible in terms of rank?
Show worked solutions
- and .
- No. Its rank is at most three, so its nullity is at least two.
- Exactly when its rank is , equivalently its null space contains only zero.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.