Math Bytes · Algebra 1 · Episode 13 · Systems of equations
Solving by substitution
Substitution solves a system of equations without a graph. Take an equation that says what one letter is, swap that into the other equation, solve for the one letter left, then put it back in. Example: y = x + 1 and x + y = 7 give (3, 4).
Why swap a letter in?
Reading the crossing point off a graph works when the lines happen to cross at whole numbers you can see. Substitution finds the solution exactly, with algebra. The idea: two letters in one equation is too many to solve, so you replace one letter with something that only uses the other.
Step 1: swap it in
Take the system
y = x + 1x + y = 7
The first equation already says what y is: x + 1. Since the solution uses the same y in both equations, you can substitute (swap in) x + 1 for y in the second equation:
x + (x + 1) = 7
The brackets keep x + 1 together as one value. Now there is only one letter left, x.
Step 2: solve for the letter that's left
- Combine the two x's:
2x + 1 = 7 - Take away 1 from both sides:
2x = 6 - Divide both sides by 2:
x = 3
Step 3: put it back in, then check
Put x = 3 back into y = x + 1: y = 3 + 1 = 4. The solution is the ordered pair (3, 4).
Check it in both original equations:
x + y = 7:3 + 4 = 7✓y = x + 1:4 = 3 + 1✓
Try it yourself
Solve y = x − 1 and x + y = 9.
Swap x − 1 in for y: x + (x − 1) = 9, so 2x − 1 = 9, 2x = 10 and x = 5. Then y = 5 − 1 = 4. Check: 5 + 4 = 9 ✓ and 4 = 5 − 1 ✓. The solution is (5, 4).
Good to know
- "Substitute" means replace one thing with something equal to it. In the video it is said as "swap that in."
- If neither equation is already solved for a letter, solve one of them for a letter first. For
x − y = 1and2x + y = 11: the first givesx = y + 1, so2(y + 1) + y = 11,3y + 2 = 11,y = 3, andx = 4. Solution(4, 3). - Always use brackets when you swap in an expression. Here they could be dropped because of the plus sign, but after a minus sign or a number in front, they matter.
- After finding one letter, put it back into either original equation to find the other, and check the pair in both equations.
- The next lesson shows another algebra method, elimination, which adds or subtracts the equations to get rid of a letter.
Answer to the comment question
y = 2x and x + y = 9. Solve the system. (3, 6). Swap 2x in for y: x + 2x = 9, so 3x = 9 and x = 3. Then y = 2 × 3 = 6. Check: 3 + 6 = 9 ✓ and 6 = 2 × 3 ✓.
Test your knowledge
Quick quiz: Solving by substitution
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Elementary Algebra 2e, Solve Systems of Equations by Substitution": solve one equation for a variable, substitute into the other, solve, substitute back and check
- OpenStax, "Elementary Algebra 2e, Solve Systems of Equations by Graphing": a solution makes every equation in the system true
- Common Core State Standards, "High School Algebra, Reasoning with Equations and Inequalities": solving systems of linear equations exactly, focusing on pairs of linear equations in two variables
Video transcript
How do you solve a system without drawing a graph? Swap one letter in.
Take y = x + 1, and x + y = 7.
The first equation already says what y is: x + 1. So swap that in for y in the second.
Now it says x + (x + 1) = 7. Only one letter left.
2x + 1 = 7. Take away 1: 2x = 6. Divide by 2: x = 3.
Put 3 back in: y = 3 + 1, which is 4. The solution is (3, 4).
Check: 3 + 4 is 7. It works in both.
Your turn. y = 2x, and x + y = 9. Solve it! Comment your answer below!
That's your byte.
More from Algebra 1
- Algebra 1 EP10y = mx + b
- Algebra 1 EP11Parallel and perpendicular lines
- Algebra 1 EP15Exponent rules
- Algebra 1 EP16Zero and negative exponents