Skip to content
Cambridge IGCSE® Mathematics 0580 Extended Algebra Lesson

Working with Brackets

Expand single, double and triple brackets confidently — and learn the three special results every Extended candidate is expected to recognise instantly.

Learning objectives What you will be able to do

  • Expand a single bracket, including a negative multiplier, and then collect like terms.
  • Expand two brackets using FOIL or the grid method, keeping every sign attached to its term.
  • Recognise and use the perfect square and the difference of two squares.
  • Expand three brackets two at a time, and work nested brackets from the inside out.

Key words

expandlike termsFOILgrid methodperfect squaredifference of two squarescoefficient

Starter 5 minutes — before we begin

Answer from memory, then open each one to check.

Starter 1Simplify 7x + 3x − 4x.
6x — like terms add and subtract just like numbers.
Starter 2Work out −4 × (−7).
+28 — negative times negative is positive.
Starter 3Simplify (a) x × x  (b) 2x × 3x.
(a) x²   (b) 6x² — multiply the numbers, then the letters.

Learn Teach · example · together

1 ·  Expanding a single bracket

To expand a bracket means to multiply everything inside it by the term outside, then write the answer without the bracket. Nothing is lost and nothing is gained — the expanded form has exactly the same value as the original for every value of the letter.

a(b + c) = ab + ac Multiply the outside term by each term inside

Why it works — the area model

3(2x + 5) is the area of a rectangle of height 3 split into two pieces. The two areas must add up to the whole.

2x 5 3 6x 15 3(2x + 5) = 6x + 15
Watch out A negative multiplier is where most marks are lost. The sign outside belongs to the multiplier and must be applied to every term inside: −4(3x − 7) = −12x + 28, because −4 × −7 = +28, not −28.
Example 1Expand −5(2x − 3y + 4).
1
Multiply the first term inside by −5. −5 × 2x = −10x
2
Multiply the second term — negative times negative gives positive. −5 × (−3y) = +15y
3
Multiply the third term. −5 × 4 = −20
−10x + 15y − 20
Exam tip Check with a substitution. At x = 1, y = 1 the original gives −5(2 − 3 + 4) = −15 and the answer gives −10 + 15 − 20 = −15. They match.
Example 2Expand and simplify 4(3x − 2) − 3(2x − 5).
1
The multiplier of the second bracket is −3, not 3. Expand both brackets first. 4(3x − 2) = 12x − 8
−3(2x − 5) = −6x + 15
2
Write the full expansion, then collect the x terms and the numbers separately. 12x − 8 − 6x + 15
12x − 6x = 6x    −8 + 15 = +7
6x + 7
Check With x = 2: original = 4(4) − 3(−1) = 16 + 3 = 19; answer = 6(2) + 7 = 19.

2 ·  Expanding two brackets

When two brackets are multiplied together, every term in the first must meet every term in the second — two terms times two terms gives four products. FOIL (First, Outside, Inside, Last) lists the four pairs; the grid method draws them.

×x+5
xx²5x
+33x15

(x + 3)(x + 5) = x² + 5x + 3x + 15 = x² + 8x + 15. The grid never lets you forget a pair, and unlike FOIL it extends to brackets of any size.

Exam tip Take the sign with the term into the grid. In (2x + 3)(4x − 5) the second column is −5, so its cells come out negative automatically and you never have to patch signs afterwards.
Example 3Expand and simplify (3x − 4)(2x + 7).
1
Set out the four products, keeping each sign attached. 3x × 2x = 6x²
3x × (+7) = +21x
(−4) × 2x = −8x
(−4) × (+7) = −28
2
Write all four, then collect the two middle terms. 6x² + 21x − 8x − 28
21x − 8x = 13x
6x² + 13x − 28
Check With x = 2: original = (2)(11) = 22; answer = 24 + 26 − 28 = 22.

3 ·  Three results worth memorising

These patterns appear so often — in expanding, factorising, completing the square and surds — that recognising them instantly is worth real marks.

General quadratic

(x + a)(x + b) = x² + (a + b)x + ab

Sum in the middle, product at the end: (x + 4)(x − 9) = x² − 5x − 36.

Perfect square

(x + a)² = x² + 2ax + a²

Middle term is twice the product: (x − 6)² = x² − 12x + 36.

Difference of two squares

(x + a)(x − a) = x² − a²

The middle terms cancel exactly: (3x + 7)(3x − 7) = 9x² − 49.

Watch out (2x − 5)² is not 4x² − 25. Squaring a bracket means multiplying it by itself — still four products. Test it: at x = 2, (2x − 5)² = (−1)² = 1 but 4x² − 25 = −9.
Example 4Expand (a) (2x − 5)²  (b) (4y + 3)(4y − 3).
1
(a) Rewrite the square as a product of two brackets first — this alone prevents the classic error. (2x − 5)² = (2x − 5)(2x − 5)
2
Four products, then collect. 4x² − 10x − 10x + 25 = 4x² − 20x + 25
3
(b) A difference of two squares — the middle terms cancel. 16y² − 12y + 12y − 9 = 16y² − 9
(a) 4x² − 20x + 25    (b) 16y² − 9
Exam tip Difference of two squares also speeds up arithmetic: 102 × 98 = (100 + 2)(100 − 2) = 10 000 − 4 = 9996.

4 ·  Three brackets, and brackets inside brackets

Never try three brackets at once. Multiply any two of them, simplify, then multiply the result by the remaining bracket — a quadratic times a linear bracket gives six products, so use a grid at the second stage. Write cubic answers in descending powers.

(x + 2)(x + 3)(x − 1) = (x² + 5x + 6)(x − 1) = x³ + 4x² + x − 6 Two brackets first, then the third
Order of work for nested brackets 1. Expand the innermost bracket.  2. Collect like terms inside the outer bracket.  3. Expand the outer bracket.  4. Collect like terms again.
3[2x − 4(x − 5)] = 3[2x − 4x + 20] = 3[−2x + 20] = −6x + 60

Practice Now you try

Do every question on paper first, then open the solution and mark your own working.

Practice 1Expand: (a) 5(2x − 7)  (b) −3(4 − 2x)  (c) 2x(3x + 5)
1
Multiply every term inside by the term outside, signs included. (a) 10x − 35
(b) −12 + 6x = 6x − 12
(c) 6x² + 10x
(a) 10x − 35  (b) 6x − 12  (c) 6x² + 10x
Practice 2Expand and simplify 6(2x − 1) − 4(3x − 5).
1
Expand both brackets, keeping the −4 with its bracket. 12x − 6 − 12x + 20
2
The x terms cancel completely. 12x − 12x = 0    −6 + 20 = 14
14
Practice 3Expand and simplify (2x − 3)(3x + 4).
1
Four products, signs attached. 6x² + 8x − 9x − 12
2
Collect the middle terms. 8x − 9x = −x
6x² − x − 12
Practice 4Expand: (a) (x + 6)²  (b) (5x − 2)(5x + 2)
1
(a) Perfect square — four products, middle term doubled. x² + 6x + 6x + 36 = x² + 12x + 36
2
(b) Difference of two squares — the middle terms cancel. 25x² − 4
(a) x² + 12x + 36    (b) 25x² − 4
Practice 5Expand and simplify (x − 2)(x + 1)(x + 4).
1
Multiply the first two brackets and simplify. (x − 2)(x + 1) = x² − x − 2
2
Multiply that quadratic by (x + 4) — six products. x³ + 4x² − x² − 4x − 2x − 8
3
Collect like powers, in descending order. x³ + 3x² − 6x − 8
x³ + 3x² − 6x − 8

Common mistakes Lose no easy marks

Dropping the sign of a negative multiplier −4(3x − 7) is −12x + 28 — the −4 multiplies both terms, and negative times negative is positive.
Squaring the terms separately (2x − 5)² ≠ 4x² − 25. Rewrite the square as two brackets and do all four products: 4x² − 20x + 25.
Missing products with bigger brackets FOIL only works for two terms times two terms. A quadratic times a linear bracket has six products — use a grid, and take each sign into the grid with its term.
Exam tip Check every expansion by substituting a value such as x = 2 into the original and into your answer — they must agree. Ten seconds, and it catches almost every sign slip.

Exit check Prove it before you leave

Exit 1Expand −2(4x − 3).
−8x + 6
Exit 2Expand (x + 6)².
x² + 12x + 36 — the middle term is twice 6x.
Exit 3Expand (5x − 2)(5x + 2).
25x² − 4 — a difference of two squares.

Keep going