← 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+3yz=5,4x+4y3z=3,2x3y+2z=2.2x+3y-z=5,\quad 4x+4y-3z=3,\quad 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:

[Ab]=[231544332322].[A|b]=\begin{bmatrix}2 & 3 & -1 & | & 5\\ 4 & 4 & -3 & | & 3\\ 2 & -3 & 2 & | & 2\end{bmatrix}.

Forward elimination:

R2R22R1R_2\to R_2-2R_1: (0,2,1,7)(0,-2,-1,-7). R3R3R1R_3\to R_3-R_1: (0,6,3,3)(0,-6,3,-3). R3R33R2R_3\to R_3-3R_2: (0,0,6,18)(0,0,6,18).

Normalise pivots:

R3R3/6R_3\to R_3/6: (0,0,1,3)(0,0,1,3). R2R2/(2)R_2\to R_2/(-2): (0,1,1/2,7/2)(0,1,1/2,7/2). R1R1/2R_1\to R_1/2: (1,3/2,1/2,5/2)(1,3/2,-1/2,5/2).

Back-elimination:

R2R2(1/2)R3R_2\to R_2-(1/2)R_3: (0,1,0,2)(0,1,0,2). R1R1+(1/2)R3R_1\to R_1+(1/2)R_3: (1,3/2,0,4)(1,3/2,0,4).

R1R1(3/2)R2R_1\to R_1-(3/2)R_2: (1,0,0,1)(1,0,0,1).

Reduced augmented matrix:

[100101020013].\begin{bmatrix}1 & 0 & 0 & | & 1\\ 0 & 1 & 0 & | & 2\\ 0 & 0 & 1 & | & 3\end{bmatrix}.

Answer

  x=1,  y=2,  z=3.  \boxed{\;x=1,\;y=2,\;z=3.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.