Most qua­dratic expres­sions, such as 3x2+10x+33x^{2} + 10x + 3, are not per­fect squares and not dif­fer­ences of squares, so the iden­ti­ties of the last les­son do not fit. The method that works for all of them that can be fac­torised is called split­ting the mid­dle term. It turns the three terms into four, and then group­ing from the sec­ond les­son fin­ishes the job.

The idea

A qua­dratic expres­sion in xx has the form ax2+bx+cax^{2} + bx + c, where aa, bb, cc are num­bers and a≠0a \neq 0. Here aa is the coef­fi­cient of x2x^{2}, bb the coef­fi­cient of xx (the mid­dle term), and cc the con­stant term.

To fac­torise ax2+bx+cax^{2} + bx + c:

  1. Mul­ti­ply the first and last coef­fi­cients: work out a×ca \times c.
  2. Find two num­bers whose prod­uct is a×ca \times c and whose sum is bb.
  3. Split the mid­dle term bxbx into two terms using those num­bers.
  4. Group the four terms in pairs and take out com­mon fac­tors. A com­mon bracket appears.
  5. Take out the com­mon bracket.

Why it works

Look at a sim­ple case, x2+7x+12x^{2} + 7x + 12, where a=1a = 1. We need two num­bers with prod­uct 1×12=121 \times 12 = 12 and sum 77. They are 33 and 44.

x2+7x+12=x2+3x+4x+12=x(x+3)+4(x+3)=(x+3)(x+4)\begin{aligned} x^{2} + 7x + 12 &= x^{2} + 3x + 4x + 12 \\ &= x(x + 3) + 4(x + 3) \\ &= (x + 3)(x + 4) \end{aligned}

Expand­ing (x+3)(x+4)(x + 3)(x + 4) gives x2+3x+4x+12x^{2} + 3x + 4x + 12: the two mid­dle num­bers add to give the mid­dle term and mul­ti­ply to give the last term. Split­ting the mid­dle term sim­ply runs the expan­sion back­wards.

Worked exam­ples

Exam­ple 1

Fac­torise 3x2+10x+33x^{2} + 10x + 3.

Here a×c=3×3=9a \times c = 3 \times 3 = 9. List the pairs of fac­tors of 99: 1×91 \times 9 and 3×33 \times 3. The pair that adds to 1010 is 11 and 99, since 1+9=101 + 9 = 10.

3x2+10x+3=3x2+x+9x+3=x(3x+1)+3(3x+1)=(3x+1)(x+3)\begin{aligned} 3x^{2} + 10x + 3 &= 3x^{2} + x + 9x + 3 \\ &= x(3x + 1) + 3(3x + 1) \\ &= (3x + 1)(x + 3) \end{aligned}

Exam­ple 2: a neg­a­tive mid­dle term

Fac­torise 4y2−8y+34y^{2} - 8y + 3.

Here a×c=4×3=12a \times c = 4 \times 3 = 12. The prod­uct is pos­i­tive but the sum, −8-8, is neg­a­tive, so both num­bers must be neg­a­tive. Fac­tor pairs of 1212: 1×121 \times 12, 2×62 \times 6, 3×43 \times 4. The pair −2-2 and −6-6 works, since (−2)×(−6)=12(-2) \times (-6) = 12 and −2−6=−8-2 - 6 = -8.

4y2−8y+3=4y2−2y−6y+3=2y(2y−1)−3(2y−1)=(2y−1)(2y−3)\begin{aligned} 4y^{2} - 8y + 3 &= 4y^{2} - 2y - 6y + 3 \\ &= 2y(2y - 1) - 3(2y - 1) \\ &= (2y - 1)(2y - 3) \end{aligned}

In the sec­ond line, −3-3 was taken out of −6y+3-6y + 3, which leaves (2y−1)(2y - 1). Tak­ing out +3+3 would have left (−2y+1)(-2y + 1), which does not match.

Exam­ple 3: a neg­a­tive last term

Fac­torise 2x2−3x−22x^{2} - 3x - 2.

Here a×c=2×(−2)=−4a \times c = 2 \times (-2) = -4. A neg­a­tive prod­uct means the two num­bers have oppo­site signs. Pairs with prod­uct −4-4: −1-1 and 44, 11 and −4-4, −2-2 and 22. The pair with sum −3-3 is 11 and −4-4.

2x2−3x−2=2x2+x−4x−2=x(2x+1)−2(2x+1)=(2x+1)(x−2)\begin{aligned} 2x^{2} - 3x - 2 &= 2x^{2} + x - 4x - 2 \\ &= x(2x + 1) - 2(2x + 1) \\ &= (2x + 1)(x - 2) \end{aligned}

Exam­ple 4

Fac­torise 6x2+5x−66x^{2} + 5x - 6.

Here a×c=6×(−6)=−36a \times c = 6 \times (-6) = -36. Pairs of fac­tors of 3636: 1×361 \times 36, 2×182 \times 18, 3×123 \times 12, 4×94 \times 9, 6×66 \times 6. We need oppo­site signs with sum +5+5, and −4+9=5-4 + 9 = 5.

6x2+5x−6=6x2−4x+9x−6=2x(3x−2)+3(3x−2)=(3x−2)(2x+3)\begin{aligned} 6x^{2} + 5x - 6 &= 6x^{2} - 4x + 9x - 6 \\ &= 2x(3x - 2) + 3(3x - 2) \\ &= (3x - 2)(2x + 3) \end{aligned}

A sign guide

The signs of a×ca \times c and bb tell you the signs of the two num­bers before you start search­ing:

a×ca \times c bb The two num­bers
pos­i­tive pos­i­tive both pos­i­tive
pos­i­tive neg­a­tive both neg­a­tive
neg­a­tive either oppo­site signs; the larger one (ignor­ing signs) has the sign of bb

When the prod­uct is large

If a×ca \times c is a big num­ber, do not list every pair. Break it into primes, then build pairs from the primes.

Exam­ple 5

Fac­torise 11x2−54x+6311x^{2} - 54x + 63.

Here a×c=11×63=693a \times c = 11 \times 63 = 693. In primes, 693=11×7×9=11×3×3×7693 = 11 \times 7 \times 9 = 11 \times 3 \times 3 \times 7. We need two neg­a­tive num­bers adding to −54-54. Try group­ing the primes: 77×977 \times 9 gives sum 8686, too big. 33×2133 \times 21 gives sum 5454. So the num­bers are −33-33 and −21-21.

11x2−54x+63=11x2−33x−21x+63=11x(x−3)−21(x−3)=(x−3)(11x−21)\begin{aligned} 11x^{2} - 54x + 63 &= 11x^{2} - 33x - 21x + 63 \\ &= 11x(x - 3) - 21(x - 3) \\ &= (x - 3)(11x - 21) \end{aligned}

Exam­ple 6: terms in the wrong order, neg­a­tive lead­ing term

Fac­torise 28−31x−5x228 - 31x - 5x^{2}.

First write the terms in descend­ing pow­ers of xx: −5x2−31x+28-5x^{2} - 31x + 28. Here a×c=(−5)×28=−140a \times c = (-5) \times 28 = -140. Since 140=5×4×7=35×4140 = 5 \times 4 \times 7 = 35 \times 4, and we need sum −31-31, the num­bers are −35-35 and 44.

−5x2−31x+28=−5x2−35x+4x+28=−5x(x+7)+4(x+7)=(x+7)(−5x+4)\begin{aligned} -5x^{2} - 31x + 28 &= -5x^{2} - 35x + 4x + 28 \\ &= -5x(x + 7) + 4(x + 7) \\ &= (x + 7)(-5x + 4) \end{aligned}

It is neater to write the answer as (x+7)(4−5x)(x + 7)(4 - 5x). Check: (x+7)(4−5x)=4x−5x2+28−35x=28−31x−5x2(x + 7)(4 - 5x) = 4x - 5x^{2} + 28 - 35x = 28 - 31x - 5x^{2}.

Be care­ful when you rewrite a fac­tori­sa­tion with the brack­ets turned round. (x+7)(4−5x)(x + 7)(4 - 5x) is cor­rect, but (7−x)(4−5x)(7 - x)(4 - 5x) is not: it expands to 28−39x+5x228 - 39x + 5x^{2}. Chang­ing the signs inside one bracket changes the prod­uct, unless you also change the signs inside the other bracket.

Prac­tice

Fac­torise.

  1. x2+9x+20x^{2} + 9x + 20
  2. x2−2x−15x^{2} - 2x - 15
  3. 5x2+13x+65x^{2} + 13x + 6
  4. 3x2−14x+83x^{2} - 14x + 8
  5. 10x2+x−310x^{2} + x - 3
  6. 6x2−13x+66x^{2} - 13x + 6
  7. −2x2−3x+2-2x^{2} - 3x + 2
  8. 7x−6−2x27x - 6 - 2x^{2}
  9. 7x2−19x−67x^{2} - 19x - 6
  10. 12+x−6x212 + x - 6x^{2}

Answers

Show answers
  1. Prod­uct 2020, sum 99: 44 and 55. (x+4)(x+5)(x + 4)(x + 5)
  2. Prod­uct −15-15, sum −2-2: −5-5 and 33. (x−5)(x+3)(x - 5)(x + 3)
  3. Prod­uct 3030, sum 1313: 1010 and 33. 5x(x+2)+3(x+2)=(5x+3)(x+2)5x(x + 2) + 3(x + 2) = (5x + 3)(x + 2)
  4. Prod­uct 2424, sum −14-14: −12-12 and −2-2. 3x(x−4)−2(x−4)=(3x−2)(x−4)3x(x - 4) - 2(x - 4) = (3x - 2)(x - 4)
  5. Prod­uct −30-30, sum 11: 66 and −5-5. 2x(5x+3)−1(5x+3)=(5x+3)(2x−1)2x(5x + 3) - 1(5x + 3) = (5x + 3)(2x - 1)
  6. Prod­uct 3636, sum −13-13: −4-4 and −9-9. 2x(3x−2)−3(3x−2)=(3x−2)(2x−3)2x(3x - 2) - 3(3x - 2) = (3x - 2)(2x - 3)
  7. Prod­uct −4-4, sum −3-3: −4-4 and 11. −2x2−4x+x+2=−2x(x+2)+1(x+2)=(x+2)(1−2x)-2x^{2} - 4x + x + 2 = -2x(x + 2) + 1(x + 2) = (x + 2)(1 - 2x)
  8. In order, −2x2+7x−6-2x^{2} + 7x - 6. Prod­uct 1212, sum 77: 44 and 33. −2x(x−2)+3(x−2)=(x−2)(3−2x)-2x(x - 2) + 3(x - 2) = (x - 2)(3 - 2x), which is the same as (2x−3)(2−x)(2x - 3)(2 - x).
  9. Prod­uct −42-42, sum −19-19: −21-21 and 22. 7x(x−3)+2(x−3)=(x−3)(7x+2)7x(x - 3) + 2(x - 3) = (x - 3)(7x + 2)
  10. In order, −6x2+x+12-6x^{2} + x + 12. Prod­uct −72-72, sum 11: 99 and −8-8. −3x(2x−3)−4(2x−3)=(2x−3)(−3x−4)-3x(2x - 3) - 4(2x - 3) = (2x - 3)(-3x - 4), which is neater as (3−2x)(3x+4)(3 - 2x)(3x + 4).