12  Linear equations

Finding the unknown

You and three friends want to split a bill evenly, but one person already paid for something earlier. How much does each person owe now?

You earn £8.50 an hour at a weekend job. You need £120 for a gig ticket. How many shifts do you need?

You’re buying snacks for a group. Each bag costs the same. You spend £14.40 in total. How much was each bag?

These are all the same question underneath: you know the relationship, you’re missing one of the values. A linear equation is just that relationship written down, with a placeholder for the missing part.

12.1 What the notation is saying

\[3x + 7 = 22\]

Read it as: three of something, plus seven, gives twenty-two. The \(x\) is the placeholder — a name for the gap in your knowledge. The equals sign means both sides describe the same amount.

Peel away what’s around the unknown until it stands alone. Three of something plus seven is twenty-two, so three of something is fifteen, so the something is five. Check: \(3 \times 5 + 7 = 22\). Yes.

That move — isolating the unknown — is what this chapter is about.

The concept stays this simple. What gets harder is the notation accumulating, and equations appearing inside larger problems where it isn’t obvious that’s what they are.


Interactive: Equation balance. The scale below shows both sides of an equation. Choose an operation and a value. Apply it to both sides and watch the equation update — the balance holds because you’re changing both sides equally.


12.2 The method

The rule is: whatever you do to one side of the equals sign, do to the other. The equation is a balance. You can add weight to both sides, remove weight from both sides, or multiply both sides by the same amount — as long as you do the same thing to both, the balance holds.

\[3x + 7 = 22\]

Subtract 7 from both sides — this removes the 7 from the left, leaving just the term with \(x\):

\[3x = 15\]

Divide both sides by 3 — this peels away the coefficient, leaving \(x\) alone:

\[x = 5\]

That’s it. Two operations, one unknown, done.

Why this works

The equals sign is a statement that two things are the same amount. If you change one side without changing the other, they’re no longer the same amount — you’ve broken the equation. Doing the same thing to both sides preserves the equality. That’s the whole method.


Interactive: Equation solver. Set the coefficients \(a\), \(b\), and \(c\) in the equation \(ax + b = c\). The solution steps update live with your numbers.


12.3 Worked examples

Example 1. You’re saving up for a festival wristband. The wristband costs £85. You already have £20 saved and earn £13 per hour doing odd jobs. How many hours do you need to work?

Let \(h\) = hours worked.

\[20 + 13h = 85\]

Subtract 20 from both sides — to clear the fixed amount already saved:

\[13h = 65\]

Divide both sides by 13 — to get from “13 of something” to “one of something”:

\[h = 5\]

Five hours. Check: \(20 + 13 \times 5 = 20 + 65 = 85\). Yes.


Example 2. Two streaming services. Service A costs £8 per month plus £2 per film you rent. Service B costs £18 per month with unlimited films. How many film rentals per month makes the two services equal in cost?

Let \(f\) = films rented per month.

Service A costs: \(8 + 2f\)

Service B costs: \(18\)

They’re equal when:

\[8 + 2f = 18\]

\[2f = 10\]

\[f = 5\]

At 5 films per month they cost the same. Above 5 films, Service B is cheaper.


Example 3. You’re making a fruit drink by mixing juice concentrate with water. The concentrate is 60% real juice. You want the final drink to be 20% real juice. You start with 1 litre of concentrate. How much water do you add?

The amount of real juice stays fixed at \(0.60 \times 1 = 0.6\) litres. After adding \(w\) litres of water, the total volume is \(1 + w\) litres, and you want the juice fraction to be 20%:

\[\frac{0.6}{1 + w} = 0.2\]

Multiply both sides by \((1 + w)\) — to clear the fraction:

\[0.6 = 0.2(1 + w)\]

Expand the right side:

\[0.6 = 0.2 + 0.2w\]

Subtract 0.2 from both sides:

\[0.4 = 0.2w\]

Divide both sides by 0.2:

\[w = 2\]

Add 2 litres of water.

12.4 Where this goes

This chapter covered one unknown on one side. The next two chapters in this volume — inequalities and graphing — extend the same idea in different directions: inequalities ask which values satisfy a relationship rather than pinning down one exact answer, and graphing shows what happens when you let the unknown vary continuously. The further horizon worth knowing about is systems of equations (Volume 4): two unknowns, two equations, solved together. The method is the same balancing act you’ve already learned, applied twice at once.

Where this shows up

  • An electrical engineer writing Kirchhoff’s voltage law is solving a linear equation for current or voltage.
  • A nutritionist calculating how much of an ingredient hits a target percentage is solving a linear equation.
  • A financial analyst finding a break-even point is solving a linear equation.
  • A data scientist fitting a regression line is solving a system of linear equations.

The tool is the same. The domain changes.

12.5 Exercises

These are puzzles, not drills. Each one has a clean answer, but the interesting part is setting up the equation — translating the situation into the notation before you solve it.

  1. A bus pass costs £1.50 to buy, then £0.90 per journey. You spend £9.60 in total. How many journeys did you take?
  1. A recipe makes 12 cookies using 180g of flour. You have 480g of flour. How many cookies can you make? (Set up an equation first. Don’t just divide.)
  1. Two cyclists start 120km apart and ride toward each other. One rides at 20km/h, the other at 25km/h. After how many hours do they meet?

When two quantities are changing in opposite directions and you want to know when they’re equal, the unknown ends up on both sides of the equation. The fix is simple: collect all the terms with the unknown on one side, and all the plain numbers on the other.

For example, if one thing is shrinking and another is growing, you might get something like \(500 - 35t = 200 + 15t\). Subtract \(15t\) from both sides to collect the variable terms: \(500 - 50t = 200\). Then subtract 200: \(300 = 50t\). Divide by 50: \(t = 6\). The same balance rule as before — it just takes one extra step to gather the unknowns first.

  1. A water tank holds 800 litres and drains at 35 litres per minute. A second tank holds 200 litres and fills at 15 litres per minute. After how many minutes do they contain the same amount?
  1. You and two friends are splitting the cost of a group gift. The total cost is £96, but one friend already put in £18 as a deposit. How much does each of the three of you pay now?