Topic 03 | Number & Algebra

Expanding and factorising

Year 9 core: expand binomial products including perfect squares and difference of squares, factorise monic quadratics, and connect expanding and factorising as inverse operations.

55-70 min Printable practice Answer key Challenge included
How to use this page

Read the explanation, work through the examples, then complete the core practice before printing.

Study progress: Not started

What you will learn

Worked example 0 Real-world example: paving a courtyard

A courtyard is (x+3)(x + 3) metres long and (x+2)(x + 2) metres wide. What is its area in expanded form?

  1. Area =(x+3)(x+2)= (x+3)(x+2).
  2. Expand: x×x+x×2+3×x+3×2x \times x + x \times 2 + 3 \times x + 3 \times 2.
  3. Simplify: x2+2x+3x+6=x2+5x+6x^2 + 2x + 3x + 6 = x^2 + 5x + 6.
  4. If x=10x = 10, the courtyard is 13×12=15613 \times 12 = 156 m2^2, and 102+5(10)+6=15610^2 + 5(10) + 6 = 156. It checks.

Key idea: expanding a binomial product gives a quadratic expression. The area model below shows why each term appears.

3x2x6x3x2(x + 3)(x + 2)
Area model: (x + 3)(x + 2) = x² + 5x + 6. Each region represents one term in the expansion.

1. Expanding binomial products

To expand (x+a)(x+b)(x + a)(x + b), multiply each term in the first bracket by each term in the second:

General binomial product
(x+a)(x+b)=x2+(a+b)x+ab.(x + a)(x + b) = x^2 + (a + b)x + ab.

The middle coefficient is the sum of aa and bb; the constant term is the product of aa and bb.

Worked example 1 Basic binomial expansion

Expand (x+4)(x+5)(x + 4)(x + 5).

Using the formula: a=4a = 4, b=5b = 5.

(x+4)(x+5)=x2+(4+5)x+(4)(5)=x2+9x+20.(x+4)(x+5) = x^2 + (4+5)x + (4)(5) = x^2 + 9x + 20.
Worked example 2 With a negative term

Expand (x3)(x+7)(x - 3)(x + 7).

Here a=3a = -3, b=7b = 7.

(x3)(x+7)=x2+(3+7)x+(3)(7)=x2+4x21.(x-3)(x+7) = x^2 + (-3+7)x + (-3)(7) = x^2 + 4x - 21.
Worked example 3 Both terms negative

Expand (x6)(x2)(x - 6)(x - 2).

Here a=6a = -6, b=2b = -2.

(x6)(x2)=x2+(6+(2))x+(6)(2)=x28x+12.(x-6)(x-2) = x^2 + (-6 + (-2))x + (-6)(-2) = x^2 - 8x + 12.

2. Special products

Two patterns appear so often that they deserve their own formulas.

Special binomial products

Perfect square (sum)
(x+a)2=x2+2ax+a2.(x + a)^2 = x^2 + 2ax + a^2.
Perfect square (difference)
(xa)2=x22ax+a2.(x - a)^2 = x^2 - 2ax + a^2.
Difference of squares
(x+a)(xa)=x2a2.(x + a)(x - a) = x^2 - a^2.
Worked example 4 Perfect square expansion

Expand (x+7)2(x + 7)^2.

(x+7)2=x2+2(7)x+72=x2+14x+49.(x+7)^2 = x^2 + 2(7)x + 7^2 = x^2 + 14x + 49.
Worked example 5 Difference of squares

Expand (x+9)(x9)(x + 9)(x - 9).

(x+9)(x9)=x292=x281.(x+9)(x-9) = x^2 - 9^2 = x^2 - 81.

There is no middle term — the +9x+9x and 9x-9x cancel exactly.

3. Factorising monic quadratics

Factorising reverses expanding. Given x2+bx+cx^2 + bx + c, you need two numbers that add to bb and multiply to cc.

Factorising x² + bx + c
x2+bx+c=(x+p)(x+q)where p+q=b and pq=c.x^2 + bx + c = (x + p)(x + q) \quad \text{where } p + q = b \text{ and } pq = c.
Worked example 6 Factorising with two positive numbers

Factorise x2+7x+12x^2 + 7x + 12.

Find two numbers that add to 77 and multiply to 1212:

  • Try 33 and 44: 3+4=73 + 4 = 7 and 3×4=123 \times 4 = 12. Yes.

x2+7x+12=(x+3)(x+4).x^2 + 7x + 12 = (x + 3)(x + 4).

Check by expanding: (x+3)(x+4)=x2+4x+3x+12=x2+7x+12(x+3)(x+4) = x^2 + 4x + 3x + 12 = x^2 + 7x + 12. Correct.

Worked example 7 Factorising with a negative constant

Factorise x2+2x15x^2 + 2x - 15.

Need two numbers that add to 22 and multiply to 15-15. Since the product is negative, one number is positive and one is negative:

  • Try 55 and 3-3: 5+(3)=25 + (-3) = 2 and 5×(3)=155 \times (-3) = -15. Yes.

x2+2x15=(x+5)(x3).x^2 + 2x - 15 = (x + 5)(x - 3).

Worked example 8 Factorising with a negative middle term

Factorise x29x+20x^2 - 9x + 20.

Need two numbers that add to 9-9 and multiply to 2020. Both must be negative (negative sum, positive product):

  • Try 4-4 and 5-5: (4)+(5)=9(-4) + (-5) = -9 and (4)(5)=20(-4)(-5) = 20. Yes.

x29x+20=(x4)(x5).x^2 - 9x + 20 = (x - 4)(x - 5).

4. Factorising special forms

The special products from Section 2 can be reversed:

Factorising special forms

Difference of squares
x2a2=(x+a)(xa).x^2 - a^2 = (x + a)(x - a).
Perfect square trinomial
x2+2ax+a2=(x+a)2,x22ax+a2=(xa)2.x^2 + 2ax + a^2 = (x + a)^2, \qquad x^2 - 2ax + a^2 = (x - a)^2.
Worked example 9 Factorising a difference of squares

Factorise x249x^2 - 49.

Recognise 49=7249 = 7^2, so this is a difference of squares:

x249=(x+7)(x7).x^2 - 49 = (x + 7)(x - 7).

Worked example 10 Factorising a perfect square trinomial

Factorise x210x+25x^2 - 10x + 25.

Check: is 25=5225 = 5^2 and is 10=2×510 = 2 \times 5? Yes. So:

x210x+25=(x5)2.x^2 - 10x + 25 = (x - 5)^2.


Practice

Fluency

Tier 1: basic skills

    1. Expand (x+2)(x+6)(x + 2)(x + 6).
    2. Expand (x+5)(x3)(x + 5)(x - 3).
    3. Expand (x4)(x7)(x - 4)(x - 7).
    4. Expand (x+8)2(x + 8)^2.
    5. Expand (x3)2(x - 3)^2.
    6. Expand (x+11)(x11)(x + 11)(x - 11).
    7. Factorise x2+8x+15x^2 + 8x + 15.
    8. Factorise x25x+6x^2 - 5x + 6.
    9. Factorise x236x^2 - 36.
    10. Factorise x2+12x+36x^2 + 12x + 36.
Reasoning

Tier 2: mixed practice

    1. Expand and simplify (x+3)(x+4)(x+1)(x+2)(x + 3)(x + 4) - (x + 1)(x + 2).
    2. Factorise x2+x20x^2 + x - 20.
    3. Factorise x23x28x^2 - 3x - 28.
    4. A square garden has side (x+5)(x + 5) m. A path of width 11 m surrounds it. Find the area of the path in expanded form.
    5. Factorise x2100x^2 - 100 and hence evaluate 998210002998^2 - 1000^2 mentally.
    6. Show that (x+a)2(xa)2=4ax(x + a)^2 - (x - a)^2 = 4ax by expanding both sides.
    7. Factorise x214x+49x^2 - 14x + 49.
    8. Factorise 2x2+14x+242x^2 + 14x + 24 completely.
Reasoning

Tier 3: explain and apply

    1. Explain why (x+a)(xa)(x + a)(x - a) has no xx term. Use the area model or algebra to justify.
    2. A rectangle has area x2+9x+18x^2 + 9x + 18 cm2^2. Find expressions for its length and width.
    3. Without expanding, decide whether (x+3)2(x + 3)^2 and x2+9x^2 + 9 are equivalent. Explain.
    4. Factorise x22x35x^2 - 2x - 35 and use your factorisation to solve x22x35=0x^2 - 2x - 35 = 0.
    5. Explain the connection between expanding and factorising using the analogy of multiplication and division of numbers.

Challenge

Reasoning

Harder reasoning

    1. Expand (2x+3)(x4)(2x + 3)(x - 4). (Note: this is a non-monic product — the coefficient of x2x^2 is not 11.)
    2. Factorise x416x^4 - 16 completely. (Hint: treat x4x^4 as (x2)2(x^2)^2 and apply difference of squares twice.)
    3. Prove that the sum of any two consecutive odd numbers is divisible by 44. (Hint: let the odd numbers be 2n12n - 1 and 2n+12n + 1, and use difference of squares.)
    4. If x+1x=5x + \dfrac{1}{x} = 5, find the value of x2+1x2x^2 + \dfrac{1}{x^2}. (Hint: square both sides and simplify.)
Answers

Answer key

Attempt the practice first. When you're ready to check, expand the answers below.

Show the full answer key

Tier 1

    1. x2+8x+12x^2 + 8x + 12.
    2. x2+2x15x^2 + 2x - 15.
    3. x211x+28x^2 - 11x + 28.
    4. x2+16x+64x^2 + 16x + 64.
    5. x26x+9x^2 - 6x + 9.
    6. x2121x^2 - 121.
    7. (x+3)(x+5)(x + 3)(x + 5). Method: 3+5=83 + 5 = 8 and 3×5=153 \times 5 = 15.
    8. (x2)(x3)(x - 2)(x - 3). Method: (2)+(3)=5(-2) + (-3) = -5 and (2)(3)=6(-2)(-3) = 6.
    9. (x+6)(x6)(x + 6)(x - 6). Difference of squares: 36=6236 = 6^2.
    10. (x+6)2(x + 6)^2. Perfect square: 12=2×612 = 2 \times 6 and 36=6236 = 6^2.

Tier 2

    1. (x2+7x+12)(x2+3x+2)=4x+10(x^2 + 7x + 12) - (x^2 + 3x + 2) = 4x + 10. The x2x^2 terms cancel.
    2. (x+5)(x4)(x + 5)(x - 4). Method: 5+(4)=15 + (-4) = 1 and 5×(4)=205 \times (-4) = -20.
    3. (x7)(x+4)(x - 7)(x + 4). Method: (7)+4=3(-7) + 4 = -3 and (7)(4)=28(-7)(4) = -28.
    4. Outer square side: (x+5+2)=(x+7)(x + 5 + 2) = (x + 7) m. Path area =(x+7)2(x+5)2=(x2+14x+49)(x2+10x+25)=4x+24= (x+7)^2 - (x+5)^2 = (x^2 + 14x + 49) - (x^2 + 10x + 25) = 4x + 24 m2^2.
    5. x2100=(x+10)(x10)x^2 - 100 = (x+10)(x-10). So 998210002=(998+1000)(9981000)=1998×(2)=3996998^2 - 1000^2 = (998+1000)(998-1000) = 1998 \times (-2) = -3996.
    6. (x+a)2=x2+2ax+a2(x+a)^2 = x^2 + 2ax + a^2. (xa)2=x22ax+a2(x-a)^2 = x^2 - 2ax + a^2. Subtracting: (x2+2ax+a2)(x22ax+a2)=4ax(x^2 + 2ax + a^2) - (x^2 - 2ax + a^2) = 4ax.
    7. (x7)2(x - 7)^2. Perfect square: 14=2×714 = 2 \times 7 and 49=7249 = 7^2.
    8. 2(x2+7x+12)=2(x+3)(x+4)2(x^2 + 7x + 12) = 2(x + 3)(x + 4). Factor out 22 first, then factorise the trinomial.

Tier 3

    1. When expanding (x+a)(xa)(x+a)(x-a), the middle terms are +ax+ax and ax-ax, which sum to zero. Using the area model: the two rectangular strips (a×xa \times x and x×ax \times a) have opposite signs and cancel, leaving only x2a2x^2 - a^2.
    2. x2+9x+18=(x+3)(x+6)x^2 + 9x + 18 = (x + 3)(x + 6). Method: 3+6=93 + 6 = 9 and 3×6=183 \times 6 = 18. So the length is (x+6)(x + 6) cm and the width is (x+3)(x + 3) cm (or vice versa).
    3. They are not equivalent. (x+3)2=x2+6x+9(x+3)^2 = x^2 + 6x + 9, which has a 6x6x term that x2+9x^2 + 9 lacks. For example, at x=1x = 1: (1+3)2=16(1+3)^2 = 16 but 1+9=101 + 9 = 10.
    4. x22x35=(x7)(x+5)=0x^2 - 2x - 35 = (x - 7)(x + 5) = 0. So x=7x = 7 or x=5x = -5.
    5. Expanding is like multiplication: 3×4=123 \times 4 = 12 breaks a product into a single value. Factorising is like finding factors: 12=3×412 = 3 \times 4 rewrites a value as a product. They undo each other. In algebra, expanding turns (x+3)(x+4)(x+3)(x+4) into x2+7x+12x^2 + 7x + 12, and factorising reverses the process.

Challenge

    1. (2x+3)(x4)=2x28x+3x12=2x25x12(2x+3)(x-4) = 2x^2 - 8x + 3x - 12 = 2x^2 - 5x - 12.
    2. x416=(x2)242=(x2+4)(x24)x^4 - 16 = (x^2)^2 - 4^2 = (x^2 + 4)(x^2 - 4). Then x24=(x+2)(x2)x^2 - 4 = (x+2)(x-2), so x416=(x2+4)(x+2)(x2)x^4 - 16 = (x^2 + 4)(x + 2)(x - 2). The factor (x2+4)(x^2 + 4) does not factorise further over the reals.
    3. Product of two consecutive odd numbers: (2n1)(2n+1)=4n21(2n-1)(2n+1) = 4n^2 - 1. Their sum is (2n1)+(2n+1)=4n(2n-1) + (2n+1) = 4n, which is divisible by 44. (Note: the question asks about the sum, not the product.)
    4. Square both sides of x+1x=5x + \dfrac{1}{x} = 5: x2+2+1x2=25x^2 + 2 + \dfrac{1}{x^2} = 25. So x2+1x2=252=23x^2 + \dfrac{1}{x^2} = 25 - 2 = 23.

Prefer paper? Print the answer key as a separate booklet: open print view ->