Expanding Double Brackets

On this page

How to expand and simplify two brackets with a grid or term by term, how to deal with minus signs, squared brackets and a number in front of the letter, and how to use expanding when the sides of a rectangle are brackets.

What expanding double brackets means

To expand two brackets, such as (x+3)(x+5), means to multiply them out so that the answer has no brackets. Every term in the first bracket multiplies every term in the second bracket.

Two terms times two terms gives four terms. Usually two of them are like terms, so you collect them. This is what expand and simplify means:

(x+3)(x+5)=x^2+5x+3x+15=x^2+8x+15

In the exam you are usually asked to expand and simplify two brackets, such as (x+4)(x-7), for 2 marks. You can get 1 mark for three of the four terms right, with the right signs, so write all four terms down before you collect them. Harder questions have a number in front of the letter, such as (2x+3)(4x-1), or give the sides of a rectangle or square as brackets and ask about its area.

The grid method

You can picture (x+2)(x+3) as the area of a rectangle that is x+2 wide and x+3 tall. Split each side into its two parts, and the rectangle splits into four smaller rectangles.

The four areas are x\times x=x^2, x\times2=2x, 3\times x=3x and 3\times2=6. Add them up and collect the two x terms:

(x+2)(x+3)=x^2+2x+3x+6=x^2+5x+6

Try it: set the slider to x=4. The rectangle is 6 by 7, so its area is 42. The four parts give the same total: 16+8+12+6=42

In the exam you don't need to draw the rectangle. A grid does the same job: write the terms of one bracket along the top and the terms of the other down the side, then multiply to fill each box.

Worked example 1: Two brackets with plus signs

Expand and simplify (x+4)(x+9)

  1. Multiply the x in the first bracket by each term in the second: x\times x=x^2 and x\times9=9x
  2. Now multiply the 4 by each term in the second bracket: 4\times x=4x and 4\times9=36
  3. Write down all four terms: x^2+9x+4x+36
  4. Your turn. Simplify x^2+9x+4x+36

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    Collect the x terms, 9x+4x=13x, to get x^2+13x+36

  5. Answer: x^2+13x+36

Multiplying term by term, with minus signs

Without a grid, take the first term of the first bracket and multiply it by both terms in the second bracket. Then do the same with the second term of the first bracket. That gives the four terms.

Each term keeps the sign in front of it. In (x-3)(x+5) the terms are x and -3, then x and 5:

(x-3)(x+5)=x^2+5x-3x-15=x^2+2x-15

Use the sign rules. A positive times a negative is negative, so -3\times5=-15. A negative times a negative is positive, so -3\times(-5)=15

Worked example 2: One bracket with a minus sign

Expand and simplify (y+7)(y-4)

  1. Multiply the y by each term in the second bracket: y\times y=y^2 and y\times(-4)=-4y
  2. Multiply the 7 by each term: 7\times y=7y and 7\times(-4)=-28
  3. Write down all four terms: y^2-4y+7y-28
  4. Your turn. Collect the middle terms. Simplify -4y+7y

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    -4y+7y=3y

  5. Answer: y^2+3y-28

Squaring a bracket

(x+3)^2 means (x+3)(x+3). Write the bracket out twice, then expand as before:

(x+3)^2=x^2+3x+3x+9=x^2+6x+9

It is not x^2+9, because squaring a bracket gives a middle term too. Check with x=1: (1+3)^2=16 and 1+6+9=16, but 1^2+9=10

When two brackets are the same apart from the sign, the middle terms cancel. For example, (x+6)(x-6)=x^2-6x+6x-36=x^2-36. This is called the difference of two squares.

Worked example 3: Squaring a bracket with a minus sign

Expand and simplify (x-6)^2

  1. Write it as two brackets: (x-6)(x-6)
  2. x\times x=x^2, x\times(-6)=-6x and -6\times x=-6x
  3. Your turn. What is -6\times(-6)?

    -6\times(-6)=36, because a negative times a negative is positive.

  4. Write down all four terms: x^2-6x-6x+36
  5. Collect the middle terms: -6x-6x=-12x
  6. Answer: x^2-12x+36

Numbers in front of the letter

Some brackets have a number in front of the letter, such as (3x+2). When you multiply two terms such as 3x and 5x, multiply the numbers, then multiply the letters.

3x\times5x=15x^2

The 15 comes from 3\times5, and the x^2 comes from x\times x. The answer is 15x^2, not 15x or 8x

For example, in (2x+1)(x-3) the four terms are 2x\times x=2x^2, 2x\times(-3)=-6x, 1\times x=x and 1\times(-3)=-3. So:

(2x+1)(x-3)=2x^2-6x+x-3=2x^2-5x-3

Worked example 4: Numbers in front of both letters

Expand and simplify (4x-1)(3x+2)

  1. Use a grid. Put 4x and -1 down the side, and 3x and +2 along the top.
  2. Your turn. What is 4x\times3x?

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    4x\times3x=12x^2, because 4\times3=12 and x\times x=x^2

  3. Fill the other boxes: 4x\times2=8x, -1\times3x=-3x and -1\times2=-2
  4. Add the four boxes: 12x^2+8x-3x-2
  5. Collect the x terms: 8x-3x=5x
  6. Answer: 12x^2+5x-2

Brackets for the sides of a shape

The area of a rectangle is length × width. If a rectangle is (x+6) cm long and (x+1) cm wide, its area is (x+6)(x+1). Expand and simplify to write the area without brackets:

(x+6)(x+1)=x^2+x+6x+6=x^2+7x+6

A square has four equal sides, so a square with sides of (x+2) cm has area (x+2)^2, which is x^2+4x+4

Some questions tell you the area as a number and ask you to show that an equation is true. Expand the brackets, write the result equal to the area, then rearrange it as you would an equation. Write down every step, because the answer is given and the marks are for the working.

Worked example 5: The area of a rectangle

A rectangle is (2x+5) cm long and (x-3) cm wide. Find an expression, in terms of x, for the area of the rectangle. Give your answer in its simplest form.

  1. Area of a rectangle = length × width, so the area is (2x+5)(x-3)
  2. Multiply the 2x by each term in the second bracket: 2x\times x=2x^2 and 2x\times(-3)=-6x
  3. Multiply the 5 by each term: 5\times x=5x and 5\times(-3)=-15
  4. Write down all four terms: 2x^2-6x+5x-15
  5. Your turn. Simplify 2x^2-6x+5x-15

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    Collect the x terms, -6x+5x=-x, to get 2x^2-x-15

  6. Answer: the area is 2x^2-x-15 cm^2

Worked example 6: Using a given area

A rectangle is (x+5) cm long and (x+4) cm wide. The area of the rectangle is 50 cm^2. Show that x^2+9x=30

  1. Area = length × width, so (x+5)(x+4)=50
  2. Your turn. Expand and simplify (x+5)(x+4)

    Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

    (x+5)(x+4)=x^2+4x+5x+20=x^2+9x+20

  3. So x^2+9x+20=50
  4. Subtract 20 from both sides: x^2+9x=50-20
  5. Answer: x^2+9x=30, as required.

Common mistakes

  • Writing only two terms. (x+2)(x+6) is not x^2+12: multiply every term by every term to get four terms, then collect.
  • Losing the squared term. x\times x=x^2, not 2x, and 3x\times2x=6x^2, not 6x or 5x
  • Getting a sign wrong. A negative times a negative is positive, so -5\times(-2)=10, but -5\times2=-10
  • Collecting the middle terms wrongly. -2x+6x=4x, not 8x or -8x
  • Squaring each term on its own. Write the bracket out twice: (x+4)^2 is x^2+8x+16, not x^2+16
  • Simplifying too far. x^2+2x-15 is finished, because x^2, 2x and -15 are not like terms.

Practice questions