Factorising Quadratics
On this page
How to factorise a quadratic into two brackets by finding two numbers that multiply and add to the right values, how to deal with minus signs, how to factorise a difference of two squares, and when one bracket is enough.
What factorising a quadratic means
A quadratic expression has an x^2 term and no higher power of x, such as x^2+8x+15
To factorise means to write an expression as a product: things multiplied together. A quadratic like x^2+8x+15 usually factorises into two brackets:
x^2+8x+15=(x+3)(x+5)
Factorising is expanding backwards. If you expand (x+3)(x+5) you get x^2+8x+15 again, so you can always check your answer by expanding it.
In the exam you are usually asked to factorise an expression such as x^2+6x+8, for 2 marks. Sometimes it is a difference of two squares, such as x^2-36, for 1 mark. These questions are usually near the end of the paper, often straight after a part that asks you to expand two brackets. There is no equals sign: you are not solving anything.
Where the numbers come from
Expand (x+3)(x+5) with a grid. The four parts are x^2, 5x, 3x and 15
Together that is x^2+5x+3x+15=x^2+8x+15. Look where the 8 and the 15 come from: 3+5=8 and 3\times5=15
This always happens. If the numbers in the brackets are p and q:
(x+p)(x+q)=x^2+(p+q)x+pq
The two numbers add to give the number in front of x, and multiply to give the number on its own.
So to factorise x^2+bx+c, find two numbers that multiply to give c and add to give b. Start with the multiplying: list the factor pairs of c, then pick the pair that adds to b
Worked example 1: Two positive numbers
Factorise x^2+9x+14
- Find two numbers that multiply to give 14 and add to give 9
- Factor pairs of 14: 1\times14 (which add to 15) and 2\times7 (which add to 9)
-
Your turn. The numbers are 2 and 7. Write x^2+9x+14 factorised.
(x+2)(x+7)
- Check by expanding: (x+2)(x+7)=x^2+7x+2x+14=x^2+9x+14
- Answer: (x+2)(x+7)
When there are minus signs
The rule is the same: multiply to give the number on its own, add to give the number in front of x. The signs tell you which signs the two numbers have.
- Number on its own positive, x term positive: both numbers are positive.
- Number on its own positive, x term negative: both numbers are negative, because negative times negative is positive.
- Number on its own negative: one number is positive and one is negative. The bigger one (ignoring its sign) has the same sign as the x term.
For example, x^2-8x+15 needs two numbers that multiply to 15 and add to -8. They are -3 and -5, so x^2-8x+15=(x-3)(x-5)
Worked example 2: Two negative numbers
Factorise x^2-10x+21
- Find two numbers that multiply to give 21 and add to give -10
- 21 is positive but -10 is negative, so both numbers are negative. Factor pairs of 21: 1\times21 and 3\times7
- Try -3 and -7: -3+(-7)=-10 and -3\times(-7)=21, so these are the numbers.
-
Your turn. The numbers are -3 and -7. Write x^2-10x+21 factorised.
(x-3)(x-7)
- Check: (x-3)(x-7)=x^2-7x-3x+21=x^2-10x+21
- Answer: (x-3)(x-7)
Worked example 3: A negative number on its own
Factorise x^2+4x-21
- Find two numbers that multiply to give -21 and add to give 4
- -21 is negative, so one number is positive and one is negative. For the pair 3 and 7 the difference is 4, which is what we need.
-
Your turn. The x term is +4x, so the bigger number, 7, is positive. What is the other number?
The other number is -3, because 7\times(-3)=-21 and 7+(-3)=4
- Check: (x+7)(x-3)=x^2-3x+7x-21=x^2+4x-21
- Answer: (x+7)(x-3)
Two special patterns
Sometimes both numbers are the same. x^2+10x+25 needs two numbers that multiply to 25 and add to 10: they are 5 and 5. So x^2+10x+25=(x+5)(x+5), which can be written (x+5)^2
A difference of two squares is one square subtracted from another, such as x^2-81. There is no x term, so the two numbers must add to 0 and multiply to -81: they are 9 and -9
x^2-81=(x+9)(x-9)
In general, x^2-k^2=(x+k)(x-k), where k is a whole number. Expanding shows why: the +kx and the -kx cancel out. It is worth knowing the square numbers 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144
Worked example 4: A difference of two squares
Factorise x^2-100
- There is no x term and 100 is a square number, so this is a difference of two squares.
-
Your turn. What positive number squared gives 100?
10^2=100, so x^2-100=x^2-10^2
- The numbers are 10 and -10. They multiply to -100 and add to 0
- Check: (x+10)(x-10)=x^2-10x+10x-100=x^2-100
- Answer: (x+10)(x-10)
One bracket or two
If there is no number on its own, x is a common factor, and you need only one bracket. For example, x^2-6x=x(x-6). Don't try to make two brackets.
So before you start, look for a number on its own. x^2-6x+8 has one, 8, so it needs two brackets: (x-2)(x-4). x^2-6x has none, so it needs one bracket: x(x-6)
Worked example 5: A common factor, then two brackets
(a) Factorise x^2-11x (b) Factorise x^2-11x+24
- (a) There is no number on its own, so x is a common factor and one bracket is enough.
-
Your turn. (a) Write x^2-11x factorised.
x^2-11x=x(x-11)
- (b) This time there is a number on its own, 24, so you need two brackets. Find two numbers that multiply to give 24 and add to give -11
- 24 is positive and -11 is negative, so both numbers are negative: -3\times(-8)=24 and -3+(-8)=-11
- Answer: (a) x(x-11) (b) (x-3)(x-8)
Worked example 6: Expanding, then factorising
(a) Expand and simplify (2x+3)(x-4) (b) Factorise x^2-12x+36
- (a) Multiply each term in the first bracket by each term in the second: 2x\times x=2x^2, 2x\times(-4)=-8x, 3\times x=3x and 3\times(-4)=-12
-
Your turn. (a) Collect like terms to simplify 2x^2-8x+3x-12
-8x+3x=-5x, so (2x+3)(x-4)=2x^2-5x-12
- (b) Find two numbers that multiply to give 36 and add to give -12. 36 is positive and -12 is negative, so both numbers are negative.
- 6\times6=36 and 6+6=12, so the numbers are -6 and -6: both the same.
-
Your turn. (b) Write x^2-12x+36 factorised.
x^2-12x+36=(x-6)(x-6)=(x-6)^2
- Answer: (a) 2x^2-5x-12 (b) (x-6)^2
Common mistakes
- Taking out x from only two of the terms. x(x+6)+8 is not factorised; a quadratic with a number on its own needs two brackets.
- Choosing numbers that multiply correctly but don't add correctly. (x+1)(x-25) is not x^2-25; the pair must also add to the number in front of x, so it is (x+5)(x-5)
- Getting the signs the wrong way round. For x^2+2x-8 the bigger number takes the sign of the x term: (x+4)(x-2), not (x-4)(x+2)
- Putting the x term inside a bracket. (x+7x)(x+1) is not x^2+8x+7; each bracket holds x and a number, so it is (x+1)(x+7)
- Using two brackets when there is no number on its own. x^2-5x is x(x-5), with one bracket.
- Trying to solve it. There is no equals sign, so don't give values of x; write the expression as brackets and check by expanding.
More on this topic: Factorising Quadratics worksheet with full solutions