Junior Cycle Maths

Algebra and functions · Chapter 15

Solving linear equations

Clear notes, 9 worked examples and 8 questions to try.

01 · Understand the idea

The essentials

Key terms

Solution
A value that makes the original equation true.
Inverse operation
An operation that undoes another, such as subtracting to undo addition.
Identity
An equation true for every permitted value.

Key ideas

  • An equation is a balance. Do the same operation to both sides to preserve equality.
  • Undo addition or subtraction, then multiplication or division. Choose an order that simplifies the equation.
  • Expand brackets and collect like terms before isolating the variable.
  • For fractions, multiply every term on both sides by a common denominator.
  • Check the solution by substituting it into the original equation. A fractional solution can be fully correct.

03 · Follow the working

Worked examples

Read the question first. Cover the working and decide what you would do next.

New step-by-step examples

Linear equations with fractions

Solve (2x + 1)/5 = (x − 2)/3.

15(2x+15)=15(x−23)15\left(\dfrac{2x+1}{5}\right)=15\left(\dfrac{x-2}{3}\right)

Multiply both sides by 15.

3(2x+1)=5(x−2)3(2x+1)=5(x-2)

15 ÷ 5 = 3 and 15 ÷ 3 = 5.

6x+3=5x−106x+3=5x-10

Expand both brackets.

x+3=−10x+3=-10

Subtract 5x from both sides.

Final answerx=−13x=-13
01Equality as a relationship

14+9=18+\displaystyle 14 + 9 = 18 + □

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

  1. 14+9=18+\displaystyle 14 + 9 = 18 + □
    Why?Write the complete equation
  2. 23=18+\displaystyle 23 = 18 + □
    Why?Evaluate the left side
  3. □ =5\displaystyle = 5
    Why?Find the missing value
  4. 14+9=23\displaystyle 14 + 9 = 23 and 18+5=23\displaystyle 18 + 5 = 23
    Why?Check both sides
02One-step additive equations

x+8=21\displaystyle x + 8 = 21

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

Purple marks the same subtraction on both sides of the equation.

  1. x+8=21\displaystyle x+8=21
    Why?The x has 8\displaystyle 8 added to it. Undo this by subtracting 8\displaystyle 8 from both sides.
  2. x+8\displaystyle x+8−8\displaystyle -8=21\displaystyle =21−8\displaystyle -8
    Why?Both sides must change by the same amount.
  3. x=13\displaystyle x=13
    Why?The +8\displaystyle + 8 and −8\displaystyle - 8 cancel. Calculate 21−8\displaystyle 21 - 8.
  4. 13+8=21\displaystyle 13+8=21
    Why?Check the result in the original equation.
03One-step multiplicative equations

6x=42\displaystyle 6x = 42

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

Purple marks division on both sides. Each whole side is divided by 6.

  1. 6x=42\displaystyle 6x=42
    Why?Six x means 6\displaystyle 6 multiplied by x.
  2. 6x6\displaystyle \frac{6x}{6}=\displaystyle =426\displaystyle \frac{42}{6}
    Why?Undo multiplication by 6\displaystyle 6 by dividing both sides by 6\displaystyle 6.
  3. x=7\displaystyle x=7
    Why?Six divided by six is one, leaving one x.
  4. 6(7)=42\displaystyle 6(7)=42
    Why?Check the answer in the original equation.
04Two-step equations

3x+5=20\displaystyle 3x + 5 = 20

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

Purple marks the matching operation on both sides: first subtract 5, then divide by 3.

  1. 3x+5=20\displaystyle 3x+5=20
    Why?The goal is x on its own.
  2. 3x+5\displaystyle 3x+5−5\displaystyle -5=20\displaystyle =20−5\displaystyle -5
    Why?Undo the added 5\displaystyle 5 by subtracting 5\displaystyle 5 from both sides.
  3. 3x=15\displaystyle 3x=15
    Why?Simplify both sides.
  4. 3x3\displaystyle \frac{3x}{3}=\displaystyle =153\displaystyle \frac{15}{3}
    Why?Undo multiplication by 3\displaystyle 3 by dividing both sides by 3\displaystyle 3.
  5. x=5\displaystyle x=5
    Why?Calculate the divisions.
  6. 3(5)+5=20\displaystyle 3(5)+5=20
    Why?Check: the original left-hand side is 15+5=20\displaystyle 15 + 5 = 20.
05Equations involving brackets

3(x+4)=27\displaystyle 3 \left(x + 4\right) = 27

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

  1. 3(x+4)=27\displaystyle 3 \left(x + 4\right) = 27
    Why?Write the original equation
  2. 3x+12=27\displaystyle 3x + 12 = 27
    Why?Expand: multiply each term in the bracket by 3\displaystyle 3
  3. 3x=15\displaystyle 3x = 15
    Why?Subtract 12\displaystyle 12 from both sides to remove that term while keeping the equation balanced.
  4. x=5\displaystyle x = 5
    Why?Divide every term on both sides by 3\displaystyle 3 so that the coefficient of the variable becomes 1\displaystyle 1.
  5. 3(5+4)=3×9=27\displaystyle 3 \left(5 + 4\right) = 3 \times 9 = 27 ✓
    Why?Put the answer back into the original information and check that all the stated conditions are satisfied.
06Variables on both sides

5x+3=2x+18\displaystyle 5x + 3 = 2x + 18

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

  1. 5x+3=2x+18\displaystyle 5x + 3 = 2x + 18
    Why?Write the original equation
  2. 3x+3=18\displaystyle 3x + 3 = 18
    Why?Subtract 2x\displaystyle 2x from both sides to remove that term while keeping the equation balanced.
  3. 3x=15\displaystyle 3x = 15
    Why?Subtract 3\displaystyle 3 from both sides to remove that term while keeping the equation balanced.
  4. x=5\displaystyle x = 5
    Why?Divide every term on both sides by 3\displaystyle 3 so that the coefficient of the variable becomes 1\displaystyle 1.
  5. 5(5)+3=28\displaystyle 5 \left(5\right) + 3 = 28 and 2(5)+18=28\displaystyle 2 \left(5\right) + 18 = 28 ✓
    Why?Put the answer back into the original information and check that all the stated conditions are satisfied.
07Linear equations with rational coefficients on both sides

Solve ((−5)x+(12))2=((−1)x+(9))5\displaystyle \frac{\left(\left(- 5\right) x + \left(12\right)\right)}{2} = \frac{\left(\left(- 1\right) x + \left(9\right)\right)}{5}. Give x as a reduced fraction.

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

Amber marks the multiplier 10 on both sides. It multiplies each whole fraction.

  1. 10\displaystyle 10×−5x+122=\displaystyle \times\frac{-5x+12}{2}=10\displaystyle 10×−x+95\displaystyle \times\frac{-x+9}{5}
    Why?The denominators are 2\displaystyle 2 and 5\displaystyle 5. Their lowest common multiple is 10,\displaystyle 10 , so multiply every term on both sides by 10\displaystyle 10.
  2. 5(−5x+12)=2(−x+9)\displaystyle 5(-5x+12)=2(-x+9)
    Why?Divide out the denominators:10÷2=5\displaystyle : 10 \div 2 = 5 and 10÷5=2\displaystyle 10 \div 5 = 2.
  3. −25x+60=−2x+18\displaystyle -25x+60=-2x+18
    Why?Expand both brackets, including the negative signs.
  4. 60=23x+18\displaystyle 60=23x+18
    Why?Add 25x\displaystyle 25x to both sides so the x terms collect on the right.
  5. 42=23x\displaystyle 42=23x
    Why?Subtract 18\displaystyle 18 from both sides.
  6. x=4223\displaystyle x=\frac{42}{23}
    Why?Divide both sides by 23\displaystyle 23 and write the exact solution.

Think about it: Why must clearing denominators multiply every term, including terms inside brackets?

08Linear equations with rational coefficients on both sides — another example

Solve ((−4)x+(−12))2=((−5)x+(6))7\displaystyle \frac{\left(\left(- 4\right) x + \left(- 12\right)\right)}{2} = \frac{\left(\left(- 5\right) x + \left(6\right)\right)}{7}. Give x as a reduced fraction.

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

  1. (−28)x+(−84)=(−10)x+(12)\displaystyle \left(- 28\right) x + \left(- 84\right) = \left(- 10\right) x + \left(12\right).
    Why?Multiply both sides by the product of the denominators
  2. (−18)x=96\displaystyle \left(- 18\right) x = 96.
    Why?Collect x terms and constants
  3. x=−163\displaystyle x = - \frac{16}{3}
    Why?Divide and reduce the fraction
09Linear equations with fractional solutions

Solve for x:5x+8=15\displaystyle x : 5x + 8 = 15. Give the answer as a fraction in its simplest form.

Why this method? Our goal is to leave the variable on its own. Use inverse operations on both sides so that the equation stays balanced.

  1. 5x=7\displaystyle 5x = 7
    Why?Subtract the constant from both sides to remove that term while keeping the equation balanced.
  2. x=75\displaystyle x = \frac{7}{5}
    Why?Divide every term on both sides by the number in front of x so that the coefficient of the variable becomes 1\displaystyle 1.

Think about it: Before moving on: why must the answer be divided by the number in front of x, and not turned upside down?

Common mistake

Dividing only one term when dividing an equation. From 2x+6=10\displaystyle 2x+6=10, dividing both sides by 2\displaystyle 2 gives x+3=5\displaystyle x+3=5, not x+6=5\displaystyle x+6=5. Every term must be divided.

Exam technique

Keep an equals sign on each working line; show both sides changing together.

Show your method, use units where appropriate and check whether the question asks for an exact or rounded answer.

04 · Try it yourself

Self-check questions

Work on paper first, then open the answer. These are practice questions, not submitted homework.

Question 1

9×3=20+\displaystyle 9 \times 3 = 20 + □. Find □.

Show answer & check
7\displaystyle 7

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 2

23=k+9\displaystyle 23 = k + 9. Find k.

Show answer & check
14\displaystyle 14

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 3

8p=100\displaystyle 8p = 100. Find p.

Show answer & check
12.5\displaystyle 12.5

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 4

7k−9=33\displaystyle 7k - 9 = 33. Find k.

Show answer & check
6\displaystyle 6

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 5

5(k−3)=35\displaystyle 5 \left(k - 3\right) = 35. Find k.

Show answer & check
10\displaystyle 10

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 6

10k−7=6k+9\displaystyle 10k - 7 = 6k + 9. Find k.

Show answer & check
4\displaystyle 4

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 7

Solve ((3)x+(9))6=((−2)x+(−1))7\displaystyle \frac{\left(\left(3\right) x + \left(9\right)\right)}{6} = \frac{\left(\left(- 2\right) x + \left(- 1\right)\right)}{7}. Give x as a reduced fraction.

  1. x=−2311\displaystyle x = - \frac{23}{11}
  2. x=1911\displaystyle x = \frac{19}{11}
  3. x=−237\displaystyle x = - \frac{23}{7}
  4. x=−2\displaystyle x = - 2
Show answer & check
x=−2311\displaystyle x = - \frac{23}{11}

Correct.

Question 8

Solve for x:5x−2=1\displaystyle x : 5x - 2 = 1. Give the answer as a fraction in its simplest form.

  1. x=35\displaystyle x = \frac{3}{5}
  2. x=−15\displaystyle x = - \frac{1}{5}
  3. x=53\displaystyle x = \frac{5}{3}
  4. x=3\displaystyle x = 3
Show answer & check
x=35\displaystyle x = \frac{3}{5}

Correct:5x=3,\displaystyle : 5x = 3 , so x=35\displaystyle x = \frac{3}{5}.

Watch an explanation

Videos for this chapter

Choose one explanation, pause to work an example, then return to the notes. All Maths videos →

Classroom resources

Open slides & animated PowerPoint →
Open full-size image ↗
Enlarged maths diagram