The rank of an matrix , written or , is the maximum number of linearly independent rows. Four definitions give the same number:
maximum number of linearly independent rows;
maximum number of linearly independent columns (row rank = column rank);
the order of the largest non-zero minor (a square submatrix with non-zero determinant);
the number of non-zero rows (pivots) in a row echelon form.
Basic facts:
, and only for the zero matrix.
.
An matrix has full rank exactly when , that is, when is invertible. A singular matrix has rank less than .
If every row is a multiple of one non-zero row, .
Geometrically, rank is the dimension of the column space: the number of independent directions the map can reach. A matrix of rank 2 squashes all of space onto a plane.
For GATE, rank questions are usually one of three kinds: compute the rank of a given matrix, find a parameter that drops the rank, or use rank to decide the nature of solutions of .
2. Finding rank: echelon form and minors
Elementary row operations do not change rank: swapping rows, multiplying a row by a non-zero constant, adding a multiple of one row to another. (The same holds for column operations.)
Echelon method (use for anything bigger than ):
Reduce to row echelon form: each leading non-zero entry (pivot) is to the right of the one above, and zero rows are at the bottom.
Count the non-zero rows. That count is the rank.
Minor method (quick for small or parametric matrices): if some minor is non-zero and every minor is zero. For a square matrix with a parameter , set to find the values of that drop the rank below ; then check a minor to see if it drops further.
Shortcuts worth spotting:
Two proportional rows, or a row that is a sum of others: the rank drops.
with non-zero column vectors (an outer product) has rank exactly 1.
A matrix with is a sum of two rank-one matrices, so its rank is at most 2.
A diagonal or triangular matrix: rank is at least the number of non-zero diagonal entries; for diagonal matrices it is exactly that number.
A row echelon form with three pivots and one zero row: the rank is 3
3. Rank inequalities and rank–nullity
For matrices of compatible sizes:
Result
Statement
Product
Sum
Invertible factor
if are invertible
Gram matrix
for real
Sylvester
, where is the inner dimension
Rank–nullity theorem. For an matrix ( columns, that is unknowns),
where the nullity is the dimension of the null space , the number of free variables.
Rank and eigenvalues (square ):
is an eigenvalue exactly when , and the eigenspace of has dimension .
For a diagonalisable matrix (for example any real symmetric matrix), equals the number of non-zero eigenvalues, counted with multiplicity.
A rank-one matrix has eigenvalue (its trace) once and repeated times. So the all-ones matrix has eigenvalues .
Careful: for a non-diagonalisable matrix the count of non-zero eigenvalues can be less than the rank. [0010] has rank 1 but both eigenvalues are 0.
4. Rank–nullity theorem and rank inequalities
For any matrix , the nullity is the dimension of the null space . The rank–nullity theorem states:
Important rank inequalities frequently tested in GATE:
Product: . Multiplying by an invertible matrix preserves rank exactly.
Sylvester's inequality (if is and is ): .
Sum: .
Idempotent matrices: if , then .
Formulas to remember
Bounds on rank
Rank of a product
Rank of a sum
Sylvester's inequality
Rank–nullity
Consistency testUnique if this common rank equals the number of unknowns
Rank-one matrixFor non-zero vectors
Rank–nullity theoremn is number of columns
Gram matrix rankReal matrices
Common mistakes
Using the number of rows instead of the number of columns (unknowns) in rank–nullity.
Concluding the rank is n − 1 as soon as the determinant is zero; check whether a smaller minor also vanishes.
Counting non-zero eigenvalues to get the rank of a matrix that is not diagonalisable.
Assuming rank(A + B) equals rank(A) + rank(B); it is only an upper bound.
Deciding a system has infinitely many solutions from rank(A) < n alone, without checking that the augmented matrix has the same rank.
Using (rows) instead of (columns).
Worked examples
Try each step yourself, then reveal the working.
Example 1: Rank of a parametric matrix
numerical
Find the rank of A=1232k6369 for every real .
Step 1: Look for proportional rows first.
Try it on paper first.
Example 2: A matrix of the form f(i) + g(j)
conceptual
The matrix has entries for . Find without full row reduction.
Step 1: Split the entry into two parts.
Try it on paper first.
Example 3: Rank of an outer-product sum
numerical
Let and . Find .
Step 1: Write out A explicitly or examine its eigenvalues.
Try it on paper first.
Example 4: Choosing a parameter for infinitely many solutions
numerical
For the system , , , find for which the system is consistent, and the number of free parameters then.
Step 1: Find the rank of the coefficient matrix.
Try it on paper first.
Previous year questions
1 official GATE Engineering Mathematics question mapped to this topic across published papers, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE Engineering Mathematics (EC, AE, IN, MN) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.