← 2024 Paper 2
UPSC 2024 Maths Optional Paper 2 Q5b — Step-by-Step Solution
10 marks · Section B
Gauss-Jordan method · Numerical Analysis · asked 2× in 13 yrs · Read the full method →
Question
Solve the following system by the Gauss-Jordan method:
2x+3y−z=5,4x+4y−3z=3,2x−3y+2z=2.
Technique
Forward elimination to upper-triangular form, then back-elimination to identity (Gauss-Jordan = continue past upper-triangular).
Solution
Augmented matrix:
[A∣b]=24234−3−1−32∣∣∣532.
Forward elimination:
R2→R2−2R1: (0,−2,−1,−7). R3→R3−R1: (0,−6,3,−3). R3→R3−3R2: (0,0,6,18).
Normalise pivots:
R3→R3/6: (0,0,1,3). R2→R2/(−2): (0,1,1/2,7/2). R1→R1/2: (1,3/2,−1/2,5/2).
Back-elimination:
R2→R2−(1/2)R3: (0,1,0,2). R1→R1+(1/2)R3: (1,3/2,0,4).
R1→R1−(3/2)R2: (1,0,0,1).
Reduced augmented matrix:
100010001∣∣∣123.
Answer
x=1,y=2,z=3.