Solve the system: 5x - 6y + z = -21, 3x - 6y + 2z = 3, 3x + 3y + z = -30

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

Answer

\((-9, -3, 6)\)

Work

Eq 2 - Eq 1: -2x + z = 24
Eq 2 + 2(Eq 3): 9x + 4z = -57
Substitute z = 2x + 24 into 9x + 4z = -57:
9x + 4(2x + 24) = -57 => 17x = -153 => x = -9
z = 2(-9) + 24 = 6
3(-9) + 3y + 6 = -30 => 3y = -9 => y = -3

Step-by-step solution

  1. Subtract the first equation from the second to eliminate $y$: $(3x - 6y + 2z) - (5x - 6y + z) = 3 - (-21) \implies -2x + z = 24$.
  2. Multiply the third equation by 2 to get $6x + 6y + 2z = -60$, then add it to the second equation to eliminate $y$: $(6x + 6y + 2z) + (3x - 6y + 2z) = -60 + 3 \implies 9x + 4z = -57$.
  3. Solve the system of two equations: $-2x + z = 24$ and $9x + 4z = -57$. From the first, $z = 2x + 24$. Substitute into the second: $9x + 4(2x + 24) = -57 \implies 9x + 8x + 96 = -57 \implies 17x = -153 \implies x = -9$.
  4. Find $z$: $z = 2(-9) + 24 = -18 + 24 = 6$.
  5. Find $y$ using the third equation: $3(-9) + 3y + 6 = -30 \implies -27 + 3y + 6 = -30 \implies 3y - 21 = -30 \implies 3y = -9 \implies y = -3$.