Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 7 · Algebra basics
GCSE Maths · Algebra Basics · Higher · Lesson 7.5

GCSE Maths: Expanding double brackets (Higher)

Part of the GCSE Maths algebra basics chapter (Higher). Chapter overview · Foundation version of this lesson · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
7.5

Expanding double brackets

Edexcel 1MA1: A4
Grade 4-7

An expression like (x + 3)(x + 2) is a product of two brackets. We have already met “a number times a bracket”. Now there are two brackets, and the rule gets one step bigger: every term in the first bracket must be multiplied by every term in the second bracket.

The easiest way to see why is a picture. A rectangle has length (x + 3) and width (x + 2). Cut it into four parts. The area of the whole rectangle is (x + 3)(x + 2), and it is also the total of the four parts.

(x + 3)(x + 2)x3x²3xx2x62x + 3x + 2
The four parts have areas x2, 3x, 2x and 6. Total: x2 + 3x + 2x + 6 = x2 + 5x + 6.

This is the grid method: put the terms of one bracket along the top and the terms of the other down the side. Each box is the row term times the column term. Then add up all four boxes and collect the like terms. Another way to organise the same four multiplications is F-O-I-L: multiply the First terms, then the Outside terms, then the Inside terms, then the Last terms. Both methods give the same answer. Always count your pieces: two terms times two terms gives four pieces.

Negative terms. Keep the sign with the term, and use the sign rules when multiplying. For (x − 2)(x + 5) the second row of the grid is −2 × x = −2x and −2 × 5 = −10.

(x − 2)(x + 5)x5x²5xx−2x−10−2x + 5x − 2
Red boxes have a negative area: they are taken away. Total: x2 + 5x − 2x − 10 = x2 + 3x − 10.

Three special cases

Squared brackets. (x + 3)2 means (x + 3)(x + 3), so there are four pieces. The two middle pieces are equal, so you get 2 × 3x: (x + 3)2 = x2 + 6x + 9. It is not x2 + 9.

Difference of two squares. (x + 4)(x − 4) = x2 − 4x + 4x − 16 = x2 − 16. When the two brackets have the same numbers but opposite signs, the middle terms cancel. You will use this again when you factorise.

Brackets with more terms. The rule does not change. Every term in the first bracket multiplies every term in the second: a bracket with 2 terms times a bracket with 3 terms gives 6 pieces.

Three brackets

To expand three brackets, expand two of them first and collect like terms. Then multiply that answer by the third bracket, again multiplying every term by every term. For example (x + 1)(x + 2)(x + 3) = (x2 + 3x + 2)(x + 3) = x3 + 6x2 + 11x + 6.

Key ideas

  • Multiply every term in the first bracket by every term in the second, then collect like terms.
  • Two terms times two terms makes four pieces (use a grid, or F-O-I-L).
  • (x + a)2 = (x + a)(x + a) = x2 + 2ax + a2.
  • (x + a)(x − a) = x2 − a2 (difference of two squares).
  • Keep signs with their terms. A negative times a negative is positive.
  • Higher: for three brackets, expand two, collect, then multiply by the third.
Worked example 7.5.1
Expand and simplify (x + 3)(x + 5).

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 2 in the second, so we need 2 × 2 = 4 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. (First, Outer, Inner, Last is a way of remembering the order.) Multiply the numbers and letters, and take care with the signs.
    ×x5
    xx25x
    33x15
    First: x × x = x2
    Outer: x × 5 = 5x
    Inner: 3 × x = 3x
    Last: 3 × 5 = 15
  2. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    x2 + 5x + 3x + 15
  3. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    x2 terms: +x2  (only one of this type, so it stays as it is)
    x terms: +5x, +3x
       add the coefficients: 5 + 3 = 8  so they give 8x
    number terms: +15  (only one of this type, so it stays as it is)
    Answer: x2 + 8x + 15

Check. Test with numbers. Put x = 3 into the original and into your answer. The original gives 48 and the answer gives 48. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. There should be four pieces before you collect (2 × 2). Count them. A very common error is to multiply only the First and Last terms.

Worked example 7.5.2
Expand and simplify (x − 2)(x + 7).

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 2 in the second, so we need 2 × 2 = 4 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. (First, Outer, Inner, Last is a way of remembering the order.) Multiply the numbers and letters, and take care with the signs.
    ×x7
    xx27x
    −2−2x−14
    First: x × x = x2
    Outer: x × 7 = 7x
    Inner: (−2) × x = −2x
    Last: (−2) × 7 = −14
  2. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    x2 + 7x − 2x − 14
  3. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    x2 terms: +x2  (only one of this type, so it stays as it is)
    x terms: +7x, −2x
       add the coefficients: 7 − 2 = 5  so they give 5x
    number terms: −14  (only one of this type, so it stays as it is)
    Answer: x2 + 5x − 14

Check. Test with numbers. Put x = 3 into the original and into your answer. The original gives 10 and the answer gives 10. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. There should be four pieces before you collect (2 × 2). Count them. A very common error is to multiply only the First and Last terms.

Worked example 7.5.3
Expand and simplify (x + 4)2.

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Write the squared bracket as two brackets. Squaring means multiplying by itself: (a + b)2 means (a + b)(a + b). It does not mean you can just square each term.
    (x + 4)2 = (x + 4)(x + 4)
  2. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 2 in the second, so we need 2 × 2 = 4 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. (First, Outer, Inner, Last is a way of remembering the order.) Multiply the numbers and letters, and take care with the signs.
    ×x4
    xx24x
    44x16
    First: x × x = x2
    Outer: x × 4 = 4x
    Inner: 4 × x = 4x
    Last: 4 × 4 = 16
  3. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    x2 + 4x + 4x + 16
  4. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    x2 terms: +x2  (only one of this type, so it stays as it is)
    x terms: +4x, +4x
       add the coefficients: 4 + 4 = 8  so they give 8x
    number terms: +16  (only one of this type, so it stays as it is)
    Answer: x2 + 8x + 16

Check. Test with numbers. Put x = 3 into the original and into your answer. The original gives 49 and the answer gives 49. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. Do not write (x + 3)2 = x2 + 9. The middle term is missing! (x + 3)(x + 3) has four pieces: x2, 3x, 3x and 9.

Worked example 7.5.4
Expand and simplify (2x + 3)(x − 5).

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 2 in the second, so we need 2 × 2 = 4 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. (First, Outer, Inner, Last is a way of remembering the order.) Multiply the numbers and letters, and take care with the signs.
    ×x−5
    2x2x2−10x
    33x−15
    First: 2x × x = 2x2
    Outer: 2x × (−5) = −10x
    Inner: 3 × x = 3x
    Last: 3 × (−5) = −15
  2. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    2x2 − 10x + 3x − 15
  3. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    x2 terms: +2x2  (only one of this type, so it stays as it is)
    x terms: −10x, +3x
       add the coefficients: −10 + 3 = −7  so they give −7x
    number terms: −15  (only one of this type, so it stays as it is)
    Answer: 2x2 − 7x − 15

Check. Test with numbers. Put x = 3 into the original and into your answer. The original gives −18 and the answer gives −18. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. There should be four pieces before you collect (2 × 2). Count them. A very common error is to multiply only the First and Last terms.

Worked example 7.5.5
Expand and simplify (x + 6)(x − 6). What do you notice?

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 2 in the second, so we need 2 × 2 = 4 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. (First, Outer, Inner, Last is a way of remembering the order.) Multiply the numbers and letters, and take care with the signs.
    ×x−6
    xx2−6x
    66x−36
    First: x × x = x2
    Outer: x × (−6) = −6x
    Inner: 6 × x = 6x
    Last: 6 × (−6) = −36
  2. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    x2 − 6x + 6x − 36
  3. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    x2 terms: +x2  (only one of this type, so it stays as it is)
    x terms: −6x, +6x
       add the coefficients: −6 + 6 = 0  so they cancel to give 0
    number terms: −36  (only one of this type, so it stays as it is)
    Answer: x2 − 36

Check. Test with numbers. Put x = 3 into the original and into your answer. The original gives −27 and the answer gives −27. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. There should be four pieces before you collect (2 × 2). Count them. A very common error is to multiply only the First and Last terms.

Worked example 7.5.6
Expand and simplify (x + 1)(x + 2)(x + 3).

Method. Expand three brackets in two stages: expand the first two and tidy up, then multiply the result by the third bracket.

  1. Write the question. Three brackets multiplied together. We can only multiply two things at a time, so we do it in two stages.
    (x + 1)(x + 2)(x + 3)
  2. Stage 1: expand the first two brackets. Multiply every term of one bracket by every term of the other, exactly as for two brackets.
    ×x2
    xx22x
    1x2
    x × x = x2
    x × 2 = 2x
    1 × x = x
    1 × 2 = 2
  3. Collect the like terms from stage 1. We want a neat answer before the next multiplication. This reduces the amount of work in the next step.
    x2 terms: +x2  (only one of this type, so it stays as it is)
    x terms: +2x, +x
       add the coefficients: 2 + 1 = 3  so they give 3x
    number terms: +2  (only one of this type, so it stays as it is)
    So (x + 1)(x + 2) = x2 + 3x + 2
  4. Stage 2: multiply the answer from stage 1 by the third bracket. Now we have 3 terms times 2 terms, so 6 multiplications. Again every term must meet every term.
    ×x3
    x2x33x2
    3x3x29x
    22x6
    x2 × x = x3
    x2 × 3 = 3x2
    3x × x = 3x2
    3x × 3 = 9x
    2 × x = 2x
    2 × 3 = 6
  5. Collect the like terms. Add up the terms of the same kind.
    x3 + 3x2 + 3x2 + 9x + 2x + 6
    x3 terms: +x3  (only one of this type, so it stays as it is)
    x2 terms: +3x2, +3x2
       add the coefficients: 3 + 3 = 6  so they give 6x2
    x terms: +9x, +2x
       add the coefficients: 9 + 2 = 11  so they give 11x
    number terms: +6  (only one of this type, so it stays as it is)
    Answer: x3 + 6x2 + 11x + 6

Check. Test with numbers. Put x = 2 into the original and into your answer. The original gives 60 and the answer gives 60. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. Do not try to do all three at once. Tidy the answer to stage 1 (collect like terms) before you multiply by the third bracket, or the algebra gets very long.

Worked example 7.5.7
Expand and simplify (x + 2)(x2 − 3x + 4).

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 3 in the second, so we need 2 × 3 = 6 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. Multiply the numbers and letters, and take care with the signs.
    ×x2−3x4
    xx3−3x24x
    22x2−6x8
    x × x2 = x3
    x × (−3x) = −3x2
    x × 4 = 4x
    2 × x2 = 2x2
    2 × (−3x) = −6x
    2 × 4 = 8
  2. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    x3 − 3x2 + 4x + 2x2 − 6x + 8
  3. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    x3 terms: +x3  (only one of this type, so it stays as it is)
    x2 terms: −3x2, +2x2
       add the coefficients: −3 + 2 = −1  so they give −x2
    x terms: +4x, −6x
       add the coefficients: 4 − 6 = −2  so they give −2x
    number terms: +8  (only one of this type, so it stays as it is)
    Answer: x3 − x2 − 2x + 8

Check. Test with numbers. Put x = 3 into the original and into your answer. The original gives 20 and the answer gives 20. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. There should be four pieces before you collect (2 × 2). Count them. A very common error is to multiply only the First and Last terms.

Worked example 7.5.8
Expand and simplify (2a − 3b)2.

Key words. A binomial is an expression with two terms, like x + 3. Expanding two brackets means multiplying every term of one by every term of the other.

Method. To expand two brackets, multiply every term in the first bracket by every term in the second, then collect the like terms.

  1. Write the squared bracket as two brackets. Squaring means multiplying by itself: (a + b)2 means (a + b)(a + b). It does not mean you can just square each term.
    (2a − 3b)2 = (2a − 3b)(2a − 3b)
  2. Multiply every term in the first bracket by every term in the second bracket. There are 2 terms in the first bracket and 2 in the second, so we need 2 × 2 = 4 multiplications. A table (the grid method) keeps them organised: each box is the row term times the column term. (First, Outer, Inner, Last is a way of remembering the order.) Multiply the numbers and letters, and take care with the signs.
    ×2a−3b
    2a4a2−6ab
    −3b−6ab9b2
    First: 2a × 2a = 4a2
    Outer: 2a × (−3b) = −6ab
    Inner: (−3b) × 2a = −6ab
    Last: (−3b) × (−3b) = 9b2
  3. Write down all the pieces. Add together the results of all the multiplications, each with its own sign.
    4a2 − 6ab − 6ab + 9b2
  4. Collect the like terms. The two middle pieces (the Outer and the Inner) are usually like terms. Add them. Pieces with different letters or powers stay separate.
    a2 terms: +4a2  (only one of this type, so it stays as it is)
    ab terms: −6ab, −6ab
       add the coefficients: −6 − 6 = −12  so they give −12ab
    b2 terms: +9b2  (only one of this type, so it stays as it is)
    Answer: 4a2 − 12ab + 9b2

Check. Test with numbers. Put a = 3, b = 4 into the original and into your answer. The original gives 36 and the answer gives 36. They are the same, so the answer is right. ✓ (One test does not prove it, but a wrong answer almost never survives it.)

Watch out. Do not write (x + 3)2 = x2 + 9. The middle term is missing! (x + 3)(x + 3) has four pieces: x2, 3x, 3x and 9.

Watch out

(x + 5)2 is not x2 + 25. Squaring a bracket does not square each term. Write it as two brackets, (x + 5)(x + 5), and expand to get x2 + 10x + 25. Also do not forget the middle term in the answer!

Exercise 7E  Expanding double brackets

Non-calculator
1
FExpand and simplify.
(a)(x + 2)(x + 3)
(b)(x + 5)(x + 1)
(c)(x + 4)(x + 6)
(d)(y + 7)(y + 2)
(e)(a + 3)(a + 8)
2
FExpand and simplify.
(a)(x − 2)(x + 5)
(b)(x + 3)(x − 4)
(c)(x − 1)(x − 6)
(d)(a − 5)(a − 2)
(e)(y − 3)(y + 8)
3
FExpand and simplify.
(a)(x + 2)2
(b)(x − 5)2
(c)(x + 10)2
(d)(y − 1)2
4
FExpand and simplify.
(a)(2x + 1)(x + 3)
(b)(3x − 2)(x + 4)
(c)(2x + 3)(2x + 5)
(d)(4x − 1)(x − 2)
5
FExpand and simplify. What do you notice about your answers?
(a)(x + 3)(x − 3)
(b)(a + 8)(a − 8)
(c)(2x + 5)(2x − 5)
(d)(y − 7)(y + 7)
6
PSThe rectangle has length (x + 5) cm and width (x + 2) cm. Show that its area is (x2 + 7x + 10) cm2.
x + 5x + 2
7
PSA square has sides of length (x + 3) cm. Write and simplify an expression for (a) its area (b) its perimeter.
(a)the area
(b)the perimeter
8
PSA rectangle has length (x + 7) cm and width (x − 2) cm. (a) Expand and simplify (x + 7)(x − 2). (b) Use your answer to find the area of the rectangle when x = 5.
(a)Expand and simplify (x + 7)(x − 2).
(b)Find the area when x = 5.
9
RBen writes (x + 4)2 = x2 + 16. Explain his mistake and write the correct expansion.
10
RShow that (x + 3)(x + 4) − (x + 1)(x + 6) = 6.
11
RExplain why (x + 5)2 is not equal to x2 + 25. Use x = 1 in your explanation.
12
FThe diagram shows a rectangle that is (x + 4) long and (x + 1) wide, cut into four parts. Work out the area of each part, then write the expanded and simplified expression for the whole area.
x4x1x + 4x + 1
13
FExpand and simplify.
(a)(x + 1)(x + 2)(x + 3)
(b)(x − 1)(x + 2)(x + 4)
(c)(x + 2)(x + 2)(x − 1)
(d)(2x + 1)(x + 3)(x − 2)
14
FExpand and simplify.
(a)(x + 2)(x2 + 3x − 1)
(b)(2x − 1)(x2 − x + 4)
(c)(x − 3)(x2 + 3x + 9)
15
FExpand and simplify.
(a)(x + 2y)(x − 3y)
(b)(2a + b)2
(c)(3a − 2b)2
16
FExpand and simplify (x + 3)3.
17
RExpand (x + a)(x + b) and write the middle term and the last term in terms of a and b.
18
RShow that (x + 5)(x − 5) − (x + 3)(x − 3) = −16.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings