Uni-Sine
MathematicsAlgebra

Simultaneous equations

Simultaneous equations are two or more equations with the same unknowns, solved together to find values that make all of them true at once. For two linear equations in x and y, there are three ways to solve them: elimination, where you add or subtract the equations to remove one letter; substitution, where you put one equation into the other; and graphs, where the solution is the point where the two lines cross. In the US they are called systems of equations.

What are simultaneous equations?

One equation with two unknowns, such as x + y = 10, has endless solutions: 1 and 9, 4 and 6, 2.5 and 7.5, and so on. A second equation narrows it down. If you also know x − y = 4, only one pair works for both: x = 7 and y = 3. Solving simultaneous equations means finding that pair.

Each linear equation is a straight line on a graph. Every point on a line fits its equation, so the point where two lines cross fits both. That is why most pairs of linear simultaneous equations have exactly one solution.

How to solve simultaneous equations by elimination

Elimination is the method used most at GCSE. The idea is to add or subtract the equations so that one letter disappears, leaving one equation with one unknown.

  1. Line up the equations so the x terms, y terms and numbers are in columns. Label them (1) and (2).
  2. Match the coefficients of one letter, if they are not already the same size, by multiplying one or both equations.
  3. Add or subtract to eliminate that letter. If the signs are different, add. If the signs are the same, subtract. (A handy memory aid: SSS, Same Sign Subtract.)
  4. Solve the equation that is left.
  5. Substitute that value back into one of the original equations to find the other letter.
  6. Check both values in the other original equation.

Example 1: add to eliminate

Solve 3x + 2y = 17 and 5x − 2y = 7.

The y terms are +2y and −2y: the same size with different signs, so add the equations.

(3x + 2y) + (5x - 2y) = 17 + 7
8x = 24

So x = 3. Substitute into the first equation: 9 + 2y = 17, so 2y = 8 and y = 4.

x = 3, y = 4. Check in the second equation: 15 − 8 = 7. Correct.

Example 2: subtract to eliminate

Solve 4x + 3y = 26 and 4x + y = 14.

Both x terms are +4x, the same sign, so subtract the second equation from the first.

(4x + 3y) - (4x + y) = 26 - 14
2y = 12

So y = 6. Then 4x + 6 = 14, so 4x = 8 and x = 2, y = 6.

Example 3: multiply first

Solve 5x + 3y = 9 and 3x − 2y = 13.

No coefficients match yet. To eliminate y, make both y coefficients 6: multiply the first equation by 2 and the second by 3.

10x + 6y = 18
9x - 6y = 39

The signs are different, so add: 19x = 57, which gives x = 3. Substitute into 5x + 3y = 9: 15 + 3y = 9, so 3y = −6 and x = 3, y = −2.

Check in 3x − 2y = 13: 9 + 4 = 13. Correct.

Now try one. Solve the pair, then press Mark to check both values in the course.

Solve a pair of simultaneous equations for x and y.

Press Mark to have your answer marked in the Algebra course.

Solving simultaneous equations by substitution

Substitution is quickest when one equation already says y = ... or x = .... Replace that letter in the other equation, solve, then substitute back.

Example 4: substitution

Solve y = 2x − 1 and 3x + 2y = 19.

Replace y in the second equation with 2x − 1:

3x + 2(2x - 1) = 19
3x + 4x - 2 = 19
7x = 21

So x = 3, and y = 2 × 3 − 1 = 5. x = 3, y = 5.

Substitution is also the method you need when one equation is not linear, such as x² + y² = 25 with y = x + 1. Those are quadratic simultaneous equations, a GCSE Higher topic, and you substitute the linear equation into the quadratic one.

Solving simultaneous equations graphically

Draw both lines on the same axes. The coordinates of the point where they cross are the solution. For y = x + 1 and y = 7 − 2x, the lines cross at (2, 3), so x = 2 and y = 3.

The graphical method shows you what the solution means, but reading a graph usually only gives an approximate answer. GCSE questions ask for "approximate solutions using a graph" for exactly that reason. Use algebra when you need an exact answer. The Simultaneous Equations Calculator draws both lines and solves the pair, so you can see where they meet.

When there is no solution or infinitely many

Not every pair of equations has one solution.

What happensThe linesExample
One solutionCross oncex + y = 10 and x − y = 4
No solutionParallel: same gradient, never meety = 2x + 1 and y = 2x + 5
Infinitely many solutionsThe same line written twicex + y = 3 and 2x + 2y = 6

In elimination, a pair with no solution ends with something impossible such as 0 = 4. A pair with infinitely many ends with 0 = 0.

Which method should you use?

The equations look likeUse
Same coefficient on one letter, such as 3x + 2y and 5x − 2yElimination straight away
Coefficients that need multiplying firstElimination after multiplying
One equation already written as y = ... or x = ...Substitution
One equation has x² or y² in itSubstitution
You are asked for an approximate solution from a graphGraphical method

Simultaneous equations word problems

Many exam questions describe a situation in words. Choose letters for the two unknowns, write two equations, then solve as usual.

Example 5: sports equipment

A school pays £94 for 6 footballs and 4 netballs. Another order of 3 footballs and 5 netballs costs £77. Find the price of each ball.

Let f be the price of a football and n the price of a netball.

6f + 4n = 94
3f + 5n = 77

Doubling the second equation makes the f coefficients match:

6f + 10n = 154

Same sign, so subtract the first equation from this one: 6n = 60, which gives n = 10. Then 6f + 40 = 94, so 6f = 54 and f = 9. A football costs £9 and a netball £10. Check: 3 × 9 + 5 × 10 = 27 + 50 = 77.

Common mistakes

  • Adding when you should subtract. Same sign, subtract; different signs, add. Write the signs in before you start.
  • Multiplying only one side. When you multiply an equation by 3, multiply every term, including the number on the right.
  • Sign errors when subtracting a negative. −2y − (−6y) is +4y. Put brackets round the equation you are subtracting.
  • Stopping after one letter. You need both values. Substitute back to find the second.
  • Skipping the check. Put both values into the equation you did not use for substitution. If it does not work, there is a slip somewhere.

Simultaneous equations at GCSE

In AQA's GCSE Maths specification, solving two linear simultaneous equations algebraically, and finding approximate solutions from a graph, is on both Foundation and Higher papers. Simultaneous equations where one is linear and one is quadratic are Higher tier only. You also need to form your own pair of equations from a problem in words and interpret the answer. There is no formula to learn, so nothing about the method is on the formula sheet.

Simultaneous equations questions with answers

1. Solve x + y = 10 and x − y = 4.
Add: 2x = 14, so x = 7. Then 7 + y = 10, so x = 7, y = 3
2. Solve 2x + 3y = 13 and x + 3y = 11.
Same sign on 3y, so subtract: x = 2. Then 2 + 3y = 11, so 3y = 9 and x = 2, y = 3
3. Solve 4x − 3y = 1 and 3x + 2y = 22.
Multiply the first by 2 and the second by 3: 8x − 6y = 2 and 9x + 6y = 66.
Add: 17x = 68, so x = 4. Then 16 − 3y = 1, so 3y = 15 and x = 4, y = 5
4. Solve y = 3x + 2 and 2x + y = 17.
Substitute: 2x + 3x + 2 = 17, so 5x = 15 and x = 3. Then y = 9 + 2 = 11. x = 3, y = 11
5. Two numbers add up to 31 and differ by 7. Find them.
x + y = 31 and x − y = 7. Add: 2x = 38, so x = 19 and y = 12. The numbers are 19 and 12.
6. 5 pens and 2 rulers cost £5.50. 3 pens and 4 rulers cost £4.70. Find the cost of a pen and of a ruler.
In pence: 5p + 2r = 550 and 3p + 4r = 470. Double the first: 10p + 4r = 1100.
Subtract the second: 7p = 630, so p = 90. Then 450 + 2r = 550, so r = 50.
A pen costs 90p and a ruler 50p.

Practise in a short timed paper

Simultaneous equations come up on most GCSE Maths papers, often as a word problem. GCSE Maths Foundation and GCSE Maths Higher each give you a short timed paper every day, with 8 questions worth 25 to 35 marks. In the US, the same practice opens as Pre-Algebra and Algebra 1. To learn the topic from the start, the Algebra course shows two lines meeting and then builds up the algebra.

Papers reset in

Common questions

What are simultaneous equations?
Two or more equations with the same unknowns that are true at the same time. Solving them finds the values, usually of x and y, that fit all the equations.
What is the easiest way to solve simultaneous equations?
If one equation is already y = ... or x = ..., substitution is easiest. Otherwise elimination is usually quickest: match the coefficients of one letter, then add or subtract to remove it.
How do you know whether to add or subtract?
Look at the letter you are eliminating. If its coefficients have the same sign, subtract the equations. If they have opposite signs, add them.
Can simultaneous equations have no solution?
Yes. If the two lines are parallel, they never meet, so there is no solution. Elimination then gives something impossible, such as 0 = 3.
Are simultaneous equations the same as systems of equations?
Yes. Systems of equations, or systems of linear equations, is the US name. The methods are the same: elimination, substitution and graphing.

Revision cards

Say the answer first, then flip the card to check it.

Where to go next

  • Solve it

    Simultaneous Equations Solver

    Solve linear and quadratic systems by elimination or substitution

    Open the tool
  • Learn it

    Algebra

    Master equations, inequalities and the language of abstract mathematics

    Start the course
  • Test it

    GCSE Maths Foundation

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Maths · AlgebraQuadratic simultaneous equations: method and examplesHow to solve simultaneous equations where one is quadratic: substitute, solve the quadratic, find both pairs. Circles, parabolas, tangents and practice.