Systems of equations: substitution – exercises with solutions
Solve two equations with two unknowns by putting what one letter equals into the other equation.
How to solve it
When one equation already says what y is, put that expression in for y in the other equation. Then that equation has only x in it, and you solve it as usual. Finally, put the x you found back into the first equation to find y.
Worked example
Solve for x and y
y equals minus x plus 6; minus 5 x minus 2 y equals minus 24
Step 1: The first equation says y = −x + 6. Put −x + 6 in for y in the second, in a bracket.
y equals minus x plus 6; minus 5 x minus 2 the quantity minus x plus 6, equals minus 24Step 2: The minus in front of the bracket: −2(−x + 6) = 2x − 12.
y equals minus x plus 6; minus 5 x plus 2 x minus 12 equals minus 24Step 3: Gather the x-terms: −5x + 2x = −3x.
y equals minus x plus 6; minus 3 x minus 12 equals minus 24Step 4: Move −12 over to the right, where it becomes +12.
y equals minus x plus 6; minus 3 x equals minus 24 plus 12Step 5: Add the numbers: −24 + 12 = −12.
y equals minus x plus 6; minus 3 x equals minus 12Step 6: Divide both sides by −3: x = 4.
y equals minus x plus 6; x equals 4Step 7: Put x = 4 into y = −x + 6.
y equals minus 4 plus 6; x equals 4Step 8: −4 + 6 = 2, so y = 2.
y equals 2; x equals 4
Typical mistakes
- What you put in place of a letter goes in as a whole, inside brackets: if x = 2 + y, then 3x becomes 3(2 + y), not 3 · 2 + y.
- When a term moves to the other side of the equals sign, its sign flips: plus becomes minus, minus becomes plus.
- Only like terms can be combined. Terms with x go together, and plain numbers go together, but not one with the other.