Split­ting the mid­dle term works on more than plain qua­drat­ics in xx. If a whole bracket keeps appear­ing, you can call it by a sin­gle let­ter and fac­torise as usual. And if the expres­sion has two let­ters, like 14x2+11xy−15y214x^{2} + 11xy - 15y^{2}, the same method works with the sec­ond let­ter car­ried along. This les­son shows both.

Replac­ing a repeated bracket by one let­ter

Look at (x−2y)2−5(x−2y)+6(x - 2y)^{2} - 5(x - 2y) + 6. The bracket (x−2y)(x - 2y) appears twice: once squared and once on its own. If we write pp for it, the expres­sion becomes p2−5p+6p^{2} - 5p + 6, an ordi­nary qua­dratic. Fac­torise that, then put the bracket back in place of pp. This is called sub­sti­tu­tion.

Exam­ple 1

Fac­torise (x−2y)2−5(x−2y)+6(x - 2y)^{2} - 5(x - 2y) + 6.

Let x−2y=px - 2y = p.

(x−2y)2−5(x−2y)+6=p2−5p+6=p2−2p−3p+6=p(p−2)−3(p−2)=(p−2)(p−3)=(x−2y−2)(x−2y−3)\begin{aligned} (x - 2y)^{2} - 5(x - 2y) + 6 &= p^{2} - 5p + 6 \\ &= p^{2} - 2p - 3p + 6 \\ &= p(p - 2) - 3(p - 2) \\ &= (p - 2)(p - 3) \\ &= (x - 2y - 2)(x - 2y - 3) \end{aligned}

To split −5p-5p we needed two num­bers with prod­uct 66 and sum −5-5; the pair 2×32 \times 3 becomes −2-2 and −3-3. Do not for­get the last step: the ques­tion was about xx and yy, so the answer must be too.

Qua­drat­ics in two let­ters

An expres­sion such as 14x2+11xy−15y214x^{2} + 11xy - 15y^{2} has an x2x^{2} term, an xyxy term and a y2y^{2} term. Treat it exactly like ax2+bx+cax^{2} + bx + c, with a=14a = 14, b=11b = 11 and c=−15c = -15: find two num­bers with prod­uct a×ca \times c and sum bb, then split the mid­dle term. The let­ter yy sim­ply rides along with the num­bers.

Exam­ple 2

Fac­torise 14x2+11xy−15y214x^{2} + 11xy - 15y^{2}.

Here a×c=14×(−15)=−210a \times c = 14 \times (-15) = -210. In primes, 210=7×2×5×3210 = 7 \times 2 \times 5 \times 3, and 21×10=21021 \times 10 = 210 with 21−10=1121 - 10 = 11. So the num­bers are 2121 and −10-10.

14x2+11xy−15y2=14x2+21xy−10xy−15y2=7x(2x+3y)−5y(2x+3y)=(2x+3y)(7x−5y)\begin{aligned} 14x^{2} + 11xy - 15y^{2} &= 14x^{2} + 21xy - 10xy - 15y^{2} \\ &= 7x(2x + 3y) - 5y(2x + 3y) \\ &= (2x + 3y)(7x - 5y) \end{aligned}

Exam­ple 3: a prod­uct of let­ters in the mid­dle

Fac­torise 15x2−16xyz−15y2z215x^{2} - 16xyz - 15y^{2}z^{2}.

Here the "sec­ond let­ter" is the prod­uct yzyz: the last term is −15(yz)2-15(yz)^{2}. So a×c=15×(−15)=−225=−(5×3×5×3)a \times c = 15 \times (-15) = -225 = -(5 \times 3 \times 5 \times 3), and we want sum −16-16: the num­bers are −25-25 and 99, since 25×9=22525 \times 9 = 225.

15x2−16xyz−15y2z2=15x2−25xyz+9xyz−15y2z2=5x(3x−5yz)+3yz(3x−5yz)=(3x−5yz)(5x+3yz)\begin{aligned} 15x^{2} - 16xyz - 15y^{2}z^{2} &= 15x^{2} - 25xyz + 9xyz - 15y^{2}z^{2} \\ &= 5x(3x - 5yz) + 3yz(3x - 5yz) \\ &= (3x - 5yz)(5x + 3yz) \end{aligned}

Check by expand­ing: (3x−5yz)(5x+3yz)=15x2+9xyz−25xyz−15y2z2(3x - 5yz)(5x + 3yz) = 15x^{2} + 9xyz - 25xyz - 15y^{2}z^{2}, which is the expres­sion we started with. Expand­ing is the quick­est way to catch a mis­placed let­ter.

Both ideas together

Exam­ple 4

Fac­torise 8(a+1)2+2(a+1)(b+2)−15(b+2)28(a + 1)^{2} + 2(a + 1)(b + 2) - 15(b + 2)^{2}.

Two brack­ets repeat, so give each a let­ter. Let a+1=xa + 1 = x and b+2=yb + 2 = y. The expres­sion becomes a two-let­ter qua­dratic:

8x2+2xy−15y28x^{2} + 2xy - 15y^{2}

Here a×c=8×(−15)=−120a \times c = 8 \times (-15) = -120, and 12×10=12012 \times 10 = 120 with 12−10=212 - 10 = 2. So split 2xy2xy as 12xy−10xy12xy - 10xy.

8x2+2xy−15y2=8x2+12xy−10xy−15y2=4x(2x+3y)−5y(2x+3y)=(2x+3y)(4x−5y)\begin{aligned} 8x^{2} + 2xy - 15y^{2} &= 8x^{2} + 12xy - 10xy - 15y^{2} \\ &= 4x(2x + 3y) - 5y(2x + 3y) \\ &= (2x + 3y)(4x - 5y) \end{aligned}

Now put the brack­ets back and sim­plify each fac­tor:

=[2(a+1)+3(b+2)][4(a+1)−5(b+2)]=(2a+2+3b+6)(4a+4−5b−10)=(2a+3b+8)(4a−5b−6)\begin{aligned} &= [2(a + 1) + 3(b + 2)][4(a + 1) - 5(b + 2)] \\ &= (2a + 2 + 3b + 6)(4a + 4 - 5b - 10) \\ &= (2a + 3b + 8)(4a - 5b - 6) \end{aligned}

Exam­ple 5: pow­ers of x as the repeated quan­tity

Fac­torise 4x4−13x2+94x^{4} - 13x^{2} + 9.

Here x4=(x2)2x^{4} = (x^{2})^{2}, so let x2=px^{2} = p: the expres­sion is 4p2−13p+94p^{2} - 13p + 9. Prod­uct 3636, sum −13-13: the num­bers are −4-4 and −9-9.

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

Both brack­ets turned out to be dif­fer­ences of squares, so they fac­torise once more.

Prac­tice

Fac­torise.

  1. x2+5xy+6y2x^{2} + 5xy + 6y^{2}
  2. 2p2−7pq+3q22p^{2} - 7pq + 3q^{2}
  3. 12x2−17xy+6y212x^{2} - 17xy + 6y^{2}
  4. 6−x−2x26 - x - 2x^{2}
  5. 36a2+12abc−15b2c236a^{2} + 12abc - 15b^{2}c^{2}
  6. (x+1)2−3(x+1)−10(x + 1)^{2} - 3(x + 1) - 10
  7. (2a−b)2+2(2a−b)−8(2a - b)^{2} + 2(2a - b) - 8
  8. 6(a−1)2+5(a−1)(b+1)+(b+1)26(a - 1)^{2} + 5(a - 1)(b + 1) + (b + 1)^{2}
  9. x4−5x2+4x^{4} - 5x^{2} + 4

Answers

Show answers
  1. Prod­uct 66, sum 55: 22 and 33. (x+2y)(x+3y)(x + 2y)(x + 3y)
  2. Prod­uct 66, sum −7-7: −6-6 and −1-1. 2p(p−3q)−q(p−3q)=(p−3q)(2p−q)2p(p - 3q) - q(p - 3q) = (p - 3q)(2p - q)
  3. Prod­uct 7272, sum −17-17: −8-8 and −9-9. 4x(3x−2y)−3y(3x−2y)=(3x−2y)(4x−3y)4x(3x - 2y) - 3y(3x - 2y) = (3x - 2y)(4x - 3y)
  4. In order, −2x2−x+6-2x^{2} - x + 6. Prod­uct −12-12, sum −1-1: −4-4 and 33. −2x(x+2)+3(x+2)=(x+2)(3−2x)-2x(x + 2) + 3(x + 2) = (x + 2)(3 - 2x)
  5. Take out 33 first: 3(12a2+4abc−5b2c2)3(12a^{2} + 4abc - 5b^{2}c^{2}). Prod­uct −60-60, sum 44: 1010 and −6-6. 12a2+10abc−6abc−5b2c2=2a(6a+5bc)−bc(6a+5bc)12a^{2} + 10abc - 6abc - 5b^{2}c^{2} = 2a(6a + 5bc) - bc(6a + 5bc). Answer 3(6a+5bc)(2a−bc)3(6a + 5bc)(2a - bc).
  6. Let p=x+1p = x + 1: p2−3p−10=(p−5)(p+2)=(x−4)(x+3)p^{2} - 3p - 10 = (p - 5)(p + 2) = (x - 4)(x + 3)
  7. Let p=2a−bp = 2a - b: p2+2p−8=(p+4)(p−2)=(2a−b+4)(2a−b−2)p^{2} + 2p - 8 = (p + 4)(p - 2) = (2a - b + 4)(2a - b - 2)
  8. Let x=a−1x = a - 1, y=b+1y = b + 1: 6x2+5xy+y2=(2x+y)(3x+y)6x^{2} + 5xy + y^{2} = (2x + y)(3x + y). Putting back, (2a−2+b+1)(3a−3+b+1)=(2a+b−1)(3a+b−2)(2a - 2 + b + 1)(3a - 3 + b + 1) = (2a + b - 1)(3a + b - 2).
  9. Let p=x2p = x^{2}: p2−5p+4=(p−1)(p−4)=(x2−1)(x2−4)=(x+1)(x−1)(x+2)(x−2)p^{2} - 5p + 4 = (p - 1)(p - 4) = (x^{2} - 1)(x^{2} - 4) = (x + 1)(x - 1)(x + 2)(x - 2)