O Level Maths 4024 · Area 2 · Algebra and graphs

Introduction to Algebra

Algebra writes numbers as letters so that one statement can cover every case: if a bag holds n counters, three bags hold 3n, whatever n is. Cambridge tests two skills here - turning a sentence into an expression, and putting a number back into an expression or formula. Almost every later topic in the paper assumes both are automatic, so this page is worth more than its own marks.

Not started

Syllabus coverage

  • Know that letters can be used to represent generalised numbers
  • Substitute numbers into expressions and formulas
  • Write an expression for the product of two consecutive even numbers
  • Use letters to state a general result that holds for every value, rather than one worked case

Part of the O Level Maths syllabus 4024.

Substituting x = −3 into 4x − 7x = −3the inputthe expression4x − 7put −3 where the x was4(−3) − 7= −12 − 7= −19Brackets around a negative number keep the sign with the number.4 × −3 = −12, not +12.
Substituting x = -3 into 4x - 7, with the arithmetic written out step by step.

A letter is a number you have not been told

Algebra starts from one decision: instead of writing a sum for one particular number, write it for every number at once. If a box holds n pencils, then two boxes hold 2n pencils and five more than two boxes is 2n+5. The letter n is a generalised number: a place holder that any value may take, and the expression describes the whole family of answers in one line.

Because the letter stands for a number, all the ordinary rules of arithmetic still apply to it. 3n means 3×n, not the digits 3 and n written side by side; n2 means n×n; n4 means n÷4. What you cannot do is mix unlike things: 2n+5 stays as it is, because you do not know n and so cannot add 2 of something to 5 plain units.

The notation has a few shortcuts that are used without comment. A coefficient of 1 is never written, so 1x is written x. The multiplication sign is dropped between a number and a letter and between two letters, so 3×x is 3x and a×b is ab. The number always comes first: 3x, never x3.

  • n+n+n=3n, but n×n×n=n3
  • 3x and x3 mean the same thing, but only 3x is marked correct
  • ab means a×b, so if a=4 and b=5 then ab=20
  • x4 is x÷4, not 4÷x
A letter is never a label for an object in 4024. If p is the price of one pen in dollars, then 5p is the price of five pens, and p=5 would make them worth 25 dollars in total - not five pens.

Turning a sentence into an expression

Most lost marks in this subtopic come from the order of the words rather than the arithmetic. Read the sentence, decide which quantity is the unknown, and build the expression in the order the sentence describes it. "5 more than x" is x+5; "5 less than x" is x−5, because the x is the thing being reduced.

Words such as "sum", "product" and "twice" tell you where the brackets go. "Twice the sum of x and y" doubles everything inside the sum, so it is 2(x+y), which is 2x+2y. Writing 2x+y doubles only the first term. Whenever a phrase describes a calculation on a whole quantity, put that quantity in brackets first and apply the operation to the bracket.

A few phrasings are worth learning by sight because the English runs opposite to the symbols. "a less than b" is b−a. "a subtracted from b" is b−a. "The product of a and b" is ab. "The quotient of a and b" is ab.

In wordsIn symbolsWhy
7 more than xx+7start with x, then increase it
7 less than xx−7the x is what is being reduced
twice the sum of x and y2(x+y)the sum is formed first, then doubled
the square of x+3(x+3)2square the whole bracket, not just the x
the product of x and 66xproduct means multiply
(x+3)2 is not x2+9. Squaring a bracket means multiplying the bracket by itself, which is a job for expanding, not for squaring each term.

Consecutive numbers, even numbers and general results

Generalised numbers are what make a statement about every case. Three consecutive whole numbers can be written n, n+1 and n+2, and their sum is 3n+3, which is 3(n+1). That single line proves the sum of any three consecutive whole numbers is a multiple of 3, without testing a single example.

Even and odd numbers need a coefficient of 2 in front of the letter. An even number is 2n; the next even number is 2n+2; an odd number is 2n+1. For the product of two consecutive even numbers, take n as the smaller even number: the next one is n+2, so the product is n(n+2). Written with the 2 made visible it is 2n(2n+2), and both are accepted because both describe the same pair of numbers.

The same idea builds formulas out of a pattern. If a tiling pattern uses 5 tiles for the first row and 2 extra tiles for each further row, then a pattern with r rows uses 5+2(r−1) tiles, which simplifies to 2r+3. Test it on r=1: the formula gives 5, which matches the description. Testing one case is how you check that the general expression is right.

  • consecutive whole numbers: n, n+1, n+2
  • consecutive even numbers: n, n+2 where n is even
  • consecutive odd numbers: 2n+1, 2n+3
  • product of two consecutive even numbers: n(n+2)
If a question says n is a whole number, then 2n is even and 2n+1 is odd whatever n is. That is the sentence you write when asked to explain why an expression is always even or always odd.

Substituting one number into an expression

Substitution means replacing the letter with a number and working out the result. Write the expression again with the number in brackets in place of the letter, then evaluate using the usual order of operations: indices first, then multiplication and division, then addition and subtraction.

Brackets are not optional when the number is negative. To find the value of 4x−7 when x=−3, write 4(−3)−7=−12−7=−19. Without the brackets it is easy to read the line as 4−3−7 and answer −6.

Squares catch out more students than anything else here. x2 at x=−5 is (−5)2=25, because a negative times a negative is positive. But −x2 at x=−5 is −((−5)2)=−25, because the minus sign is not inside the square. The index binds to the letter, not to the sign in front of it.

ExpressionValue when x=−2Working
3x+1−53(−2)+1=−6+1
x24(−2)2=4
2x282×4
−x2−4the minus is outside the square
(2x)216(−4)2=16
x+62242
(−2)2=4 but −22=−4. The bracket decides whether the minus sign is squared, so write the bracket even when you think it is obvious.

Expressions with more than one letter

When an expression holds two letters you are given two numbers, and the same rules apply to each one. Find the value of 3a−2b when a=4 and b=−3: 3(4)−2(−3)=12+6=18. The second term becomes positive because subtracting a negative adds.

Where a letter is raised to a power, the power belongs to that letter alone. ab2 with a=−2 and b=3 is (−2)×32=−2×9=−18. Square the b, then multiply by the a. If the expression were (ab)2 the whole product would be squared, giving 36.

Fractions with letters in them are evaluated the same way. a+ba−b with a=5 and b=2 is 5+25−2=73. Work out the numerator and the denominator separately before dividing, and leave the answer as a fraction if it does not simplify.

  • 3a−2b at a=4, b=−3 gives 12+6=18
  • ab2 at a=−2, b=3 gives −2×9=−18
  • (ab)2 at the same values gives (−6)2=36
  • a+ba−b at a=5, b=2 gives 73

Substituting into a formula

A formula is an equation that connects quantities, usually with the subject alone on the left. Substituting into a formula is the same skill with a purpose attached: the question gives you the numbers and asks for the quantity the formula produces, often with a unit.

Method first, arithmetic second. Write the formula, then write it again with the numbers in place of the letters, then evaluate. The area of a triangle with base 9 cm and height 6 cm is A=12bh=12×9×6=27, so the area is 27 cm2. Note that the unit is squared because the formula multiplies two lengths.

Formulas in the paper often involve a power or a bracket. The surface area of a cube of side s is 6s2; at s=3.5 cm this is 6×12.25=73.5 cm2. A speed formula v=dt with d=150 km and t=2.5 hours gives v=60 km/h. Keep the units in the working line so that the final unit is a consequence, not a guess.

FormulaSubstitutionValue
A=12bhb=9, h=627
P=2(l+w)l=7.5, w=4.223.4
F=1.8C+32C=3798.6
v=dtd=150, t=2.560
A=6s2s=3.573.5
If the formula has a fraction, substitute into the numerator and the denominator separately. Writing 1502.5 is clearer than trying to do the division in your head, and it earns the method mark even if the arithmetic slips.

Showing the work, and checking the answer

Substitution questions are marked for the substituted line as well as the answer. Write the expression, then the same expression with brackets round each number, then the value. That middle line is the method mark, and it also protects you: it is much easier to spot a sign error in 4(−3)−7 than in a single number you produced in your head.

Check the size of the answer against the numbers you were given. If 4x−7 at x=50 comes out as 193, that is sensible, because 4×50 is 200. If it comes out as 43, a multiplication has been missed. A quick estimate costs five seconds and catches most slips.

Keep track of what the question actually asks for. "Write an expression" wants letters and numbers, not a value. "Work out the value" wants a number, and if the expression came from a real situation it probably wants a unit as well. "Show that" gives you the answer and wants the substitution written out in full.

  • write the expression, then the substituted line, then the value
  • put brackets round every negative number you substitute
  • estimate the size of the answer before you trust it
  • add the unit when the expression models a real quantity
An expression has no equals sign; an equation does; a formula is an equation with a subject. A question that says "write an expression for the cost" is failed by an answer beginning C=.

Key terms you must be able to define

Algebra
The branch of mathematics that uses letters in place of numbers so that a result can be stated for every value at once.
Variable
A letter that stands for a number which can change, such as n in 3n+1.
Constant
A fixed number in an expression, such as the 5 in 2x+5.
Term
One part of an expression separated by plus or minus signs. In 3x2−2x+7 the terms are 3x2, −2x and 7.
Coefficient
The number multiplying a letter in a term: 3 in 3x2, and −2 in −2x.
Expression
A combination of letters, numbers and operations with no equals sign, such as 4x−7 or 2(x+y).
Formula
An equation that states a relationship between quantities, such as A=12bh.
Equation
A statement that two expressions are equal, which is solved rather than evaluated, such as 3x+2=14.
Substitution
Replacing each letter in an expression or formula with a given number and working out the result.
Generalised number
A letter used to represent any number that fits the description, so that one statement covers every case.
Consecutive numbers
Whole numbers that follow one another without a gap, written n, n+1, n+2.
Subject of a formula
The single letter on its own on one side, which the formula tells you how to calculate, as A is the subject of A=πr2.

In context

Cambridge sets 4024 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

A perimeter written in letters

A rectangle has length (2x+3) cm and width x cm. Its perimeter is 2((2x+3)+x)=2(3x+3)=6x+6 cm. When x=4 the perimeter is 6(4)+6=30 cm. Check with the lengths: 11 cm and 4 cm give 2(11+4)=30 cm.

A negative number into a square

Find the value of 5−2x2 when x=−4. The square comes first: (−4)2=16, then 2×16=32, then 5−32=−27. The answer is negative because the squared term is subtracted, not because the square is negative.

Two letters and a subtraction

Find the value of 2a2−ab when a=3 and b=−2. 2(3)2=18 and ab=3×(−2)=−6. Subtracting that product gives 18−(−6)=24. The commonest wrong answer is 12, which comes from treating −ab as −6 instead of +6.

A formula with a bracket

The cost in dollars of hiring a hall is C=45+12h, where h is the number of hours. For a 5-hour booking, C=45+12(5)=45+60=105, so the cost is 105 dollars. The 45 is charged once and the 12 is charged for every hour, which is what the formula says.

A general statement about even numbers

Write an expression for the product of two consecutive even numbers, and explain why the product is always a multiple of 4. Take n as the smaller even number, so the numbers are n and n+2 and the product is n(n+2). Since n is even, n=2k, and the product is 2k(2k+2)=4k(k+1), which has a factor of 4.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1What does 3n mean?
3×n. The number is written first and the multiplication sign is left out.
Q2Write an expression for 6 less than x.
x−6. The x is the quantity being reduced.
Q3Write an expression for twice the sum of a and b.
2(a+b), which is 2a+2b. The bracket is essential.
Q4How do you write three consecutive whole numbers starting from n?
n, n+1 and n+2.
Q5How do you write an even number and the next even number?
2n and 2n+2. An odd number is 2n+1.
Q6Find the value of 5x−3 when x=−4.
−23. 5(−4)=−20, then −20−3=−23.
Q7Find the value of x2 when x=−6.
36. A negative number squared is positive.
Q8Find the value of −x2 when x=−6.
−36. The minus sign is outside the square, so it is not squared.
Q9Find ab2 when a=−2 and b=3.
−18. Square the b first: 32=9, then −2×9.
Q10What is the difference between an expression and a formula?
An expression has no equals sign, such as 4x−7. A formula is an equation linking quantities, such as A=12bh.
Q11What is the coefficient of x in 7−3x?
−3. The sign travels with the term.
Q12A rectangle has length x+4 and width x. Write its perimeter.
2((x+4)+x)=4x+8.
0 of 12 marked as known

Exam-style questions

7 questions, 18 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.

StateAO11 mark
An even number is n. State an expression, in terms of n, for the product of this number and the next even number.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1n(n+2), or the equivalent n2+2nnot checked yet
Examiner tip: One mark, so the bracket must be right. The next even number after n is n+2, not 2n.
Work outAO12 marks
Work out the value of 5x−3 when x=−4.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1−23not checked yet
Examiner tip: Write the bracket round the −4. Without it, 5−4−3 gives −2, which is a different calculation.
Work outAO13 marks
Work out the value of 2a2−3b when a=−3 and b=5.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A13not checked yet
Examiner tip: Two method marks, so show the square separately. A student who writes 2×−9 loses both.
Work outAO23 marks
A rectangle has length 7.5 cm and width 4.2 cm. Work out its perimeter using P=2(l+w).
Write a number, a fraction such as 3/4, or an expression such as 3x+2. Include the unit (cm).

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A123.4 cmnot checked yet
Examiner tip: The bracket is added before doubling. Doubling 7.5 and 4.2 separately gives the same value here, but questions with subtraction do not forgive that shortcut.
Work outAO24 marks
A rectangle has length (2x+3) cm and width x cm. (a) Write an expression for its perimeter, in centimetres. (b) Work out the perimeter when x=4.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • B1
  • A16x+6 and 30not checked yet
Examiner tip: Two parts, two answers, in the order asked. The house style is to simplify the expression before substituting, because 6(4)+6 is quicker and safer than substituting into the unsimplified form.
Show (that)AO13 marks
Show that the value of 4x2−5x+2 is 23 when x=3.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1
Examiner tip: The answer is given, so the marks are for the substituted line and the arithmetic between it and 23. No answer box, and no shortcut: write both steps.
ExplainAO22 marks
Explain why the expression 2n+1 always gives an odd number when n is a whole number.

Mark scheme — tick each point you actually made

  • B1
  • B1
Examiner tip: Name the property of 2n first, then say what adding 1 does to it. "Because it is odd" on its own restates the question and scores nothing.

Exam technique for this topic

  • Write the substituted line before you work anything out. The line with brackets round each number is usually worth a mark on its own, and it makes a sign slip visible.
  • Put brackets round every negative number you substitute. 4(−3)−7 cannot be misread, but 4−3−7 can, and it is the same expression.
  • An expression has no equals sign. If the question says "write an expression", starting the answer with C= costs the mark even when the algebra is right.
  • Decide whether "less than" reverses the order. "5 less than x" is x−5; "5 is less than x" is 5<x, which is a different statement.
  • Check the size of the answer against the substitution. A perimeter that comes out as 10 times the side length, or a cost smaller than the fixed charge, means an arithmetic slip somewhere.

Why students lose marks here

A student wrote3x+4x=7x2
Why it loses marksThe coefficients were added and the letters were also multiplied. Adding like terms adds the coefficients and leaves the letter unchanged.
The answer that scores3x+4x=7x. It is 3x2 only if the terms are multiplied: 3x×4x=12x2.
A student wrote4x−7=5 when x=−3
Why it loses marksThe minus sign on the 3 was dropped, so 4×(−3) was calculated as 4×3.
The answer that scores4(−3)−7=−12−7=−19.
A student wrotex2=−25 when x=−5
Why it loses marks−52 and (−5)2 were confused. The index applies to the bracket, and a negative times a negative is positive.
The answer that scores(−5)2=25. The value −25 belongs to −x2 at x=−5.
A student wrote"3 less than x" written as 3−x
Why it loses marksThe sentence was followed left to right instead of asking which quantity is being reduced. The x is the amount you start with.
The answer that scoresx−3. Test it with x=10: three less than ten is seven, and 10−3=7.
A student wrote2(x+3)=2x+3
Why it loses marksOnly the first term inside the bracket was multiplied by 2. The 2 multiplies everything in the bracket.
The answer that scores2(x+3)=2x+6.
A student wroteab=9 when a=4 and b=5
Why it loses marksThe letters were read as two digits of one number, or added. In algebra two letters written together are multiplied.
The answer that scoresab=4×5=20.

Where this fits in O Level Maths 4024

This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.