Solve x + 5y = −9, −x + 2y = 2

Worked out line by line the way a teacher would write it.

Answer

Solutionx = −4, y = −1

Step-by-step solution

10 steps
  1. 1 The system, with the equations numbered
    \begin{aligned}x + 5 y &= -9 & (1)\\ 2 y - x &= 2 & (2)\end{aligned}
  2. 2 Solve equation (1) for x
    x + 5 y = -9
  3. 3 Subtract 5y from both sides
    x = - 5 y - 9

    Move the constant terms to the right.

  4. 4 Substitute x = -5y - 9 into equation (2)
    - - 5 y - 9 + 2 y = 2

    Now there is a single equation in y.

  5. 5 Distribute: multiply each term inside the brackets
    5 y + 9 + 2 y = 2

    A minus sign in front of a bracket changes the sign of every term inside.

  6. 6 Combine like terms
    7 y + 9 = 2
  7. 7 Subtract 9 from both sides
    7 y = -7

    Move the constant terms to the right.

  8. 8 Divide both sides by 7
    y = \frac{-7}{7}
  9. 9 Simplify
    y = -1
  10. 10 Back-substitute y = -1 to find x
    x = -9 - 5 \left(-1\right) = -4

Check by substitution

EquationLeft sideRight side
(1)−9−9✓
(2)22✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.