The nullspace and range#
The Rank-Nullity Theorem describes the dimensions of the nullspace and range of a matrix.
The Nullspace#
The nullspace of a \(m \times n\) matrix \(A\) is
Let \(A\) be a \(m \times n\) matrix. The nullspace \(N(A)\) is a subspace of \(\mathbb{R}^n\).
Let \(A\) be a \(m \times n\) matrix and let \(A = LU\) be the LU decomposition (if it exists). Then \(N(A) = N(U)\).
The Range#
The range of a \(m \times n\) matrix \(A\) is:
The range of \(A\) is also called image or column space of \(A\).
Matrix multiplication can be written as
Therefore the range of \(A\) is the equal to the span of the columns
and that’s why \(R(A)\) is sometimes called the column space.
Let \(A\) be a \(m \times n\) matrix. The range \(R(A)\) is a subspace of \(\mathbb{R}^m\).
Let \(A\) be an \(m \times n\) matrix. Then
Proof. The rank of \(A\) is the number of nonzero rows in the row echelon form of \(A\). The dimension of \(R(A)\) is the number of linearly independent columns in \(A\) which is also equal to the number of nonzero rows in \(A\).
Let \(A = PLUQ\) be the LU decomposition of \(A\) computed with row-swaps (\(P\)) and column-swaps (\(Q\)) and let \(r = \mathrm{rank}(A)\). Then
where \(\boldsymbol{\ell}_1 , \dots , \boldsymbol{\ell}_r\) are the first \(r\) columns of \(L\). In particular, \(\boldsymbol{\ell}_1 , \dots , \boldsymbol{\ell}_r\) is a basis of \(R(A)\).
Proof. If \(\mathrm{rank}(A) = r\) then only the first \(r\) entries of the vector \(U \boldsymbol{x}\) are nonzero
Note, that this particular form of the matrix \(U\) is only guaranteed when you do full pivoting i.e. both row and column swaps. Therefore
Rank-Nullity Theorem#
Let \(A\) be an \(m \times n\) matrix. Then
Proof. The dimension of \(N(A)\) is equal to the number of columns of the row echelon form of \(A\) without a leading nonzero entry, and \(\mathrm{rank}(A) = \dim(R(A))\) is equal to the number of columns of the row echelon form of \(A\) with a leading nonzero entry, and there are \(n\) total columns.
Exercises#
Let \(A = LU\) be the LU decomposition of \(A\). Determine whether the statement is True or False.
\(N(A) = N(U)\)
\(\dim (N(A)) = \dim (N(U))\)
\(R(A) = R(U)\)
\(\dim (R(A)) = \dim (R(U))\)
Solution
True
True
False
True