Rank of a Matrix and Its Applications

On this page
  1. Direct answer
  2. What you must remember
  3. Three equations, three verdicts
  4. Where students slip
  5. Frequently asked questions
  6. Related topics

Direct answer

The rank of a matrix is the number of linearly independent rows, which equals the number of nonzero rows left after reduction to echelon form. For an m × n matrix, rank(A) ≤ min(m, n), and AX = B is consistent exactly when rank(A) equals rank([A | B]). The solution is unique when that common rank equals the number of unknowns, and otherwise it carries n − r free parameters.

What you must remember

  • Computation: row-reduce to echelon form and count pivots, since elementary row operations never change the rank.
  • Bounds: rank(A) ≤ min(m, n), and a square matrix of order n has rank n exactly when |A| is nonzero.
  • Minor view: rank is the order of the largest square submatrix with nonzero determinant, so the matrix with rows (1, 2, 3), (2, 4, 6) and (3, 6, 9) has rank 1.
  • Consistency: equal ranks for A and [A | B] mean a solution exists, and a common rank equal to n gives a unique one.
  • Inconsistent signature: rank(A) < rank([A | B]), which shows up as a row 0 = k with k nonzero.
  • Product inequality: rank(AB) ≤ min(rank A, rank B), and rank(A + B) ≤ rank A + rank B.
  • Homogeneous systems: AX = 0 always has the trivial solution, and nontrivial solutions exist exactly when rank(A) < n.

Three equations, three verdicts

Take x + y + z = 6, x + 2y + 3z = 14 and x + 4y + 9z = 36. One elimination template gives different verdicts for similar systems, and only the augmented rank separates the last two, because the coefficient matrix is singular in both.

  1. Eliminate x: R2 − R1 gives (0, 1, 2 | 8), and R3 − R1 gives (0, 3, 8 | 30).
  2. Eliminate y: R3 − 3R2 gives (0, 0, 2 | 6), so the rank is 3 and the solution is unique.
  3. Back-substitute: z = 3, then y = 8 − 6 = 2, then x = 6 − 2 − 3 = 1.
  4. Replace the third equation: 2x + 3y + 4z = 20 is the sum of the first two, so elimination leaves a zero row, and the ranks of A and [A | B] both equal 2.
  5. Count the free parameters: rank 2 below the 3 unknowns gives infinitely many solutions with one free parameter.
  6. Change the constant: using 21 instead of 20 produces the row 0 = 1, so the ranks differ and there is no solution.

Substitute the solution back into the original equations before answering, because arithmetic slips in elimination cost more marks here than any gap in theory.

Where students slip

Most of these slips involve reading rank conditions too loosely.

  • Trap: reading inconsistency off a zero determinant Correct: |A| = 0 only means the solution is not unique, so consistency needs the augmented rank.
  • Trap: treating a 2 × 3 system of rank 2 as unique because its rank is full Correct: uniqueness needs the common rank to equal the number of unknowns, and 2 < 3 gives infinitely many solutions.
  • Trap: assuming AB keeps the rank of A Correct: rank(AB) ≤ min(rank A, rank B), so a singular factor can only lower the rank.

Frequently asked questions

How do I find the rank of a matrix quickly?

Row-reduce the matrix to echelon form and count the nonzero rows. Elementary row operations preserve rank, so each pivot contributes one unit to the rank of the original matrix.

When does AX = B have infinitely many solutions?

AX = B has infinitely many solutions when rank(A) = rank([A | B]) = r is less than the number of unknowns n. The solution set then carries n − r free parameters.

Is rank(AB) ever larger than rank(A)?

No. rank(AB) ≤ min(rank A, rank B), so a product of matrices cannot have rank exceeding that of either factor. Multiplying by a singular matrix can only keep the rank the same or lower it.

What does rank say about homogeneous systems?

AX = 0 has only the trivial solution when rank(A) = n. Nontrivial solutions appear exactly when the rank falls below the number of unknowns, which for a square matrix means |A| = 0.

Do column operations preserve rank?

Column operations preserve the rank of a matrix, so the rank itself is unaffected. Solving AX = B, however, requires row operations, because only they keep the solution set of the system unchanged.

Practise this in the PrepElephant app

Question banks, previous-year questions, mock tests and revision tools — for Rank of a Matrix and Its Applications and JEE Mathematics. Free to start.

Get the free app WhatsApp