Rank of a matrix: independent rows and columns, echelon form and minors, rank inequalities, rank–nullity, rank-one matrices, and how rank decides whether a linear system has no, one or infinitely many solutions.
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 and the solutions of linear equations
For a system with unknowns, compare the rank of with the rank of the augmented matrix .
Condition
Nature of solution
Inconsistent: no solution
Unique solution
Infinitely many solutions, with free parameters
Note that is either or .
Homogeneous system is always consistent ( works).
: only the trivial solution.
: non-trivial solutions, forming a space of dimension .
For a square : non-trivial solutions exist exactly when .
Typical GATE question: a system with parameters . Find the that makes (rank drops to 2), then find the that keeps at rank 2 (infinitely many solutions); any other gives no solution. For any other , the solution is unique.
More columns than rows () means , so a consistent system of this shape always has infinitely many solutions.
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
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.
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–nullity on a rectangular matrix
numerical
A real matrix has rank 3. Find (a) the dimension of the solution space of , (b) the rank of , and (c) the dimension of the solution space of .
Step 1: Apply rank–nullity to $A$ (7 columns).
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 EC question on this topic, 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 EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.