How do you determine the factors of x^2-12x-20x212x20?

1 Answer
Jan 7, 2017

x^2-12x+20 = (x-10)(x-2)x212x+20=(x10)(x2)

Explanation:

Given:

x^2-12x+20x212x+20

color(white)()
Method 1 - Fishing for factors

Note that:

(x-a)(x-b) = x^2-(a+b)x+ab(xa)(xb)=x2(a+b)x+ab

So if we can find a, ba,b such that their sum is 1212 and product is 2020 then we can deduce the factorisation.

It's fairly quick to spot the answer, but here's an example of the sort of reasoning you can apply to help find such factors:

20 = 2*2*520=225

So splitting 2020 into a pair of factors amounts to sharing 22, 22 and 55 between two "buckets", the value of each bucket being the product of the prime factors it contains. The only way this can result in an even sum is if the value of the buckets are both odd or both even. Since we have have a factor 22, we need both buckets to be even. So there has to be at least one 22 in each bucket.

That leaves one other factor 55, which put in one or other of the buckets results in the split: {2, 5 | 2}{2,52} or {2 | 2, 5}{22,5}

So basically the pair of factors we are looking for is 10, 210,2 and hence:

x^2-12x+20 = (x-10)(x-2)x212x+20=(x10)(x2)

color(white)()
Method 2 - Completing the square

Rather than fishing for factors, which in some cases is somewhat more involved than the current example, and in some cases will not work at all, we can complete the square then use the difference of squares identity:

a^2-b^2 = (a-b)(a+b)a2b2=(ab)(a+b)

like this:

x^2-12x+20 = x^2-12x+36-16x212x+20=x212x+3616

color(white)(x^2-12x+20) = (x-6)^2-4^2x212x+20=(x6)242

color(white)(x^2-12x+20) = ((x-6)-4)((x-6)+4)x212x+20=((x6)4)((x6)+4)

color(white)(x^2-12x+20) = (x-10)(x-2)x212x+20=(x10)(x2)

In the case of any monic quadratic, you can complete the square like this:

x^2+2bx+c = x^2+2bx+b^2-b^2+cx2+2bx+c=x2+2bx+b2b2+c

color(white)(x^2+2bx+c) = (x^2+2bx+b^2)-(b^2-c)x2+2bx+c=(x2+2bx+b2)(b2c)

color(white)(x^2+2bx+c) = (x+b)^2-(sqrt(b^2-c))^2x2+2bx+c=(x+b)2(b2c)2

color(white)(x^2+2bx+c) = ((x+b)-sqrt(b^2-c))((x+b)+sqrt(b^2-c))x2+2bx+c=((x+b)b2c)((x+b)+b2c)

color(white)(x^2+2bx+c) = (x+b-sqrt(b^2-c))(x+b+sqrt(b^2-c))x2+2bx+c=(x+bb2c)(x+b+b2c)