IGCSE Maths · Area 2 · Algebra and Graphs

Algebraic Manipulation

Algebraic manipulation is the toolkit every other algebra question is built on: collecting like terms, expanding brackets, factorising and rearranging formulas. Most of the marks here are method marks, so the lines of working are worth as much as the final answer. The two places students lose them are the signs when a bracket is multiplied by a negative number, and cancelling terms in an algebraic fraction that are not factors.

Not started

Syllabus coverage

  • Simplify expressions by collecting like terms, e.g. 2a+3b+5a−9b=7a−6b
  • Expand products of algebraic expressions, including a single bracket such as 3x(2x−4y) and the product of two brackets such as (2x+1)(x−4)
  • Factorise by extracting common factors, and factorise fully, e.g. 9x2+15xy=3x(3x+5y)
  • Extended only: expand products of more than two brackets, e.g. (x−2)(x+3)(2x+1)
  • Extended only: factorise expressions of the form ax+bx+kay+kby, a2x2−b2y2, a2+2ab+b2, ax2+bx+c and ax3+bx2+cx
  • Extended only: complete the square for expressions in the form ax2+bx+c
  • Extended only: manipulate algebraic fractions, including x3+x−42, 2x3−3(x−5)2, 3a4×9a10 and 3a4÷9a10
  • Extended only: factorise and simplify rational expressions, e.g. x2−2xx2−5x+6, and write 1x−2+x+1x−3 as a single fraction
  • Extended only: change the subject of a formula where the subject appears twice, or where there is a power or root of the subject

Part of the IGCSE Maths syllabus 0580.

y = x² - 2x - 3: roots, intercept and turning point-2-11234-4-3-2-1123456(-1, 0)(3, 0)(0, -3)(1, -4) minimumThe roots are where y = 0, the y-intercept is c, and the turning point sits on the line of symmetry x = -b/2a.Factorised: y = (x + 1)(x - 3). Completed square: y = (x - 1)² - 4.
The factorised form gives the roots. y=x2−2x−3=(x−3)(x+1), so the curve crosses the x-axis at x=−1 and x=3, crosses the y-axis at −3, and turns at (1,−4).

Collecting like terms: what 'simplify' means

A term is a single number, a single letter, or a product of the two. In 5x2−3x+2 the terms are 5x2, −3x and 2. The number in front of a letter is its coefficient: in −3x the coefficient is −3, and the minus sign belongs to the term.

Like terms have exactly the same letters with exactly the same powers. 3x and −7x are like terms, so they can be added; 3x and 3x2 are not like terms, and neither are 3a and 3b. 'Simplify' means collect the like terms so that the expression has as few terms as it can. The syllabus's own Core example is 2a+3b+5a−9b=7a−6b: the a terms collect to 7a and the b terms to −6b.

The Extended paper collects longer expressions with powers and two letters: 2a2+3ab−1+5a2−9ab+4=7a2−6ab+3. Nothing about the method changes. Deal with one family of like terms at a time and keep each sign attached to its term as you go.

TermsLike terms?Why
3x and −7xYessame letter, same power, so they collect to −4x
3x and 3x2Nothe powers are different: x and x2 are not the same thing
5ab and −2abYessame product of letters, so they collect to 3ab
3a and 3bNodifferent letters, so the terms stay apart
the numbersYesconstant terms collect with constant terms: 2−9=−7
Keep the sign in front of a term when you collect it. −9b is a term of −9b, not of 9b, and dropping that minus is the commonest way to lose a mark in this topic.

Expanding a single bracket

Expanding means multiplying out, using a(b+c)=ab+ac. The term outside the bracket multiplies every term inside it. So 3x(2x−4y)=6x2−12xy: the 3x multiplies the 2x and then the −4y.

A number outside the bracket behaves in exactly the same way. 5(2x−3)=10x−15, and −2(3x−5)=−6x+10. The negative sign in front of the bracket multiplies both terms, so the second term changes sign as well as the first.

The same care is needed when a bracket is subtracted from something. 4x−3(x−2)=4x−3x+6=x+6: the +6 appears because −3×−2=+6, and a student who writes −6 has lost the mark.

ExpandAnswerThe trap
3x(2x−4y)6x2−12xy3x×4y gives 12xy, not 12x or 12y
−2(3x−5)−6x+10the −2 changes the sign of the second term
4x−3(x−2)x+6−3×−2=+6, so the constant is positive
5(2x−3)10x−15both terms inside the bracket are multiplied by 5
Write the multiplication out for one line even when you can do it in your head. That line is the method mark, and it is also how you spot a sign slip before it reaches the answer.

Expanding two brackets

With two brackets, every term in the first multiplies every term in the second, which gives four products. (2x+1)(x−4)=2x2−8x+x−4=2x2−7x−4. Write the four products first, then collect the two middle terms in a second line.

A grid makes the four products visible and stops you leaving one out. The Extended paper also expands two brackets in two letters: (3x+y)(x−4y)=3x2−12xy+xy−4y2=3x2−11xy−4y2. The method is unchanged - the middle terms are like terms because they are both xy.

Two patterns turn up so often that they are worth knowing by sight. (x+5)(x−5)=x2−25 is the difference of two squares: the two middle terms are −5x and +5x, so they cancel. (x+4)2=x2+8x+16 is a perfect square: the two middle terms are the same, so the middle term doubles.

  • (2x+1)(x−4)=2x2−7x−4
  • (x+a)(x−a)=x2−a2, so (3x+2)(3x−2)=9x2−4
  • (x+a)2=x2+2ax+a2, so (2x−3)2=4x2−12x+9
  • (3x+y)(x−4y)=3x2−11xy−4y2
x−4
2x2x2−8x
+1x−4
Squaring a bracket is not squaring each term. (x+3)2 is x2+6x+9, and the missing 6x is exactly where the mark goes.

Expanding three brackets (Extended only)

With three brackets you expand in two stages: multiply the first two together, simplify, then multiply that result by the third bracket. (x−2)(x+3)=x2+x−6, and then (x2+x−6)(2x+1)=2x3+x2+2x2+x−12x−6=2x3+3x2−11x−6.

There are six products altogether, which is why doing it all in one line goes wrong. Keep the two stages separate and write both lines down, because the method marks sit in the first stage as much as in the answer.

You can always check a long expansion by substituting a value. Putting x=2 into (x−2)(x+3)(2x+1) gives 0×5×5=0, and into 2x3+3x2−11x−6 gives 16+12−22−6=0. Both forms give the same value, so the expansion is right.

  • (x−2)(x+3)=x2+x−6, the first stage
  • (x−2)(x+3)(2x+1)=2x3+3x2−11x−6, the full expansion
  • check with x=2: 0×5×5=0 and 16+12−22−6=0

Factorising by taking out the common factor

Factorising is expanding backwards: you write the expression as a product instead of a sum. The first thing to look for is a common factor, meaning a number or a letter that divides every term exactly. The syllabus example is 9x2+15xy=3x(3x+5y): the highest common factor of 9x2 and 15xy is 3x, so the 3 and the x both come outside the bracket.

Factorise fully means take out the highest common factor, not just any factor. 12x2+18x=6x(2x+3), whereas 2x(6x+9) is not fully factorised because the bracket still has a factor of 3 inside it. The check is always the same: expand your answer back and see whether you recover the expression you started with.

Extended candidates also meet the form ax3+bx2+cx, where the common factor is x and possibly a number as well: 4x3−6x2+2x=2x(2x2−3x+1).

  • 9x2+15xy=3x(3x+5y)
  • 12x2+18x=6x(2x+3)
  • 4x3−6x2+2x=2x(2x2−3x+1)
  • check: 2x(2x2−3x+1)=4x3−6x2+2x
The common factor has to divide every term. In 3x2+6x the 3x comes out and the answer is 3x(x+2). In 3x2+6 only the 3 is common to both terms, so the answer is 3(x2+2).

Factorising quadratics (Extended only)

A quadratic expression has the form ax2+bx+c with a≠0. When a=1 the factorisation is two brackets whose numbers multiply to c and add to b: x2+7x+12=(x+3)(x+4) because 3×4=12 and 3+4=7. The signs follow from that pair of numbers: x2−5x+6=(x−2)(x−3), and x2+2x−15=(x+5)(x−3), where one number is negative because c is negative.

When a is not 1, look for two numbers that multiply to ac and add to b, use them to split the middle term, then factorise in pairs. For 2x2+7x+3: ac=6 and 6+1=7, so 2x2+6x+x+3=2x(x+3)+1(x+3)=(2x+1)(x+3).

Four special forms are named in the syllabus. The difference of two squares a2x2−b2y2=(ax+by)(ax−by), the perfect square a2+2ab+b2=(a+b)2, the four-term form ax+bx+kay+kby which is factorised by grouping in pairs, and the common factor form ax2+bx+c where the bracket itself needs factorising.

A factorised quadratic also tells you where its curve crosses the x-axis. x2−2x−3=(x−3)(x+1), so y=x2−2x−3 is zero at x=3 and x=−1, which is what the diagram below shows. Completing the square is the third way of rewriting the same expression, and the syllabus lists it here: x2+6x+1=(x+3)2−9+1=(x+3)2−8, because (x+3)2=x2+6x+9 and the extra 9 has to be taken away again.

FormMethodExample
x2+bx+ctwo numbers multiplying to c and adding to bx2−x−12=(x−4)(x+3)
ax2+bx+ctwo numbers multiplying to ac and adding to b, then split the middle term2x2+7x+3=(2x+1)(x+3)
a2x2−b2y2difference of two squares9x2−25=(3x+5)(3x−5)
a2+2ab+b2perfect squarex2+10x+25=(x+5)2
ax+bx+kay+kbygroup in pairs and take out the repeated bracket3x+3y+ax+ay=(x+y)(3+a)
ax3+bx2+cxcommon factor4x3−6x2+2x=2x(2x2−3x+1)
Always expand your answer back as a check. If (2x+1)(x+3) gives 2x2+7x+3 again, the factorisation is right, and the check costs you fifteen seconds.

Algebraic fractions (Extended only)

An algebraic fraction has a letter in the numerator or the denominator. The rules are the ones you already use for numerical fractions, with one extra step: factorise first, because you can only cancel factors, never terms that are added or subtracted.

Multiplying and dividing is the straightforward case. 3a4×9a10=27a240, and to divide you turn the second fraction upside down and multiply: 3a4÷9a10=3a4×109a=56. Notice that the a cancels in the division because it is a factor of the top and of the bottom.

Simplifying needs both parts factorised: x2−2xx2−5x+6=x(x−2)(x−2)(x−3)=xx−3. The (x−2) cancels because it is a factor of the numerator and of the denominator. Nothing else does: the x on the top is multiplied by (x−2) but the x on the bottom is part of the sum x−3.

Adding and subtracting needs a common denominator, exactly as with numbers. 1x−2+x+1x−3=(x−3)+(x+1)(x−2)(x−2)(x−3)=x2−5(x−2)(x−3). When a whole fraction is subtracted, put its numerator in a bracket before you multiply: 2x3−3(x−5)2=4x−9(x−5)6=45−5x6.

  • 3a4×9a10=27a240
  • 3a4÷9a10=56
  • x2−2xx2−5x+6=xx−3
  • 2x3−3(x−5)2=45−5x6
Cancelling only works on factors. x+3x+5 does not simplify to 35: the x's are terms of a sum, not factors of a product, so that fraction is already in its simplest form.

Rearranging a formula: changing the subject

The subject of a formula is the letter that stands on its own, usually on the left. Rearranging means doing the same thing to both sides until the letter you want is alone. To make x the subject of y=3x+7, subtract 7 from both sides and then divide both sides by 3: x=y−73. Undo the operations in the reverse order to the one that built the formula.

If the subject is trapped in a fraction or a bracket, clear that first. y=x+54 becomes 4y=x+5, so x=4y−5. Where the subject is squared or under a root, undo it with the opposite operation: y=x−1 gives x=y2+1, and y=x2+3 gives x=±y−3.

Extended candidates also have to deal with a subject that appears twice. For ax+b=cx+d: collect the x terms on one side, ax−cx=d−b; take out the common factor, x(a−c)=d−b; then divide, x=d−ba−c. The three steps are always the same, and the factorising in the middle step is what most students forget.

  • y=3x+7 rearranges to x=y−73
  • y=x+54 rearranges to x=4y−5
  • ax+b=cx+d rearranges to x=d−ba−c
  • y=x−1 rearranges to x=y2+1
Check a rearrangement by substituting numbers into the original formula and into your answer. If the two do not agree, one of them is wrong - and the check costs less than the mark you would otherwise lose.

Key terms you must be able to define

Term
A single number, a single letter, or a product of numbers and letters. In 5x2−3x+2 the terms are 5x2, −3x and 2.
Coefficient
The number multiplying a letter in a term. In −3x the coefficient is −3.
Constant term
A term with no letter in it. In 3x2−5x+2 the constant term is 2.
Like terms
Terms with exactly the same letters and the same powers, so they can be added or subtracted: 3x and −7x.
Simplify
Collect like terms until the expression has as few terms as possible. 2a+3b+5a−9b simplifies to 7a−6b.
Expand
Multiply out the brackets and write the expression as a sum of terms. 3x(2x−4y)=6x2−12xy.
Factorise
Write an expression as a product of factors - the reverse of expanding. 9x2+15xy=3x(3x+5y).
Factorise fully
Take out the highest common factor of every term, so that no bracket has a common factor left inside it. 12x2+18x=6x(2x+3).
Common factor
A number or letter that divides every term of the expression exactly. In 9x2+15xy the common factor is 3x.
Quadratic expression
An expression of the form ax2+bx+c with a≠0, such as 2x2+7x+3.
Difference of two squares
a2−b2=(a+b)(a−b). The two middle terms cancel when you expand, e.g. 9x2−25=(3x+5)(3x−5).
Perfect square
a2+2ab+b2=(a+b)2, e.g. x2+10x+25=(x+5)2.
Completing the square
Writing ax2+bx+c in the form (x+p)2+q, e.g. x2+6x+1=(x+3)2−8.
Algebraic fraction
A fraction with a letter in the numerator, the denominator or both, such as x+1x−3.
Cancel
Divide the numerator and the denominator of a fraction by a common factor. Only factors can be cancelled, never terms.
Numerator
The number or expression on the top of a fraction.
Denominator
The number or expression on the bottom of a fraction. Fractions are added by writing them over a common denominator.
Subject of a formula
The letter that stands alone in a formula, usually on the left-hand side, such as A in A=12(a+b)h.
Change the subject
Rearrange a formula so that a different letter is on its own. y=3x+7 becomes x=y−73.

In context

Cambridge sets 0580 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.

Collecting like terms

Simplify 5x2−3x+2+4x2+7x−9. Collect the x2 terms: 5x2+4x2=9x2. Collect the x terms: −3x+7x=4x. Collect the numbers: 2−9=−7. The answer is 9x2+4x−7, and nothing else can be collected because those three families are not like terms.

Expanding two brackets

Expand and simplify (3x−2)(x+5). Four products: 3x×x=3x2, 3x×5=15x, −2×x=−2x, −2×5=−10. The middle two are like terms, 15x−2x=13x, so the answer is 3x2+13x−10.

Difference of two squares

Expand (4x+3)(4x−3). The four products are 16x2−12x+12x−9. The two middle terms are equal and opposite, so they cancel and the answer is 16x2−9. Once you recognise the pattern you can square each term and subtract: (4x)2=16x2 and 32=9.

Factorising a quadratic

Factorise x2−x−12. You need two numbers that multiply to −12 and add to −1. They are −4 and 3, so x2−x−12=(x−4)(x+3). Check by expanding: x2+3x−4x−12=x2−x−12.

Rearranging a formula

The area of a trapezium is A=12(a+b)h. To make a the subject, multiply both sides by 2: 2A=(a+b)h. Divide both sides by h: 2Ah=a+b. Subtract b: a=2Ah−b. The same three steps work whatever the letters are called.

Flashcards

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

Q1What are like terms?
Terms with exactly the same letters and powers. 3x and −7x are like terms; 3x and 3x2 are not.
Q2Expand 5(2x−3).
10x−15. The 5 multiplies both terms inside the bracket.
Q3Expand and simplify (x+4)(x−7).
x2−3x−28, from the four products x2−7x+4x−28.
Q4Expand (x+6)(x−6).
x2−36. The two middle terms cancel: this is the difference of two squares.
Q5Expand (2x−5)2.
4x2−20x+25. The middle term doubles, so it is not 4x2+25.
Q6Expand (x−2)(x+3)(2x+1).
2x3+3x2−11x−6. Expand the first pair to x2+x−6, then multiply by (2x+1).
Q7Factorise fully 12x2+18x.
6x(2x+3). The highest common factor is 6x.
Q8Factorise x2−7x+12.
(x−3)(x−4), because 3×4=12 and 3+4=7.
Q9Factorise x2+2x−15.
(x+5)(x−3), because 5×−3=−15 and 5−3=2.
Q10Factorise 9x2−25.
(3x+5)(3x−5). A difference of two squares: a2−b2=(a+b)(a−b).
Q11Factorise 2x2+7x+3.
(2x+1)(x+3). Split the middle term using 6+1=7.
Q12What does 'factorise fully' mean?
Take out the highest common factor of every term, so that no bracket has a common factor left inside it.
Q13Simplify x2−2xx2−5x+6.
xx−3. Factorise to x(x−2)(x−2)(x−3) and cancel the (x−2).
Q14Write 1x−2+x+1x−3 as a single fraction.
x2−5(x−2)(x−3), using the common denominator (x−2)(x−3).
Q15Why can you not cancel the x's in x+3x+5?
Because x+3 and x+5 are sums. Cancelling only removes common factors, so that fraction is already in its simplest form.
Q16Make x the subject of ax+b=cx+d.
x=d−ba−c: collect the x terms, factorise to x(a−c)=d−b, then divide.
Q17What is the difference between 3x+2x and 3x×2x?
5x and 6x2. Adding collects like terms; multiplying multiplies the coefficients and adds the powers.
Q18Complete the square for x2+6x+1.
(x+3)2−8, because (x+3)2=x2+6x+9 and the extra 9 is taken back off.
0 of 18 marked as known

Exam-style questions

8 questions, 21 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.

Work outAO12 marks
Simplify 5x2−3x+2+4x2+7x−9.
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
  • A19x2+4x−7not checked yet
Examiner tip: 'Simplify' means collect like terms until nothing else can be collected. The x2 terms, the x terms and the numbers are three separate families, so 2−9=−7 stays on its own.
Work outAO12 marks
Expand 4x(3x−2).
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
  • A112x2−8xnot checked yet
Examiner tip: The 4 and the x outside the bracket both multiply both terms inside it: 4x×3x=12x2 and 4x×−2=−8x.
Work outAO13 marks
Expand and simplify (3x−2)(x+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
  • A13x2+13x−10not checked yet
Examiner tip: Four products, then one line of collecting. The four products are the method mark even if the final line goes wrong, so write them down.
Work outAO12 marks
Expand and simplify (2x+7)(2x−7).
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
  • A14x2−49not checked yet
Examiner tip: This is the difference of two squares: the middle terms are equal and opposite, so the answer is the square of the first term minus the square of the second.
Work outAO12 marks
Factorise fully 12x2+18x.
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
  • A16x(2x+3)not checked yet
Examiner tip: 'Fully' means the highest common factor: 6 divides 12 and 18, and x divides both terms. Check by expanding back to 12x2+18x.
Work outAO23 marks
Factorise x2−x−12 and hence solve x2−x−12=0.
Give every part of the answer, separated by commas or the word 'or'.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1x=4 or x=−3not checked yet
Examiner tip: Extended only. The factorising is worth two of the three marks and the solving is the quick step at the end: a product is zero only when one of its factors is zero.
Work outAO23 marks
Simplify x2−2xx2−5x+6.
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
  • A1xx−3not checked yet
Examiner tip: Extended only. Factorise both parts before cancelling anything: the (x−2) is a factor of the top and of the bottom so it cancels, but the x and the 3 are terms and cannot.
Show (that)AO24 marks
The formula ax+b=cx+d is rearranged to make x the subject. Show that x=d−ba−c.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A1
Examiner tip: Extended only. A 'Show that' question gives you the answer, so every line has to be followable: collect the x terms on one side, factorise, then divide. Never start from the given answer and work backwards.

Exam technique for this topic

  • Write the expansion on its own line before you collect anything. The method mark is for the products, so a student who jumps straight to the final line can lose the whole question when the arithmetic slips.
  • Take the sign with the term when a bracket is multiplied by a negative number or subtracted: −3(2x−5)=−6x+15 and 5−2(x+3)=5−2x−6=−1−2x. Sign errors here cost more marks in this topic than any other single mistake.
  • Check every factorisation by expanding it back, and every expansion by substituting a number such as x=2 into both forms. They must give the same value, and the check takes seconds.
  • Factorise fully: if the bracket you have written still has a common factor, take it out. 4x2+8x=4x(x+2), not 2(2x2+4x). The word 'fully' is doing work in the question.
  • In an algebraic fraction, factorise the numerator and the denominator before cancelling anything, and only cancel factors. In a 'change the subject' question where the subject appears twice, collect its terms on one side, factorise, then divide - and show all three steps.

Why students lose marks here

A student wrote3x+2x=5x2
Why it loses marksAdding like terms adds the coefficients, not the powers. 3x and 2x are like terms, so they collect to 5x.
The answer that scores3x+2x=5x. Only multiplication produces x2: 3x×2x=6x2.
A student wrote3(x−4)=3x−4
Why it loses marksThe 3 outside the bracket multiplies every term inside it, not just the first.
The answer that scores3(x−4)=3x−12, because 3×−4=−12.
A student wrote(x+3)2=x2+9
Why it loses marksA squared bracket is the bracket multiplied by itself, so the two middle terms 3x+3x=6x cannot be left out.
The answer that scores(x+3)2=(x+3)(x+3)=x2+6x+9.
A student wrote9x2+15xy factorises to 3(3x2+5xy)
Why it loses marksThe x divides both terms as well as the 3, so taking out only the 3 leaves a common factor behind and the expression is not fully factorised.
The answer that scores9x2+15xy=3x(3x+5y). Check: 3x×3x=9x2 and 3x×5y=15xy.
A student wrotex+3x+5=35
Why it loses marksThe x's here are terms of a sum, not factors of a product, so they cannot be cancelled. Cancelling removes a common factor from the whole of the top and the whole of the bottom.
The answer that scoresx+3x+5 is already in its simplest form. Cancelling needs factors: x(x−2)(x−2)(x−3)=xx−3.
A student wrotey=3x+7 gives x=y−73
Why it loses marksThe division by 3 has to apply to the whole of y−7, not just to the 7. Undo the operations in reverse order: subtract 7 first, then divide by 3.
The answer that scoresx=y−73. Check with y=13: x=13−73=2, and 3×2+7=13, which agrees with the original formula.

Where this fits in IGCSE Maths

This page is one topic of Cambridge IGCSE Maths 0580. IGCSE Maths 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 IGCSE Maths syllabus page.