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:⎣⎡1131−21211∣∣∣−1−53⎦⎤
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.⎣⎡1001−3−22−1−5∣∣∣−1−46⎦⎤
Make Second Element 1: Make the second element of the second column a 1 by dividing the second row by −3:⎣⎡10011−221/3−5∣∣∣−14/36⎦⎤
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.⎣⎡1000107/31/3−13/3∣∣∣−1/34/314/3⎦⎤
Make Third Element 1: Make the third element of the third column a 1 by dividing the third row by −13/3:⎣⎡1000107/31/31∣∣∣−1/34/3−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.⎣⎡100010001∣∣∣35−14/13⎦⎤