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.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
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 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 coffees and teas cost , and coffee and tea cost , then with coffee and tea you have and . Eliminating gives and , so a coffee is and a tea is . Always define your variables clearly before forming the equations.
Try this
Q1. Solve and . [3 marks]
- Cue. Add: , so , .
Q2. Solve and . [2 marks]
- Cue. , so .
Q3. Solve and . [3 marks]
- Cue. , so , .
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 and .Show worked answer →
The terms are and , so adding the equations eliminates : , giving (1 mark), so (1 mark). Substitute into the first equation: , so , giving (1 mark). The solution is , . Markers reward eliminating , finding , and substituting back for .
SQA National 5 20214 marksTwo adults and three children pay . One adult and two children pay . Find the cost of an adult ticket and a child ticket.Show worked answer →
Let an adult ticket be and a child ticket be . Then and (1 mark). Multiply the second equation by : (1 mark). Subtract the first from this: (1 mark). Substitute back: , so (1 mark). An adult ticket is and a child ticket is .
Related dot points
- Determining and using the equation of a straight line in the forms y equals mx plus c and y minus b equals m times x minus a, including the gradient, the y-intercept, and parallel lines.
A focused answer to the SQA National 5 Mathematics straight line content, covering the equation y equals mx plus c, reading the gradient and y-intercept, the point-gradient form, finding the equation from a gradient and a point, and parallel lines.
- Solving linear equations and inequations in one variable, including equations with brackets, fractions and the unknown on both sides, and representing inequation solutions.
A focused answer to the SQA National 5 Mathematics equations and inequations content, covering solving linear equations with brackets, fractions and the unknown on both sides, and solving linear inequations including the rule for reversing the sign when dividing by a negative.
- Working with functional notation: evaluating a function f of x for a given input, finding the input that gives a required output, and identifying a function from its formula.
A focused answer to the SQA National 5 Mathematics functional notation content, covering how to read f of x notation, evaluate a function for a given value including negatives, find the input that produces a given output, and substitute expressions into a function.
- Changing the subject of a formula, including formulae involving brackets, fractions, squares and square roots.
A focused answer to the SQA National 5 Mathematics changing-the-subject content, covering how to rearrange a formula to make a different variable the subject, including formulae with brackets, fractions, squares and square roots.
- Sketching and interpreting quadratic functions and their graphs, and solving quadratic equations by factorising, by the quadratic formula and graphically.
A focused answer to the SQA National 5 Mathematics quadratics content, covering the shape and key features of a parabola, the roots and turning point, and solving quadratic equations by factorising, by the quadratic formula, and from a graph.
Sources & how we know this
- SQA National 5 Mathematics Course Specification — SQA (2018)