MathematicsLinear AlgebraUniversity
OCRAPOntarioNSWCBSEGCE O-LevelMoECAPS

Rank-Nullity Theorem

Relates the dimensions of a linear map's kernel and image to its domain space.

Understand the formulaSee the free derivationOpen the full walkthrough

This public page keeps the free explanation visible and leaves premium worked solving, advanced walkthroughs, and saved study tools inside the app.

Core idea

Overview

In the context of a linear map T: V → W where V is finite-dimensional, this theorem provides a fundamental constraint on the relationship between the dimensions of the kernel and the image.

When to use: This theorem is the most fundamental tool in undergraduate linear algebra for determining the dimensions of subspaces associated with linear transformations.

Why it matters: It links the concept of injectivity (connected to the nullity) and surjectivity (connected to the rank) to the geometry of the domain space.

Symbols

Variables

(V) = Dimension of Domain, (T) = Rank, (T) = Nullity

Dimension of Domain
Variable
Rank
Variable
Nullity
Variable

Walkthrough

Derivation

Derivation/Understanding of Rank-Nullity Theorem

This derivation shows that for a linear transformation, the sum of the dimension of its kernel (nullity) and the dimension of its image (rank) equals the dimension of its domain.

  • V and W are vector spaces over the same field F.
  • T: V W is a linear transformation.
  • V is a finite-dimensional vector space.
1

Define Kernel and Image Dimensions:

We begin by defining the kernel and image of a linear transformation, which are subspaces of the domain and codomain, respectively. Their dimensions are known as the nullity and rank of the transformation.

2

Construct a Basis for the Domain:

We start with a basis for the kernel and extend it to form a complete basis for the entire domain vector space V. This allows us to express any vector in V as a linear combination of these basis vectors.

3

Show Images of Extended Basis Form a Basis for the Image:

We examine the images of the basis vectors that were not in the kernel. We prove that these images span the entire image space and are linearly independent, thus forming a basis for the image.

4

Conclude the Rank-Nullity Theorem:

By counting the number of vectors in the basis for the image, we establish that the rank is equal to the dimension of the domain minus the nullity. Rearranging this equation yields the Rank-Nullity Theorem.

Result

Source: Linear Algebra Done Right by Sheldon Axler

Free formulas

Rearrangements

Solve for

Rank-Nullity Theorem: Make (V) the subject

Start from the Rank-Nullity Theorem and express (V) in terms of the shorthand variables x (rank) and y (nullity).

Difficulty: 2/5

The static page shows the finished rearrangements. The app keeps the full worked algebra walkthrough.

Visual intuition

Graph

Graph unavailable for this formula.

The graph is a linear plot where the sum of the rank and nullity equals the dimension of the domain. Because the dimension of the domain is constant for a fixed linear map, the relationship between rank and nullity forms a straight line with a negative slope.

Graph type: linear

Why it behaves this way

Intuition

Imagine the total 'size' (dimension) of the input space V being split into two complementary parts by the linear transformation T: one part that gets 'crushed' to the zero vector (the null space), and another part determines the behavior.

rank(T)
The dimension of the image (range) of the linear transformation T. It quantifies the 'output capacity' or the number of independent directions in the output space.
Represents the 'useful' part of the input space that contributes to distinct outputs. A higher rank means the transformation preserves more distinct information.
nullity(T)
The dimension of the kernel (null space) of the linear transformation T. It quantifies the 'information loss' or the number of independent input directions that are mapped corresponding physical or mathematical quantity.
Represents the 'collapsed' part of the input space. A higher nullity means many distinct inputs are mapped to the same output (specifically, zero), indicating significant information loss.
dim(V)
The dimension of the domain vector space V. It represents the total number of independent input components or the 'size' of the input space.
The total 'capacity' of the input information available before the transformation.

Free study cues

Insight

Canonical usage

This equation is used to relate the integer dimensions of vector spaces and linear map properties. The terms 'rank', 'nullity', and 'dimension' refer to the number of basis vectors in the respective spaces, and thus are dimensionless counts.

Common confusion

A common confusion is to associate the mathematical concept of 'dimension' (as in the number of basis vectors) with physical dimensions (e.g., length, mass, time) that carry units.

Dimension note

All quantities in the Rank-Nullity Theorem (rank, nullity, and dimension of V) are mathematical dimensions, meaning they are non-negative integer counts of basis vectors. They do not possess physical units.

Unit systems

rank(T)dimensionless (integer count) - Represents the dimension of the image of the linear transformation T, which is the number of basis vectors in the image space. Must be a non-negative integer.
nullity(T)dimensionless (integer count) - Represents the dimension of the kernel (null space) of the linear transformation T, which is the number of basis vectors in the kernel space. Must be a non-negative integer.
dim(V)dimensionless (integer count) - Represents the dimension of the domain vector space V, which is the number of basis vectors in V. Must be a non-negative integer.

One free problem

Practice Problem

Given a linear transformation T: ℳ → Ⅎ where the kernel is a line through the origin (dimension 1), calculate the rank of T.

Dimension of Domain3
Nullity1

Solve for:

Hint: The dimension of the domain is 3. If the nullity is 1, use the theorem: Rank + Nullity = Dim(V).

The full worked solution stays in the interactive walkthrough.

Where it shows up

Real-World Context

In data science, when projecting high-dimensional data into a lower-dimensional space (dimensionality reduction), the Rank-Nullity theorem helps determine the amount of information preserved (rank) versus the information lost (nullity).

Study smarter

Tips

  • Always verify that the vector space V is finite-dimensional before applying the theorem.
  • Remember that the dimension on the right side of the equation is the domain, not the codomain.

Avoid these traps

Common Mistakes

  • Confusing the dimension of the codomain (W) with the dimension of the domain (V).
  • Assuming the theorem applies to non-linear transformations.

Common questions

Frequently Asked Questions

This derivation shows that for a linear transformation, the sum of the dimension of its kernel (nullity) and the dimension of its image (rank) equals the dimension of its domain.

This theorem is the most fundamental tool in undergraduate linear algebra for determining the dimensions of subspaces associated with linear transformations.

It links the concept of injectivity (connected to the nullity) and surjectivity (connected to the rank) to the geometry of the domain space.

Confusing the dimension of the codomain (W) with the dimension of the domain (V). Assuming the theorem applies to non-linear transformations.

In data science, when projecting high-dimensional data into a lower-dimensional space (dimensionality reduction), the Rank-Nullity theorem helps determine the amount of information preserved (rank) versus the information lost (nullity).

Always verify that the vector space V is finite-dimensional before applying the theorem. Remember that the dimension on the right side of the equation is the domain, not the codomain.

References

Sources

  1. Axler, S. (2015). Linear Algebra Done Right.
  2. Axler, Sheldon. Linear Algebra Done Right. Springer, 3rd ed., 2015.
  3. Strang, Gilbert. Introduction to Linear Algebra. Wellesley-Cambridge Press, 5th ed., 2016.
  4. Wikipedia: Rank-nullity theorem
  5. Rank-nullity theorem (Wikipedia article)
  6. Sheldon Axler Linear Algebra Done Right
  7. Gilbert Strang Introduction to Linear Algebra
  8. Wikipedia article 'Rank-nullity theorem'