Q. x1+x2+2x3=−1x1−2x2+x3=−53x1+x2+x3=3a)Find all solutions using Gaussian elimination or Gauss-Jordan reduction.
Write Matrix Form: Write down the system of equations in matrix form:⎣⎡113amp;1amp;−2amp;1amp;2amp;1amp;1amp;∣amp;∣amp;∣amp;−1amp;−5amp;3⎦⎤
Gaussian Elimination: Begin Gaussian elimination by making the first element of the first column a 1 (if it's not already) and use it to zero out the rest of the first column:- Subtract the first row from the second row.- Subtract 3 times the first row from the third row.⎣⎡100amp;1amp;−3amp;−2amp;2amp;−1amp;−5amp;∣amp;∣amp;∣amp;−1amp;−4amp;6⎦⎤
Make Second Element 1: Make the second element of the second column a 1 by dividing the second row by −3:⎣⎡100amp;1amp;1amp;−2amp;2amp;1/3amp;−5amp;∣amp;∣amp;∣amp;−1amp;4/3amp;6⎦⎤
Zero Out Second Column: Use the second row to zero out the rest of the second column:- Add the second row to the first row.- Add 2 times the second row to the third row.⎣⎡100amp;0amp;1amp;0amp;7/3amp;1/3amp;−13/3amp;∣amp;∣amp;∣amp;−1/3amp;4/3amp;14/3⎦⎤
Make Third Element 1: Make the third element of the third column a 1 by dividing the third row by −13/3:⎣⎡100amp;0amp;1amp;0amp;7/3amp;1/3amp;1amp;∣amp;∣amp;∣amp;−1/3amp;4/3amp;−14/13⎦⎤
Zero Out Third Column: Use the third row to zero out the rest of the third column:- Subtract 7/3 times the third row from the first row.- Subtract 1/3 times the third row from the second row.⎣⎡100amp;0amp;1amp;0amp;0amp;0amp;1amp;∣amp;∣amp;∣amp;3amp;5amp;−14/13⎦⎤