2A - Factorising quadratic expressions

2A - Factorising quadratic expressions

Can you turn a sum of three terms into a product of two brackets? You will use the connections between a quadratic's coefficients and its factors, then decide when integer factors are possible and when exact surds are needed.

Quadratics with leading coefficient one

Which two brackets multiply to give x2+7x+12x^2+7x+12?

Think of a rectangle with side lengths x+3x+3 and x+4x+4, for x>0x>0. Multiplying gives four area pieces:

(x+3)(x+4)=x2+4x+3x+12=x2+7x+12.(x+3)(x+4)=x^2+4x+3x+12=x^2+7x+12.

The xx-terms add because they are like terms. Factorising reverses this expansion: we write the sum as a product. The algebraic identity remains true for every real xx, even when the rectangle is no longer a useful length model.

Quadratic expression

A quadratic expression has the form ax2+bx+cax^2+bx+c, where a≠0a\ne0. The coefficient aa is its leading coefficient. A quadratic with leading coefficient 11 is called monic.

For a monic quadratic, the constant terms in the brackets must have the right product and the right sum.

Product and sum

(x+p)(x+q)=x2+(p+q)x+pq.(x+p)(x+q)=x^2+(p+q)x+pq.

To factorise x2+bx+cx^2+bx+c, seek p,qp,q with p+q=bp+q=b and pq=cpq=c.

Not on the formulae sheet: learn it.

If c>0c>0, the two numbers have the same sign; their sum tells you which sign. If c<0c<0, their signs are opposite. Testing the product alone is insufficient.

Worked example 1: positive constant

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

Plan. Find two integers with product 1212 and sum 77.

12=1×12=2×6=3×4list factor pairs3+4=7choose the required sumx2+7x+12=(x+3)(x+4)put the numbers in brackets\begin{aligned} 12&=1\times12=2\times6=3\times4 &&\text{list factor pairs}\\ 3+4&=7 &&\text{choose the required sum}\\ x^2+7x+12&=(x+3)(x+4) &&\text{put the numbers in brackets} \end{aligned}

Answer. (x+3)(x+4)(x+3)(x+4).

Check. Expanding gives x2+4x+3x+12=x2+7x+12x^2+4x+3x+12=x^2+7x+12, including the correct middle coefficient.

Keep the middle coefficient 77, but change the constant from 1212 to −18-18. The two bracket numbers must now have opposite signs.

Worked example 2: negative constant

Question. Factorise x2+7x−18x^2+7x-18.

Plan. Find integers whose product is −18-18 and whose sum is 77.

9×(−2)=−18opposite signs give a negative product9+(−2)=7the larger magnitude is positivex2+7x−18=(x+9)(x−2)use both signed numbers\begin{aligned} 9\times(-2)&=-18 &&\text{opposite signs give a negative product}\\ 9+(-2)&=7 &&\text{the larger magnitude is positive}\\ x^2+7x-18&=(x+9)(x-2) &&\text{use both signed numbers} \end{aligned}

Answer. (x+9)(x−2)(x+9)(x-2).

Check. (x+9)(x−2)=x2−2x+9x−18=x2+7x−18(x+9)(x-2)=x^2-2x+9x-18=x^2+7x-18.

A negative middle coefficient also matters. For x2−7x+12x^2-7x+12, the numbers are −3-3 and −4-4: their product is positive but their sum is negative.

Watch out

(x+2)(x+6)(x+2)(x+6) is not a factorisation of x2+7x+12x^2+7x+12: it expands to x2+8x+12x^2+8x+12. Check both the product and the sum.

Use the sign of the constant to narrow the next search.

Other leading coefficients

When the leading coefficient is not one, the coefficients of xx in the two brackets must multiply to it.

For example, expanding (3x+2)(2x−1)(3x+2)(2x-1) produces 6x26x^2, two middle terms −3x+4x-3x+4x, and the constant −2-2. The middle terms have coefficients whose product is 6×(−2)=−126\times(-2)=-12. This suggests a reliable way to reverse the expansion.

First take out any common factor. For the remaining ax2+bx+cax^2+bx+c, find integers with product acac and sum bb. Split the middle term using those integers, then group the terms so a common bracket appears. This method finds integer factors when such factors exist; an unsuccessful search is not a reason to invent a pair.

Worked example 3: splitting the middle term

Question. Factorise 6x2+x−26x^2+x-2.

Plan. Use ac=−12ac=-12, split xx into 4x−3x4x-3x, then factor by grouping.

6x2+x−2=6x2+4x−3x−2since 4+(−3)=1=2x(3x+2)−(3x+2)factor each pair=(3x+2)(2x−1)take out the common bracket\begin{aligned} 6x^2+x-2&=6x^2+4x-3x-2 &&\text{since }4+(-3)=1\\ &=2x(3x+2)-(3x+2) &&\text{factor each pair}\\ &=(3x+2)(2x-1) &&\text{take out the common bracket} \end{aligned}

Why this split? The numbers 44 and −3-3 have product −12-12; grouping therefore exposes matching brackets.

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

Check. Expansion gives 6x2−3x+4x−2=6x2+x−26x^2-3x+4x-2=6x^2+x-2.

Now multiply every coefficient by 33. The quadratic inside the common factor stays the same, so there is no need to repeat a harder factor search.

Worked example 4: keeping a common factor

Question. Factorise fully 18x2+3x−618x^2+3x-6.

Plan. Take out 33, then factorise the simpler quadratic.

18x2+3x−6=3(6x2+x−2)divide every term by 3=3(6x2+4x−3x−2)split the middle term=3(3x+2)(2x−1)group as before\begin{aligned} 18x^2+3x-6&=3(6x^2+x-2) &&\text{divide every term by }3\\ &=3(6x^2+4x-3x-2) &&\text{split the middle term}\\ &=3(3x+2)(2x-1) &&\text{group as before} \end{aligned}

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

Check. The two brackets give 6x2+x−26x^2+x-2; multiplying all three terms by 33 recovers 18x2+3x−618x^2+3x-6.

A common factor can also include the variable. For instance, 5x2−10x=5x(x−2)5x^2-10x=5x(x-2); the missing constant term is zero. Keep the factor xx, since cancelling it would change the expression.

Watch out

When grouping −3x−2-3x-2, taking out −1-1 gives −(3x+2)-(3x+2), not −(3x−2)-(3x-2). The minus sign multiplies every term in the bracket.

Take out the common factor before splitting the next middle term.

Choosing an exact factorisation

The form of an expression can reveal its factors before any product-and-sum search.

For example, (x−2)(x+2)=x2−4(x-2)(x+2)=x^2-4: the middle terms cancel. The same cancellation works for any two expressions in place of xx and 22.

Difference of two squares

U2−V2=(U−V)(U+V).U^2-V^2=(U-V)(U+V).

This is an identity: expanding the right side cancels UVUV and −UV-UV.

Not on the formulae sheet: learn it.

Use a difference, not a sum, of squares. The word “factorise” also needs a number system: factors with integer coefficients are more restrictive than factors with real coefficients, which may contain surds.

Worked example 5: recognising two squares

Question. Factorise 9x2−169x^2-16.

Plan. Recognise (3x)2−42(3x)^2-4^2, then use the difference of two squares.

9x2−16=(3x)2−42identify each square=(3x−4)(3x+4)use opposite signs\begin{aligned} 9x^2-16&=(3x)^2-4^2 &&\text{identify each square}\\ &=(3x-4)(3x+4) &&\text{use opposite signs} \end{aligned}

Answer. (3x−4)(3x+4)(3x-4)(3x+4).

Check. Multiplication gives 9x2+12x−12x−16=9x2−169x^2+12x-12x-16=9x^2-16.

Change only 1616 to 55. The constant is no longer an integer square, but 5=(5)25=(\sqrt{5})^2, so an exact real factorisation still exists.

Worked example 6: exact surd factors

Question. Factorise 9x2−59x^2-5 into real linear factors. Can those factors have integer coefficients?

Plan. Use 3x3x and 5\sqrt{5} as the two quantities being squared.

9x2−5=(3x)2−(5)2keep the root exact=(3x−5)(3x+5)apply the identity\begin{aligned} 9x^2-5&=(3x)^2-(\sqrt{5})^2 &&\text{keep the root exact}\\ &=(3x-\sqrt{5})(3x+\sqrt{5}) &&\text{apply the identity} \end{aligned}

For integer factors (mx+n)(px+q)(mx+n)(px+q), we would need mp=9mp=9, nq=−5nq=-5 and mq+np=0mq+np=0. The possible magnitudes are 1,91,9 or 3,33,3 for m,pm,p, and 1,51,5 for n,qn,q; none makes the two middle terms cancel.

Answer. (3x−5)(3x+5)(3x-\sqrt{5})(3x+\sqrt{5}). There is no factorisation into two integer-coefficient linear factors.

Check. The cross terms cancel and the constant is −(5)2=−5-(\sqrt{5})^2=-5, giving the original expression exactly.

Some quadratics have no real linear factors at all. Since x2+4≥4x^2+4\ge4 for every real xx, it is never zero. A real linear factor would become zero at some real value of xx, making the whole product zero. That contradiction rules out real linear factors of x2+4x^2+4. Writing (x−2)(x+2)(x-2)(x+2) would instead give x2−4x^2-4.

Key idea

Failure to find integer factors does not prove that real factors are impossible. x2−2x^2-2 has exact real factors (x−2)(x+2)(x-\sqrt{2})(x+\sqrt{2}), while x2+2x^2+2 has no real linear factors.

You can now answer the opening question and also recognise when its integer-factor method is unsuitable.

Quick Recap

  • For a monic quadratic, find two numbers with the required product and sum.
  • Take out common factors first; split the middle term when the leading coefficient is not one.
  • A difference of squares has two brackets with opposite signs.
  • Check the required number system: integer factors, exact real factors or no real linear factors are different outcomes.

The opening expression is x2+7x+12=(x+3)(x+4)x^2+7x+12=(x+3)(x+4), as expansion confirms.