Year 9 Mathematics | Victorian Curriculum 2.0
Expanding and factorising
Topic 03 | Number & Algebra | Practice

What you will learn

  • expand a product of two binomials using the distributive law,
  • recognise and apply the perfect-square expansion patterns,
  • recognise and apply the difference-of-squares pattern,
  • factorise monic quadratic trinomials of the form x2+bx+cx^2 + bx + cx2+bx+c,
  • understand expanding and factorising as inverse operations.
Why learn to expand and factorise?

Expanding and factorising are two directions of the same skill. Expanding turns a product into a sum; factorising turns a sum back into a product. You need both: expanding helps you simplify and calculate, while factorising helps you solve equations (if a product equals zero, one of the factors must be zero). Together they form the backbone of algebra from Year 9 onward.

Where you'll see this
  • Solving quadratic equations: factorising x2+5x+6=0x^2 + 5x + 6 = 0x2+5x+6=0 as (x+2)(x+3)=0(x+2)(x+3) = 0(x+2)(x+3)=0 immediately gives x=−2x = -2x=−2 or x=−3x = -3x=−3.
  • Area and design: computing the area of a rectangle with algebraic side lengths requires expanding.
  • Mental arithmetic: 47×53=(50−3)(50+3)=502−9=249147 \times 53 = (50-3)(50+3) = 50^2 - 9 = 249147×53=(50−3)(50+3)=502−9=2491 uses difference of squares.
  • Physics and engineering: simplifying formulas often requires factorising common expressions.
Worked example 0 Real-world example: paving a courtyard

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

  1. Area =(x+3)(x+2)= (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 2x×x+x×2+3×x+3×2.
  3. Simplify: x2+2x+3x+6=x2+5x+6x^2 + 2x + 3x + 6 = x^2 + 5x + 6x2+2x+3x+6=x2+5x+6.
  4. If x=10x = 10x=10, the courtyard is 13×12=15613 \times 12 = 15613×12=156 m2^22, and 102+5(10)+6=15610^2 + 5(10) + 6 = 156102+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.

x²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)(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.(x+a)(x+b)=x2+(a+b)x+ab.

The middle coefficient is the sum of aaa and bbb; the constant term is the product of aaa and bbb.

Worked example 1 Basic binomial expansion

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

Using the formula: a=4a = 4a=4, b=5b = 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.(x+4)(x+5)=x2+(4+5)x+(4)(5)=x2+9x+20.
Worked example 2 With a negative term

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

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

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

Expand (x−6)(x−2)(x - 6)(x - 2)(x−6)(x−2).

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

(x−6)(x−2)=x2+(−6+(−2))x+(−6)(−2)=x2−8x+12.(x-6)(x-2) = x^2 + (-6 + (-2))x + (-6)(-2) = x^2 - 8x + 12.(x−6)(x−2)=x2+(−6+(−2))x+(−6)(−2)=x2−8x+12.
Signs matter

When subtracting inside a bracket, the value you use in the formula is negative. For (x−3)(x - 3)(x−3), use a=−3a = -3a=−3, not a=3a = 3a=3. This is the most common source of sign errors.

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.(x+a)2=x2+2ax+a2.
Perfect square (difference)
(x−a)2=x2−2ax+a2.(x - a)^2 = x^2 - 2ax + a^2.(x−a)2=x2−2ax+a2.
Difference of squares
(x+a)(x−a)=x2−a2.(x + a)(x - a) = x^2 - a^2.(x+a)(x−a)=x2−a2.
Worked example 4 Perfect square expansion

Expand (x+7)2(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.(x+7)2=x2+2(7)x+72=x2+14x+49.
Worked example 5 Difference of squares

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

(x+9)(x−9)=x2−92=x2−81.(x+9)(x-9) = x^2 - 9^2 = x^2 - 81.(x+9)(x−9)=x2−92=x2−81.

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

Mental arithmetic shortcut

48×52=(50−2)(50+2)=502−4=249648 \times 52 = (50-2)(50+2) = 50^2 - 4 = 249648×52=(50−2)(50+2)=502−4=2496. Difference of squares makes certain multiplications instant.

3. Factorising monic quadratics

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

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.x2+bx+c=(x+p)(x+q)where p+q=b and pq=c.
Worked example 6 Factorising with two positive numbers

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

Find two numbers that add to 777 and multiply to 121212:

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

x2+7x+12=(x+3)(x+4).x^2 + 7x + 12 = (x + 3)(x + 4).x2+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(x+3)(x+4)=x2+4x+3x+12=x2+7x+12. Correct.

Worked example 7 Factorising with a negative constant

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

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

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

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

Worked example 8 Factorising with a negative middle term

Factorise x2−9x+20x^2 - 9x + 20x2−9x+20.

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

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

x2−9x+20=(x−4)(x−5).x^2 - 9x + 20 = (x - 4)(x - 5).x2−9x+20=(x−4)(x−5).

Not every quadratic factorises neatly

x2+3x+5x^2 + 3x + 5x2+3x+5 has no pair of integers that add to 333 and multiply to 555 (the only factor pairs of 555 are 1,51, 51,5 and −1,−5-1, -5−1,−5, which add to 666 or −6-6−6). This quadratic does not factorise over the integers. In Year 10 you will learn the quadratic formula for such cases.

4. Factorising special forms

The special products from Section 2 can be reversed:

Factorising special forms

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

Factorise x2−49x^2 - 49x2−49.

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

x2−49=(x+7)(x−7).x^2 - 49 = (x + 7)(x - 7).x2−49=(x+7)(x−7).

Worked example 10 Factorising a perfect square trinomial

Factorise x2−10x+25x^2 - 10x + 25x2−10x+25.

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

x2−10x+25=(x−5)2.x^2 - 10x + 25 = (x - 5)^2.x2−10x+25=(x−5)2.

Strategy: always check for common factors first

Before trying binomial factorisation, check whether all terms share a common factor. For example, 2x2+10x+12=2(x2+5x+6)=2(x+2)(x+3)2x^2 + 10x + 12 = 2(x^2 + 5x + 6) = 2(x+2)(x+3)2x2+10x+12=2(x2+5x+6)=2(x+2)(x+3).


Practice

Fluency

Tier 1: basic skills

    1. Expand (x+2)(x+6)(x + 2)(x + 6)(x+2)(x+6).
    2. Expand (x+5)(x−3)(x + 5)(x - 3)(x+5)(x−3).
    3. Expand (x−4)(x−7)(x - 4)(x - 7)(x−4)(x−7).
    4. Expand (x+8)2(x + 8)^2(x+8)2.
    5. Expand (x−3)2(x - 3)^2(x−3)2.
    6. Expand (x+11)(x−11)(x + 11)(x - 11)(x+11)(x−11).
    7. Factorise x2+8x+15x^2 + 8x + 15x2+8x+15.
    8. Factorise x2−5x+6x^2 - 5x + 6x2−5x+6.
    9. Factorise x2−36x^2 - 36x2−36.
    10. Factorise x2+12x+36x^2 + 12x + 36x2+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)(x+3)(x+4)−(x+1)(x+2).
    2. Factorise x2+x−20x^2 + x - 20x2+x−20.
    3. Factorise x2−3x−28x^2 - 3x - 28x2−3x−28.
    4. A square garden has side (x+5)(x + 5)(x+5) m. A path of width 111 m surrounds it. Find the area of the path in expanded form.
    5. Factorise x2−100x^2 - 100x2−100 and hence evaluate 9982−10002998^2 - 1000^29982−10002 mentally.
    6. Show that (x+a)2−(x−a)2=4ax(x + a)^2 - (x - a)^2 = 4ax(x+a)2−(x−a)2=4ax by expanding both sides.
    7. Factorise x2−14x+49x^2 - 14x + 49x2−14x+49.
    8. Factorise 2x2+14x+242x^2 + 14x + 242x2+14x+24 completely.
Reasoning

Tier 3: explain and apply

    1. Explain why (x+a)(x−a)(x + a)(x - a)(x+a)(x−a) has no xxx term. Use the area model or algebra to justify.
    2. A rectangle has area x2+9x+18x^2 + 9x + 18x2+9x+18 cm2^22. Find expressions for its length and width.
    3. Without expanding, decide whether (x+3)2(x + 3)^2(x+3)2 and x2+9x^2 + 9x2+9 are equivalent. Explain.
    4. Factorise x2−2x−35x^2 - 2x - 35x2−2x−35 and use your factorisation to solve x2−2x−35=0x^2 - 2x - 35 = 0x2−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)(x−4)(2x + 3)(x - 4)(2x+3)(x−4). (Note: this is a non-monic product — the coefficient of x2x^2x2 is not 111.)
    2. Factorise x4−16x^4 - 16x4−16 completely. (Hint: treat x4x^4x4 as (x2)2(x^2)^2(x2)2 and apply difference of squares twice.)
    3. Prove that the sum of any two consecutive odd numbers is divisible by 444. (Hint: let the odd numbers be 2n−12n - 12n−1 and 2n+12n + 12n+1, and use difference of squares.)
    4. If x+1x=5x + \dfrac{1}{x} = 5x+x1​=5, find the value of x2+1x2x^2 + \dfrac{1}{x^2}x2+x21​. (Hint: square both sides and simplify.)
Year 9 Mathematics study companion | Practice