Splitting the middle term works on more than plain quadratics in x. If a whole bracket keeps appearing, you can call it by a single letter and factorise as usual. And if the expression has two letters, like 14x2+11xy−15y2, the same method works with the second letter carried along. This lesson shows both.
Replacing a repeated bracket by one letter#
Look at (x−2y)2−5(x−2y)+6. The bracket (x−2y) appears twice: once squared and once on its own. If we write p for it, the expression becomes p2−5p+6, an ordinary quadratic. Factorise that, then put the bracket back in place of p. This is called substitution.
Example 1#
Factorise (x−2y)2−5(x−2y)+6.
Let x−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)
To split −5p we needed two numbers with product 6 and sum −5; the pair 2×3 becomes −2 and −3. Do not forget the last step: the question was about x and y, so the answer must be too.
Quadratics in two letters#
An expression such as 14x2+11xy−15y2 has an x2 term, an xy term and a y2 term. Treat it exactly like ax2+bx+c, with a=14, b=11 and c=−15: find two numbers with product a×c and sum b, then split the middle term. The letter y simply rides along with the numbers.
Example 2#
Factorise 14x2+11xy−15y2.
Here a×c=14×(−15)=−210. In primes, 210=7×2×5×3, and 21×10=210 with 21−10=11. So the numbers are 21 and −10.
14x2+11xy−15y2=14x2+21xy−10xy−15y2=7x(2x+3y)−5y(2x+3y)=(2x+3y)(7x−5y)
Example 3: a product of letters in the middle#
Factorise 15x2−16xyz−15y2z2.
Here the "second letter" is the product yz: the last term is −15(yz)2. So a×c=15×(−15)=−225=−(5×3×5×3), and we want sum −16: the numbers are −25 and 9, since 25×9=225.
15x2−16xyz−15y2z2=15x2−25xyz+9xyz−15y2z2=5x(3x−5yz)+3yz(3x−5yz)=(3x−5yz)(5x+3yz)
Check by expanding: (3x−5yz)(5x+3yz)=15x2+9xyz−25xyz−15y2z2, which is the expression we started with. Expanding is the quickest way to catch a misplaced letter.
Both ideas together#
Example 4#
Factorise 8(a+1)2+2(a+1)(b+2)−15(b+2)2.
Two brackets repeat, so give each a letter. Let a+1=x and b+2=y. The expression becomes a two-letter quadratic:
8x2+2xy−15y2
Here a×c=8×(−15)=−120, and 12×10=120 with 12−10=2. So split 2xy as 12xy−10xy.
8x2+2xy−15y2=8x2+12xy−10xy−15y2=4x(2x+3y)−5y(2x+3y)=(2x+3y)(4x−5y)
Now put the brackets back and simplify each factor:
=[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)
Example 5: powers of x as the repeated quantity#
Factorise 4x4−13x2+9.
Here x4=(x2)2, so let x2=p: the expression is 4p2−13p+9. Product 36, sum −13: the numbers are −4 and −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)
Both brackets turned out to be differences of squares, so they factorise once more.
Practice#
Factorise.
- x2+5xy+6y2
- 2p2−7pq+3q2
- 12x2−17xy+6y2
- 6−x−2x2
- 36a2+12abc−15b2c2
- (x+1)2−3(x+1)−10
- (2a−b)2+2(2a−b)−8
- 6(a−1)2+5(a−1)(b+1)+(b+1)2
- x4−5x2+4
Answers#
Show answers
- Product 6, sum 5: 2 and 3. (x+2y)(x+3y)
- Product 6, sum −7: −6 and −1. 2p(p−3q)−q(p−3q)=(p−3q)(2p−q)
- Product 72, sum −17: −8 and −9. 4x(3x−2y)−3y(3x−2y)=(3x−2y)(4x−3y)
- In order, −2x2−x+6. Product −12, sum −1: −4 and 3. −2x(x+2)+3(x+2)=(x+2)(3−2x)
- Take out 3 first: 3(12a2+4abc−5b2c2). Product −60, sum 4: 10 and −6. 12a2+10abc−6abc−5b2c2=2a(6a+5bc)−bc(6a+5bc). Answer 3(6a+5bc)(2a−bc).
- Let p=x+1: p2−3p−10=(p−5)(p+2)=(x−4)(x+3)
- Let p=2a−b: p2+2p−8=(p+4)(p−2)=(2a−b+4)(2a−b−2)
- Let x=a−1, y=b+1: 6x2+5xy+y2=(2x+y)(3x+y). Putting back, (2a−2+b+1)(3a−3+b+1)=(2a+b−1)(3a+b−2).
- Let p=x2: p2−5p+4=(p−1)(p−4)=(x2−1)(x2−4)=(x+1)(x−1)(x+2)(x−2)