Gaussian Elimination
At a Glance
- Frequency: 1 sub-part across 1 of 13 years (2022)
- Priority tier: T4
- Marks (count): 10 (1)
- Average solve time: ~18 min
- Difficulty mix: medium 1
- Section: A | Dominant type: computation
Why This Chapter Matters
Gaussian elimination is the workhorse algorithm for solving linear systems and is tested as a direct computation — write the augmented matrix, apply row operations to reach upper-triangular form, then back-substitute. UPSC 2022 set a or system; the marks are earned by showing each elimination step clearly, not just writing the answer.
Minimum Theory
Problem. Solve where is and non-singular.
Augmented matrix. Write and apply elementary row operations:
The scalar is the multiplier for eliminating entry using row as the pivot row.
Forward elimination. For (pivot columns):
- For each (rows below the pivot):
- Compute multiplier .
- Replace .
After stages the system is upper triangular: .
Back substitution. Solve from the last equation upward:
Operation count.
- Forward elimination: multiplications/divisions.
- Back substitution: operations.
Partial pivoting. Before eliminating column , find the row with the largest and swap rows and . This prevents division by a small pivot and improves numerical stability. UPSC problems on small integer systems do not require pivoting, but mentioning it earns method marks.
Distinction from Gauss–Jordan. Gaussian elimination stops at upper-triangular form and uses back substitution. Gauss–Jordan continues to reduced row echelon form (zeros above and below each pivot), obtaining directly without back substitution. UPSC tests these as separate atoms.
Question Archetypes
| Archetype | Recognition |
|---|---|
| solve-system | Solve a given or system; show elimination steps |
| identify-method | Distinguish Gaussian elimination from Gauss–Jordan or LU decomposition |
solve-system (1 question; 2022)
Recognition Cues
- “Solve the following system of equations using Gaussian elimination.”
- A or integer-coefficient system.
- No instruction to find the inverse — that is Gauss–Jordan.
Solution Template
- Write the augmented matrix .
- Use as pivot row; eliminate from rows 2 and 3 (and 4 if ).
- Use (updated) as pivot row; eliminate from remaining rows below.
- Continue until upper triangular.
- Back-substitute from the bottom row upward; box each .
Worked Example
2022 Paper 2, 2022-P2-Q2a (10 marks)
Solve the system using Gaussian elimination:
Augmented matrix.
Stage 1 — eliminate from rows 2 and 3 using row 1 as pivot.
Multipliers: , .
Matrix after stage 1:
Stage 2 — eliminate from row 3 using row 2 as pivot.
Multiplier: .
Upper-triangular system:
Back substitution.
Row 3: .
Row 2: .
Row 1: .
Verification. ✓; ✓; ✓.
Common Traps
- Arithmetic slip in the multiplier: (row entry divided by pivot, not vice versa).
- Forgetting to update the right-hand side column during each row operation.
- Applying elimination in the wrong order — always eliminate column from rows using row , never from rows above.
- Confusing this with Gauss–Jordan: stop at upper-triangular and back-substitute; do not continue to RREF.
Marks-Aware Writing
For 10 marks in Section A, the examiner expects: (i) the augmented matrix written explicitly, (ii) each row operation labelled with its multiplier, (iii) the resulting matrix after each stage, (iv) back substitution with each variable solved in turn, and (v) a verification line. Skipping to the answer without showing row operations will lose the bulk of the marks.
Practice Set
Only one historical question on this atom (shown above).