· Grade 8 lesson · 5 min read
Lesson: Systems of Equations, Three Ways to Solve (Grade 8)
A system is two equations that are both true at once. The solution is the pair of numbers that works in both, and on a graph it's where the two lines cross.
What a solution looks like
Look at this system:
- y = x + 1
- y = −x + 5
Many pairs make the first equation true: (0, 1), (1, 2), (2, 3)… Many make the second true: (0, 5), (1, 4), (2, 3)… Only one pair is on both lists: (2, 3).
Way 1: Graph it
Each equation is a line (slope and y-intercept tell you how to draw it). The solution is the point where they meet.
Always check in both equations: 3 = 2 + 1 ✔ and 3 = −2 + 5 ✔
Graphing shows you what's going on, but it's hard to read an answer like (1.4, 2.6) off a grid. For exact answers, use algebra.
Way 2: Substitution
Use this when one equation already says "y = …" or "x = …".
- y = 2x + 1
- 3x + y = 11
- The first equation says y is the same as 2x + 1. So put 2x + 1 in place of y in the second: 3x + (2x + 1) = 11
- Now there's only x. Solve: 5x + 1 = 11, so 5x = 10 and x = 2.
- Put x = 2 back into y = 2x + 1: y = 4 + 1 = 5.
The solution is (2, 5). Check: 3(2) + 5 = 11 ✔
Way 3: Elimination
Use this when both equations look like ax + by = c. Add or subtract the equations so one letter disappears.
- x + y = 10
- x − y = 4
The y's are opposites (+y and −y), so add the equations:
(x + y) + (x − y) = 10 + 4, so 2x = 14 and x = 7.
Then 7 + y = 10, so y = 3. The solution is (7, 3).
When nothing cancels yet, multiply first.
- 2x + 3y = 12
- x + y = 5
Multiply the second equation by 2: 2x + 2y = 10. Now both have 2x, so subtract:
(2x + 3y) − (2x + 2y) = 12 − 10, so y = 2. Then x + 2 = 5, so x = 3.
Check: 2(3) + 3(2) = 6 + 6 = 12 ✔
One, none or infinitely many
Two lines can meet in three ways:
| The lines | Solutions | What the algebra says |
|---|---|---|
| cross once | one | you get x = and y = |
| are parallel | none | you get something false, like 0 = 4 |
| are the same line | infinitely many | you get something always true, like 0 = 0 |
Example: y = 2x + 3 and y = 2x − 1 have the same slope and different y-intercepts. They're parallel, so there's no solution. Substitution agrees: 2x + 3 = 2x − 1 gives 3 = −1, which is false.
A word problem
The school play sold 10 tickets for $65. Adult tickets cost $8 and child tickets cost $5. How many of each?
- Name the unknowns: a = adult tickets, c = child tickets.
- One equation for each fact:
- How many: a + c = 10
- How much money: 8a + 5c = 65
- Solve. From the first, c = 10 − a. Substitute: 8a + 5(10 − a) = 65, so 8a + 50 − 5a = 65, so 3a = 15 and a = 5. Then c = 5.
- Answer the question: 5 adult tickets and 5 child tickets. Check: $40 + $25 = $65 ✔
Which way should I use?
- Graphing: to see the answer, or when the question gives you the graph.
- Substitution: when a letter is already alone, like y = 3x − 2.
- Elimination: when both equations are in ax + by = c form.
They all give the same answer. Pick the one with the least work.
Easy mistakes
- Stopping at x. A system needs both numbers. Find y too, and write the answer as (x, y).
- Forgetting brackets when you substitute. 5(10 − a) is 50 − 5a, not 50 − a.
- Subtracting only part of an equation. In elimination, subtract every term, including the number on the right.
- Checking in only one equation. The answer has to work in both.
Try it
- Solve: y = 3x and x + y = 8.
- Solve: x + y = 9 and x − y = 1.
- How many solutions does y = 4x + 2 and y = 4x + 7 have?
- 2 pens and 1 notebook cost $7. 1 pen and 1 notebook cost $5. How much is a pen?
Show the answers
1. x + 3x = 8, so x = 2 and y = 6. The answer is (2, 6).
2. Add: 2x = 10, so x = 5 and y = 4. The answer is (5, 4).
3. None. Same slope, different y-intercepts, so the lines are parallel.
4. Subtract the second from the first: 1 pen = $2. (A notebook is $3.)