Skip to main content
NSWMaths Standard 2Syllabus dot point

How do you solve a linear equation by keeping it balanced and undoing the operations in reverse order?

Solve linear equations using inverse operations, including one-step, two-step and multi-step equations, equations with brackets and fractions, and equations with the variable on both sides

A focused answer to the HSC Maths Standard 2 dot point on solving linear equations. Inverse operations and keeping the equation balanced, one-step, two-step and multi-step equations, brackets, clearing fractions with the lowest common denominator, the variable on both sides, and checking by substitution, with worked Australian examples.

Generated by Claude Opus 4.814 min answer

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 you to find the unknown value in a linear equation. A linear equation is one where the variable (the letter you are solving for) appears only to the power of 11: no x2x^2, no x\sqrt{x}, and no xx sitting alone in a denominator. You solve it by inverse operations, which means doing the opposite of whatever was done to the variable. You peel away one operation at a time and do the same thing to both sides, so the equation stays balanced, until the variable sits alone. The arithmetic is short, but marks are lost in the same few places. The usual slips are forgetting to apply an operation to every term, mishandling a bracket or a fraction, dropping a negative sign, or not gathering the variable correctly when it appears on both sides. The deeper idea is that an equation says two things are equal, like a level scale, and the only moves allowed are ones that keep it level.

The answer

Solving 3x plus 5 equals 20 by undoing the operations in reverse orderThe top row shows what is done to x to build the equation: start with x, multiply by 3 to get 3x, then add 5 to reach 20. The bottom row reverses it to solve: start from 20, subtract 5 to get 15, then divide by 3 to reach x equals 5.Undo the operations in reverse orderhow the equation was built →← how you solve itx3x20× 3+ 52015x = 5− 5÷ 3

Inverse operations: undo in reverse order

Solving a linear equation is unwrapping a parcel. Look at 3x+5=203x + 5 = 20. To build the left side from xx, you would first multiply by 33, then add 55. To get back to xx you reverse that, undoing the last operation first: subtract 55, then divide by 33. Each operation has an opposite:

  • addition is undone by subtraction, and subtraction by addition;
  • multiplication is undone by division, and division by multiplication.

The diagram above shows both directions. The top row is how the expression was built up from xx, and the bottom row is how you solve, peeling the operations off in reverse. Working the order backwards is what makes a two-step equation routine. Deal with the +5+5 or 5-5 before the ×3\times 3, because addition and subtraction sit on the outside of the parcel.

Keep the equation balanced

An equation is balanced like a set of scales: the left side weighs exactly the same as the right. The single rule that keeps a solution valid is

whatever you do to one side, do to the other side as well.

If you subtract 55 from the left you must subtract 55 from the right. If you divide the left by 33 you must divide the right by 33. Do the same thing to both sides and the scale stays level, so the two sides stay equal and the value of the variable does not change. The balance-scale sequence further down shows this happening for real. Remove the same weight from both pans and the scale is still level; share both pans into the same number of equal groups and it is still level.

One-step, two-step and multi-step

The number of operations wrapped around the variable tells you how many inverse steps you need:

  • One-step: the variable has a single operation on it, like x+7=12x + 7 = 12 (undo with 7-7) or 4x=204x = 20 (undo with ÷4\div 4).
  • Two-step: two operations, like 3x+5=203x + 5 = 20. Undo the addition or subtraction first, then the multiplication or division.
  • Multi-step: more layers, or brackets, or fractions, or the variable on both sides. You first tidy the equation (expand brackets, clear fractions, gather the variable) and then it collapses into a one- or two-step equation you already know how to finish.

The plan never changes: tidy, then peel the operations off the variable in reverse order, doing the same to both sides each time.

Brackets: expand or divide

When the variable is inside a bracket, like 5(p+3)=655(p + 3) = 65, you have two equally valid first moves. You can expand the bracket, multiplying the outside number through every term inside (5p+15=655p + 15 = 65), and then solve the two-step equation. Or, when the number on the other side divides exactly by the multiplier, you can divide both sides by that multiplier first (p+3=13p + 3 = 13) to peel the bracket off in one move. The trap is multiplying only the first term inside the bracket: the multiplier hits every term, so 5(p+3)5(p + 3) is 5p+155p + 15, not 5p+35p + 3.

Fractions: clear them with the lowest common denominator

Fractions are easiest to remove entirely before you solve. First find the lowest common denominator (LCD), the smallest number that every denominator divides into. Then multiply every term on both sides by the LCD. Each denominator cancels and you are left with a fraction-free equation. For x3+x4=14\dfrac{x}{3} + \dfrac{x}{4} = 14 the LCD of 33 and 44 is 1212; multiplying all three terms by 1212 turns it into 4x+3x=1684x + 3x = 168, an easy two-step. There are two traps to avoid. The first is multiplying only some of the terms by the LCD, when in fact every term, including any whole number, must be multiplied. The second is picking a common denominator that is not the lowest; this still works but leaves bigger numbers to simplify.

The variable on both sides

When the variable appears on both sides, like 5x+8=2x+235x + 8 = 2x + 23, first gather all the variable terms on one side and all the numbers on the other. Subtract the smaller variable term from both sides so the variable stays positive (here subtract 2x2x, leaving 3x+8=233x + 8 = 23), then finish as a two-step equation. Keeping the variable term positive avoids a sign slip later; if you do end with a negative coefficient, dividing by that negative is still fine, just watch the sign.

How exam questions ask about linear equations

The wording tells you which kind of equation you are facing and how much tidying it needs:

  • "Solve the equation..." is the direct instruction. Identify whether it is one-step, two-step or multi-step, tidy if needed, then peel the operations off in reverse order.
  • "Solve for xx" or "find the value of xx" mean the same thing: get the variable by itself.
  • An equation with brackets ("solve 4(m+3)=204(m + 3) = 20") signals expand-or-divide first.
  • An equation with fractions ("solve x2+x6=1\dfrac{x}{2} + \dfrac{x}{6} = 1") signals clear the fractions with the LCD first.
  • The variable on both sides ("solve 7p+2=6p67p + 2 = 6p - 6") signals gather the variable on one side first.
  • "Express your answer as a fraction / mixed number" is a presentation instruction: do not round, leave the exact fraction.
  • A worded or applied problem ("after how many weeks is the cost the same", "find the width of the rectangle") asks you to form the equation from the words first, then solve it. The marks split between setting up the correct equation and solving it, so always write the equation line.
  • "Check your solution" or "show that x=x = \ldots satisfies the equation" asks you to substitute the value back in and show both sides come out equal.

Solving by balancing: a stage-by-stage scale

The "do the same to both sides" rule is exactly how a balance scale behaves, and watching it makes the method obvious. The four panels below solve 3x+5=203x + 5 = 20 on a balance, where each xx tile is one unknown weight and each numbered tile is that many units. The scale starts level because the two sides are equal, and every move keeps it level.

Stage 1, set up the scale. The left pan holds three xx tiles and a 55 tile (that is 3x+53x + 5), and the right pan holds a 2020 tile. The scale balances because 3x+5=203x + 5 = 20.

Stage 1: write the equation as a balanced scaleA level balance. The left pan holds three x tiles and a tile worth 5; the right pan holds a tile worth 20. The scale balances, showing 3x plus 5 equals 20.Stage 1: start from 3x + 5 = 20xxx5203x + 5=20

Stage 2, take 55 from both sides. Remove the 55 tile from the left pan and remove 55 from the right pan (2020 becomes 1515). The same weight has gone from each side, so the scale is still level: 3x=153x = 15.

Stage 2: subtract 5 from both sidesThe tile worth 5 is taken off the left pan and 5 is taken off the right, leaving three x tiles on the left and a tile worth 15 on the right. The scale stays balanced.Stage 2: take 5 from both sidesxxx153x=15

Stage 3, divide both sides by 33. Share each pan into three equal groups. One group on the left is a single xx tile, and the matching third of the right pan is worth 55. Doing the same division to both sides keeps the balance: x=5x = 5.

Stage 3: divide both sides by 3Both pans are shared into three equal groups. One x tile on the left is matched by a group worth 5 on the right.Stage 3: divide both sides by 3x5x=5

Stage 4, read and check the solution. One xx tile balances a 55 tile, so x=5x = 5. Substitute back to be sure: 3×5+5=15+5=203 \times 5 + 5 = 15 + 5 = 20, which equals the right pan, confirming the solution.

Stage 4: read and check the solutionOne x tile balances a tile worth 5, so x equals 5. Checking, three lots of 5 plus 5 equals 20.Stage 4: x = 5, then checkx5x=5

Always check by substituting back

A linear equation has exactly one solution, and you can always verify it. Put your answer back into the original equation (not a tidied-up line, in case the tidying went wrong) and evaluate each side separately; if the left side equals the right side, the solution is correct. This costs a few seconds and catches almost every arithmetic slip, which is why it is worth doing in the exam. For an equation with the variable on both sides, check both sides come out to the same number, as in 5x+8=2x+235x + 8 = 2x + 23 where x=5x = 5 gives 3333 on each side.

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-style2 marksSolve 6(x+4)=5x+316(x + 4) = 5x + 31.
Show worked answer →

Expand the bracket first. The variable sits inside a bracket on one side and outside on the other, so expand to get every term on one line. Multiply the 66 through each term inside:

6x+24=5x+316x + 24 = 5x + 31

Gather the variable on one side. Subtract the smaller variable term, 5x5x, from both sides so the coefficient stays positive:

6x5x+24=31    x+24=316x - 5x + 24 = 31 \;\Rightarrow\; x + 24 = 31

Undo the addition. Subtract 2424 from both sides:

x=3124=7x = 31 - 24 = 7

Check. Left side: 6(7+4)=6×11=666(7 + 4) = 6 \times 11 = 66. Right side: 5×7+31=35+31=665 \times 7 + 31 = 35 + 31 = 66. The two sides agree, so x=7x = 7 is correct.

Markers award one mark for expanding the bracket correctly as 6x+246x + 24 (not 6x+46x + 4) and the second for gathering the variable and solving. A common slip is multiplying only the first term inside the bracket.

2023 HSC-style3 marksSolve 3x+25=x+63\dfrac{3x + 2}{5} = \dfrac{x + 6}{3}.
Show worked answer →

Clear both fractions by cross-multiplying. The lowest common denominator of 55 and 33 is 1515. Multiplying both sides by 1515 cancels each denominator, which is the same as multiplying each numerator by the other denominator:

3(3x+2)=5(x+6)3(3x + 2) = 5(x + 6)

Expand each bracket. Multiply through on both sides:

9x+6=5x+309x + 6 = 5x + 30

Gather the variable on one side. Subtract 5x5x from both sides, then subtract 66 from both sides:

9x5x=306    4x=249x - 5x = 30 - 6 \;\Rightarrow\; 4x = 24

Solve. Divide both sides by 44: x=6x = 6.

Check. Left side: 3×6+25=205=4\dfrac{3 \times 6 + 2}{5} = \dfrac{20}{5} = 4. Right side: 6+63=123=4\dfrac{6 + 6}{3} = \dfrac{12}{3} = 4. Both sides equal 44, so x=6x = 6 is correct.

Markers reward clearing the fractions correctly, expanding both brackets, and solving. A frequent error is cross-multiplying only one numerator, giving 3(3x+2)=x+63(3x + 2) = x + 6.

2024 HSC-style4 marksA canteen sells adult tickets to a concert for $15 each and student tickets for $8 each. On the night, 3030 more student tickets were sold than adult tickets, and the total takings were $1160. Let aa be the number of adult tickets sold. (a) Form an equation in aa and solve it. (b) Find the total number of tickets sold.
Show worked answer →

Part (a) - write each quantity in terms of aa. There were 3030 more student tickets than adult tickets, so the number of student tickets is a+30a + 30.

Form the takings equation. Adult tickets bring in 15a15a dollars and student tickets bring in 8(a+30)8(a + 30) dollars, and together these equal the total takings:

15a+8(a+30)=116015a + 8(a + 30) = 1160

Expand the bracket. Multiply the 88 through every term inside:

15a+8a+240=116015a + 8a + 240 = 1160

Collect like terms. 15a+8a=23a15a + 8a = 23a, so

23a+240=116023a + 240 = 1160

Solve the two-step equation. Subtract 240240 from both sides, then divide by 2323:

23a=920,a=4023a = 920, \qquad a = 40

So 4040 adult tickets were sold.

Part (b) - find the total. Student tickets sold =a+30=40+30=70= a + 30 = 40 + 30 = 70, so the total number of tickets is 40+70=11040 + 70 = 110.

Check. Takings =15×40+8×70=600+560=1160= 15 \times 40 + 8 \times 70 = 600 + 560 = 1160 dollars, which matches, so 110110 tickets were sold in total.

Markers award one mark for the correct equation (the setup carries its own marks), one for expanding the bracket, one for solving to a=40a = 40, and one for the total of 110110. Always write the equation line, since the setup is marked even if the arithmetic slips.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation1 marksSolve x+13=8x + 13 = 8.
Show worked solution →

Undo the addition. The variable has 1313 added to it, so subtract 1313 from both sides to keep the balance:

x+1313=813x + 13 - 13 = 8 - 13

Read the answer. The left side is now just xx, and 813=58 - 13 = -5:

x=5x = -5

Check. Substitute back into the original: 5+13=8-5 + 13 = 8, which matches the right side, so x=5x = -5 is correct. The answer being negative is fine; subtracting a larger number from a smaller one lands below zero.

foundation2 marksSolve 3x7=203x - 7 = 20.
Show worked solution →

Deal with the addition or subtraction first. Undo the 7-7 by adding 77 to both sides:

3x7+7=20+73x - 7 + 7 = 20 + 7

so 3x=273x = 27.

Then undo the multiplication. The xx is multiplied by 33, so divide both sides by 33:

3x3=273\frac{3x}{3} = \frac{27}{3}

giving x=9x = 9.

Check. Substitute: 3×97=277=203 \times 9 - 7 = 27 - 7 = 20, which equals the right side, so x=9x = 9 is correct.

core2 marksSolve 4(2x1)=284(2x - 1) = 28.
Show worked solution →

Divide both sides by the bracket's coefficient first. Because the whole bracket is multiplied by 44, and 2828 divides exactly by 44, the quickest route is to divide both sides by 44:

2x1=284=72x - 1 = \frac{28}{4} = 7

Now solve the two-step equation. Add 11 to both sides, then divide by 22:

2x=8,x=42x = 8, \qquad x = 4

Check. Substitute into the original: 4(2×41)=4(81)=4×7=284(2 \times 4 - 1) = 4(8 - 1) = 4 \times 7 = 28, which matches, so x=4x = 4. (Expanding first also works: 8x4=288x - 4 = 28, so 8x=328x = 32 and x=4x = 4, the same answer.)

core3 marksSolve x2x5=6\dfrac{x}{2} - \dfrac{x}{5} = 6.
Show worked solution →

Find the lowest common denominator. The denominators are 22 and 55, so the lowest common denominator is 1010.

Multiply every term by the LCD. Multiplying all three terms by 1010 clears the fractions:

10×x210×x5=10×610 \times \frac{x}{2} - 10 \times \frac{x}{5} = 10 \times 6

Cancel and simplify. Since 10÷2=510 \div 2 = 5 and 10÷5=210 \div 5 = 2:

5x2x=605x - 2x = 60

Collect and solve. 5x2x=3x5x - 2x = 3x, so 3x=603x = 60 and x=20x = 20.

Check. Substitute: 202205=104=6\dfrac{20}{2} - \dfrac{20}{5} = 10 - 4 = 6, which matches the right side, so x=20x = 20 is correct.

core3 marksSolve 5x+8=2x+235x + 8 = 2x + 23.
Show worked solution →

Gather the variable on one side. Subtract the smaller variable term, 2x2x, from both sides so the variable stays positive:

5x2x+8=2x2x+235x - 2x + 8 = 2x - 2x + 23

giving 3x+8=233x + 8 = 23.

Now a two-step equation. Subtract 88 from both sides, then divide by 33:

3x=15,x=53x = 15, \qquad x = 5

Check both sides separately. Left: 5×5+8=25+8=335 \times 5 + 8 = 25 + 8 = 33. Right: 2×5+23=10+23=332 \times 5 + 23 = 10 + 23 = 33. The two sides are equal, so x=5x = 5 is correct.

exam4 marksTwo gyms charge a joining fee plus a weekly fee. FitZone charges a $60 joining fee and $22 per week. PowerHouse charges a $20 joining fee and $26 per week. (a) Form an equation for the number of weeks nn after which the total cost is the same at both gyms, and solve it. (b) Which gym is cheaper for someone who joins for only 66 weeks?
Show worked solution →

Part (a) - write a cost expression for each gym. Total cost is the joining fee plus the weekly fee times the number of weeks:

FitZone=60+22n,PowerHouse=20+26n\text{FitZone} = 60 + 22n, \qquad \text{PowerHouse} = 20 + 26n

Set them equal. The costs match when

60+22n=20+26n60 + 22n = 20 + 26n

Gather the variable on one side. Subtract 22n22n from both sides, and subtract 2020 from both sides:

6020=26n22n    40=4n60 - 20 = 26n - 22n \;\Rightarrow\; 40 = 4n

Solve. Divide both sides by 44: n=10n = 10 weeks. (Check: at n=10n = 10, FitZone =60+22×10=280= 60 + 22 \times 10 = 280 and PowerHouse =20+26×10=280= 20 + 26 \times 10 = 280, both $280.)

Part (b) - compare at n=6n = 6. Substitute 66 into each expression:

FitZone=60+22×6=192,PowerHouse=20+26×6=176\text{FitZone} = 60 + 22 \times 6 = 192, \qquad \text{PowerHouse} = 20 + 26 \times 6 = 176

so PowerHouse costs $176 and FitZone costs $192. PowerHouse is cheaper for a 66 week membership, by $16. The break-even at 1010 weeks tells you why: below 1010 weeks the lower joining fee wins, above 1010 weeks the lower weekly rate wins.

exam4 marksA rectangular vegetable garden has a perimeter of 5454 m. Its length is 33 m more than twice its width. Let the width be WW metres. (a) Write an equation in WW for the perimeter and solve it. (b) State the length and width of the garden.
Show worked solution →

Part (a) - express the length in terms of WW. The length is 33 m more than twice the width, so the length is 2W+32W + 3.

Write the perimeter equation. Perimeter is 2×length+2×width2 \times \text{length} + 2 \times \text{width}:

2(2W+3)+2W=542(2W + 3) + 2W = 54

Expand the bracket. Multiply the 22 through: 2×2W=4W2 \times 2W = 4W and 2×3=62 \times 3 = 6:

4W+6+2W=544W + 6 + 2W = 54

Collect like terms. 4W+2W=6W4W + 2W = 6W, so

6W+6=546W + 6 = 54

Solve the two-step equation. Subtract 66 from both sides, then divide by 66:

6W=48,W=86W = 48, \qquad W = 8

Part (b) - find both dimensions. The width is W=8W = 8 m, and the length is 2W+3=2×8+3=192W + 3 = 2 \times 8 + 3 = 19 m.

Check. Perimeter =2×19+2×8=38+16=54= 2 \times 19 + 2 \times 8 = 38 + 16 = 54 m, which matches, so the garden is 1919 m by 88 m.

exam3 marksSolve 3x14=x2\dfrac{3x - 1}{4} = x - 2.
Show worked solution →

Clear the fraction by multiplying both sides by 44. Multiply every term on each side by the denominator 44. The right side must be multiplied as a whole:

3x1=4(x2)3x - 1 = 4(x - 2)

Expand the right side. Multiply the 44 through the bracket:

3x1=4x83x - 1 = 4x - 8

Gather the variable on one side. Subtract 3x3x from both sides, then add 88 to both sides:

1+8=4x3x    7=x-1 + 8 = 4x - 3x \;\Rightarrow\; 7 = x

so x=7x = 7.

Check. Left side: 3×714=2114=204=5\dfrac{3 \times 7 - 1}{4} = \dfrac{21 - 1}{4} = \dfrac{20}{4} = 5. Right side: 72=57 - 2 = 5. The two sides agree, so x=7x = 7 is correct.

Related dot points