Rows:
3
Columns:
3
Matrix A
Advertisement Slot

Understanding Matrix Rank and Nullity

The rank of a matrix is one of the most fundamental concepts in linear algebra. It represents the number of dimensions in the output space spanned by the matrix columns (its column space or range).

The Rank-Nullity Theorem:

\(\text{Rank}(A) + \text{Nullity}(A) = n\)

Where \(n\) is the total number of columns in matrix A.

How Rank is Calculated

To find the rank of any matrix:

  1. Perform Gaussian elimination to reduce the matrix to Row Echelon Form (REF).
  2. Count the number of non-zero rows (rows that have at least one non-zero entry).
  3. The number of non-zero rows (pivots) is precisely equal to \(\text{Rank}(A)\).

Solved Rank Examples with Echelon Reduction

Example 1: Deficient Rank due to Parallel Rows

Find the rank of matrix \(A\):

\(A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 1 & 0 & 1 \end{bmatrix}\)

Step 1: Eliminate below Row 1:

  • \(R_2 \leftarrow R_2 - 2R_1 \implies \begin{bmatrix} 0 & 0 & 0 \end{bmatrix}\)
  • \(R_3 \leftarrow R_3 - 1R_1 \implies \begin{bmatrix} 0 & -2 & -2 \end{bmatrix}\)

Step 2: Move zero row to bottom: Swap \(R_2 \leftrightarrow R_3\):

\(\text{REF}(A) = \begin{bmatrix} 1 & 2 & 3 \\ 0 & -2 & -2 \\ 0 & 0 & 0 \end{bmatrix}\)

Conclusion: There are 2 non-zero rows (pivots in col 1 and 2). Therefore \(\text{Rank}(A) = 2\). The nullity is \(3 - 2 = 1\).

Example 2: Full Rank Invertible Matrix

Compute the rank of \(B = \begin{bmatrix} 3 & 1 \\ 0 & 2 \end{bmatrix}\):

Matrix \(B\) is already in upper triangular echelon form. Both rows contain non-zero pivots (3 and 2).

Therefore \(\text{Rank}(B) = 2\). Because the rank equals the dimension of the square matrix, \(B\) is of full rank and invertible.

Rank & Inverses Connection

Discover why only matrices with full rank have two-sided inverses.

Read our student tutorial: How to Find the Inverse of a Matrix →
Advertisement Slot

Frequently Asked Questions

The rank of a matrix is the maximum number of linearly independent row vectors (or column vectors) it contains. Computationally, it equals the number of non-zero rows (pivots) in its row echelon form.
An m x n matrix has full row rank if Rank = m, and full column rank if Rank = n. A square n x n matrix has full rank if Rank = n, which is equivalent to det(A) != 0 and the matrix being invertible.
For any m x n matrix A, the Rank-Nullity Theorem states: Rank(A) + Nullity(A) = n (the number of columns). Nullity is the dimension of the matrix null space (kernel).
No. For any m x n matrix, the rank is fundamentally bounded by the smaller dimension: Rank(A) <= min(m, n).