How to solve systems of equations by substitution
A system of equations is two equations that must be true at the same time. Substitution works by using one equation to replace a variable in the other, so you are left with one equation and one unknown.
The four steps
- Isolate one variable in one of the equations (pick the easiest).
- Substitute that expression into the other equation.
- Solve the one-variable equation.
- Go back and find the other variable. Check in both equations.
Example 1: one variable is already isolated
The first equation already says what is. Replace in the second equation:
Now go back: .
The solution is .
Check in the second equation: ✓
Example 2: isolate a variable first
From the first equation, . Substitute into the second:
Be careful with the minus sign in front of the bracket:
Then . The solution is .
Check: ✓ and ✓
Example 3: no solution
Substitute:
That is never true, so the system has no solution. The two lines are parallel and never meet.
If the variables disappear and you get something always true, such as , the two equations describe the same line and there are infinitely many solutions.
Which variable should you isolate?
Pick the one with a coefficient of 1 or −1, because it avoids fractions. In , isolating gives . Isolating would give , which is more work.
Common mistakes
- Substituting into the same equation you used to isolate the variable. You will get something like and learn nothing.
- Forgetting the brackets. is not .
- Stopping after one variable. A solution needs both and .
- Checking in only one equation. A wrong answer can satisfy one of them.
Practice problems
1. and
Answer
, so and . Then . Solution: .
2. and
Answer
, so and . Solution: .
3. and
Answer
From the second equation, . Then , so and , . Solution: .
4. and
Answer
gives , which is always true. The equations are the same line: infinitely many solutions.
More on algebra
How to complete the square, step by step
Solve quadratic equations by completing the square. A clear five-step method with worked examples, including when the first number is not 1.
AlgebraHow to solve two-step equations
Solve two-step equations by undoing addition or subtraction first, then multiplication or division. Worked examples, common mistakes and practice.
AlgebraHow to solve quadratic equations by factoring
Learn to solve quadratic equations by factoring in four steps, with worked examples, the mistakes to avoid, and practice problems with answers.