Solve the system: -x + 4y + 6z = 21, z = y + 16, 6x + 5y + 2z = 13

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

Answer

\((5, -7, 9)\)

Work

  1. x + 10y = -75; 6x + 7y = -19
  2. x = 10y + 75
  3. 6(10y + 75) + 7y = -19 => 67y = -469 => y = -7
  4. x = 10(-7) + 75 = 5; z = -7 + 16 = 9

Step-by-step solution

Substitute $z = y + 16$ into the other equations: $-x + 4y + 6(y + 16) = 21 \Rightarrow -x + 10y = -75$ and $6x + 5y + 2(y + 16) = 13 \Rightarrow 6x + 7y = -19$. Solving this system yields $x=5, y=-7$, then $z = -7 + 16 = 9$.