Rank of a Matrix

Introduction

The rank of a matrix is one of the most important concepts in linear algebra.
It tells us:

  • how many linearly independent rows or columns a matrix has
  • how much “information” the matrix contains
  • whether a system of linear equations has a unique solution, no solution, or infinitely many solutions

Rank is fundamentally connected to concepts like linear independence, invertibility, determinant, solutions of equations, and eigenvalues.


Definition of Rank

The rank of a matrix A is the maximum number of linearly independent rows or columns.

Formally:

 \text{rank}(A) = \text{number of linearly independent rows} = \text{number of linearly independent columns}

This number is always the same whether we count rows or columns.


Rank Using Row Echelon Form (REF)

The rank is equal to the number of non-zero rows in the Row Echelon Form of a matrix.

Example:

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

Perform row operations to convert into REF:

 \begin{bmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \\ 0 & -1 & -2 \end{bmatrix}

There are 2 non-zero rows, so:

 \text{rank}(A) = 2


Rank Using Reduced Row Echelon Form (RREF)

Rank is also the number of pivots (leading 1s) in RREF.

Example RREF:

 \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & -3 \\ 0 & 0 & 0 \end{bmatrix}

There are 2 pivots → rank = 2.


Rank Using Determinants (for Square Matrices)

For an n × n square matrix:

  • If \det(A) \neq 0, matrix is full rank → rank = n
  • If \det(A) = 0, rank < n

To find exact rank:

  1. Check largest minors (determinants of submatrices).
  2. The highest order non-zero minor gives the rank.

Example:

 A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 7 \\ 1 & 1 & 1 \end{bmatrix}

Compute 3×3 determinant:

 \det(A) = \begin{vmatrix} 1 & 2 & 3 \\ 2 & 4 & 7 \\ 1 & 1 & 1 \end{vmatrix}

If this is zero → look at 2×2 minors.


Rank Using Linear Independence

Rank = number of linearly independent columns.

Example:

 A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 3 & 6 & 9 \end{bmatrix}

Each row is a multiple of [1\ 2\ 3], so rank = 1.


Full Rank and Deficiency

Full Row Rank

If A has m rows and:

 \text{rank}(A) = m

then all rows are independent.

Full Column Rank

If A has n columns and:

 \text{rank}(A) = n

then all columns are independent.

Rank Deficiency

If rank < min(m, n), matrix is rank-deficient → rows or columns are dependent.


Rank and System of Linear Equations

For a system AX = B:

Unique Solution

 \text{rank}(A) = \text{rank}([A|B]) = n

Infinitely Many Solutions

 \text{rank}(A) = \text{rank}([A|B]) < n

No Solution

 \text{rank}(A) < \text{rank}([A|B])

Rank completely determines the type of solution.


Rank and Invertibility

For a square matrix A (n×n):

  • If rank(A) = n → A is invertible
  • If rank(A) < n → A is singular (non-invertible)

Also, eigenvalue 0 appears when rank < n.


Geometric Interpretation

Rank tells the dimension of the space spanned by the rows/columns.

Examples:

  • Rank 1 matrix → all rows lie on a line
  • Rank 2 matrix → rows lie in a plane
  • Rank 3 matrix → rows span full 3D space

Quick Ways to Find Rank (GATE tricks)

  • If a row is multiple of another → remove it
  • If two rows are identical → remove duplicates
  • If a row is all zeros → ignore
  • Convert to triangular form → count non-zero diagonal elements
  • For 2×2 matrices:

 \begin{vmatrix} a & b \\ c & d \end{vmatrix} \neq 0 \Rightarrow \text{rank}=2

  • If determinant = 0, check if one row is multiple of other → rank = 1.

Conclusion

Rank captures the essence of linear independence and determines the behavior of systems of equations, matrix invertibility, and geometric transformations. Mastering rank makes later topics like eigenvalues, diagonalization, and vector spaces much easier.


Shopping Cart
Scroll to Top