11  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.

11.1 What this chapter helps you do

Symbols to keep handy

These are the bits of notation you'll see a lot. If a line of symbols feels like a fence, read it out loud once, then keep going.

  • coefficient: the number multiplying the unknown in an expression like 3x

  • 3x: three times the unknown, or coefficient times unknown

Definitions to keep handy

These are the words we keep coming back to. If one feels slippery, come back here and steady it before you push on.

  • equation: A statement that two expressions represent the same quantity, written with an equals sign.

  • unknown: The value you are solving for: the missing part of the relationship.

  • coefficient: The number that scales an unknown (for example, 3 is the coefficient in 3x).

Here is the main move this chapter is making, in plain terms. You do not need to be fast. You just need to keep the thread.

  • Coming in: You already know that numbers relate to each other. Some of those relationships have a gap — a missing value.

  • Leaving with: An equation is a relationship with a named gap. Solving it means finding what fills the gap without breaking the relationship.

11.2 What the notation is saying

Start with a sentence instead of symbols: “three bags and 7 dollars cost 22 dollars.” An equation is that sentence written in a compact way.

3x + 7 = 22

Interactive: What the notation 3x means. Click or drag the arrow to toggle between the expanded form and the shorthand. The 3x is just a compact way to write three copies of the same unknown.


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 are equal, or have the same value.

What is x? The letter x is a placeholder — it marks the spot where a number belongs, but we don’t know what that number is yet. In the sentence “three bags and 7 dollars cost 22 dollars,” x stands for “bags.” We use x as a standard choice so everyone knows we’re hunting for an unknown. Once we solve, we find what x is — in this case, x = 5.


Interactive: Finding the placeholder. Drag the slider to try different values for the blank. When you fill the blank with the right number, both sides of the equation match.


An equation is a balance — two expressions in equilibrium.

11.3 Undoing operations

Before we solve equations, let’s understand the pattern of undoing.

  • Addition is undone by subtraction. If something was added, subtract it.
  • Subtraction is undone by addition. If something was subtracted, add it.
  • Multiplication is undone by division. If something was multiplied, divide.
  • Division is undone by multiplication. If something was divided, multiply.

Here’s a concrete example. Suppose I start with a mystery number, add 7 to it, and get 15. To find the mystery number, I undo the +7 by subtracting: 15 - 7 = 8. The starting number was 8.

The same pattern applies to solving equations. When you see something like 3x + 7 = 22, you undo the operations in reverse order: first undo the +7 (by subtracting), then undo the multiplication by 3 (by dividing). You work backwards through the steps until x stands alone.

The concept stays this simple, but what gets harder is when notation accumulates and equations hide inside larger problems.


Interactive: Undoing operations. Pick an operation and a value. Watch what happens when you apply it and then undo it. The mystery number always comes back.



Interactive: Equation balance. Try a few operations below. Watch both sides of the equation change together. The balance holds because you’re doing the same thing to both sides. Why do you think that matters?


11.4 The method

Why do we apply operations to both sides? Think about the balance scale from before. If two sides are balanced and equal in weight, and you add weight to only one side, the balance tips — they’re no longer equal. But if you add the same weight to both sides, the balance holds.

An equation is the same idea. The equals sign says both sides are the same amount. If you change one side without changing the other, they’re no longer the same — you’ve broken the equation. Doing the same operation to both sides keeps the equation true.

This means we are not guessing the answer. We are changing the equation without breaking it.

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.

In the equation 3x = 15, the number 3 multiplies the unknown x. That multiplying number is called the coefficient. So “3 is the coefficient of x.”

Why we can trust this method

The equals sign is a contract: both sides promised to be the same. When you do the same operation to both sides, you keep that promise intact. You’re not guessing or bending the rules — you’re following the logic that makes an equation an equation.


Interactive: Equation solver. Set the coefficients a, b, and c in the equation ax + b = c. The solution steps update live with your numbers. Try setting a = 0. What happens? Why can’t we solve if a = 0?


11.5 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

Interactive: The path to $85. The bar shows your savings growing. The teal segment is money already saved; each white segment is one hour of work at $13.

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.

Notice: the money you already have is the constant term, and the hourly pay is the coefficient.


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

Interactive: Where the lines meet. Each point on the line shows the cost at that number of films. The intersection is the break-even point.

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.

The solution is the break-even point — where both services cost exactly the same.


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%:

Interactive: Mixing juice and water. The juice amount is fixed at 0.6 L. Add water with the slider to dilute it to 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.

Key insight: the amount of juice stays fixed. Only the total volume changes.

11.6 Where this goes

This chapter turns a verbal relationship into algebra and solves for the missing value. The next chapters use the same machinery but ask different questions.

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.

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.

11.7 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?