Nullity of a Matrix
High school
Consider a matrix $A$ and its reduced row echelon form. The nullity of $A$ is the number of columns of the reduced row echelon form that have no leading entry.
Undergraduate
Consider an $m \times n$ matrix $A$ and its null space $\nullspace{A}$, the set of vectors $x \in \reals^n$ such that $A x = 0$. The nullity of $A$ is the dimension of the null space of $A$:
\[\nullity{A} = \dim(\nullspace{A}).\]Examples
Worked examples
-
Value:
$\nullity{I} = 0$
The $3 \times 3$ identity matrix has nullity $0$, because $I x = x$, so $I x = 0$ only for $x = 0$. -
Value:
$\nullity{A} = 0$
The matrix \(\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\) has nullity $0$, because its determinant is $-2 \neq 0$, so $A x = 0$ only for $x = 0$. -
Value:
$\nullity{A} = 1$
The matrix \(\begin{bmatrix} 1 & 3 & 5 \\ 0 & 2 & 4 \end{bmatrix}\) has nullity $1$, because its third column has no leading entry, so $x_3$ is a free variable, and its kernel is the line spanned by $(1, -2, 1)$. -
Value:
$3$
The $3 \times 4$ matrix of ones has nullity $3$, because its kernel is the set of vectors $x$ in $\reals^4$ such that $x_1 + x_2 + x_3 + x_4 = 0$, which is a $3$-dimensional subspace. This agrees with the rank–nullity theorem: $4 - 1 = 3$. -
Value:
$\nullity{A} = 1$
The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) has nullity $1$, because its kernel is the line spanned by $(2, -1)$. -
Value:
$\nullity{0} = 2$
The $2 \times 2$ zero matrix has nullity $2$, because it sends every vector in $\reals^2$ to $0$.
Properties
- The nullity of $A$ is the nullity of the linear map $x \mapsto A x$, because the null space of $A$ is the kernel of that map.
- For an $m \times n$ matrix $A$, $\rank{A} + \nullity{A} = n$ (the rank–nullity theorem).
- The nullity of a matrix $A$ is the number of free variables in the solutions of $A x = 0$.
- The nullity of a matrix $A$ is $0$ if and only if the columns of $A$ are linearly independent, if and only if the map $x \mapsto A x$ is injective.
All definitions · All distinctions · All examples · Notation