Factoring
Theory
Factorising is the reverse of expanding: it writes a sum of terms as a product of factors. This Year 11 Mathematics Advanced page covers the highest common factor, the difference of two squares, monic and non-monic quadratics, perfect squares and grouping in pairs, and how to combine them to factorise completely.
To factorise an expression is to write it as a product. \(x^{2}+5x+6\) is a sum of three terms; \((x+2)(x+3)\) is the same expression written as a product of two factors. Expanding the factors must give back the original expression, which is how every answer can be checked.
The highest common factor (HCF) of the terms is the largest number together with the highest power of each pronumeral that divides every term. Take it out first, every time.
A quadratic trinomial has the form \(ax^{2}+bx+c\). It is monic when \(a=1\). The same patterns work when \(x\) is replaced by a power such as \(x^{2}\): \(x^{4}-6x^{2}+8\) is a quadratic in \(x^{2}\).
An expression is factorised completely when no factor can be factorised any further. \((x^{2}-4)(x+1)\) is not complete, because \(x^{2}-4=(x-2)(x+2)\). A sum of two squares such as \(x^{2}+9\) does not factorise, so it is left as it is.
Difference of two squares and perfect squares:
Monic quadratic: if \(m\) and \(n\) have product \(c\) and sum \(b\), then
How to factorise completely
- Take out the HCF of all the terms.
- Count the terms that remain and choose the method:
two terms: difference of two squares;
three terms: two numbers with product \(c\) and sum \(b\) (monic), or product \(ac\) and sum \(b\) then split the middle term (non-monic), or a perfect square;
four terms: group in pairs, or group three terms as a perfect square and use the difference of two squares. - Check every factor again: a factor such as \(x^{2}-9\) or \(y^{2}-1\) can be factorised further.
- Expand your answer mentally to check it gives the original expression.
Finding the two numbers
- Sign of the product positive: both numbers have the sign of the sum. Product negative: the numbers have opposite signs, and the one with the larger size has the sign of the sum.
- List factor pairs of the product until one pair has the right sum.
(i) \(18x^{2}y-30xy^{2}\)
(ii) \(x^{2}-3x-28\)
(iii) \(2x^{3}-8x^{2}-42x\)
(i) The HCF of \(18x^{2}y\) and \(30xy^{2}\) is \(6xy\).
| \(18x^{2}y-30xy^{2}\) | \(=\) | \(6xy\times 3x-6xy\times 5y\) |
| \(\) | \(=\) | \(6xy(3x-5y)\) |
(ii) Two numbers with product \(-28\) and sum \(-3\) are \(-7\) and \(4\).
| \(x^{2}-3x-28\) | \(=\) | \((x-7)(x+4)\) |
(iii) Take out the common factor \(2x\) first. Then two numbers with product \(-21\) and sum \(-4\) are \(-7\) and \(3\).
| \(2x^{3}-8x^{2}-42x\) | \(=\) | \(2x(x^{2}-4x-21)\) |
| \(\) | \(=\) | \(2x(x-7)(x+3)\) |
(i) \(25p^{2}-64q^{2}\)
(ii) \(4x^{2}+4x-15\)
(iii) \(5x^{2}-30xy+45y^{2}\)
(i) Both terms are perfect squares, so use \(A^{2}-B^{2}=(A-B)(A+B)\).
| \(25p^{2}-64q^{2}\) | \(=\) | \((5p)^{2}-(8q)^{2}\) |
| \(\) | \(=\) | \((5p-8q)(5p+8q)\) |
(ii) Split the middle term. \(4\times(-15)=-60\); two numbers with product \(-60\) and sum \(4\) are \(10\) and \(-6\).
| \(4x^{2}+4x-15\) | \(=\) | \(4x^{2}+10x-6x-15\) |
| \(\) | \(=\) | \(2x(2x+5)-3(2x+5)\) |
| \(\) | \(=\) | \((2x+5)(2x-3)\) |
(iii) Take out the common factor \(5\), then recognise a perfect square: \(x^{2}-6xy+9y^{2}=x^{2}-2(x)(3y)+(3y)^{2}\).
| \(5x^{2}-30xy+45y^{2}\) | \(=\) | \(5(x^{2}-6xy+9y^{2})\) |
| \(\) | \(=\) | \(5(x-3y)^{2}\) |
(i) \(6a+bc+2b+3ac\)
(ii) \(x^{3}+2x^{2}-9x-18\)
(i) Reorder so that each pair has a common factor and leaves the same bracket.
| \(6a+bc+2b+3ac\) | \(=\) | \(6a+3ac+2b+bc\) |
| \(\) | \(=\) | \(3a(2+c)+b(2+c)\) |
| \(\) | \(=\) | \((2+c)(3a+b)\) |
(ii) Group in pairs, then use the difference of two squares on \(x^{2}-9\).
| \(\) | \(\) | \(x^{3}+2x^{2}-9x-18\) |
| \(\) | \(=\) | \(x^{2}(x+2)-9(x+2)\) |
| \(\) | \(=\) | \((x+2)(x^{2}-9)\) |
| \(\) | \(=\) | \((x+2)(x-3)(x+3)\) |
Taking out \(-9\), not \(9\), from \(-9x-18\) is what makes the second bracket match the first.
(i) \(x^{4}-5x^{2}-36\)
(ii) \(9x^{2}-(x+4)^{2}\)
(iii) \(x^{2}-y^{2}+6y-9\)
(i) Treat it as a quadratic in \(x^{2}\). Two numbers with product \(-36\) and sum \(-5\) are \(-9\) and \(4\).
| \(x^{4}-5x^{2}-36\) | \(=\) | \((x^{2}-9)(x^{2}+4)\) |
| \(\) | \(=\) | \((x-3)(x+3)(x^{2}+4)\) |
\(x^{2}+4\) is a sum of two squares and does not factorise.
(ii) Use the difference of two squares with \(A=3x\) and \(B=x+4\).
| \(\) | \(\) | \(9x^{2}-(x+4)^{2}\) |
| \(\) | \(=\) | \(\big(3x-(x+4)\big)\big(3x+(x+4)\big)\) |
| \(\) | \(=\) | \((2x-4)(4x+4)\) |
| \(\) | \(=\) | \(2(x-2)\times 4(x+1)\) |
| \(\) | \(=\) | \(8(x-2)(x+1)\) |
(iii) The last three terms form a perfect square once \(-1\) is taken out.
| \(\) | \(\) | \(x^{2}-y^{2}+6y-9\) |
| \(\) | \(=\) | \(x^{2}-(y^{2}-6y+9)\) |
| \(\) | \(=\) | \(x^{2}-(y-3)^{2}\) |
| \(\) | \(=\) | \(\big(x-(y-3)\big)\big(x+(y-3)\big)\) |
| \(\) | \(=\) | \((x-y+3)(x+y-3)\) |
Common pitfalls
Frequently asked questions
How do you factorise a quadratic?
Take out any common factor. For \(x^{2}+bx+c\), find two numbers that multiply to \(c\) and add to \(b\), and write \((x+m)(x+n)\). For \(ax^{2}+bx+c\), find two numbers that multiply to \(a\times c\) and add to \(b\), split the middle term with them, and group in pairs.
What does factorise completely mean?
It means writing the expression as a product in which no factor can be factorised any further. After each step, check every factor again: \(x^{2}-9\) still factorises to \((x-3)(x+3)\).
How do you factorise by grouping?
With four terms, split them into two pairs that each have a common factor. Take out that factor from each pair so both leave the same bracket, then take out the bracket. Reorder the terms first if needed.
Can x squared plus 9 be factorised?
No. A sum of two squares has no real factors, so \(x^{2}+9\) is left as it is. Only a difference of two squares, such as \(x^{2}-9\), factorises.
How do you factorise an expression with x to the power of 4?
Treat the expression as a quadratic in \(x^{2}\): find two numbers with the right product and sum, write the two brackets in \(x^{2}\), then check whether either bracket is a difference of two squares.