Q: Solve the following system of equations
3x+2y+4z=7
2x+ y+ z=7
x+3y+5z=2
using Gauss elimination with pivoting. Store the multipliers and also write the pivoting vector.
Expert's answer
Answer on Question #48177 – Math - Matrix | Tensor Analysis
Question.
Solve the following system of equations ⎩⎨⎧3x+2y+4z=72x+y+z=7x+3y+5z=2 using Gauss elimination with pivoting. Store the multipliers and also write the pivoting vector.
Solution.
The extended matrix has the form: ⎝⎛321213415772⎠⎞. The pivoting vector is ⎝⎛321⎠⎞. Use the next row operation: 3R2−2R1→R2 and 3R3−R1→R3. The matrix after the first pivot looks like this: ⎝⎛3002−174−51177−1⎠⎞. Now the pivoting vector is (7−1). Multiply the second row by 7 and add it to the third row. We shall have: ⎝⎛3002−104−5−247748⎠⎞. So −24z=48⇔z=−2,−y−5z=7⇔y=−5z−7=3,3x+2y+4z=7⇔3x=7−2y−4z=9⇔x=3.