Algebra

Rank–Nullity Theorem

Two children sort a row of wooden blocks into two colored groups.

Rank–Nullity Theorem definition

The rank–nullity theorem says that the rank and nullity of a matrix add to its number of columns.

In Spanish
teorema de rango y nulidad
Topic
Vector spaces and linear algebra

Rank–Nullity Theorem in a picture

Rank–Nullity Theorem diagramThree pivot columns and two free columns account for all five variables.Matrix has 5 columnsFive input coordinatesRank 3Three pivot columnsNullity 5 − 3 = 2Two free variables
Three pivot columns and two free columns account for all five variables.

How it works

The rank counts pivots, and the nullity counts free variables in the homogeneous system. Every column is either a pivot column or a free-variable column. More generally, for a linear map on a finite-dimensional domain, the dimensions of its image and kernel add to the dimension of the domain.

Worked examples

A 3 × 5 matrix has rank 3. Find its nullity.

5 − 3 = 2.

A matrix with four columns has nullity 1. Find its rank.

4 − 1 = 3.

What is the nullity of an invertible n × n matrix?

Zero, because all n columns are pivot columns.

Common mistake

Add rank and nullity to get the number of columns. For a rectangular matrix, the number of rows can differ.

Quick check

What does rank count?

Show answer

Pivot columns, or the dimension of the image.

What does nullity count?

Show answer

Free variables, or the dimension of the null space.

A 4 × 6 matrix has rank 4. What is its nullity?

Show answer

2.

Sources

Flashcard

Rank–Nullity Theorem

Reveal the definition

The rank–nullity theorem says that the rank and nullity of a matrix add to its number of columns.

Effortless Math. “Rank–Nullity Theorem.” Math Dictionary.