Skip to main content
ScotlandMathsSyllabus dot point

How do you solve a pair of simultaneous linear equations by elimination, substitution or graphically?

Solving simultaneous linear equations in two variables algebraically by elimination and substitution, and graphically as the point of intersection.

A focused answer to the SQA National 5 Mathematics simultaneous equations content, covering solving two linear equations in two unknowns by elimination and by substitution, the link to the point of intersection of two lines, and setting up simultaneous equations from a context.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Solving by elimination
  3. Solving by substitution
  4. The graphical meaning
  5. When both equations need scaling
  6. Examples in context
  7. Try this

What this dot point is asking

The SQA wants you to solve a pair of simultaneous linear equations in two unknowns, by elimination or substitution, and to understand the solution as the point where the two lines cross. You should also be able to set up simultaneous equations from a worded context.

Solving by elimination

Elimination removes one variable by adding or subtracting the equations. If the matching coefficients have opposite signs, add the equations; if they have the same sign, subtract.

Often the coefficients do not match at first. Multiply one or both equations by a suitable number so that one variable has equal-sized coefficients, then eliminate.

Solving by substitution

When one equation already has a variable on its own (or is easy to rearrange), substitution can be quicker: rearrange one equation for a variable, then substitute it into the other.

The graphical meaning

Each linear equation is a straight line. The simultaneous solution is the single point (x,y)(x, y) that lies on both lines, that is, their point of intersection. If the lines are parallel they never meet, so there is no solution; if they are the same line there are infinitely many.

When both equations need scaling

Sometimes neither variable matches across the two equations, so you multiply both equations to create a matching coefficient. Choose the lowest common multiple of the two coefficients of one variable.

Always check your solution by substituting both values into the equation you did not use to find the last variable; if both sides agree, the answer is correct.

Examples in context

Simultaneous equations solve "two unknowns, two facts" problems. If 33 coffees and 22 teas cost £13\pounds 13, and 11 coffee and 11 tea cost £5\pounds 5, then with coffee cc and tea tt you have 3c+2t=133c + 2t = 13 and c+t=5c + t = 5. Eliminating gives c=3c = 3 and t=2t = 2, so a coffee is £3\pounds 3 and a tea is £2\pounds 2. Always define your variables clearly before forming the equations.

Try this

Q1. Solve x+y=10x + y = 10 and xy=4x - y = 4. [3 marks]

  • Cue. Add: 2x=142x = 14, so x=7x = 7, y=3y = 3.

Q2. Solve 2x+3y=122x + 3y = 12 and x=3x = 3. [2 marks]

  • Cue. 6+3y=126 + 3y = 12, so y=2y = 2.

Q3. Solve y=x+2y = x + 2 and 2x+y=82x + y = 8. [3 marks]

  • Cue. 2x+x+2=82x + x + 2 = 8, so x=2x = 2, y=4y = 4.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SQA National 5 20183 marksSolve the simultaneous equations 3x+2y=123x + 2y = 12 and x2y=4x - 2y = 4.
Show worked answer →

The yy terms are +2y+2y and 2y-2y, so adding the equations eliminates yy: (3x+2y)+(x2y)=12+4(3x + 2y) + (x - 2y) = 12 + 4, giving 4x=164x = 16 (1 mark), so x=4x = 4 (1 mark). Substitute into the first equation: 3×4+2y=123 \times 4 + 2y = 12, so 12+2y=1212 + 2y = 12, giving y=0y = 0 (1 mark). The solution is x=4x = 4, y=0y = 0. Markers reward eliminating yy, finding xx, and substituting back for yy.

SQA National 5 20214 marksTwo adults and three children pay £31\pounds 31. One adult and two children pay £18\pounds 18. Find the cost of an adult ticket and a child ticket.
Show worked answer →

Let an adult ticket be aa and a child ticket be cc. Then 2a+3c=312a + 3c = 31 and a+2c=18a + 2c = 18 (1 mark). Multiply the second equation by 22: 2a+4c=362a + 4c = 36 (1 mark). Subtract the first from this: c=5c = 5 (1 mark). Substitute back: a+2×5=18a + 2 \times 5 = 18, so a=8a = 8 (1 mark). An adult ticket is £8\pounds 8 and a child ticket is £5\pounds 5.

Related dot points

Sources & how we know this