Simultaneous equations are two equations that share the same unknowns. You are looking for the one pair of values that makes both true at once. Separate the two equations with a semicolon.
Eliminate one unknown by making its coefficients match and adding or subtracting the equations, or substitute one equation into the other. For two linear equations Cramer’s rule gives each unknown as a ratio of determinants, and a line and a curve are solved by substituting the line into the curve.
Each part of this topic has its own page with the formula, worked examples and a solver: Simultaneous equations: linear and quadratic, Cramer’s rule (closed form for simultaneous equations), Line and circle: substitute y = mx + c into x² + y² = r².
Simultaneous equations are two or more equations that must be true at the same time. For two linear equations the solution is the point where the two lines cross.
Finding the price of two items from two receipts.
Finding where two lines or a line and a curve meet.
Solving mixture, speed and age problems with two unknowns.
How to solve it
Label the equations (1) and (2).
Multiply one or both equations so that one unknown has the same coefficient in each.
Add or subtract the equations to eliminate that unknown, and solve for the other.
Substitute the value back into one of the original equations to find the second unknown.
Check the pair in the equation you did not use for substitution.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: x + y = 10; x - y = 2
Worked out by the solver on this page. Press the button to try it yourself.
System of equationsAnswer checked
Answer
x=6,y=4
The system
{x+y=10x−y=2
Label the equations
(1)x+y=10(2)x−y=2
Make the y coefficients match
Multiply (1) by −1 and (2) by 1.
−x−y=−10x−y=2
Subtract to eliminate y
−2x=−12
Solve for x
x=6
Substitute back into (1) to find y
y+6=10⇒y=4
Check
Substituting the solution into every original equation gives true statements ✓
Example 2: 2x + y = 11; x - y = 1
Worked out by the solver on this page. Press the button to try it yourself.
System of equationsAnswer checked
Answer
x=4,y=3
The system
{2x+y=11x−y=1
Label the equations
(1)2x+y=11(2)x−y=1
Make the y coefficients match
Multiply (1) by −1 and (2) by 1.
−2x−y=−11x−y=1
Subtract to eliminate y
−3x=−12
Solve for x
x=4
Substitute back into (1) to find y
y+8=11⇒y=3
Check
Substituting the solution into every original equation gives true statements ✓
Example 3: 3x + 2y = 16; x + y = 6
Worked out by the solver on this page. Press the button to try it yourself.
System of equationsAnswer checked
Answer
x=4,y=2
The system
{3x+2y=16x+y=6
Label the equations
(1)3x+2y=16(2)x+y=6
Make the y coefficients match
Multiply (1) by 1 and (2) by 2.
3x+2y=162x+2y=12
Subtract to eliminate y
x=4
Solve for x
x=4
Substitute back into (1) to find y
2y+12=16⇒y=2
Check
Substituting the solution into every original equation gives true statements ✓
Example 4: 5x - 2y = 4; 3x + 4y = 18
Worked out by the solver on this page. Press the button to try it yourself.
System of equationsAnswer checked
Answer
x=2,y=3
The system
{5x−2y=43x+4y=18
Label the equations
(1)5x−2y=4(2)3x+4y=18
Make the y coefficients match
Multiply (1) by 4 and (2) by −2.
20x−8y=16−6x−8y=−36
Subtract to eliminate y
26x=52
Solve for x
x=2
Substitute back into (1) to find y
−2y+10=4⇒y=3
Check
Substituting the solution into every original equation gives true statements ✓
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
Elimination
x + y = 10 and x − y = 2: x = 6
Add the equations to remove y.
Substitution
y = 2x and x + y = 12: x = 4
Replace y in the second equation.
Parallel lines
x + y = 3 and x + y = 5
No solution: the lines never meet.
Same line
x + y = 3 and 2x + 2y = 6
Infinitely many solutions.
Word problems
To solve two simultaneous equations, remove one unknown by elimination or substitution, solve for the other, then substitute back.
Elimination
Solve x + y = 10 and x − y = 2.
Add the equations2x = 12
Divide by 2x = 6
Substitute backy = 4
Check: 6 − 4 = 2 ✓6
Scaling one equation
Solve 3x + 2y = 16 and x + y = 6.
Multiply the second by 22x + 2y = 12
Subtractx = 4
Find yy = 2
Check: 12 + 4 = 16 ✓4
Substitution Higher
Solve y = 2x and x + y = 12.
Replace yx + 2x = 12
Solve3x = 12, x = 4
Find yy = 8
Check: 4 + 8 = 12 ✓8
A word problem Higher
Two teas and one coffee cost £7; one tea and one coffee cost £4.50. Find the price of a tea.
Equations2t + c = 7 and t + c = 4.5
Subtractt = 2.5
Check: 5 + 2 = 7 ✓2.5
Common mistakes
Adding when you should subtract
x + y = 10 and x − y = 2: subtracting loses y wrongly ✗
add to eliminate y ✓
Choose the operation that cancels.
Changing only one term when scaling
multiply x + y = 6 by 2 to get 2x + y = 12 ✗
2x + 2y = 12 ✓
Multiply every term.
Finding only one unknown
x = 6 and stop ✗
also find y and check ✓
Two unknowns, two answers.
Not checking in the other equation
no check ✗
substitute into both ✓
It catches slips.
Exam tips
Match one coefficient, then add or subtract.
Substitution is quick when one unknown is already isolated.
Find both unknowns.
Check in both equations.
Parallel lines: no solution.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Solve x + y = 9 and x − y = 3 (find x) Foundation
6
2. Solve 2x + y = 11 and x − y = 1 (find x) Foundation
4
3. Solve 3x + 2y = 16 and x + y = 6 (find y) Foundation
-2
4. Solve x + y = 7 and 2x + y = 11 (find x) Higher