Systems of equations

A system of equations is two equations with the same two unknowns. Its solution is the pair x, y that makes both true.

The idea: two clues, two unknowns

One equation with two unknowns, like x + y = 10, has many answers. A second equation, like x − y = 2, narrows it down to one pair: x = 6, y = 4.

Each equation is a clue. Together they pin down both numbers, like two clues in a mystery.

See it: pictures to draw with your child

Copy these onto paper or a whiteboard. A quick sketch makes the idea concrete before any written method.

001122334455667788xyy = xx + y = 6(3, 3)
y = x and x + y = 6 cross at (3, 3). That point is the solution.
001122334455667788xyy = 2xx + y = 6(2, 4)
y = 2x and x + y = 6 cross at (2, 4).
x + y = 10x − y = 2add: 2x = 12x = 6, y = 4
Adding the equations cancels y.

Method 1: graphing

Each equation is a straight line. The solution is the point where the lines cross, because that point is on both lines.

Graphing shows the idea clearly, but it is only exact when the crossing point lands on grid lines.

Method 2: substitution

If one equation says what y equals, put that into the other. For y = 2x and x + y = 12, replace y: x + 2x = 12, so 3x = 12 and x = 4.

Then find y from the easier equation: y = 2 × 4 = 8. Always check both equations: 4 + 8 = 12 (correct) and 8 = 2 × 4 (correct).

Method 3: elimination

Add or subtract the equations so one letter cancels. In x + y = 10 and x − y = 2, adding them cancels y: 2x = 12, so x = 6.

Then y = 10 − 6 = 4. If no letter cancels straight away, multiply one equation first so the coefficients match.

Key words

One, none or infinitely many solutions

Two straight lines can cross once, never, or lie on top of each other. So a system has one solution, no solution, or infinitely many.

Parallel lines, like y = 2x + 1 and y = 2x + 5, never meet, so there is no solution. Algebra shows this as a false statement like 1 = 5.

If the equations are the same line, every point works. Algebra shows this as a true statement like 0 = 0.

Choosing the best method

Use substitution when one equation already starts y = … or x = …. Use elimination when a letter has the same or opposite coefficient in both equations.

Use graphing to see what is happening, or to check an answer. Graphing calculators and the coordinate plane make this quick.

Whichever method you use, the answer is the same. Pick the one with the fewest steps.

Systems of equations in real life

A school sells adult tickets for $5 and child tickets for $2. It sold 100 tickets and took $320. How many of each?

Write a + c = 100 and 5a + 2c = 320. Substitute c = 100 − a: 5a + 200 − 2a = 320, so 3a = 120, a = 40 and c = 60.

Mixtures, ticket sales and comparing plans all lead to systems. Two facts about two unknowns is the signal.

Quiz: systems of equations

Find x and y. Type each in its own box.

Where this fits: equations step by step

  1. What is an equation
  2. Variables
  3. Algebraic expressions
  4. Evaluating expressions
  5. Writing expressions
  6. Inverse operations
  7. One-step equations
  8. Combining like terms
  9. Distributive property with variables
  10. Two-step equations
  11. Equations with fractions and decimals
  12. Solving inequalities
  13. Multi-step equations
  14. Variables on both sides
  15. Systems of equations (this page)
  16. Equation word problems

What to say to your child

A short script for teaching it the first time. Pause after each line and let your child do the next step.

  1. “x + y = 10. Can you find x and y?” (Lots of answers.)
  2. “Now x − y = 2 as well.” (Only 6 and 4 work.)
  3. “What happens if we add the two equations?” (The y’s cancel: 2x = 12.)
  4. “So x = …?” (6.) “And y?” (4.)
  5. “Check both equations.” (6 + 4 = 10 (correct), 6 − 4 = 2 (correct).)

More worked examples

Example 1: elimination

x + y = 9 and x − y = 3. Add: 2x = 12, so x = 6 and y = 3.

Example 2: substitution

y = 3x and x + y = 16. So 4x = 16, x = 4 and y = 12.

Example 3: subtract to eliminate

2x + y = 11 and x + y = 7. Subtract: x = 4, so y = 3.

Example 4: word problem

Two numbers add to 20 and differ by 6. x + y = 20, x − y = 6, so x = 13 and y = 7.

Practice questions (answers below)

Ask these out loud or write them down. Check each answer, and ask “how did you get that?” for one or two.

  1. x + y = 8, x − y = 2
  2. x + y = 12, x − y = 4
  3. y = 2x, x + y = 9
  4. y = x + 1, x + y = 7
  5. 2x + y = 10, x + y = 6
  6. x + 2y = 7, x + y = 5
  7. 3x + y = 14, x − y = 2
  8. Where do y = x and y = 4 cross?
  9. Two numbers add to 15 and differ by 3
  10. Stretch: 2x + 3y = 13, x + y = 5
Show the answers
  1. x = 5, y = 3
  2. x = 8, y = 4
  3. x = 3, y = 6
  4. x = 3, y = 4
  5. x = 4, y = 2
  6. x = 3, y = 2
  7. x = 4, y = 2
  8. (4, 4)
  9. 9 and 6
  10. x = 2, y = 3

Common mistakes

Finding only xStops after x = 6.Fix: put x back in to find y as well.
Checking one equationChecks x + y = 10 only.Fix: check both equations.
Adding when you should subtractAdds 2x + y = 11 and x + y = 7.Fix: subtract to cancel y when the y terms are the same.

How to teach it at home

Coins puzzle

“10 coins, all 2p or 5p, worth 32p. How many of each?” (6 and 4.)

Ticket prices

Adult and child tickets: 2 adults and 1 child cost $25, 1 adult and 1 child cost $15. (Adult $10, child $5.)

Graph it

Draw y = x and y = 6 − x on squared paper and find where they cross.

By grade

Worksheets and practice

Last reviewed

Questions parents ask

What is a system of equations?

Two or more equations with the same unknowns. The solution makes all of them true at once.

How do you solve a system of equations?

By graphing (where the lines cross), substitution (replace one letter) or elimination (add or subtract to cancel a letter).

Which method is best?

Substitution when one equation already says y = …; elimination when a letter cancels easily; graphing to see the idea.

Can a system have no solution?

Yes, if the lines are parallel. If the lines are the same, there are infinitely many solutions.

What grade learns systems of equations?

Grade 8 under Common Core 8.EE.C.8. In India, class 10.