Introduction to algebra
What a letter stands for in algebra, how to write expressions and formulas from words, how letters describe whole families of numbers (every even number is ), and how to substitute numbers, including negatives and decimals, into expressions and formulas without losing marks.
What the syllabus says
C2.1 (Core)
- 1 Know that letters can be used to represent generalised numbers.
- 2 Substitute numbers into expressions and formulas.
E2.1 (Extended)
- 1 Know that letters can be used to represent generalised numbers.
- 2 Substitute numbers into expressions and formulas.
Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.
Letters stand for numbers
In algebra a letter stands for a number. Sometimes it is one particular number we do not know yet; sometimes it can be any number at all. Either way, the letter obeys every rule that numbers obey, which is why algebra works.
Suppose a bag holds sweets. If you do not know how many there are, you still know that two bags hold sweets and that two bags with 3 sweets eaten leave . Whatever turns out to be, those statements stay true. That is the whole point: one line of algebra says something about every possible value at once.
The words you need:
- A term is a number, a letter, or numbers and letters multiplied together, such as , , or .
- An expression is one or more terms joined by or , such as . It has no equals sign.
- A formula is a rule connecting two or more quantities, such as for the area of a rectangle. You put numbers in to get a number out.
- An equation is true only for particular values, such as , which is true only when .
Writing algebra the standard way
Cambridge expects algebra written in the usual shorthand. These are conventions, so learn them as rules:
- Leave out the multiplication sign: is written , and is written .
- Put the number first: write , not .
- Letters in a product usually go in alphabetical order: rather than . Both are correct, but the first is neater.
- Write as just .
- Division is written as a fraction: is .
- A power shows repeated multiplication of the letter: and .
Watch the difference between and . When , but . In the same way, means : only the is squared, not the 3. If you want the 3 squared as well, it must be in a bracket: .
Writing expressions and formulas from words
Turning words into algebra is mostly careful reading. A good habit is to try the sentence with a real number first, then replace the number with the letter.
"Tom has marbles and Ana has 4 more than Tom." Try it: if Tom had 10, Ana would have . So Ana has . If Ana had 4 fewer, she would have ; if she had 4 times as many, .
Useful phrases:
- "more than", "increased by", "total" mean add;
- "less than", "fewer", "decreased by", "younger" mean subtract, and the order matters: "5 less than " is , not ;
- "times as many", "each", "per" usually mean multiply;
- "shared equally", "per person" often mean divide.
A formula names the quantity it gives, so it starts with a letter and an equals sign. If a plumber charges a call-out fee of $40 plus $25 per hour, the charge dollars for hours is
Check it with a value you can do in your head: 2 hours costs dollars, which matches the words. Always say what your letters stand for, including units, if the question has not already done so.
Worked example 1
A box holds biscuits. Jo buys 3 boxes and eats 5 biscuits. Kim buys 2 boxes. (a) Write an expression for the number of biscuits Jo has left. (b) Write an expression for the total number of biscuits Jo and Kim now have between them. (c) A farmer has cows and hens. Write a formula for the total number of legs, .
(a) Three boxes hold biscuits. Eating 5 takes 5 away: .
(b) Kim has . Together: . Collect the terms: , so the total is .
(c) Each cow has 4 legs, so cows have legs. Each hen has 2 legs, so hens have legs. The formula is .
Check (c) with small numbers: 1 cow and 1 hen should give 6 legs, and .
Answer: (a) (b) (c)
Letters as generalised numbers
A letter can stand for every number of a certain kind at once. This lets you prove things about all numbers, not just check a few examples.
If stands for any whole number:
- is always even, because it is 2 multiplied by a whole number;
- is always odd, because it is one more than an even number;
- , and are three consecutive whole numbers;
- , and are three consecutive even numbers, since even numbers go up in steps of 2;
- is always a multiple of 10.
Testing and suggests that the sum of three consecutive numbers is a multiple of 3. Algebra proves it for all of them: , which is 3 times a whole number. A list of examples, however long, is not a proof; the algebra is.
Worked example 2
Show that when an odd number is added to an even number, the answer is always odd.
Use two different letters, because the two numbers need not be related. Let the even number be and the odd number be , where and are whole numbers.
Add them: .
Take out the 2 from the first two terms: .
is 2 times a whole number, so it is even. One more than an even number is odd, so the sum is always odd.
Answer: , which is one more than an even number, so it is odd.
Substituting into expressions
To substitute means to replace each letter by its value and then work out the result. Two habits prevent almost every error:
- Put each value in a bracket when you write it in, especially a negative one.
- Follow the order of operations: brackets, then powers, then multiplication and division, then addition and subtraction.
Take and the expression . Write . The power comes first: . Then .
The two classic wrong answers are , from squaring (that would be ), and , from thinking that a negative number squared stays negative. A square of any non-zero number is positive; a cube of a negative number is negative, since .
Signs need the same care. With , . Subtracting a negative is adding.
A fraction line acts like a bracket round the top and round the bottom: work each out completely before dividing.
Worked example 3
and . Find the value of (a) (b) (c) .
(a) .
(b) .
(c) Top: . Bottom: . So .
In (c), with negative is a common slip: is , not .
Answer: (a) (b) (c)
Check yourself
Find the value of when and .
Answer it in the portal, where your answer is checked as you type →
Substituting into formulas
A formula is substituted into in exactly the same way, but the numbers are often decimals and the answer usually has units. On a calculator paper:
- Write the formula, then the formula with the numbers in, before pressing any keys. Most method marks are for that line.
- Use the bracket keys round a whole numerator, a whole denominator, or anything under a square root, or type the fraction with the fraction key.
- Keep every digit on the calculator and round only the final answer, normally to 3 significant figures unless the question says otherwise. Money is given to 2 decimal places.
- Do a rough check. In with and , , so an answer near 175 is believable and one near 1750 is not.
Sometimes the letter you are asked for is not the subject. Substitute the values you are given, then solve the equation that is left. For with , and : , so and .
Worked example 4
The volume, , of a cone with radius cm and height cm is given by . Find when and . Give your answer correct to 3 significant figures.
Write the substitution: .
Square first: .
, and
Correct to 3 significant figures, , so the volume is .
Squaring the 4.2 is essential: is a common wrong answer.
Answer:
Worked example 5
. Find when , and .
Substitute what you know: , which is .
Subtract 5 from both sides: .
Divide both sides by 6: .
Answer:
Check yourself
. Find when .
Answer it in the portal, where your answer is checked as you type →
Key points
A letter stands for a number, either one unknown value or any value at all, and it obeys every rule of arithmetic.
Write as , as , as , and put the number first.
is any even number, any odd number, and , , any three consecutive whole numbers.
A formula starts with the letter it gives, such as . Test it with an easy number.
When substituting, put negative values in brackets and do powers before multiplying: with is .
On a calculator paper, write the substituted formula down before you calculate, keep all the digits, and round only at the end.
Where marks are lost
Squaring the coefficient too: is not .
Treating as . A square is never negative.
Sign errors with subtraction: with is , not .
Writing "5 less than " as . It is .
Using the same letter for two numbers that need not be related, as in "an odd number plus an even number ". That only proves it for neighbouring numbers.
Rounding in the middle of a calculation, or giving too few figures: answers are normally given to 3 significant figures, money to 2 decimal places.
Leaving off the units, or giving an expression where a formula (with at the start) was asked for.
Related IGCSE Mathematics 0580 lessons
An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.