Home / IGCSE Mathematics 0580 / Introduction to algebra
Cambridge IGCSE Mathematics 0580 · Algebra and graphs

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 2n), and how to substitute numbers, including negatives and decimals, into expressions and formulas without losing marks.

C2.1E2.1Core and ExtendedFree lesson
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 b sweets. If you do not know how many there are, you still know that two bags hold 2b sweets and that two bags with 3 sweets eaten leave 2b−3. Whatever b 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 5, x, 3ab or 4x2.
  • An expression is one or more terms joined by + or −, such as 3x+2y−7. It has no equals sign.
  • A formula is a rule connecting two or more quantities, such as A=lw 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 3x+2=14, which is true only when x=4.

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: 3×a is written 3a, and a×b is written ab.
  • Put the number first: write 5y, not y5.
  • Letters in a product usually go in alphabetical order: 3ab rather than 3ba. Both are correct, but the first is neater.
  • Write 1a as just a.
  • Division is written as a fraction: x÷4 is x4.
  • A power shows repeated multiplication of the letter: y×y=y2 and y×y×y=y3.

Watch the difference between 2y and y2. When y=5, 2y=10 but y2=25. In the same way, 3x2 means 3×x2: only the x is squared, not the 3. If you want the 3 squared as well, it must be in a bracket: (3x)2.

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 t marbles and Ana has 4 more than Tom." Try it: if Tom had 10, Ana would have 10+4. So Ana has t+4. If Ana had 4 fewer, she would have t−4; if she had 4 times as many, 4t.

Useful phrases:

  • "more than", "increased by", "total" mean add;
  • "less than", "fewer", "decreased by", "younger" mean subtract, and the order matters: "5 less than n" is n−5, not 5−n;
  • "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 C dollars for h hours is

C=40+25h

Check it with a value you can do in your head: 2 hours costs 40+50=90 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 b 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 c cows and h hens. Write a formula for the total number of legs, L.

  1. (a) Three boxes hold 3×b=3b biscuits. Eating 5 takes 5 away: 3b−5.

  2. (b) Kim has 2b. Together: 3b−5+2b. Collect the b terms: 3b+2b=5b, so the total is 5b−5.

  3. (c) Each cow has 4 legs, so c cows have 4c legs. Each hen has 2 legs, so h hens have 2h legs. The formula is L=4c+2h.

  4. Check (c) with small numbers: 1 cow and 1 hen should give 6 legs, and 4(1)+2(1)=6.

Answer: (a) 3b−5 (b) 5b−5 (c) L=4c+2h

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 n stands for any whole number:

  • 2n is always even, because it is 2 multiplied by a whole number;
  • 2n+1 is always odd, because it is one more than an even number;
  • n, n+1 and n+2 are three consecutive whole numbers;
  • 2n, 2n+2 and 2n+4 are three consecutive even numbers, since even numbers go up in steps of 2;
  • 10n is always a multiple of 10.

Testing 3+4+5=12 and 10+11+12=33 suggests that the sum of three consecutive numbers is a multiple of 3. Algebra proves it for all of them: n+(n+1)+(n+2)=3n+3=3(n+1), 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.

  1. Use two different letters, because the two numbers need not be related. Let the even number be 2m and the odd number be 2n+1, where m and n are whole numbers.

  2. Add them: 2m+2n+1.

  3. Take out the 2 from the first two terms: 2(m+n)+1.

  4. 2(m+n) 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: 2m+(2n+1)=2(m+n)+1, 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:

  1. Put each value in a bracket when you write it in, especially a negative one.
  2. Follow the order of operations: brackets, then powers, then multiplication and division, then addition and subtraction.

Take x=−2 and the expression 3x2. Write 3×(−2)2. The power comes first: (−2)2=4. Then 3×4=12.

The two classic wrong answers are 36, from squaring 3×−2=−6 (that would be (3x)2), and −12, 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 (−2)3=−8.

Signs need the same care. With y=−3, 5−2y=5−2×(−3)=5−(−6)=11. 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

a=−3 and b=5. Find the value of (a) 4a+b2 (b) a2−2ab (c) b−a2a.

  1. (a) 4×(−3)+52=−12+25=13.

  2. (b) (−3)2−2×(−3)×5=9−(−30)=9+30=39.

  3. (c) Top: 5−(−3)=8. Bottom: 2×(−3)=−6. So 8−6=−43.

  4. In (c), b−a with a negative is a common slip: 5−(−3) is 8, not 2.

Answer: (a) 13 (b) 39 (c) −43

Check yourself

Find the value of 2p2−q when p=−4 and q=3.

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 V=13πr2h with r≈4 and h≈10, V≈13×3×16×10=160, 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 v=u+at with v=20, u=5 and t=6: 20=5+6a, so 6a=15 and a=2.5.

Worked example 4

The volume, Vcm3, of a cone with radius r cm and height h cm is given by V=13πr2h. Find V when r=4.2 and h=9.5. Give your answer correct to 3 significant figures.

  1. Write the substitution: V=13×π×4.22×9.5.

  2. Square first: 4.22=17.64.

  3. 13×17.64×9.5=55.86, and 55.86×π=175.489…

  4. Correct to 3 significant figures, V=175, so the volume is 175cm3.

  5. Squaring the 4.2 is essential: 13π×4.2×9.5=41.8 is a common wrong answer.

Answer: 175cm3

Worked example 5

v=u+at. Find a when v=20, u=5 and t=6.

  1. Substitute what you know: 20=5+a×6, which is 20=5+6a.

  2. Subtract 5 from both sides: 15=6a.

  3. Divide both sides by 6: a=2.5.

Answer: a=2.5

Check yourself

F=9C5+32. Find F when C=−17.5.

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 3×a as 3a, a×b as ab, x÷4 as x4, and put the number first.

  • 2n is any even number, 2n+1 any odd number, and n, n+1, n+2 any three consecutive whole numbers.

  • A formula starts with the letter it gives, such as C=40+25h. Test it with an easy number.

  • When substituting, put negative values in brackets and do powers before multiplying: 3x2 with x=−2 is 3×4=12.

  • 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: 3x2 is not (3x)2.

  • Treating (−4)2 as −16. A square is never negative.

  • Sign errors with subtraction: 5−2y with y=−3 is 5+6=11, not −1.

  • Writing "5 less than n" as 5−n. It is n−5.

  • Using the same letter for two numbers that need not be related, as in "an odd number 2n+1 plus an even number 2n". 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 C= at the start) was asked for.

Related IGCSE Mathematics 0580 lessons

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