AJ L. answered 04/02/23
Patient and knowledgeable Algebra Tutor committed to student mastery
First, let's add the bottom equation to the top equation so we can eliminate y and z to get x:
(x+y+z=5) + (3x-y-z=3) --> 4x=8 --> x=2
Now, plug x=2 into the second equation, which will be added to the bottom equation to eliminate z and get y:
(2-2y+z=8) + (3(2)-y-z=3) --> 8-3y=11 --> -3y=3 --> y=-1
Finally, use the top equation to plug in x=2 and y=-1 to get z:
x+y+z=5 --> 2+(-1)+z=5 --> 2-1+z=5 --> 1+z=5 --> z=4
Thus, the solution is (x,y,z) = (2,-1,4)
Hope this helped!