logo

Matrix Rank, Nullity 📂Matrix Algebra

Matrix Rank, Nullity

Theorem1

The dimensions of the row space and column space of matrix AA are the same.

Proof

Let RR be the row echelon form matrix of AA. Since basic row operations do not change the dimensions of the row space and column space of AA, the following equation holds:

dim(R(A))=dim(R(R))dim(C(A))=dim(C(R)) \begin{align*} \dim \big( \mathcal{R}(A) \big) &= \dim \big( \mathcal{R}(R) \big) \\ \dim \big( \mathcal{C}(A) \big) &= \dim \big( \mathcal{C}(R) \big) \end{align*}

Therefore, it suffices to show that the dimensions of the row space and column space of RR are the same. But since the row space of RR is generated by the rows with leading 1, and the column space of RR is generated by the columns with leading 1, the dimensions of the row space and column space of RR are the same.

Definition

The dimension of the row space (column space) of matrix AA is called rank and is denoted as follows:

rank(A)=dimR(A)=dimC(A) \text{rank}(A) = \dim \mathcal{R}(A) = \dim \mathcal{C}(A)

The dimension of the null space of matrix AA is called nullity and is denoted as follows:

nullity(A)=dimN(A) \text{nullity}(A) = \dim \mathcal{N}(A)

Explanation

Rank is sometimes translated as coefficient, and nullity as degeneracy.

On the other hand, rank(A)\text{rank}(A) can also be defined as the number of pivots when AA is turned into a row echelon form.

Consider the non-square matrix m×nm \times n, matrix AA. Then, the row space can be at most nn dimensions, and the column space can be at most mm dimensions. But since these two values are the same and that is the rank, the following holds:

rank(A)min(m,n) \rank(A) \le \min(m,n)

In the case of rank(A)=min(m,n)\rank(A) = \min(m,n), AA is said to have full rank. If it does not have full rank, it is called rank deficient.

If it is difficult to intuitively understand, think of it as a concept derived from counting the unknowns in a system of linear equations. Although the definition itself is not difficult, concepts such as null space, coefficient, and degeneracy especially complicate understanding for those who study from the original texts, making it difficult to grasp the meaning. The reason for studying these concepts is to make it easier to express the applications of linear algebra in the language of mathematics later on. When complex theories unfold, definitions like column space or null space greatly save space and cover more complex phenomena.

Also, the column space is called image as Im(A)\text{Im} (A). If matrix AA is considered in terms of a function concept, then ARm×nA \in \mathbb{R}^{m \times n} corresponds to function TAT_{A}, which can also be seen as TA:RnRmT_{A} : \mathbb{R}^{n} \to \mathbb{R}^{m}.

The following Rank-Nullity Theorem is also easier to understand when thought of in terms of a function concept. Don’t forget that it is rankA=rankAT\text{rank} A = \text{rank} A^{T}.

Rank-Nullity Theorem

For matrix AMm×n(R)A \in M_{ m \times n }(\mathbb{R}), the following equation holds:

rank(A)+nullity(A)=dimRn=nrank(AT)+nullity(AT)=dimRm=m \begin{align*} \text{rank} (A) + \text{nullity} (A) &= \dim \mathbb{R}^{n} = n \\ \text{rank} (A^{T}) + \text{nullity} (A^{T}) &= \dim \mathbb{R}^{m} = m \end{align*}


Also known as the Dimension Theorem for matrices. When generalized for linear transformations, the following holds:

For vector space V,WV, W and linear transformation T:VWT : V \to W, the following equation holds:

rank(T)+nullity(T)=dim(V) \text{rank} (T) + \text{nullity} (T) = \dim (V)

Proof

Let’s say AA is a m×nm \times n matrix. Then, since there are nn columns in AA, the homogeneous linear system Ax=0A \mathbf{x} = \mathbf{0} has nn unknowns. Therefore, ’the number of leading variables + the number of free variables = nn’ holds. The number of leading variables is the same as the number of leading 1s, which is the same as the dimension of the row space. Moreover, the number of free variables is the same as the number of parameters, which is the same as the dimension of the null space. Therefore, the theorem holds.

See Also

Kernel in Abstract Algebra

The null space is denoted as kerA\ker A and is also called Kernel. This is a specialized expression in linear algebra of the general concept of kernel dealt with in abstract algebra, and it is also seen as AA being viewed as a function.


  1. Howard Anton, Elementary Linear Algebra: Applications Version (12th Edition, 2019), p278 ↩︎