Skip to content

· 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.

(2, 3)y = x + 1y = −x + 5 246246
The lines cross at (2, 3), so x = 2 and y = 3.

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
  1. 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
  2. Now there's only x. Solve: 5x + 1 = 11, so 5x = 10 and x = 2.
  3. 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?

  1. Name the unknowns: a = adult tickets, c = child tickets.
  2. One equation for each fact:
    • How many: a + c = 10
    • How much money: 8a + 5c = 65
  3. 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.
  4. 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

  1. Solve: y = 3x and x + y = 8.
  2. Solve: x + y = 9 and x − y = 1.
  3. How many solutions does y = 4x + 2 and y = 4x + 7 have?
  4. 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.)

Practice

Worksheets for this lesson

Free printable worksheets with answer keys. Solve them online and check your answers, or print them.

Looking for something else? Choose a grade

More Grade 8 lessons

The Pythagorean Theorem

In a right triangle, the two small squares add up to the big square. See why 3, 4, 5 works, then find a missing side.

2 min read

Exponent Rules Made Simple

Why do you add exponents when you multiply? Write the powers out the long way and every rule explains itself: product, quotient, power, zero and negative exponents.

5 min read

← All Grade 8 lessons