Q. question: {x1+x2+2x3=−1x1−2x2+x3=−53x1+x2+x3=3 a) Find all solutions by using the Gaussian elimination & Gaus-Jordan Reduction
Write Equations: Step 1: Write down the system of equations.x1+x2+2x3x1−2x2+x33x1+x2+x3=−1=−5=3
Convert to Matrix: Step 2: Convert the system into an augmented matrix.⎣⎡1131−21211∣−1∣−5∣3⎦⎤
Leading 1 in R1: Step 3: Perform row operations to get a leading 1 in the first row, first column (R1 is already set).No changes needed for R1.
Make Column Zero: Step 4: Make the elements below the leading 1 in the first column zero.Subtract R1 from R2 and subtract 3 times R1 from R3.⎣⎡1001−3−22−1−5∣−1∣−4∣6⎦⎤
Leading 1 in R2: Step 5: Get a leading 1 in the second row, second column.Divide R2 by −3.⎣⎡10011−221/3−5∣−1∣4/3∣6⎦⎤
Make Column Zero: Step 6: Make the elements above and below the leading 1 in the second column zero.Add −1 times R2 to R1 and add 2 times R2 to R3.⎣⎡1000105/31/3−13/3∣−7/3∣4/3∣14/3⎦⎤
Leading 1 in R3: Step 7: Get a leading 1 in the third row, third column.Divide R3 by −13/3.⎣⎡1000105/31/31∣−7/3∣4/3∣−14/13⎦⎤
Make Column Zero: Step 8: Make the elements above the leading 1 in the third column zero.Subtract 5/3 times R3 from R1 and subtract 1/3 times R3 from R2.⎣⎡100010001∣−1∣2∣−14/13⎦⎤