Home›GCSE & FSMQ›Maths›Algebra›Notation and substitution

Notation and substitution

Writing expressions and substituting values. Topic 1 of 27 in Algebra.

Foundation & Higher This topic appears on both Foundation and Higher papers.

Video coming soon The written summary and downloads below are complete and ready to use.

Algebra uses letters to stand for numbers. Once you know how algebra is written, you can turn a sentence into algebra, then put numbers back in to get an answer. This lesson covers:

  • the short way algebra is written, called notation
  • the words: term, coefficient, expression, equation, formula and identity
  • turning words into expressions and formulae
  • substitution: putting numbers in place of letters, including negatives, decimals, powers and brackets
  • substituting into formulae, including ones from science

Before you start, make sure you know the order of operations (BIDMAS) and how to add, subtract, multiply and divide with negative numbers.

Blue is a number put in place of a letter

1. Writing algebra the short way

Key idea A letter stands for a number. Algebra leaves out the × sign and writes everything as short as it can.

These are the rules. The left column is what a calculation means; the middle column is how you write it.

It meansWrite it asThe rule
3 × y3yLeave out the ×. The number goes first.
y × 33yThe number still goes first, never y3.
y + y + y3yThree lots of y.
a × babLetters side by side are multiplied. Write them in alphabetical order.
1 × xxDon’t write the 1.
−1 × x−xJust the minus sign.
a × aa2“a squared”
a × a × aa3“a cubed”
a × a × ba2bOnly the a is squared.
a ÷ babDivision is written as a fraction.
x ÷ 2, or half of xx2 or 12xWrite a fraction, not 0.5x.
3 × (x + 2)3(x + 2)A number next to a bracket multiplies everything inside it.
(x + 2) ÷ 5x + 25The fraction line acts like a bracket: all of x + 2 is divided by 5.
Watch out 3a and a3 are different. 3a means 3 × a. a3 means a × a × a. If a = 2, then 3a = 6 but a3 = 8.
Watch out In 2x2, only the x is squared: it means 2 × x × x. If you want the whole of 2x squared, you need a bracket: (2x)2 = 2x × 2x.

Example 1: write these the short way

QuestionAnswerWhy
5 × p × q5pqLeave out both × signs.
m × 77mThe number goes first.
b × a × bab2Two b’s make b2. Letters in alphabetical order.
n ÷ 6n6Division is a fraction.
2 × (t − 1)2(t − 1)Keep the bracket: the 2 multiplies all of t − 1.

Example 2: write these the long way

QuestionAnswer
4x2y4 × x × x × y
3(a + b)3 × (a + b): three lots of a + b
m5m ÷ 5
−2c3−2 × c × c × c

2. The words of algebra

Key idea Terms are the pieces of an expression, split up by + and − signs. The sign in front of a term belongs to that term.
  • A variable is a letter that stands for a number that can change.
  • A term is a number, a letter, or numbers and letters multiplied together: for example 5, x, 3y or −4ab.
  • The coefficient is the number in front of the letters, with its sign. In −4ab the coefficient is −4.
  • A constant is a term with no letter: just a number.

Example 3: the parts of 5x2 − 3xy + y − 8

This expression has four terms.

TermCoefficientNotes
5x255 × x × x
−3xy−3The minus sign in front belongs to this term.
y1y means 1y. The 1 is not written.
−8noneThe constant term: it has no letter.

Fractions work the same way: in x4 the coefficient of x is 14, because x4 = 14x.

Then there are four words for whole pieces of algebra. You need to tell them apart.

WordWhat it isExamples
ExpressionTerms joined by + and −, with no equals sign. You can work out its value, but you can’t solve it.4n + 1    a2b    3(x − 2)
EquationHas an equals sign, and is true for only certain values of the letter.4n + 1 = 13 is only true when n = 3
FormulaA rule that links two or more quantities. Each letter stands for something real.A = lw    v = u + at
IdentityTrue for every value of the letters. It is written with the sign ≡.y + y + y ≡ 3y    a × b ≡ ab

In the formula A = lw, A is on its own on one side. It is called the subject of the formula.

3. Turning words into expressions

Key idea Read the words in order and write down what happens to the number. If a whole amount is then multiplied, divided or squared, it needs a bracket.

Here are the ways a question can say it. Each one uses n for the number.

The wordsThe expression
7 more than n  /  n increased by 7  /  the sum of n and 7n + 7
7 less than n  /  n decreased by 7  /  subtract 7 from nn − 7
n less than 7  /  n subtracted from 77 − n
4 times n  /  the product of 4 and n  /  4 lots of n4n
twice n  /  double n2n
n divided by 3  /  a third of n  /  n shared equally between 3n3
half of nn2 or 12n
n squared  /  n multiplied by itselfn2
n cubedn3
Watch out “7 less than n” is n − 7, even though the 7 is said first. Start with n and take 7 away. Test it with a number: 7 less than 10 is 3, and 10 − 7 = 3.

Example 4: the order changes the expression

The wordsThe expressionTest with n = 4
Double n, then add 52n + 52 × 4 + 5 = 13
Add 5 to n, then double2(n + 5)2 × (4 + 5) = 18
Multiply n by 3, then subtract 43n − 43 × 4 − 4 = 8
Subtract 1 from n, then square(n − 1)2(4 − 1)2 = 9
Add 6 to n, then divide by 2n + 62(4 + 6) ÷ 2 = 5

The first two use the same numbers but give different answers. The bracket shows that you add before you double.

Example 5: a bag of sweets

A bag has n sweets. Mo eats 3 of them, then shares the rest equally between 4 friends. Write an expression for the number of sweets each friend gets.

  1. Mo eats 3
    n − 3 sweets are left
  2. All of what is left is shared between 4
    the whole of n − 3 goes on top of the fraction
Answern − 34

Test it: with 23 sweets, 23 − 3 = 20, and 20 shared between 4 is 5 each.

Example 6: change from a £5 note

Pens cost x pence each. Lily buys 6 pens and pays with a £5 note. Write an expression for her change, in pence.

  1. Put everything in the same units
    £5 = 500p
  2. 6 pens at x pence each
    6x pence
  3. Change is what she paid, take away what it cost
Answer500 − 6x

Test it: if pens cost 45p, 500 − 6 × 45 = 500 − 270 = 230p change.

Example 7: a square

Each side of a square is s + 2 centimetres long. Write an expression for its perimeter.

  • A square has 4 equal sides, so the perimeter is 4 lots of the whole side.
  • The whole of s + 2 is multiplied by 4, so it needs a bracket.
Answer4(s + 2) cm

4s + 2 would be wrong: that only multiplies the s by 4.

4. Writing a formula

Key idea A formula has a letter for the answer, an equals sign, and an expression. “3h + 8” is an expression. “C = 3h + 8” is a formula.

Method

  1. Find the part that changes
    Something “each” or “per” gets multiplied by its letter.
  2. Find the part that stays the same
    A fixed charge or a starting amount is added on (or is where you start taking away from).
  3. Write the letter for the answer, then =, then the expression
  4. Test it with a small number

Example 8: bike hire

A shop charges £8 to hire a bike, plus £3 for every hour. Write a formula for the total cost, C pounds, of hiring a bike for h hours.

  1. The part that changes: £3 for each hour
    3h
  2. The part that stays the same: £8
    3h + 8
AnswerC = 3h + 8

Test it: 2 hours is £8 + £3 + £3 = £14, and 3 × 2 + 8 = 14.

Example 9: something that goes down

A candle is 30 cm tall. It burns down 2 cm every hour. Write a formula for its height, H cm, after t hours.

  1. It starts at 30 cm
  2. It loses 2 cm for each hour, so take away 2t
AnswerH = 30 − 2t

Test it: after 5 hours it has lost 10 cm, so it is 20 cm tall. 30 − 2 × 5 = 20.

Example 10: two letters

Cinema tickets cost £12 for an adult and £7 for a child. Write a formula for the total cost, T pounds, for a adults and c children.

AnswerT = 12a + 7c

Test it: 2 adults and 3 children cost 24 + 21 = £45, and 12 × 2 + 7 × 3 = 45.

Watch out Check the units. If apples cost 45p each, the cost of n apples is 45n pence. If the question wants the cost in pounds, the formula is C = 0.45n.

5. Substitution

Key idea To substitute means to swap each letter for its number. Then work out the answer using BIDMAS.

Method

  1. Write the expression again with each letter swapped for its number
    Put the × signs back in: 4m becomes 4 × 6.
  2. Put any negative number in brackets
  3. Work it out with BIDMAS, one step at a time
    Brackets, then indices (powers and roots), then × and ÷, then + and −.

Example 11: one letter

Work out the value of 4m + 9 when m = 6.

4 × 6 + 9
=24 + 9
=33
Answer33

Example 12: a division

Work out the value of 30 − k4 when k = 12.

30 − 124
=30 − 3
=27

Divide before you subtract.

Answer27

Example 13: two letters

Work out the value of 4x − 7y when x = 3 and y = 2.

4 × 3 − 7 × 2
=12 − 14
=−2

Both multiplications happen first. Answers can be negative even when the letters are positive.

Answer−2

Example 14: letters side by side

Work out the value of ab when a = 3 and b = 7.

3 × 7
=21
Answer21
Watch out ab means a × b. Writing the numbers side by side to get 37 is wrong. In the same way, 3x when x = 4 is 12, not 34.
Watch out BIDMAS still applies after you substitute. 2 + 3x when x = 4 is 2 + 3 × 4 = 2 + 12 = 14. Working left to right to get 5 × 4 = 20 is wrong.

6. Substituting negative numbers

Key idea Always put a negative number in brackets when you substitute it. The bracket keeps the minus sign with its number.

The rules you need:

RuleExample
Negative × positive is negative(−3) × 5 = −15
Negative × negative is positive(−4) × (−3) = 12
Subtracting a negative is the same as adding12 − (−5) = 12 + 5 = 17
Squaring a negative gives a positive(−6)2 = (−6) × (−6) = 36
Cubing a negative gives a negative(−2)3 = (−2) × (−2) × (−2) = −8

Example 15: multiplying by a negative

Work out the value of 5y − 2 when y = −3.

5 × (−3) − 2
=−15 − 2
=−17
Answer−17

Example 16: subtracting a negative

Work out the value of 12 − x when x = −5.

12 − (−5)
=12 + 5
=17
Answer17

Example 17: squaring a negative

Work out the value of x2 + 4 when x = −6.

(−6)2 + 4
=36 + 4
=40
Answer40
Watch out On a calculator, type (−6)2 with the brackets. Without them, −62 gives −36, because the calculator squares the 6 first and then puts the minus sign in front.

Example 18: a number in front of a square

Work out the value of 3x2 when x = −2.

3 × (−2)2
=3 × 4
=12

Square first (indices come before multiplying). Only the x is squared, so (3 × −2)2 = 36 is wrong.

Answer12

Example 19: two negatives

Work out the value of pq + 10 when p = −4 and q = −3.

(−4) × (−3) + 10
=12 + 10
=22
Answer22

Example 20: harder: a minus sign in front of a square

Work out the value of −x2 when x = −5.

−(−5)2
=−(25)
=−25

−x2 means −(x2). Square first, then the minus sign in front makes it negative.

Answer−25

7. Brackets, powers, roots, fractions and decimals

Key idea Substitute first, then BIDMAS does the rest. A fraction line works like a bracket: work out the whole top and the whole bottom, then divide.

Example 21: a bracket

Work out the value of 3p(q − r) when p = 2, q = 9 and r = 4.

3 × 2 × (9 − 4)
=3 × 2 × 5
=30
Answer30

Example 22: a power and a square root

Work out the value of a2(10 − √b) when a = 3 and b = 16.

32 × (10 − √16)
=9 × (10 − 4)
=9 × 6
=54

The bracket first: inside it, the square root comes before the subtraction.

Answer54

Example 23: a fraction

Work out the value of 5c + d4 when c = 2 and d = −6.

5 × 2 + (−6)4
=10 + (−6)4
=44
=1
Answer1

Example 24: decimals

Work out the value of 6g − 4h when g = 1.5 and h = 0.25.

6 × 1.5 − 4 × 0.25
=9 − 1
=8
Answer8

Example 25: a fraction as the value

Work out the value of 8x2 when x = 12.

8 × (12)2
=8 × 14
=2

Square the fraction first: 12 × 12 = 14.

Answer2

8. Substituting into formulae

Key idea A formula works the same way. Put the numbers in, work out the subject, and give the units.

The formula is usually given in the question, often from science. You don’t need to know what it means to use it: just match each letter to its number.

Example 26: speed

v = u + at. Work out v when u = 4, a = 3 and t = 6.

v = 4 + 3 × 6
=4 + 18
=22
Answerv = 22

at means a × t, and it is worked out before the adding.

Example 27: kinetic energy

E = 12mv2. Work out E when m = 6 and v = 5.

E = 12 × 6 × 52
=12 × 6 × 25
=3 × 25
=75

Only the v is squared. Half of 6 is 3, then 3 × 25 = 75.

AnswerE = 75

Example 28: a negative value

F = 1.8C + 32 changes a temperature in °C into °F. Work out F when C = −15.

F = 1.8 × (−15) + 32
=−27 + 32
=5
Answer5°F

Example 29: with a calculator, then round

A = πr2. Work out A when r = 4.2 cm. Give your answer to 1 decimal place.

A = π × 4.22
=π × 17.64
=55.417…
=55.4 (to 1 d.p.)
Answer55.4 cm2 (to 1 d.p.)
Watch out Round only at the end. Write down the full calculator answer first, so the examiner can see it, then round.

Sometimes a question gives you the subject and asks for a different letter, for example “find u when v = 20”. Substitute in the same way, then solve the equation that is left. Solving is in the Linear equations lesson, and changing the subject is in Rearranging formulae.

The mistakes that cost marks

  1. Writing the number after the letter. y × 8 written as y8. the number goes first: 8y.
  2. Mixing up 3a and a3. 3a is 3 × a. a3 is a × a × a.
  3. Turning “less than” round the wrong way. “5 less than n” written as 5 − n. start with n and take 5 away: n − 5. Test it with a number.
  4. Leaving out a bracket. “Add 3 to n, then double” written as 2n + 3. the whole of n + 3 is doubled: 2(n + 3).
  5. Putting numbers side by side. 3x when x = 4 worked out as 34. 3x means 3 × x, so 3 × 4 = 12.
  6. Forgetting BIDMAS after substituting. 2 + 3x when x = 4 worked out as 5 × 4 = 20. multiply first: 2 + 12 = 14.
  7. Squaring a negative and getting a negative. (−3)2 = −9. (−3) × (−3) = 9. Use brackets on a calculator too.
  8. Squaring the number in front as well. 2x2 when x = 3 worked out as 62 = 36. only the x is squared: 2 × 9 = 18.
  9. Losing a minus sign when subtracting a negative. 10 − (−2) = 8. subtracting a negative is adding: 10 + 2 = 12.
  10. Rounding too early, or leaving out the units. write the full answer, round at the end, and give the units the question uses.

Quick checklist

Tick each one when you can do it without looking back.

Stuck on this topic?

These notes are free and always will be. If your child needs someone working through it with them, I run small GCSE maths groups of no more than 5, arranged by ability. Founding member price £35 a lesson, held for the first year, and the first lesson is a free trial.

Book a free trial →