Systems of two linear equations
Substitution and elimination, what the two lines look like when there is one solution, none or infinitely many, and word problems that turn into two equations.
First, the rules
Two unknowns need two equations
See it
Two lines, one crossing
Change the coefficients. The green dot is the solution. Make the lines parallel (same ratio a : b, different c) and the solution disappears; make them identical and every point works.
Step by step
Worked examples
Elimination
match a coefficientSolve 2x + 3y = 12 and 3x − 2y = 5.
Ask yourself: Which unknown is easier to cancel? Multiply the first by 2 and the second by 3 to get 6y and −6y.
Show the solution
- First × 2: 4x + 6y = 24. Second × 3: 9x − 6y = 15.
- Add: 13x = 39 ⇒ x = 3.
- Back into the first: 6 + 3y = 12 ⇒ y = 2. Check in the second: 9 − 4 = 5 ✓.
Answer (x, y) = (3, 2)
When there is no solution
parallel linesSolve x − 2y = 4 and −3x + 6y = 9.
Ask yourself: Multiply the first equation by −3. What do you get on the left? Compare with the second.
Show the solution
- First × (−3): −3x + 6y = −12.
- Second says the same left side equals 9. Subtracting: 0 = 21 — impossible.
- The ratios 1 / (−3) = (−2) / 6 are equal but 4 / 9 is different: parallel lines, never meet.
Answer no solution
Tickets
word problemA cinema sold 150 tickets for a total of 1,050. Adult tickets cost 9 and child tickets cost 5. How many of each were sold?
Ask yourself: Two unknowns: adults a and children c. One sentence about the count, one about the money.
Show the solution
- Count: a + c = 150. Money: 9a + 5c = 1050.
- Substitution: c = 150 − a, so 9a + 5(150 − a) = 1050 ⇒ 4a + 750 = 1050 ⇒ a = 75.
- c = 75. Check money: 9 · 75 + 5 · 75 = 675 + 375 = 1050 ✓.
Answer 75 adult and 75 child tickets
Practice: solve the system
0 / 0Every system here has exactly one solution with whole-number coordinates — pick the pair (x, y). Your best score is kept in this browser only.
About this lesson
Systems of two linear equations in two unknowns: the substitution method, the elimination (addition) method, what the picture of two lines says — one crossing point, parallel lines (no solution) or the same line (infinitely many) — and how to set up a system from a word problem about prices or ages. Move the lines yourself, then practise.
Part of Learn mathematics · Grade 9 · Algebra. Check a number with the scientific calculator or draw a function with the function plotter. Everything on this page runs in your browser; nothing you type is sent or stored, and your practice score stays in this browser only. Spotted an error? Tell us.