The math optional, made finite. Daily Practice

Row and Column Reduction; Echelon Form

At a Glance

Why This Chapter Matters

Row reduction to echelon form is the algorithmic backbone of linear algebra: it computes rank, solves Ax=bAx = b, and finds the null space all in one sweep. UPSC 2025 posed a 15-mark Section B question asking candidates to reduce a matrix to echelon form and then use it to determine rank or solve a system — rewarding careful, displayed work. Although the atom has appeared only once, it underpins nearly every other linear-algebra topic, making fluency with the algorithm essential.

Minimum Theory

Elementary row operations (EROs):

  1. RiRjR_i \leftrightarrow R_j — swap two rows.
  2. RicRiR_i \to c R_i, c0c \neq 0 — scale a row by a nonzero constant.
  3. RiRi+cRjR_i \to R_i + c R_j, iji \neq j — add a scalar multiple of one row to another.

Each ERO is invertible; hence they do not change the row space or the rank.

Row Echelon Form (REF): A matrix is in REF if

Reduced Row Echelon Form (RREF): REF plus

Gaussian elimination converts any matrix to REF; Gauss–Jordan elimination continues to RREF.

Rank: rank(A)\text{rank}(A) = number of nonzero rows in any REF of AA = number of pivots.

Rank–Nullity Theorem: For AA an m×nm\times n matrix, rank(A)+nullity(A)=n.\text{rank}(A) + \text{nullity}(A) = n.

Solving Ax=bAx = b: Augment to [Ab][A \mid b] and row-reduce.

Column reduction: Analogous operations on columns preserve the column space structure and may be combined with row reduction (PAQ decomposition) to find the rank normal form.

Normal form under row and column operations: Every m×nm \times n matrix of rank rr is equivalent (under EROs and ECOs) to (Ir000).\begin{pmatrix} I_r & 0 \\ 0 & 0 \end{pmatrix}.

Question Archetypes

ArchetypeRecognition
reduce-and-rank”Reduce to echelon form; hence find the rank”
solve-system-via-reduction”Solve the system / find conditions on bb for consistency”
null-space-basis”Find a basis for the null space / solution space”

reduce-and-rank (1 question(s); 2025)

Recognition Cues

Solution Template

  1. Write the matrix (or augmented matrix [Ab][A\mid b]).
  2. Use RiRiaijajjRjR_i \to R_i - \frac{a_{ij}}{a_{jj}} R_j to create zeros below each pivot column; label each operation.
  3. (For RREF) Scale each pivot row to make the leading entry 1; then eliminate upward.
  4. Count the nonzero rows — this is the rank.
  5. If solving Ax=bAx=b: identify free variables; back-substitute to write the general solution.

Worked Example

2025 Paper 1, 2025-P1-Q3b (15 marks)

Reduce the following matrix to row echelon form and hence determine its rank. Also find the complete solution of the system Ax=bAx = b where b=(1,2,3,0)Tb = (1, 2, 3, 0)^T.

A=(12132437364101224)A = \begin{pmatrix} 1 & 2 & 1 & 3 \\ 2 & 4 & 3 & 7 \\ 3 & 6 & 4 & 10 \\ 1 & 2 & 2 & 4 \end{pmatrix}

Step 1. Form the augmented matrix [Ab][A \mid b]:

(121312437236410312240)\left(\begin{array}{cccc|c} 1 & 2 & 1 & 3 & 1 \\ 2 & 4 & 3 & 7 & 2 \\ 3 & 6 & 4 & 10 & 3 \\ 1 & 2 & 2 & 4 & 0 \end{array}\right)

Step 2. R2R22R1R_2 \to R_2 - 2R_1, R3R33R1R_3 \to R_3 - 3R_1, R4R4R1R_4 \to R_4 - R_1:

(12131001100011000111)\left(\begin{array}{cccc|c} 1 & 2 & 1 & 3 & 1 \\ 0 & 0 & 1 & 1 & 0 \\ 0 & 0 & 1 & 1 & 0 \\ 0 & 0 & 1 & 1 & -1 \end{array}\right)

Step 3. R3R3R2R_3 \to R_3 - R_2, R4R4R2R_4 \to R_4 - R_2:

(12131001100000000001)\left(\begin{array}{cccc|c} 1 & 2 & 1 & 3 & 1 \\ 0 & 0 & 1 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & -1 \end{array}\right)

Step 4. R4R40R3R_4 \to R_4 - 0 \cdot R_3 (already reduced). The last row reads 0=10 = -1, which is a contradiction, so the system is inconsistent for b=(1,2,3,0)Tb = (1,2,3,0)^T.

The matrix AA itself (ignore the last column) has two nonzero rows in echelon form:

REF of A=(1213001100000000)\text{REF of } A = \begin{pmatrix} 1 & 2 & 1 & 3 \\ 0 & 0 & 1 & 1 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{pmatrix}

rank(A)=2\boxed{\text{rank}(A) = 2}

Step 5. Null space (for completeness, with b=0b=0): free variables are x2=sx_2 = s and x4=tx_4 = t.

From row 2: x3=tx_3 = -t. From row 1: x1=2sx33t=2s+t3t=2s2tx_1 = -2s - x_3 - 3t = -2s + t - 3t = -2s - 2t.

General solution of Ax=0Ax = 0:

x=s(2100)+t(2011),s,tR.x = s\begin{pmatrix}-2\\1\\0\\0\end{pmatrix} + t\begin{pmatrix}-2\\0\\-1\\1\end{pmatrix}, \quad s,t\in\mathbb{R}.

nullity(A)=2 (confirming rank+nullity=4=n)\boxed{\text{nullity}(A) = 2 \text{ (confirming rank} + \text{nullity} = 4 = n\text{)}}

Common Traps

Marks-Aware Writing

At 15 marks (Section B), UPSC expects full displayed work. Allocate roughly: 4 marks for setting up and performing all row operations with labels; 2 marks for identifying the REF/RREF clearly; 2 marks for stating the rank; 4 marks for the consistency check and back-substitution; 3 marks for writing the general solution or null-space basis. Do not skip steps or bundle multiple operations — each operation on its own line earns partial credit.

Practice Set

Only one historical question on this atom (shown above).

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