The math optional, made finite. Daily Practice

Rank of a matrix

At a Glance

Why This Chapter Matters

Rank appears in 7 of the last 13 years — exclusively in Section A — making it one of the most consistent Paper 1 Linear Algebra atoms. Six of the seven questions are straightforward row-reduction problems; only the 2018 question (show that a 3×23\times2 times a 2×32\times3 matrix is singular) uses a rank inequality as a proof. If you can reduce a matrix to echelon form reliably under exam conditions and verify your answer by exhibiting a non-vanishing minor, you will handle every question in the corpus.

Minimum Theory

Rank. The rank of a matrix AA is the number of non-zero rows in its row echelon form (equivalently, the dimension of the row space, column space, or image). A square n×nn\times n matrix is non-singular (invertible, detA0\det A\ne0) iff rankA=n\operatorname{rank}A=n.

Row echelon form (REF). A matrix is in REF when (i) every row of zeros is below all non-zero rows, and (ii) the leading non-zero entry (pivot) of each non-zero row is strictly to the right of the pivot in the row above. Reduced REF (RREF) additionally requires each pivot to be 1, with zeros above and below it.

Elementary row operations. Three operations do not change the rank:

  1. Swap two rows.
  2. Multiply a row by a non-zero scalar.
  3. Add a multiple of one row to another.

Finding rank by reduction. Apply elementary row operations to produce REF; count the non-zero rows.

Verifying rank. Rank r\ge r iff some r×rr\times r submatrix has non-zero determinant. To confirm rank =r=r, show an r×rr\times r minor is non-zero and every (r+1)×(r+1)(r+1)\times(r+1) minor is zero (the row reduction already guarantees this).

Rank inequality for products. For any matrices: rank(AB)min{rankA,rankB}.\operatorname{rank}(AB)\le\min\{\operatorname{rank}A,\,\operatorname{rank}B\}. Proof: every column of ABAB is a linear combination of the columns of AA, so col(AB)col(A)\operatorname{col}(AB)\subseteq\operatorname{col}(A) and rank(AB)rankA\operatorname{rank}(AB)\le\operatorname{rank}A. Dually (via rows) rank(AB)rankB\operatorname{rank}(AB)\le\operatorname{rank}B.

Question Archetypes

Two patterns cover every rank question in the corpus.

ArchetypeYou are seeing this when…
rank-by-reduction”Find the rank of AA” or “reduce AA to echelon/RREF form and find rank”
rank-inequality-proof”Show ABAB is singular” given shape constraints on AA or BB

rank-by-reduction (6 question(s); 2013, 2014, 2015, 2019, 2021, 2023)

Recognition Cues

Solution Template

  1. Look for obvious row dependencies (e.g., R3=R1+R2R_3=R_1+R_2) to zero a row cheaply.
  2. Use the row with a leading 11 (or the simplest non-zero entry) as the first pivot; this avoids fractions.
  3. Eliminate below each pivot column by column.
  4. Swap zero rows to the bottom; count the non-zero rows.
  5. Optional verification: exhibit a non-vanishing r×rr\times r minor where rr is the claimed rank.

Worked Example(s)

2014 Paper 1, 2014-P1-Q1b (10 marks, compulsory)

Find the rank of A=[0131001131021120]A=\begin{bmatrix}0&1&-3&-1\\ 0&0&1&1\\ 3&1&0&2\\ 1&1&-2&0\end{bmatrix}.

R1R4R_1\leftrightarrow R_4 (bring a leading 1 to row 1): [1120001131020131].\begin{bmatrix}1&1&-2&0\\ 0&0&1&1\\ 3&1&0&2\\ 0&1&-3&-1\end{bmatrix}.

R3R33R1R_3\to R_3-3R_1: [1120001102620131].\begin{bmatrix}1&1&-2&0\\ 0&0&1&1\\ 0&-2&6&2\\ 0&1&-3&-1\end{bmatrix}.

R2R4R_2\leftrightarrow R_4 (bring a non-zero entry into the column-2 pivot): [1120013102620011].\begin{bmatrix}1&1&-2&0\\ 0&1&-3&-1\\ 0&-2&6&2\\ 0&0&1&1\end{bmatrix}.

R3R3+2R2R_3\to R_3+2R_2: [1120013100000011].\begin{bmatrix}1&1&-2&0\\ 0&1&-3&-1\\ 0&0&0&0\\ 0&0&1&1\end{bmatrix}.

R3R4R_3\leftrightarrow R_4: [1120013100110000].(REF)\begin{bmatrix}1&1&-2&0\\ 0&1&-3&-1\\ 0&0&1&1\\ 0&0&0&0\end{bmatrix}.\quad(\text{REF})

Three non-zero rows: rank(A)=3.\boxed{\operatorname{rank}(A)=3.}


2019 Paper 1, 2019-P1-Q3c-i (15 marks)

Find the rank of A=(5721118123503431)A=\begin{pmatrix}5&7&2&1\\1&1&-8&1\\2&3&5&0\\3&4&-3&1\end{pmatrix}.

Pivot on R2R_2 (leading 1 is cheapest). Rearrange to put R2R_2 first:

R15R2,  R32R2,  R43R2R_1-5R_2,\;R_3-2R_2,\;R_4-3R_2 (using R2=(1,1,8,1)R_2=(1,1,-8,1)): [1181024240121201212].\begin{bmatrix}1&1&-8&1\\ 0&2&42&-4\\ 0&1&21&-2\\ 0&1&21&-2\end{bmatrix}.

Note R3=12R2R_3=\tfrac{1}{2}R_2 and R4=R3R_4=R_3. Eliminate: R22R3R_2-2R_3 and R4R3R_4-R_3: [11810121200000000].(REF)\begin{bmatrix}1&1&-8&1\\ 0&1&21&-2\\ 0&0&0&0\\ 0&0&0&0\end{bmatrix}.\quad(\text{REF})

Two non-zero rows: rank(A)=2.\boxed{\operatorname{rank}(A)=2.}

Verification. The 2×22\times2 minor at rows {1,2}\{1,2\}, columns {1,2}\{1,2\} is det(1111)=0\det\begin{pmatrix}1&1\\1&1\end{pmatrix}=0… pick columns {1,3}\{1,3\}: det(18121)=290\det\begin{pmatrix}1&-8\\1&21\end{pmatrix}=29\ne0. So rank 2\ge2 ✓. Four zero rows in REF confirms rank 2\le2.


2023 Paper 1, 2023-P1-Q4a (15 marks)

Find the rank of A=[1210130421321111]A=\begin{bmatrix}1&2&-1&0\\-1&3&0&-4\\2&1&3&-2\\1&1&1&-1\end{bmatrix} by reducing to RREF.

R2+R1,  R32R1,  R4R1R_2+R_1,\;R_3-2R_1,\;R_4-R_1: [1210051403520121].\begin{bmatrix}1&2&-1&0\\ 0&5&-1&-4\\ 0&-3&5&-2\\ 0&-1&2&-1\end{bmatrix}.

R3+35R2,  R4+15R2R_3+\tfrac{3}{5}R_2,\;R_4+\tfrac{1}{5}R_2: [121005140022/522/5009/59/5].\begin{bmatrix}1&2&-1&0\\ 0&5&-1&-4\\ 0&0&22/5&-22/5\\ 0&0&9/5&-9/5\end{bmatrix}.

R4922R3R_4-\tfrac{9}{22}R_3 zeros out row 4 entirely (since 9/5(9/22)(22/5)=09/5-(9/22)(22/5)=0): [121005140022/522/50000].(REF)\begin{bmatrix}1&2&-1&0\\ 0&5&-1&-4\\ 0&0&22/5&-22/5\\ 0&0&0&0\end{bmatrix}.\quad(\text{REF})

Three pivots: rank(A)=3.\boxed{\operatorname{rank}(A)=3.}

Common Traps


rank-inequality-proof (1 question(s); 2018)

Recognition Cues

Solution Template

  1. State: rank(AB)min{rankA,rankB}\operatorname{rank}(AB)\le\min\{\operatorname{rank}A,\operatorname{rank}B\}.
  2. Justify the bound: columns of ABAB lie in the column space of AA; thus rank(AB)(AB)\le rank(A)k(A)\le k.
  3. Since k<nk<n (order of the square matrix ABAB), rank(AB)<n(AB)<n \Rightarrow ABAB is singular.

Worked Example(s)

2018 Paper 1, 2018-P1-Q1a (10 marks, compulsory)

Let AA be 3×23\times2 and BB be 2×32\times3. Show C=ABC=AB is singular.

C=ABC=AB is 3×33\times3 (the product is defined and square). For any matrices, rank(AB)min{rankA,rankB}.\operatorname{rank}(AB)\le\min\{\operatorname{rank}A,\,\operatorname{rank}B\}. Why: every column of ABAB is a linear combination of the columns of AA, so col(AB)col(A)\operatorname{col}(AB)\subseteq\operatorname{col}(A) and rank(AB)rankA\operatorname{rank}(AB)\le\operatorname{rank}A. But AA has only 2 columns, so rankA2\operatorname{rank}A\le2. Therefore rank(C)2<3=order(C).\operatorname{rank}(C)\le 2 < 3 = \operatorname{order}(C). A 3×33\times3 matrix with rank <3<3 is singular:   det(C)=0,C=AB is singular.  \boxed{\;\det(C)=0,\quad C=AB\text{ is singular.}\;}

Common Traps


Marks-Aware Writing

8-mark questions (2013-Q2b-ii): Show the row-reduction steps explicitly — at least 2–3 labelled steps — then state the rank. If you spot a dependency by inspection (R3=R1+R2R_3=R_1+R_2), state it; it counts as a valid first step.

10-mark questions (2014-Q1b, 2015-Q1b, 2018-Q1a, 2021-Q4a-i): Full row-reduction to echelon form with all steps shown; state the rank from the count of non-zero rows. For the inequality proof, write the theorem, justify it, and conclude.

15-mark questions (2019-Q3c-i, 2023-Q4a): Produce RREF (not just REF) and verify by exhibiting the linear-dependence relations among the original rows. Also exhibit a non-vanishing minor of the claimed rank.

Practice Set

YearPaper/QMarksArchetypeOne-line hint
2013P1-Q2b-ii8rank-by-reductionSpot R3=R1+R2R_3=R_1+R_2 by inspection; then reduce the remaining four rows; rank 3
2015P1-Q1b10rank-by-reductionAfter clearing column 1, rows 3 and 4 both become zero; rank 2
2021P1-Q4a-i10rank-by-reduction4×54\times5 matrix; pivot jumps to column 3 after column 1; RREF has 3 pivots

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.