Solve 5x + y = −29, −x − y = 9 by substitution

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

Answer

Solutionx = −5, y = −4

Step-by-step solution

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

    Move the constant terms to the right.

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

    Now there is a single equation in x.

  5. 5 Distribute: multiply each term inside the brackets
    - x + 5 x + 29 = 9

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

  6. 6 Combine like terms
    4 x + 29 = 9
  7. 7 Subtract 29 from both sides
    4 x = -20

    Move the constant terms to the right.

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

Check by substitution

EquationLeft sideRight side
(1)−29−29✓
(2)99✓
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.