Solve using the Gauss method:
⎩⎨⎧x+2y−z=32x−y+z=1x+y+z=4
Solution
Write the augmented matrix and bring it to triangular form:
1212−11−111314.Step 1:R2→R2−2R1 and R3→R3−R1.
1002−5−1−1323−51.Step 2:R3→R3−51R2.
1002−50−13573−52.Back-substitution:57z=2⇒z=710; −5y+3z=−5⇒y=713; x=3−2y+z=75.
x=75,y=713,z=710
Check in the third equation: 75+713+710=728=4 ✓.