How are simultaneous linear equations solved algebraically and graphically, and how are they used to model practical situations?
Solve a pair of simultaneous linear equations graphically and algebraically, and use simultaneous equations to model practical situations
A focused answer to the HSC Maths Standard 2 dot point on simultaneous linear equations. Substitution and elimination, the graphical intersection method shown stage by stage, what the crossing point means, the parallel and identical edge cases, and worked Australian comparison and break-even examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
What this dot point is asking
NESA wants two things. First, solve a pair of linear equations in two unknowns three ways: substitution, elimination, and reading off a graph. Second, and just as important, set up the equations yourself from a worded scenario. Most of the marks sit in the worded version: comparing two phone plans, two taxi fares, or two job offers, or finding the break-even point of a small business (the point where money coming in just equals money going out).
A pair of simultaneous equations gives you two facts about two unknowns at once. One fact on its own is not enough to fix two unknowns: is true for , , and endlessly many other pairs. Add a second fact about the same two unknowns and you usually narrow it down to one pair that fits both at the same time. That phrase, at the same time, is what "simultaneous" means, and it is the whole idea behind the picture below.
The answer
What "simultaneous" means, geometrically
Each linear equation in and draws a straight line: every point on the line is an pair that makes that equation true. So the answer that works for both equations has to sit on both lines, which means it is the point where the two lines cross (their intersection). Solving simultaneous equations and finding where two lines cross are the same job said two ways, in algebra and in pictures.
This picture also explains the three possible outcomes, which a question can ask you to recognise:
- One solution. The lines have different gradients, so they cross exactly once. This is the usual case and the only one that gives a single answer.
- No solution. The lines are parallel (same gradient, different -intercept). They never meet, so no pair satisfies both. Algebraically, both variables cancel and you are left with a false statement such as .
- Infinitely many solutions. The two equations are really the same line in disguise (one is a multiple of the other). Every point on the line works. Algebraically, both variables cancel and you are left with a true statement such as .
Algebraic method 1: substitution
Use substitution when one equation already gives (or ) on its own, or rearranges to that in one easy step. The idea is to turn two equations in two unknowns into one equation in one unknown.
- Rearrange one equation so a single variable is the subject, e.g. .
- Substitute that expression into the other equation, so it now contains only one variable.
- Solve that single-variable equation.
- Substitute the value back into the simpler equation to get the second variable.
Substitution is the natural choice for worded comparison problems, because each scenario usually arrives already in the form "cost ".
Algebraic method 2: elimination
Use elimination when the coefficients line up (or can be lined up by multiplying), so that adding or subtracting the equations makes one variable vanish.
- If needed, multiply one or both equations so the coefficients of one variable are equal in size.
- Add the equations if those coefficients are opposite in sign; subtract if they are the same sign. Either way that variable is eliminated.
- Solve the resulting single-variable equation.
- Substitute back to find the other variable.
The single most common elimination slip is adding when you should subtract. The safe rule: opposite signs add to zero, so add; matching signs need subtracting. The "same sign, subtract" pairing is the trap most students fall into under time pressure.
Graphical method
Plot both lines on the same axes and read off the point where they cross, stating it as a pair . The HSC often supplies a pre-drawn graph and asks you to read the solution, or gives you two equations and asks you to draw and solve. Reading a graph is only as accurate as the grid, so it suits "nice" intersections at whole or half values; for anything awkward, solve algebraically and use the graph as a check.
Read the intersection off a graph, stage by stage
The four panels below build a graphical solution one step at a time, using a real comparison: a Year 12 student weighing up two casual jobs. A Cafe job pays a 20 an hour, so weekly pay is . A Tutoring job pays a higher 10 an hour, so . The question is how many hours make the two jobs pay the same.
Stage 1, set up the axes and plot the first line. Put hours across the bottom and weekly pay up the side. Plot the Cafe line : it starts at its -intercept of (the pay for zero hours, the retainer) and climbs for every extra hour. Two points are enough to draw a straight line.
Stage 2, plot the second line on the same axes. Add the Tutoring line to the same grid. It starts higher (intercept ) but rises more gently ( an hour), so it is the flatter of the two. Plotting both on one set of axes is what lets the crossing appear.
Stage 3, find the crossing point. The two lines meet at exactly one point. To read its coordinates accurately, drop a dashed line straight down from the crossing to the -axis and straight across to the -axis. The vertical drop lands on ; the horizontal lands on .
Stage 4, state the solution and read it in context. Write the answer as a coordinate pair, , that is $120 at hours. In words: at hours a week both jobs pay $120. The graph also shows which job wins on each side of the crossing. Below hours the Tutoring line is higher, because its $80 base is doing most of the work, so Tutoring pays more. Above hours the steeper Cafe line is higher, so Cafe pays more. Saying who wins on each side is worth a mark in comparison questions.
You can confirm the crossing with algebra in one line: set the two pay expressions equal, , giving and , then . The algebra and the graph agree. Always run this quick check when a graph gives you a tidy crossing.
Graphical versus algebraic: which to use
Both methods find the same point, but they are good at different things.
- Algebra is exact. Substitution and elimination give the precise answer even when it is a messy value such as . You cannot read a value like that off a grid. So for "solve" and "show your working" questions, algebra is the safe choice, and it is the only way to get an exact fraction or an answer right to the cent.
- A graph shows the whole story. It makes the three cases (one, none, or infinitely many solutions) easy to see at a glance. It also shows which option is better on each side of the crossing, which two numbers on their own cannot. So for "use the graph to..." or "for what range is plan A cheaper" questions, the graph is the natural tool.
- Use each to check the other. If a question gives a graph with a tidy crossing, check it with algebra. If you solve with algebra and the numbers are clean, a quick sketch confirms the lines really do cross where you say. If the two disagree, you have made a slip somewhere.
Modelling a worded problem
Most marks live in the worded version, which almost always compares two situations. The reliable recipe:
- Define your variables explicitly. Write "let be the number of hours" and "let be the pay in dollars". Markers look for this line.
- Write one equation per scenario, each of the form total fixed part rate variable.
- Solve simultaneously (substitution is usually quickest here) to find the crossover.
- Answer in context, in the units of the question, and add the comparison: which option is better below the crossover and which above.
How exam questions ask about simultaneous equations
The wording changes but the task does not. Translate it:
- "Solve the simultaneous equations ..." A pure algebra question. Use elimination or substitution, give both coordinates, and show a check or back-substitution.
- "Use the graph to solve ..." or "Read off the point of intersection." Read the crossing and state it as . Choose values that fit the grid, and remember the HSC usually picks tidy crossings like .
- "After how many [km / months / calls] do the two cost the same?" A modelling question. Define variables, write a cost equation for each option, set them equal, solve. The "same cost" condition is the simultaneous condition.
- "Which plan is cheaper for ...?" or "For what values is A better than B?" Find the crossover first, then read off which line is lower on the side the question asks about. The crossover splits the range into "A cheaper" and "B cheaper".
- "Sketch both lines and find where they meet." Plot using intercept and gradient (or two points each), then read the intersection, then confirm by algebra.
- "Explain why these equations have no solution / infinitely many solutions." A parallel-versus-same-line question. Compare gradients: equal gradients with different intercepts give no solution; identical equations give infinitely many.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2022 HSC-style3 marksSolve the simultaneous equations and .Show worked answer →
Use elimination. Multiply the second equation by to match the coefficients.
.
Add to the first equation: , giving , so .
Substitute back into : , so .
Check in the first equation: . Correct.
Markers reward a clear elimination or substitution step, both values, and a check or substitution back. Half marks for the right method but an arithmetic slip.
2021 HSC-style4 marksA taxi company charges a flag fall of $4 plus $2.20 per kilometre. A rival charges no flag fall but $2.80 per kilometre. After how many kilometres do the two fares cost the same, and what is that fare?Show worked answer →
Let be cost in dollars and be distance in kilometres.
Company A: . Company B: .
Set equal: .
, so km.
Fare at the crossover: , i.e. $18.67.
Markers reward both equations defined with variables stated, the algebraic step to solve, and a numerical answer to cents. Mention that company B is cheaper for trips under km and company A is cheaper for longer trips.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation1 marksThe lines and cross at one point. Find the values of and at the crossing.
Show worked solution →
Set the two expressions for equal. At the crossing both lines share the same for the same , so:
Solve for . Subtract from both sides:
Find . Substitute into :
Check in the other line. . Both give . Correct.
Answer: the lines cross at .
foundation2 marksSolve the simultaneous equations and by substitution.Show worked solution →
Substitute the known expression. The first equation gives in terms of , so replace in the second equation with :
Solve the single-variable equation. Collect like terms and isolate :
Back-substitute for the second variable. Put into :
Check in the other equation. . Correct.
State the answer. The solution is .
foundation2 marksSolve the simultaneous equations and by elimination.Show worked solution →
Spot the opposite coefficients and add. The terms are and , opposite in sign, so adding the two equations eliminates :
Substitute back for the remaining variable. Put into :
Check in the other equation. . Correct.
State the answer. The solution is .
foundation2 marksThe sum of two numbers is and their difference is . Writing the larger number as and the smaller as , this gives and . Solve for the two numbers by elimination.
Show worked solution →
Spot the opposite coefficients and add. The terms are and , opposite in sign, so adding the two equations eliminates :
Substitute back for the second number. Put into :
Check in the other equation. . Correct.
Answer: the two numbers are and , so .
core3 marksSolve the simultaneous equations and by elimination.Show worked solution →
Line up the coefficients. Multiply the second equation by so the coefficients match:
Subtract to eliminate. Both coefficients are now (same sign), so subtract the first equation from this new one:
Substitute back for the other variable. Put into :
Check in the first equation. . Correct.
State the answer. The solution is .
core4 marksTwo mobile phone plans charge a fixed monthly fee plus a rate per call. Plan A charges $19 per month plus $0.15 per call. Plan B charges $39 per month plus $0.05 per call. (a) For how many calls in a month do the two plans cost the same, and what is that cost? (b) Which plan is cheaper for a month of calls?Show worked solution →
Define variables and write a cost equation for each plan. Let be the number of calls in a month and the monthly cost in dollars:
Part (a), set the costs equal and solve. The plans cost the same when their right-hand sides are equal:
The cost there is , so both plans cost $49 at calls.
- Part (b), compare at calls
- Plan A costs and Plan B costs , so Plan A is cheaper at calls ($34 against $44).
- Check the crossover both ways
- Plan B at calls is , matching Plan A. Correct.
- State the answer
- The plans cost the same at calls ($49 each); below calls Plan A is cheaper, so for calls Plan A wins at $34.
core4 marksAt a school canteen, one order of pies and juices costs $17, and another order of pies and juice costs $19. Let be the price of a pie and the price of a juice, in dollars. (a) Set up two equations and find the price of a pie and a juice. (b) Find the cost of pies and juices.
Show worked solution →
Set up the equations from each order. Price times quantity gives the cost of each order:
Match a coefficient by multiplying. Multiply the first equation by so both have :
Subtract to eliminate . The coefficients are the same sign, so subtract:
Back-substitute for the pie price. Put into :
Check in the first equation. . Correct.
Part (b), cost of pies and juices. .
Answer: a pie is $4 and a juice is $3; pies and juices cost $32.
core3 marksOn the same axes, the line and the line are drawn. (a) Use algebra to find the point where they cross. (b) State what this point represents on the graph.Show worked solution →
Set the two expressions for equal. At the crossing both lines have the same for the same :
Solve for . Gather the terms on one side:
Find . Substitute into :
Check in the second line. . Both lines give , so the point lies on both.
State the answer. (a) The lines cross at . (b) It is the point of intersection, the single pair that satisfies both equations at once, which is the simultaneous solution.
exam6 marksA market stall sells hand-poured candles. Set-up costs are $250 for the day, plus $4 in materials per candle made. Each candle sells for $9. Let be the number of candles. (a) Write an equation for the total cost and an equation for the total revenue , in dollars. (b) Find the break-even number of candles, where cost and revenue are equal. (c) Find the profit if candles are sold.Show worked solution →
Part (a), write the cost and revenue equations. Cost is the fixed set-up plus the materials rate times the number made; revenue is the selling price times the number sold:
Part (b), set cost equal to revenue and solve. Break-even is where :
At , revenue is and cost is , so both equal $450 at break-even.
Part (c), profit at candles. Profit is revenue minus cost. Revenue is and cost is , so
Check the break-even both ways. Cost and revenue agree at $450 when , and selling (above break-even) gives a positive profit, as expected. Correct.
State the answer. The stall breaks even at candles ($450 cost and revenue), and selling candles gives a profit of $150.
exam5 marksTwo gyms offer yearly membership. Gym A charges a $45 joining fee plus $22 per month. Gym B charges a $15 joining fee plus $28 per month. (a) After how many months do the two gyms cost the same total amount, and what is that amount? (b) A student plans to train for months. Which gym is cheaper, and by how much?Show worked solution →
Define variables and write a total-cost equation for each gym. Let be the number of months and the total cost in dollars:
Part (a), set the costs equal and solve. The totals match when the right-hand sides are equal:
The cost there is , so both cost $155 at months.
- Part (b), compare at months
- Gym A costs and Gym B costs , so Gym A is cheaper by dollars.
- Check the crossover
- Gym B at months is , matching Gym A. Correct.
- State the answer
- The gyms cost the same at months ($155 each); beyond that Gym A's gentler monthly rate wins, so for months Gym A is cheaper by $18.
exam5 marksAt a surf club fundraiser, tickets are sold to adults and children. One family pays $74 for adult tickets and child tickets. Another pays $86 for adult tickets and child tickets. (a) Set up a pair of simultaneous equations and find the price of an adult ticket and a child ticket. (b) Find the cost of adult tickets and child tickets.Show worked solution →
Define variables and set up the equations. Let be the adult ticket price and the child ticket price, in dollars:
Match a coefficient by multiplying. Multiply the first equation by and the second by so the coefficients are both :
Subtract to eliminate . The coefficients are the same sign, so subtract:
Back-substitute for the child price. Put into :
Check in the second equation. . Correct.
Part (b), cost of adults and children. .
State the answer. An adult ticket is $18 and a child ticket is $10; adult and child tickets cost $102.
exam6 marksA school P&C club prints custom T-shirts for a fundraiser. The print shop charges a fixed set-up fee of $180 for the design, plus $6 in materials per shirt. The club sells each shirt for $15. Let be the number of shirts. (a) Write an equation for the total cost and an equation for the total revenue , in dollars. (b) Find the break-even number of shirts, where cost and revenue are equal. (c) The club orders and sells shirts. Find the profit.
Show worked solution →
Part (a), write the cost and revenue equations. Cost is the fixed set-up fee plus the materials rate times the number printed; revenue is the selling price times the number sold:
Part (b), set cost equal to revenue and solve. Break-even is where :
At , revenue is and cost is , so both equal $300 at break-even.
Part (c), profit at shirts. Profit is revenue minus cost. Revenue is and cost is , so
Check the break-even both ways. Cost and revenue agree at $300 when , and selling (above break-even) gives a positive profit, as expected. Correct.
Answer: the club breaks even at shirts ($300 cost and revenue), and selling shirts gives a profit of $270.
