← All guides

How to solve systems of equations (substitution and elimination)

Solve two equations with two unknowns by substitution or elimination, check the answer, and know when there is no solution or infinitely many.

Video lesson: Solving systems by substitution (free, with subtitles)

A system is two equations that must both be true at once. The solution is the point where their lines cross.

Method 1: substitution

Best when one equation already says "y = …" or "x = …".

Solve y = 2x − 1 and x + y = 8.

Solution: (3, 5). Check in both: 5 = 2(3) − 1 ✓ and 3 + 5 = 8 ✓.

Method 2: elimination

Best when the equations line up, like ax + by = c.

Solve 3x + 2y = 16 and 5x − 2y = 16.

Solution: (4, 2). Check the second: 20 − 4 = 16 ✓.

If nothing cancels straight away, multiply one or both equations first so a pair of terms becomes opposites.

Why elimination is allowed

Both equations are true statements, so adding equal things to equal things gives another true statement. You're adding balanced scales together.

No solution or infinitely many

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: Solving systems by substitution All courses