Solve the system of equations by elimination: -2x - 4y + 2z = -12, 5x + 3y - 4z = 3...

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

Answer

(7, 0, 1)

Work

1) x + 2y - z = 6
2) 5x + 3y - 4z = 31
3) y - 5z = -5
Eliminate z: 4(x + 2y - z) = 4(6) -> 4x + 8y - 4z = 24
(5x + 3y - 4z) - (4x + 8y - 4z) = 31 - 24 -> x - 5y = 7
Substitute x = 5y + 7 and z = (y+5)/5 into -2x - 4y + 2z = -12:
-2(5y+7) - 4y + 2(y+5)/5 = -12
-50y - 70 - 20y + 2y + 10 = -60
-68y = 0 -> y = 0
x = 7, z = 1

Step-by-step solution

  1. Simplify the first equation by dividing by $-2$: $x + 2y - z = 6$.
  2. Eliminate $z$ from the first two equations: multiply the simplified first equation by $4$ to get $4x + 8y - 4z = 24$.
  3. Subtract this from the second equation: $(5x + 3y - 4z) - (4x + 8y - 4z) = 31 - 24$, which simplifies to $x - 5y = 7$.
  4. Now you have a system of two equations with $y$ and $z$: $x - 5y = 7$ and $y - 5z = -5$.
  5. Express $x$ and $z$ in terms of $y$: $x = 5y + 7$ and $z = \frac{y + 5}{5}$.
  6. Substitute these into the first original equation $-2x - 4y + 2z = -12$: $-2(5y + 7) - 4y + 2(\frac{y + 5}{5}) = -12$.
  7. Multiply by $5$ to clear the fraction: $-10(5y + 7) - 20y + 2(y + 5) = -60$.
  8. Solve for $y$: $-50y - 70 - 20y + 2y + 10 = -60$, so $-68y = 0$, which gives $y = 0$.
  9. Find $x$ and $z$: $x = 5(0) + 7 = 7$ and $z = \frac{0 + 5}{5} = 1$.