← 2022 Paper 2
UPSC 2022 Maths Optional Paper 2 Q5b — Step-by-Step Solution
10 marks · Section B
Gaussian Elimination · Numerical Analysis · Read the full method →
Question
Solve by Gauss elimination: 2x+2y+4z=18, x+3y+2z=13, 3x+y+3z=14.
Technique
Standard Gauss elimination with normalization (divide by leading coefficient) at each step.
Solution
Step 1 — Augmented matrix
213231423181314.
Step 2 — Forward elimination
R1→R1/2:
11313122391314.
R2→R2−R1, R3→R3−3R1:
10012−220−394−13.
R2→R2/2:
10011−220−392−13.
R3→R3+2R2:
10011020−392−9.
R3→R3/(−3):
100110201923.
Step 3 — Back substitution
z=3. From row 2: y=2. From row 1: x+y+2z=9⇒x=9−2−6=1.
Answer
x=1,y=2,z=3.