Skip to content
MathClicksIGCSE← All notes Cambridge IGCSE® Mathematics 0580 Extended Chapter 2 — Making Sense of Algebra

2.4  Working with Brackets

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

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

The same rule works when the outside term contains a letter, so the powers go up by one:

x(x + 4) = x² + 4x     2x(3x − 5) = 6x² − 10x Multiply the numbers, then the letters
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 — including the second one.
−4(3x − 7) = −12x + 28 −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 quick substitution. Put x = 1, y = 1: the original gives −5(2 − 3 + 4) = −15, and the answer gives −10 + 15 − 20 = −15. They match.

Expand, then collect like terms

Most questions ask you to expand and simplify. Expand every bracket first — write the whole expanded line down before you start collecting. Trying to do both in one step is how sign errors creep in.

Example 2Expand and simplify 4(3x − 2) − 3(2x − 5).
1
The multiplier of the second bracket is −3, not 3. Expand both brackets on one line. 4(3x − 2) = 12x − 8
−3(2x − 5) = −6x + 15
2
Write the full expansion. 12x − 8 − 6x + 15
3
Collect the x terms and the numbers separately. 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.

Expanding two brackets

When two brackets are multiplied together, every term in the first bracket must meet every term in the second. Two terms times two terms gives four products, which you then simplify. There are two standard ways of organising the work.

First · Outside · Inside · Last — a reminder of the four pairs you must multiply in (x + 3)(x + 5):

  • First terms: x × x = x²
  • Outside terms: x × 5 = 5x
  • Inside terms: 3 × x = 3x
  • Last terms: 3 × 5 = 15

Then collect: x² + 5x + 3x + 15 = x² + 8x + 15.

Watch out FOIL only works for two terms times two terms. If either bracket has three terms, use the grid.

Draw a 2 × 2 box, write one bracket along the top and the other down the side, and fill each cell with the product. Then add the four cells. The grid never lets you forget a pair, and it extends to brackets of any size.

×x+5
xx²5x
+33x15

x² + 5x + 3x + 15 = x² + 8x + 15

Exam tip Take the sign with the term into the grid. In (2x + 3)(4x − 5) the second column is −5, so the cells in it come out negative automatically and you never have to patch signs afterwards.

Grid-method expander

Set the four coefficients of (ax + b)(cx + d) and watch the grid fill in. Try a=1, b=3, c=1, d=−3 for a difference of two squares, or a=2, b=5, c=2, d=5 for a perfect square.

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.

Three results worth memorising

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

General quadratic

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

The x coefficient is the sum, the constant is the product. (x + 4)(x − 9) = x² − 5x − 36.

Perfect square

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

Middle term is twice the product of the two terms. (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, so there are still four products. Never square the terms separately. 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) This is a difference of two squares: the terms are identical apart from the sign, so the middle terms cancel. 16y² − 12y + 12y − 9
(a) 4x² − 20x + 25     (b) 16y² − 9
Exam tip Difference of two squares also speeds up arithmetic: 102 × 98 = (100 + 2)(100 − 2) = 10000 − 4 = 9996.

Three brackets, and brackets inside brackets

Three brackets

Never try to do three brackets at once. Multiply any two of them together, simplify that result, then multiply what you get by the remaining bracket. A quadratic times a linear bracket gives 3 × 2 = 6 products, so the grid method is the safer choice at the second stage.

(x + 2)(x + 3)(x − 1) Step 1: (x + 2)(x + 3) = x² + 5x + 6
×x²+5x+6
xx³5x²6x
−1−x²−5x−6

Collecting: x³ + (5x² − x²) + (6x − 5x) − 6 = x³ + 4x² + x − 6.

Exam tip A cubic answer must be written in descending powers: x³, then x², then x, then the number. Examiners expect that order, and it makes checking far easier. Substituting x = 1 here gives (3)(4)(0) = 0 and 1 + 4 + 1 − 6 = 0 — a five-second confirmation.

Brackets inside brackets

Work from the inside out: expand the inner bracket, simplify what is left inside the outer bracket, and only then expand the outer bracket. Square brackets [ ] are used purely to make the nesting readable — they mean exactly the same as round ones.

Order of work 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 Inside first, always
Watch out In step one it is −4(x − 5), not 4(x − 5). Drag the minus sign in with the 4 and the +20 appears correctly. Check at x = 2: 3[4 − 4(−3)] = 3 × 16 = 48, and −6(2) + 60 = 48.

More worked examples

Example 5Expand and simplify (2x − 1)(x + 4)(3x − 2).
1
Take the first two brackets and expand them. (2x − 1)(x + 4) = 2x² + 8x − x − 4
= 2x² + 7x − 4
2
Now multiply that quadratic by (3x − 2). Six products — take them in order. 3x × (2x² + 7x − 4) = 6x³ + 21x² − 12x
−2 × (2x² + 7x − 4) = −4x² − 14x + 8
3
Add the two lines, collecting like powers. 6x³ + (21 − 4)x² + (−12 − 14)x + 8
6x³ + 17x² − 26x + 8
Check At x = 1 the original is (1)(5)(1) = 5; the answer gives 6 + 17 − 26 + 8 = 5.
Example 6Expand and simplify 2(3x − 1)² − 5[x − 3(2 − x)].
1
Square the bracket first, then multiply by 2. The index applies only to the bracket, not to the 2. (3x − 1)² = 9x² − 6x + 1
2(9x² − 6x + 1) = 18x² − 12x + 2
2
Now the nested part, working from the inside out. 3(2 − x) = 6 − 3x
x − (6 − 3x) = x − 6 + 3x = 4x − 6
3
Multiply that by −5. −5(4x − 6) = −20x + 30
4
Add the two results and collect like terms. 18x² − 12x + 2 − 20x + 30
18x² − 32x + 32
Check At x = 1: original = 2(2)² − 5[1 − 3(1)] = 8 + 10 = 18; answer = 18 − 32 + 32 = 18.
Example 7A rectangle measures (3x − 2) cm by (x + 5) cm. Show that its area is (3x² + 13x − 10) cm², and find the area when x = 4.
1
Area of a rectangle is length × width, so expand the product. (3x − 2)(x + 5)
2
Four products, signs attached. 3x² + 15x − 2x − 10
3
Collect the middle terms — this is the “show that”, so the working line matters more than the answer. = 3x² + 13x − 10  ✓
4
Substitute x = 4 into the simplified expression. 3(16) + 13(4) − 10 = 48 + 52 − 10 = 90
Area = 90 cm²
Exam tip In a “show that” question you must display the unsimplified four-term line. Jumping straight to the printed answer scores nothing, because the printed answer is what you were given. Note also that the dimensions confirm the result: (10)(9) = 90.

Your turn

Practice set

  1. Expand: (a) 5(2x − 7)  (b) −3(4 − 2x)  (c) 2x(3x + 5)
  2. Expand and simplify 6(2x − 1) − 4(3x − 5).
  3. Expand and simplify (2x − 3)(3x + 4).
  4. Expand: (a) (x + 6)²  (b) (5x − 2)(5x + 2)
  5. Expand and simplify (x − 2)(x + 1)(x + 4).
  6. A rectangle is (2x + 5) cm long and (x − 3) cm wide. A square of side (x − 1) cm is cut out of it. Show that the area remaining is (x² + x − 16) cm².

  1. (a) 10x − 35  (b) −12 + 6x = 6x − 12  (c) 6x² + 10x
  2. 12x − 6 − 12x + 20; the x terms cancel → 14
  3. 6x² + 8x − 9x − 12 → 6x² − x − 12
  4. (a) x² + 6x + 6x + 36 → x² + 12x + 36  (b) difference of two squares → 25x² − 4
  5. (x − 2)(x + 1) = x² − x − 2; multiply by (x + 4): x³ + 4x² − x² − 4x − 2x − 8 → x³ + 3x² − 6x − 8
  6. Rectangle = (2x + 5)(x − 3) = 2x² − x − 15; square = (x − 1)² = x² − 2x + 1. Subtract: 2x² − x − 15 − x² + 2x − 1 → x² + x − 16 ✓

Key points to remember

  • Every term inside the bracket must be multiplied by the term outside — a(b + c) = ab + ac.
  • The sign in front of a bracket belongs to the multiplier. −4(3x − 7) = −12x + 28: negative times negative is positive.
  • Two brackets give four products (FOIL or a 2 × 2 grid); a quadratic times a linear bracket gives six. Take the sign into the grid with each term.
  • (x + a)(x + b) = x² + (a + b)x + ab — sum in the middle, product at the end.
  • (x + a)² = x² + 2ax + a². Squaring a bracket is never squaring the terms separately.
  • (x + a)(x − a) = x² − a² — the middle terms cancel; the difference of two squares.
  • For three brackets, expand two of them first, simplify, then multiply by the third. Write cubic answers in descending powers.
  • Nested brackets: work from the inside out, and when subtracting a whole expansion keep it in brackets until the signs have been changed.
  • Always check by substituting a value such as x = 2 into both the original and your answer — they must agree.

Where next?

✅ Mark scheme All notes

Progress is saved on this device only and appears on the notes home page.