∑
The Maths Notebook

Middle-school maths

Algebraic Expressions

0 / 30
Chapter flowDiscover, explain, practise, reflect
3 worked scenariosEasy, medium and hard methods
30 interactive questionsGuided to independent practice
Assignment setFluency, reasoning, application
✦One letter can stand for any number at all. Algebra lets us write a rule once and use it for every case — the grammar behind every formula.

1Get ready

  • Collect like terms to simplify
  • Expand brackets
  • Substitute values into an expression

  • BEDMAS and integer arithmetic
  • A letter can represent a number

Before any rules: just look. What do you notice? What do you wonder?

A taxi meter shows $4.00 the moment you sit down, then climbs $2 for every kilometre.

You might notice…

  • Part of the cost is fixed, part keeps changing
  • The fare is predictable if you know the distance

You might wonder…

  • How could you write the fare for any distance?
  • How do you write “double a number, then add 3” in symbols?

Hold on to those wonderings — this chapter answers most of them.

If a bag holds n apples, how many apples are in 3 bags plus 2 loose ones? Write it as shortly as you can.

3n + 2. The letter n stands for 'however many are in a bag' — one expression covers every bag size.

variable
a letter standing for an unknown or changing number
term
a part of an expression separated by + or −
like terms
terms with exactly the same letter part
substitute
replace a letter with a number

2Learn

A letter stands for an unknown or changing number. We collect like terms, expand brackets and substitute values — the grammar of algebra.

A variable is a letter standing in for a number that is unknown or can change. A term is one piece of an expression, like 3x, and the number in front of it (3) is its coefficient.

Only like terms combine

3x + 2y + 5xxxxyyxxxxxsort into pilesxxxxxxxxyy= 8x + 2yx-tiles and y-tiles never merge — that is all "like terms" means
Collecting like terms is sorting, not calculating. The x-tiles gather into 8x and the y-tiles into 2y — and since an x-tile is not a y-tile, 8x + 2y is as far as it goes. It is not "10 of something".
  • Like terms have exactly the same letter part and the same power. So 3x + 5x = 8x, but 3x + 2y cannot be combined, and neither can x + x² — x² means x×x, a different tile entirely.
  • The sign in front belongs to the term. In 7x − 3x + 2, the terms are +7x, −3x and +2, giving 4x + 2.
  • Two expressions are equivalent if they give the same value for every substitution. Spot-check by trying a number: 2(x + 3) and 2x + 6 both give 16 at x = 5.

Expanding is measuring one rectangle twice

2 × x2 × 3x32width = x + 32(x + 3) = 2x + 6one rectangle, counted two ways
A rectangle 2 tall and (x + 3) wide can be measured whole, or split into a 2-by-x piece and a 2-by-3 piece. Both count the same area, so 2(x + 3) = 2x + 6 — the distributive law is not a rule to remember, it is an area seen two ways.
  1. To expand: multiply every term inside the bracket by what is outside — a(b + c) = ab + ac.
  2. Watch a negative outside: it flips the sign of every term inside. −2(x − 3) = −2x + 6, not −2x − 6.
  3. Then collect like terms in what you have written.
  4. To factorise, run it backwards: find the highest common factor and write it outside a bracket. 6x + 9 = 3(2x + 3).
  5. Always check by expanding again: 3×2x + 3×3 = 6x + 9. ✓
The engine: distributive propertya(b + c) = ab + ac  (expanding — and, reversed, factoring)
−2(x − 3) = −2x + 6  (a negative outside flips every sign inside)
📱 Phone data plan

A plan costs $20 base plus $5 per GB used. The cost for g GB is the expression 20 + 5g. Using 6 GB: 20 + 5×6 = $50.

🚕 Taxi fare

A taxi charges a $4 flagfall plus $2 per kilometre: 4 + 2k. A 9 km trip costs 4 + 2×9 = $22.

🍊 Packing lunchboxes

Packing x apples, and 4 more bananas than apples, means total fruit is x + (x + 4) = 2x + 4 — collecting the two like terms (x and x) into 2x.

Why only add like terms? 3a + 5a is 8 lots of a. But 3a + 2b mixes two different things — like apples and bananas.
Watch out3(x + 4) = 3x + 12, not 3x + 4 — multiply every term. And 2 + 3x cannot be “simplified” to 5x.
Mental maths strategySubstitute with invisible brackets: x = −2 in 3x² means 3 × (−2)² = 12 — not −12.

Use the diagram before calculating. The visual should make the structure easier to see.

Algebra tiles for 3x + 2
xxx 11 3 lots of x, plus 2 units = 3x + 2

Predict what will happen first, then drag — the diagram responds instantly. Every chapter sets you a challenge to hit.

Read these like a teacher modelling the method: one basic case, one mixed case, and one harder transfer case.

EasyCore skill
Simplify 5a + 3b + 2a − b.
  1. Group the like terms: (5a + 2a) + (3b − b).
  2. 5a + 2a = 7a and 3b − b = 2b.
  3. a terms and b terms cannot be combined with each other.
Answer7a + 2b
MediumMixed method
Expand 4(2x − 3).
  1. Multiply each term inside the bracket by 4.
  2. 4 × 2x = 8x and 4 × (−3) = −12.
  3. Write the two results together.
Answer8x − 12
HardChallenge scenario
Find the value of 3p² − 2q when p = 4 and q = 5.
  1. p² = 4² = 16, so 3p² = 48.
  2. 2q = 2 × 5 = 10.
  3. 48 − 10 = 38.
Answer38

3Practise

Work up through Easy → Medium → Hard. Type an answer and press Mark; the full solution unlocks after each attempt.

Easy level

1
Simplify 3a + 5a.

Format: e.g. 12a

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 8a.
Answer8a
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
2
Simplify 4x + 3x.

Format: e.g. 12x

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 7x.
Answer7x
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
3
Simplify 7y − 2y.

Format: e.g. 12y

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 5y.
Answer5y
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
4
Simplify 2a + 6a.

Format: e.g. 12a

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 8a.
Answer8a
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
5
Simplify 9m − 4m.

Format: e.g. 12m

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 5m.
Answer5m
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
6
Simplify 4x + 2 + 3x.

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 7x + 2.
Answer7x + 2
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
7
Simplify 5 + 2b + 3.

Format: e.g. 4b + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 2b + 8.
Answer2b + 8
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
8
Simplify 6p − p.

Format: e.g. 12p

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 5p.
Answer5p
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
9
Simplify 3c + 4c + c.

Format: e.g. 12c

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 8c.
Answer8c
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
10
Simplify 10k − 7k.

Format: e.g. 12k

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Collect like terms.
  2. = 3k.
Answer3k
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.

Medium level

1
Expand and simplify 3(x + 4).

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 3x + 12.
Answer3x + 12
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
2
Expand and simplify 2(x + 3) + 4x.

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 6x + 6.
Answer6x + 6
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
3
Expand and simplify 5(2a − 1).

Format: e.g. 4a − 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 10a − 5.
Answer10a − 5
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
4
Expand and simplify 4(x + 2) + 3.

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 4x + 11.
Answer4x + 11
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
5
Expand and simplify 2(3y + 1) + y.

Format: e.g. 4y + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 7y + 2.
Answer7y + 2
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
6
Expand and simplify 6(a − 2).

Format: e.g. 4a − 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 6a − 12.
Answer6a − 12
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
7
Expand and simplify 3(x + 1) + 2(x + 4).

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 5x + 11.
Answer5x + 11
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
8
Expand and simplify 4x + 2(x + 5).

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 6x + 10.
Answer6x + 10
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
9
Expand and simplify 7(m + 2) − 4.

Format: e.g. 4m + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 7m + 10.
Answer7m + 10
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
10
Expand and simplify 2(4 + 3n).

Format: e.g. 4n + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply out the bracket(s), then collect like terms.
  2. = 8 + 6n.
Answer8 + 6n
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.

Hard level

1
If a = 3 and b = −2, evaluate 2a² − b.

Format: e.g. 12

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Substitute a = 3, b = −2.
  2. = 20.
Answer20
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
2
If a = 3 and b = −2, evaluate 5a + 3b.

Format: e.g. 12

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Substitute a = 3, b = −2.
  2. = 9.
Answer9
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
3
If a = 4 and b = −3, evaluate a² + b².

Format: e.g. 12

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Substitute a = 4, b = −3.
  2. = 25.
Answer25
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
4
If a = 5 and b = 4, evaluate 3a − 2b.

Format: e.g. 12

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Substitute a = 5, b = 4.
  2. = 7.
Answer7
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
5
If a = 6 and b = 2, evaluate ab + a.

Format: e.g. 12

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Substitute a = 6, b = 2.
  2. = 18.
Answer18
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
6
Simplify 3(x + 2) − 2(x − 1).

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Expand: 3x + 6 − 2x + 2.
  2. Collect: x + 8.
Answerx + 8
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
7
Simplify x² + 3x + 2x² − x.

Format: e.g. 4x² + 3x

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Group x² terms and x terms.
  2. x² + 2x² = 3x²; 3x − x = 2x.
Answer3x² + 2x
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
8
Write an expression for the perimeter of a rectangle x by x + 3.

Format: e.g. 4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Perimeter = 2(length + width) = 2(x + x + 3).
  2. = 2(2x + 3) = 4x + 6.
Answer4x + 6
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
9
Expand and simplify −3(x − 4).

Format: e.g. −4x + 1

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Multiply every term inside by −3: −3×x = −3x, and −3×(−4) = +12.
  2. −3(x − 4) = −3x + 12.
Answer−3x + 12
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.
10
Factorise 6x + 9.

Format: e.g. 4(3x + 2)

Your answer
Approach

Collect like terms (same letter and power), and multiply every term inside a bracket when expanding. To evaluate, replace each letter with its value, using brackets to keep signs safe.

Working, step by step
  1. Common factor of 6 and 9 is 3.
  2. 3(2x + 3).
Answer3(2x + 3)
Check it: Put a simple number in for the letter in both the original and your simplified version; the two should agree.

Do these on paper after the guided practice. They mix fluency, reasoning, application, challenge and reflection question types.

Part A - Fluency

  1. Simplify 4x + 3x.
  2. Simplify 7y − 2y.
  3. Simplify 2a + 6a.
  4. Simplify 9m − 4m.

Part B - Method and reasoning

  1. Expand and simplify 2(x + 3) + 4x.
  2. Expand and simplify 5(2a − 1).
  3. Expand and simplify 4(x + 2) + 3.

Part C - Application and challenge

  1. If a = 3 and b = −2, evaluate 5a + 3b.
  2. If a = 4 and b = −3, evaluate a² + b².
  3. If a = 5 and b = 4, evaluate 3a − 2b.

Part D - Explain and create

  • Write a short paragraph explaining the main idea of Algebraic Expressions in your own words.
  • Create one new Algebraic Expressions question, solve it, and show the checking step.
  • Describe one mistake a student might make and how to fix it.

Diagnose the misconception, then reveal the cause and intervention.

3a + 2b simplified to 5ab.
Cause

3a and 2b are not like terms — different letters can't be combined.

Diagnostic question

Simplify 4x + 3y + 2x.

Answer: 6x + 3y. Only the x terms combine.

Intervention

You can only add like terms, so 3a + 2b is already fully simplified.

4Reflect & extend

Phone plans (base + per-GB), taxi fares (flagfall + per-km) and spreadsheet formulas are all algebraic expressions.

Answer in your head, then reveal.

  1. Simplify 4x + 3x. 7x
  2. Expand 2(x + 3). 2x + 6
  3. If x = 5, find 2x + 1. 11

No single right answer here: everyone can start, and nobody can completely finish. Get stuck — that is the point.

Try this on someone: think of a number, double it, add 6, halve the result, subtract your starting number. The answer is always 3 — check it, then use algebra to explain why.

Raise the ceilingDesign your own trick that always lands on 7, and prove it works for every starting number.

  • A variable is a letter for a number
  • Collect only like terms
  • Expanding multiplies the bracket by everything inside

Spotted a mistake? Report a mistake