Vertex Learn

Factorising quadratics, HCF and difference of squares

What this lesson covers

  • Factorising is expanding in reverse, and every factorisation can be checked by expanding it back.
  • Taking out the highest common factor first makes every later step simpler.
Key idea

Factorising is expanding in reverse

  • Year 10: common factors, and x squared plus b x plus c.
  • Every factorisation can be checked by expanding it back.
  • This lesson adds four new kinds, with a reason for each step.
DirectionStartGives
Expanding3(2x + 5)6x + 15
Factorising6x + 153(2x + 5)
Factorisingx² + 7x + 12(x + 3)(x + 4)
The checkexpand it backsame as you started
Worked example

A highest common factor with letters

  • The number part first: the HCF of 6 and 9 is 3.
  • Then each letter, at its lowest power: x and y.
  • Divide each term by 3xy to see what is left inside.
PartCompareTake out
6x²y − 9xy²numbers: 6 and 9HCF 3
Letter xx² and xlowest power: x
Letter yy and y²lowest power: y
Take out 3xydivide each term3xy(2x − 3y)
Check3xy × 2x, 3xy × 3y6x²y − 9xy²
Worked example

Common is not the same as highest

  • Taking out 2x is correct, but not finished.
  • The bracket still has a common factor of 2.
  • Fully factorised: 4x, bracket, 3x plus 2.
StepWorkingResult
12x² + 8xtake out 2x2x(6x + 4)
Look inside6x + 4 shares 2not finished
Take out 4xthe highest4x(3x + 2)
Checkexpands to 12x² + 8x3x + 2 is done
Key idea

Read the signs before you search

  • c positive: both numbers share the sign of b.
  • c negative: one number is positive, one negative.
  • The one larger in size takes the sign of b.
SignsThe two numbersExample
c positive, b positiveboth numbers +x² + 7x + 12
c positive, b negativeboth numbers −x² − 9x + 20
c negative, b negativelarger size −x² − 5x − 14
c negative, b positivelarger size +x² + 2x − 8
Key idea

Try it: read the signs

Worked example

When b and c are both negative

  • Multiply to minus 14, add to minus 5.
  • Opposite signs, and the one larger in size is negative.
  • Minus 7 and 2. Then expand back to check.
StepReasoningResult
x² − 5x − 14need × −14, + −5
c negativeopposite signslarger size negative
Try 7 and 2−7 × 2 = −14−7 + 2 = −5
So(x − 7)(x + 2)
Checkx² + 2x − 7x − 14x² − 5x − 14
Worked example

A difference of two squares

  • Two terms, both perfect squares, with a minus between.
  • 4x squared is 2x all squared. 25 is 5 squared.
  • Plus in one bracket, minus in the other. The middle cancels.
QuestionAnswerNote
4x² − 25is 4x² a square?yes, (2x)²
Is 25 a square?yes, 5²and a minus between
So(2x + 5)(2x − 5)
Check4x² − 10x + 10x − 25middle cancels
Worked example

Squares hiding behind a common factor

  • 2 and 18 are not squares, so take the 2 out first.
  • Inside is x squared minus 9: a difference of two squares.
  • x² + 9, a sum of two squares, does not factorise into brackets.
StepWorkingNote
2x² − 182 and 18 not squareslook for HCF
Take out 22(x² − 9)
Insidex² − 3²two squares
So2(x + 3)(x − 3)
But x² + 9a sum, not a differencedoes not factorise
Worked example

When a is not 1: the ac method

  • Multiply a by c: 2 times 3 is 6.
  • Find two numbers: multiply to 6, add to 7. So 6 and 1.
  • Split the middle term, then group in pairs.
StepWorkingGives
2x² + 7x + 3a × c = 2 × 36
Need × 6, + 76 and 1
Split the 7x2x² + 6x + x + 3
Group in pairs2x(x + 3) + 1(x + 3)
Common bracket(2x + 1)(x + 3)
Key idea

Try it: find the pair, fill the box

Worked example

The ac method with negatives

  • A times c is 3 times minus 8: minus 24.
  • Minus 12 and 2 multiply to minus 24 and add to minus 10.
  • Split, group, take out the common bracket, check.
StepWorkingGives
3x² − 10x − 8a × c = 3 × −8−24
Need × −24, + −10−12 and 2
Split the −10x3x² − 12x + 2x − 8
Group in pairs3x(x − 4) + 2(x − 4)
Check(3x + 2)(x − 4)expands back
Key idea

Why multiply a by c?

  • Expand two brackets and look at the two middle pieces.
  • They always multiply to first coefficient times last.
  • So the numbers you want must multiply to ac.
Look atWorkingGives
(2x + 1)(x + 3)middle pieces6x and 1x
Multiply them6 × 16
First times last2 × 36
Alwaysmiddle pairmultiplies to ac
Key idea

Graphing calculator

Key idea

Which method? Ask in this order

  • Always look for a common factor first.
  • Then count the terms, and look at the number in front.
  • And finish every one by expanding back.
AskThen
1Common factor?always take it out first
2Two squares, a minus?difference of squares
3Three terms, a = 1?product and sum
4Three terms, a ≠ 1?ac method
5Finished?expand back to check
Worked example

The order in action

  • Three terms and a is 2, so it looks like the ac method.
  • But step one first: every term shares a 2.
  • Take it out, and what is left has a equal to 1.
StepWorkingGives
2x² − 8x − 24common factor 22(x² − 4x − 12)
Inside: a = 1need × −12, + −4−6 and 2
So2(x − 6)(x + 2)
Checkexpands to 2x² − 8x − 24matches
Key idea

Try it: the factors are the roots

Worked example

When the factors are lengths

  • A rectangular garden plot. Area is length times width.
  • Factorise the area and one factor is the known width.
  • Test with x equals 4: both give 98 square metres.
KnowWorkingGives
Area 3x² + 11x + 6width x + 3length?
ac = 18need × 18, + 119 and 2
Split and group3x(x + 3) + 2(x + 3)
So(3x + 2)(x + 3)length 3x + 2
Test x = 4area 9814 × 7 = 98
A rectangle x plus 3 by 3x plus 2 split into 3x squared, 2x, 9x and 6.
Summary

What to take away

  • Seven lines. The first and last are the same idea.
Factorisingis expanding in reverse
HCF firstnumber, then lowest powers
c negativeopposite signs in the brackets
Square minus square(a + b)(a − b)
a not 1find × ac, + b, then split
Which method?HCF, then count the terms
Alwaysexpand back to check

Common mistakes

  • 12x² + 8x = 2x(6x + 4)
    That is not fully factorised, because 6x + 4 still shares 2; take out the highest common factor: 4x(3x + 2).
  • x² − 5x − 14 = (x + 7)(x − 2)
    The number larger in size takes the sign of b: −7 × 2 = −14 and −7 + 2 = −5, so (x − 7)(x + 2).
  • x² + 9 = (x + 3)(x − 3)
    (x + 3)(x − 3) expands to x² − 9; a sum of two squares does not factorise into brackets.
  • 2x² + 7x + 3: two numbers that multiply to 3 and add to 7
    When a is not 1, multiply a by c first: × 6 and + 7 gives 6 and 1, so split, group and get (2x + 1)(x + 3).
Your turn

Your turn: four questions

  • Write all four out, with reasons.
  • Questions 1 and 3 say fully: check the HCF.
  • Question 4 has a front number of 2.
1

Factorise 8a²b + 12ab² fully.

2

Factorise x² − 3x − 18.

3

Factorise 3x² − 75 fully.

4

Factorise 2x² − 5x − 3.

Show answer

1. 4ab(2a + 3b). The HCF of 8 and 12 is 4, and the lowest powers are a and b. Check: 4ab × 2a = 8a²b and 4ab × 3b = 12ab². 2. (x − 6)(x + 3). The numbers multiply to −18 and add to −3, so they have opposite signs and the one larger in size is negative. 3. 3(x + 5)(x − 5). Take out 3 first, leaving x² − 25, a difference of two squares. 4. (2x + 1)(x − 3). ac is −6, and −6 and 1 add to −5. Split: 2x² − 6x + x − 3 = 2x(x − 3) + 1(x − 3).

Worked example

The answers

  • 1. 4ab(2a + 3b)
  • 2. (x − 6)(x + 3)
  • 3. 3(x + 5)(x − 5)
  • 4. (2x + 1)(x − 3)
Your turn

Sample question: Achieved

Factorise fully 3x² − 12x − 36.

Hint

Take out the highest common factor first, then factorise the quadratic left in the bracket.

Answer

3(x − 6)(x + 2)

Step by step
  1. Always look for a common factor first. 3, 12 and 36 are all multiples of 3.
  2. Take out the 3: 3x² − 12x − 36 = 3(x² − 4x − 12).
  3. Now factorise x² − 4x − 12. Find two numbers that multiply to −12 and add to −4.
  4. The product is negative, so one number is positive and one is negative. The sum is negative, so the bigger one is negative.
  5. −6 and 2 work: −6 × 2 = −12 and −6 + 2 = −4.
  6. So x² − 4x − 12 = (x − 6)(x + 2), and the full answer is 3(x − 6)(x + 2).
  7. The classic mistake is to forget the 3 at the front. Fully means every factor is shown.
  8. Check by expanding back: (x − 6)(x + 2) = x² − 4x − 12, and 3 times that is 3x² − 12x − 36.
Full working
  1. 3(x² − 4x − 12)HCF is 3
  2. −6 × 2 = −12, −6 + 2 = −4multiply to c, add to b
  3. 3(x − 6)(x + 2)
Your turn

Sample questions: Merit

1

Factorise 6x² + x − 12 and 12x² − 27. Hence simplify 6x² + x − 1212x² − 27.

Hint

The first needs the ac method. The second has a common factor of 3, and what is left is a difference of two squares.

Answer

(3x − 4)(2x + 3) and 3(2x − 3)(2x + 3); the fraction is 3x − 43(2x − 3)

Step by step
  1. 6x² + x − 12 has no common factor, and a = 6, so use the ac method.
  2. ac = 6 × −12 = −72. Find two numbers that multiply to −72 and add to 1 (the number in front of x): 9 and −8.
  3. Split the middle term: 6x² + 9x − 8x − 12.
  4. Group in pairs: 3x(2x + 3) − 4(2x + 3). Both pairs share (2x + 3), so take it out: (3x − 4)(2x + 3).
  5. 12x² − 27: 12 and 27 are not squares, so look for a common factor first. Both are multiples of 3: 3(4x² − 9).
  6. 4x² − 9 is (2x)² − 3², a difference of two squares, so it is (2x − 3)(2x + 3). Altogether 3(2x − 3)(2x + 3).
  7. Hence the fraction is (3x − 4)(2x + 3)3(2x − 3)(2x + 3).
  8. (2x + 3) is a whole factor of the top and the bottom, so it cancels: 3x − 43(2x − 3).
  9. Check with x = 1: the original is 6 + 1 − 1212 − 27 = −5−15 = 13. The answer is 3 − 43 × −1 = 13. They agree.
Full working
  1. ac = −72: 9 and −8multiply to −72, add to 1
  2. 6x² + 9x − 8x − 12 = 3x(2x + 3) − 4(2x + 3)split and group
  3. 6x² + x − 12 = (3x − 4)(2x + 3)
  4. 12x² − 27 = 3(4x² − 9) = 3(2x − 3)(2x + 3)HCF, then difference of two squares
  5. (3x − 4)(2x + 3)3(2x − 3)(2x + 3)cancel 2x + 3
  6. 3x − 43(2x − 3)
2

A rectangle has area 2x² + 7x − 15 square metres and width x + 5 metres. Find its length. Explain why x must be more than 1.5, and check your length using x = 4.

Hint

Area is length times width, so one factor of the area is the width. Factorise the area to find the other factor.

Answer

Length 2x − 3 metres; a length must be positive, so 2x − 3 > 0 gives x > 1.5

Step by step
  1. Area = length × width. So if you factorise the area, one factor should be the width, x + 5.
  2. Factorise 2x² + 7x − 15 with the ac method. ac = 2 × −15 = −30.
  3. Two numbers that multiply to −30 and add to 7: 10 and −3.
  4. Split: 2x² + 10x − 3x − 15. Group: 2x(x + 5) − 3(x + 5) = (2x − 3)(x + 5).
  5. One factor is x + 5, the width. So the length is the other factor: 2x − 3 metres.
  6. A length must be more than zero. 2x − 3 > 0 means 2x > 3, so x > 1.5. If x were 1.5 or less, the length would be zero or negative.
  7. The width x + 5 is positive whenever x > 1.5 too, so that adds no extra condition.
  8. Check with x = 4: the width is 9 m and the length is 2 × 4 − 3 = 5 m, so the area is 45 m².
  9. The area formula gives 2 × 16 + 7 × 4 − 15 = 32 + 28 − 15 = 45 m². They agree.
Full working
  1. ac = −30: 10 and −3multiply to −30, add to 7
  2. 2x(x + 5) − 3(x + 5) = (2x − 3)(x + 5)split and group
  3. length = 2x − 3the width x + 5 is one factor
  4. 2x − 3 > 0, so x > 1.5a length must be positive
  5. x = 4: 9 × 5 = 45 and 32 + 28 − 15 = 45check
  6. Length 2x − 3 metres, with x > 1.5
Your turn

Sample questions: Excellence

1

Use factorising to work out 1003² − 997² without a calculator. Then prove that, for any two numbers that differ by 6, the difference of their squares is always 6 times their sum.

Hint

Both parts are a difference of two squares: a² − b² = (a − b)(a + b). For the proof, call the numbers a and a + 6.

Answer

1003² − 997² = 12 000; (a + 6)² − a² = 6(a + (a + 6))

Step by step
  1. a² − b² = (a − b)(a + b) is a difference of two squares. It turns a hard subtraction into an easy product.
  2. Here a = 1003 and b = 997. a − b = 6 and a + b = 2000.
  3. So 1003² − 997² = 6 × 2000 = 12 000. No big squares were needed.
  4. Now the proof. It must work for every pair, so use letters. Let the smaller number be a. The larger is a + 6.
  5. The difference of their squares is (a + 6)² − a².
  6. Use the same factorising: ((a + 6) − a)((a + 6) + a).
  7. The first bracket is 6. The second is a + 6 + a, which is exactly their sum.
  8. So (a + 6)² − a² = 6 × (their sum), for any number a. That proves it.
  9. Check by expanding instead: (a + 6)² − a² = a² + 12a + 36 − a² = 12a + 36, and 6(2a + 6) = 12a + 36. They agree.
  10. The first part is an example of the rule: 1003 and 997 differ by 6, their sum is 2000, and 6 × 2000 = 12 000.
Full working
  1. 1003² − 997² = (1003 − 997)(1003 + 997)difference of two squares
  2. = 6 × 2000 = 12 000
  3. (a + 6)² − a² = ((a + 6) − a)((a + 6) + a)numbers a and a + 6
  4. = 6(a + (a + 6))6 times their sum
  5. check: 12a + 36 = 6(2a + 6)expand both ways
  6. 12 000; the difference is always 6 × the sum
2

x² + bx − 12 can be factorised as (x + p)(x + q), where b, p and q are integers. Find every possible value of b, and explain how you know you have found them all.

Hint

p × q must be −12 and p + q must be b. List every pair of integers that multiplies to −12.

Answer

b = −11, −4, −1, 1, 4 or 11

Step by step
  1. Expand (x + p)(x + q) = x² + (p + q)x + pq. Match it with x² + bx − 12.
  2. So pq = −12 and b = p + q. Every integer pair that multiplies to −12 gives one value of b.
  3. To be sure of finding them all, go through the factor pairs of 12 in order: 1 and 12, 2 and 6, 3 and 4.
  4. The product is negative, so one number in each pair is negative. Each pair can have the minus on either number.
  5. 1 and −12 add to −11. −1 and 12 add to 11.
  6. 2 and −6 add to −4. −2 and 6 add to 4.
  7. 3 and −4 add to −1. −3 and 4 add to 1.
  8. 12 has no other factor pairs, so there are no other values. b = −11, −4, −1, 1, 4 or 11.
  9. Swapping p and q gives the same b, so it adds nothing new.
  10. Check one: b = 4 gives x² + 4x − 12 = (x + 6)(x − 2). Expand: x² − 2x + 6x − 12 = x² + 4x − 12.
Full working
  1. (x + p)(x + q) = x² + (p + q)x + pqexpand
  2. pq = −12, b = p + qmatch terms
  3. 1, −12 → −11 and −1, 12 → 11
  4. 2, −6 → −4 and −2, 6 → 4
  5. 3, −4 → −1 and −3, 4 → 112 has only three factor pairs
  6. b = ±1, ±4 or ±11
Try it

Area Model Algebra

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91947

Is your child on track?

Take the free placement test