x+y+z=8, 5x-y-4z=-29, -x-y+7z=32

Check the final answer first, then review the worked steps.

Answer

A. The unique solution to the system is (-1, 4, 5).

Work

  1. (x+y+z) + (-x-y+7z) = 8+32 => 8z=40 => z=5
  2. x+y+5=8 => x+y=3
  3. 5x-y-20=-29 => 5x-y=-9
  4. (x+y)+(5x-y)=3-9 => 6x=-6 => x=-1
  5. 1+y=3 => y=4

Step-by-step solution

  1. Add the first and third equations to eliminate $x$ and $y$: $(x+y+z) + (-x-y+7z) = 8 + 32$, which simplifies to $8z = 40$, so $z = 5$.
  2. Substitute $z = 5$ into the first equation: $x + y + 5 = 8$, which simplifies to $x + y = 3$.
  3. Substitute $z = 5$ into the second equation: $5x - y - 4(5) = -29$, which simplifies to $5x - y - 20 = -29$, or $5x - y = -9$.
  4. Add the two new equations: $(x + y) + (5x - y) = 3 + (-9)$, which gives $6x = -6$, so $x = -1$.
  5. Solve for $y$ using $x + y = 3$: $-1 + y = 3$, so $y = 4$.
  6. The unique solution is $(-1, 4, 5)$.