Systems of Linear Equations · Hard

Three equations in three unknowns

Solve the system

\[ \begin{cases} x + y + z = 5 \\ 2x + 3y - z = -3 \\ 3x - y + 2z = 15 \end{cases} \]

What is the value of \(z\)?

Write fractions as a/b, roots as sqrt(…), powers with ^ and π as pi. Use a dot for decimals.

Show a hint

Eliminate the same variable twice, using two different pairs of equations, to get a system of two equations in two unknowns.

Show the step-by-step solution
  1. Add the first two equations to eliminate \(z\): \(3x + 4y = 2\).
  2. Multiply the second equation by 2 and add the third: \((4x + 6y - 2z) + (3x - y + 2z) = -6 + 15\), so \(7x + 5y = 9\).
  3. Solve \(3x + 4y = 2\) and \(7x + 5y = 9\). Multiply the first by 5 and the second by 4: \(15x + 20y = 10\) and \(28x + 20y = 36\).
  4. Subtract: \(13x = 26\), so \(x = 2\). Then \(3 \cdot 2 + 4y = 2\) gives \(4y = -4\), so \(y = -1\).
  5. From the first equation: \(z = 5 - 2 - (-1) = 4\).
  6. Check the third equation: \(3 \cdot 2 - (-1) + 2 \cdot 4 = 6 + 1 + 8 = 15\). Correct.

Answer: \(z = 4\).

All 10 systems of linear equations problems and the topic guide

Learn the method: Systems of Equations — Substitution, Elimination and Graphing