2.8 - Factorising fully

2.8 - Factorising fully

Turn algebraic sums into useful products, including expressions with bracketed squares and quadratics in two variables. You will learn to recognise a common factor, choose the right factorisation and keep going until every available factor has been taken out.

Taking out the whole common factor

How can you work out 1012−992101^2 - 99^2 without squaring either number? Factorising will turn that subtraction into a tiny multiplication. First, we need to recognise what a factor actually is.

You already know

Expanding a product uses the distributive law. Reversing it gives ab+ac=a(b+c)ab + ac = a(b + c). For example, 12x2y−18xy2=6xy(2x−3y)12x^2y - 18xy^2 = 6xy(2x - 3y): both terms contain 6xy6xy.

A common factor can be a number, a letter, a power or a complete bracket. Take the highest common numerical factor and the lowest power present in every term. For x5x^5 and x4x^4, that power is x4x^4, because the first term contains one extra xx.

Factorising

Factorising rewrites a sum or difference as a product with the same value. For example, 6x+9=3(2x+3)6x + 9 = 3(2x + 3). Merely rewriting it as 3(2x)+93(2x) + 9 is not a factorisation of the whole expression: the terms are still separated by addition.

To check a factorisation, multiply it out. Dividing each original term by the proposed common factor tells you what belongs inside the new bracket.

Worked example 1: a common power

Question. Factorise fully 3x5+3x4(x+2)3x^5 + 3x^4(x + 2).

Plan. Take out 3x43x^4, then simplify and factorise the bracket that remains.

3x5+3x4(x+2)=3x4[x+(x+2)]common factor 3x4=3x4(2x+2)collect inside the bracket=6x4(x+1)take out the remaining 2\begin{aligned} 3x^5 + 3x^4(x + 2) &= 3x^4\bigl[x + (x + 2)\bigr] && \text{common factor }3x^4 \\ &= 3x^4(2x + 2) && \text{collect inside the bracket} \\ &= 6x^4(x + 1) && \text{take out the remaining }2 \end{aligned}

Why this step? Taking out x4x^4 leaves xx from the first term and the complete x+2x + 2 from the second. Neither factor disappears.

Answer. 6x4(x+1)6x^4(x + 1).

Check. Both the original and the answer expand to 6x5+6x46x^5 + 6x^4. At x=1x = 1, both give 1212.

Worked example 2 changes the common base from xx to the bracket x−1x - 1. Treat that whole bracket as one object, just as you treated xx.

Worked example 2: a common bracketed power

Question. Factorise fully 3(x−1)5+3(x−1)4(x+2)3(x - 1)^5 + 3(x - 1)^4(x + 2).

Plan. Take out 3(x−1)43(x - 1)^4, then collect the remaining linear terms.

3(x−1)5+3(x−1)4(x+2)=3(x−1)4[(x−1)+(x+2)]take out the common factor=3(x−1)4(2x+1)collect the terms left\begin{aligned} 3(x - 1)^5 + 3(x - 1)^4(x + 2) &= 3(x - 1)^4\bigl[(x - 1) + (x + 2)\bigr] && \text{take out the common factor} \\ &= 3(x - 1)^4(2x + 1) && \text{collect the terms left} \end{aligned}

Why this step? The fifth power contains five copies of x−1x - 1. Removing four copies leaves one whole x−1x - 1, rather than 11 or xx.

Answer. 3(x−1)4(2x+1)3(x - 1)^4(2x + 1).

Check. Expand only the last bracket: 3(x−1)4[(x−1)+(x+2)]3(x - 1)^4[(x - 1) + (x + 2)] reproduces the two original terms. At x=2x = 2, both forms give 1515.

This method keeps high powers manageable. Expanding the fifth power first would create far more work without helping you see its shared factor.

Watch out

Wrong: (x−1)5+(x−1)4(x+2)=(x−1)4(x+2)(x - 1)^5 + (x - 1)^4(x + 2) = (x - 1)^4(x + 2). The first term still contributes a factor of x−1x - 1 inside the new bracket. The correct remaining bracket is (x−1)+(x+2)=2x+1(x - 1) + (x + 2) = 2x + 1.

Try the same common-bracket decision with a different base and outside multiplier.

Recognising a difference of two squares

A subtraction of two complete squares can be factorised as the difference of their bases multiplied by the sum of their bases.

You have already seen (A−B)(A+B)=A2−B2(A - B)(A + B) = A^2 - B^2 by expansion: the two middle products cancel. Read that identity in reverse to factorise. A picture gives the same result. Removing a 22-by-22 corner from a 55-by-55 square leaves two pieces that make a 33-by-77 rectangle.

[DIAGRAM: asset_name: Rearranging a difference of squares; asset_slug: l2fm-difference-squares-area; caption: Removing a square and rearranging the remaining pieces turns a difference of areas into a product; description: On the left a square of side 5 has a top-right square of side 2 removed. Its remaining blue strip has dimensions 5 by 3 and its sage strip has dimensions 3 by 2. On the right the sage strip is turned and placed beside the blue strip, forming a rectangle of height 3 and width 5 plus 2 equals 7. Labels show 5 squared minus 2 squared equals 21 and open bracket 5 minus 2 close bracket times open bracket 5 plus 2 close bracket equals 3 times 7 equals 21]
Removing a square and rearranging the remaining pieces turns a difference of areas into a product

The picture needs positive lengths with A>BA > B. The algebraic identity works for all real AA and BB, including negative values and A=BA = B, when one factor is zero.

Difference of two squares

For all real numbers or expressions AA and BB,

A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B)

Identify the complete base of each square before writing the factors.
Not on the formulae sheet: learn it.

For 9x2−169x^2 - 16, the bases are 3x3x and 44, giving (3x−4)(3x+4)(3x - 4)(3x + 4). When the bases themselves contain brackets, keep them intact for the subtraction.

Worked example 3: squared brackets as the two bases

Question. Factorise fully (3x+2)2−(3x−4)2(3x + 2)^2 - (3x - 4)^2.

Plan. Use the difference of squares with A=3x+2A = 3x + 2 and B=3x−4B = 3x - 4.

(3x+2)2−(3x−4)2=[(3x+2)−(3x−4)][(3x+2)+(3x−4)]difference times sum=(6)(6x−2)simplify both factors=12(3x−1)take out a further 2\begin{aligned} (3x + 2)^2 - (3x - 4)^2 &= [(3x + 2) - (3x - 4)][(3x + 2) + (3x - 4)] && \text{difference times sum} \\ &= (6)(6x - 2) && \text{simplify both factors} \\ &= 12(3x - 1) && \text{take out a further }2 \end{aligned}

Why this step? Subtracting the whole 3x−43x - 4 changes its −4-4 to +4+4, so the first factor is 66, not −2-2.

Answer. 12(3x−1)12(3x - 1).

Check. Expanding the two squares gives 9x2+12x+4−(9x2−24x+16)=36x−129x^2 + 12x + 4 - (9x^2 - 24x + 16) = 36x - 12. The answer expands to the same expression.

Change only the minus sign inside the second base to a plus. The difference of the bases is now negative, which is allowed.

Worked example 4: a negative first factor

Question. Factorise fully (3x+2)2−(3x+4)2(3x + 2)^2 - (3x + 4)^2.

Plan. Form the difference and sum of the complete bases, then simplify.

(3x+2)2−(3x+4)2=[(3x+2)−(3x+4)][(3x+2)+(3x+4)]difference of squares=(−2)(6x+6)simplify the factors=−12(x+1)take out the common 6\begin{aligned} (3x + 2)^2 - (3x + 4)^2 &= [(3x + 2) - (3x + 4)][(3x + 2) + (3x + 4)] && \text{difference of squares} \\ &= (-2)(6x + 6) && \text{simplify the factors} \\ &= -12(x + 1) && \text{take out the common }6 \end{aligned}

Why this step? You must preserve the original order of subtraction. Swapping the two bases would change the sign of the answer.

Answer. −12(x+1)-12(x + 1).

Check. At x=1x = 1, the original is 25−49=−2425 - 49 = -24, and the answer gives −12(2)=−24-12(2) = -24.

The opening calculation now takes one line: 1012−992=(101−99)(101+99)=2×200=400101^2 - 99^2 = (101 - 99)(101 + 99) = 2 \times 200 = 400. There is a second pleasing consequence: every positive odd integer is a difference of consecutive squares, because (n+1)2−n2=2n+1(n + 1)^2 - n^2 = 2n + 1 for a nonnegative integer nn. For example, 2027=10142−101322027 = 1014^2 - 1013^2, since their difference is 11 and their sum is 20272027.

Watch out

The sign between the squares must be minus. Wrong: x2+9=(x−3)(x+3)x^2 + 9 = (x - 3)(x + 3). That product is x2−9x^2 - 9. The sum x2+9x^2 + 9 does not factorise into real linear factors.

Keep both bases in brackets when you form their difference in this check.

Factorising quadratics in two variables

A quadratic such as 6x2+5xy+y26x^2 + 5xy + y^2 can be factorised in the same way as a one-variable quadratic: the two middle products must combine to give its xyxy term.

For Ax2+Bxy+Cy2Ax^2 + Bxy + Cy^2, look for two numbers whose product is ACAC and whose sum is BB. Use them to split the middle term, then factorise in pairs. The letter yy stays attached to the appropriate term; it is not an extra unknown you need to solve for.

Worked example 5: a positive final term

Question. Factorise 6x2+5xy+y26x^2 + 5xy + y^2.

Plan. Split the middle coefficient using two numbers with product 66 and sum 55.

2×3=6,2+3=5choose the split6x2+5xy+y2=6x2+2xy+3xy+y2split 5xy=2x(3x+y)+y(3x+y)factorise each pair=(3x+y)(2x+y)take out the common bracket\begin{aligned} 2 \times 3 &= 6,\qquad 2 + 3 = 5 && \text{choose the split} \\ 6x^2 + 5xy + y^2 &= 6x^2 + 2xy + 3xy + y^2 && \text{split }5xy \\ &= 2x(3x + y) + y(3x + y) && \text{factorise each pair} \\ &= (3x + y)(2x + y) && \text{take out the common bracket} \end{aligned}

Why this step? The two grouped brackets must match. That common bracket is what allows the last factorisation.

Answer. (3x+y)(2x+y)(3x + y)(2x + y).

Check. The outer and inner products are 3xy3xy and 2xy2xy, giving the required 5xy5xy. The end products are 6x26x^2 and y2y^2.

Worked example 6 changes only the final term, from +y2+y^2 to −6y2-6y^2. The split numbers must now have opposite signs because their product is negative.

Worked example 6: opposite signs in the factors

Question. Factorise 6x2+5xy−6y26x^2 + 5xy - 6y^2.

Plan. Look for product 6×(−6)=−366 \times (-6) = -36 and sum 55, then factorise in pairs.

9×(−4)=−36,9−4=5choose 9 and −46x2+5xy−6y2=6x2+9xy−4xy−6y2split 5xy=3x(2x+3y)−2y(2x+3y)factor out a negative too=(2x+3y)(3x−2y)take out the common bracket\begin{aligned} 9 \times (-4) &= -36,\qquad 9 - 4 = 5 && \text{choose }9\text{ and }-4 \\ 6x^2 + 5xy - 6y^2 &= 6x^2 + 9xy - 4xy - 6y^2 && \text{split }5xy \\ &= 3x(2x + 3y) - 2y(2x + 3y) && \text{factor out a negative too} \\ &= (2x + 3y)(3x - 2y) && \text{take out the common bracket} \end{aligned}

Why this step? Taking −2y-2y from the last pair leaves 2x+3y2x + 3y, matching the first bracket. Taking +2y+2y would leave both signs negative instead.

Answer. (2x+3y)(3x−2y)(2x + 3y)(3x - 2y).

Check. The middle products are −4xy-4xy and +9xy+9xy, giving +5xy+5xy. The end products are 6x26x^2 and −6y2-6y^2.

You can also choose the two brackets by inspection. Either route needs the same final check of both end terms and the middle term. Matching only the end terms is not enough.

Watch out

Wrong: 6x2+5xy−6y2=(3x+2y)(2x−3y)6x^2 + 5xy - 6y^2 = (3x + 2y)(2x - 3y). The middle terms of that product are −9xy+4xy=−5xy-9xy + 4xy = -5xy. The correct factors are (3x−2y)(2x+3y)(3x - 2y)(2x + 3y).

The next quadratic has a negative middle coefficient as well as a negative final term. The two split numbers still have opposite signs; their sum must now be negative.

Continuing until fully factorised

“Fully” means checking the factors you have just made, because the first factorisation may reveal another one.

For example, 8y2−50=2(4y2−25)8y^2 - 50 = 2(4y^2 - 25) has a common factor removed, but the bracket is still a difference of squares. Continue to 2(2y−5)(2y+5)2(2y - 5)(2y + 5). Keep the outside 22: factorising an expression does not allow you to divide its value by 22.

What you seeFirst step
A factor shared by every termTake it out before doing anything else
Two complete squares being subtractedUse difference times sum
A quadratic with three termsMatch the two middle products
A newly formed bracket that still fits a row aboveFactorise that bracket again

These are familiar tools, but choosing their order matters. Taking out a common factor first often exposes a much simpler bracket.

Worked example 7: a fourth power reduced in stages

Question. Factorise fully x4−16x2x^4 - 16x^2.

Plan. Take out the common x2x^2, then factorise the remaining difference of squares.

x4−16x2=x2(x2−16)take out x2=x2(x−4)(x+4)factorise the difference of squares\begin{aligned} x^4 - 16x^2 &= x^2(x^2 - 16) && \text{take out }x^2 \\ &= x^2(x - 4)(x + 4) && \text{factorise the difference of squares} \end{aligned}

Why this step? The original terms share x2x^2. Removing it turns the fourth-power expression into a familiar quadratic factor.

Answer. x2(x−4)(x+4)x^2(x - 4)(x + 4).

Check. (x−4)(x+4)=x2−16(x - 4)(x + 4) = x^2 - 16; multiplying by x2x^2 restores x4−16x2x^4 - 16x^2. At x=5x = 5, both forms give 225225.

Worked example 8 multiplies the whole expression by 33. The algebraic factors stay the same, and the numerical factor must stay in the answer.

Worked example 8: retaining the numerical factor

Question. Factorise fully 3x4−48x23x^4 - 48x^2.

Plan. Take out the highest common factor 3x23x^2, then use the same difference of squares.

3x4−48x2=3x2(x2−16)take out 3x2=3x2(x−4)(x+4)factorise the bracket\begin{aligned} 3x^4 - 48x^2 &= 3x^2(x^2 - 16) && \text{take out }3x^2 \\ &= 3x^2(x - 4)(x + 4) && \text{factorise the bracket} \end{aligned}

Why this step? Taking out only x2x^2 would be valid but unfinished. Removing the highest common numerical factor immediately keeps the later bracket simpler.

Answer. 3x2(x−4)(x+4)3x^2(x - 4)(x + 4).

Check. At x=5x = 5, the original is 1875−1200=6751875 - 1200 = 675, and the product is 3×25×1×9=6753 \times 25 \times 1 \times 9 = 675.

A power such as x2x^2 or (x−1)4(x - 1)^4 is already a compact product of repeated linear factors; you may leave it as a power. Here the remaining linear brackets have no further common integer factor, so the factorisation is complete.

Exam tip

Factorising asks for a product, so stop at the fully factorised expression. Do not set it equal to zero and list solutions unless the question asks you to solve an equation. Show useful intermediate factors even if you cannot finish: they can earn partial credit.

Finish by recognising the common factor and the square that remains, using new coefficients.

Quick Recap

  • Take out the highest common factor first; it may be a whole bracket raised to a power.
  • A difference of squares becomes the difference of the bases times their sum. Keep bracketed bases intact when subtracting.
  • In a two-variable quadratic, the two middle products must combine to the required xyxy term.
  • Check every new bracket for another factorisation, retain numerical factors and verify by expanding.

The opening calculation is 1012−992=2×200=400101^2 - 99^2 = 2 \times 200 = 400, using the difference of two squares.