Q. x1+x2+2x3=−1x1−2x2+x3=−53x1+x2+x3=3Find all solutions by waing the Gausionanelimination& Gaus-Jordan
Write Augmented Matrix: Write down the augmented matrix for the system of equations.⎣⎡113amp;1amp;−2amp;1amp;2amp;1amp;1amp;∣amp;∣amp;∣amp;−1amp;−5amp;3⎦⎤
Perform Row Operations: Perform the first row operation: R2 = R2 - R1.⎣⎡103amp;1amp;−3amp;1amp;2amp;−1amp;1amp;∣amp;∣amp;∣amp;−1amp;−4amp;3⎦⎤
Divide Second Row: Perform the second row operation: R3 = R3 - 3R1.⎣⎡100amp;1amp;−3amp;−2amp;2amp;−1amp;−5amp;∣amp;∣amp;∣amp;−1amp;−4amp;6⎦⎤
Perform Third Row Operation: Divide the second row by −3 to make the leading coefficient 1.⎣⎡100amp;1amp;1amp;−2amp;2amp;1/3amp;−5amp;∣amp;∣amp;∣amp;−1amp;4/3amp;6⎦⎤
Divide Third Row: Perform the third row operation: R3 = R3 + 2R2.⎣⎡100amp;1amp;1amp;0amp;2amp;1/3amp;−13/3amp;∣amp;∣amp;∣amp;−1amp;4/3amp;22/3⎦⎤
Perform Back Substitution: Divide the third row by −13/3 to make the leading coefficient 1.⎣⎡100amp;1amp;1amp;0amp;2amp;1/3amp;1amp;∣amp;∣amp;∣amp;−1amp;4/3amp;−2⎦⎤
Perform Back Substitution: Divide the third row by −13/3 to make the leading coefficient 1.⎣⎡100amp;1amp;1amp;0amp;2amp;1/3amp;1amp;∣amp;∣amp;∣amp;−1amp;4/3amp;−2⎦⎤ Perform back substitution starting from the third row.Solve for x3: x3=−2.Then, substitute x3 into the second row equation to solve for x2: x2+1/3(−2)=4/3, which simplifies to x2=2.Finally, substitute x2 and x3 into the first row equation to solve for x1: x1+2+2(−2)=−1, which simplifies to x3=−20.