We already know how to factor trinomials like x2+bx+c, and some expressions can be factored in seconds because of what happens in the two middle corners of the two-by-two box.
Why Middle Terms Cancel in the Box
1
Factoring a Difference of Squares
Suppose we want to factor a two-term expression like x2−9 or 16x2−49, where the middle x term is completely gone.
Factoring a Difference of Squares
x2−916x2−49=?=?
Text solution
Split both squares into equal partsFind what multiplies by itself to give the front term and what multiplies by itself to give the back number.
16x2=4x⋅4xand49=7⋅7
Put opposite signs in the two factorsUse one plus and one minus so the −28x and +28x middle corners cancel out and +7⋅(−7) gives −49.
16x2−49=(4x+7)(4x−7)
Now see what happens when we try to factor a sum of squares like x2+25.
Opposite signs make the middle corners cancel out and leave a negative last term, while matching signs make the last term positive and double the middle term.
2
Factoring Perfect Square Trinomials
Next, we want to factor a three-term expression like 9x2−30x+25 without having to multiply 9⋅25=225 and hunt through all its factor pairs.
Factoring Perfect Square Trinomials
Text solution
Find what squares to give the front and back endsBreak the first term and the positive last term into equal pieces.
9x2=3x⋅3xand25=5⋅5
Multiply the pieces and double to check the middleCheck that two identical 3x-by-5 corners in the box combine to match the middle term.
3x⋅5=15x⟶15x⋅2=30x
Keep the middle sign in one squared factorBecause the middle term is −30x, both factors need a minus sign so that −15x and −15x combine to −30x while (−5)(−5) stays +25.
9x2−30x+25=(3x−5)2
Just seeing squares at both ends is not enough, though: we always have to check the middle term before using the shortcut.
Square terms at both ends aren't enough to make the whole box a square, because the two middle pieces have to match too.
3
Pulling Out a Greatest Common Factor First
Now suppose we are asked to factor 2x2−50 or 3x2+24x+48 completely, where the numbers at the ends aren't squares at all.
Pulling Out a Greatest Common Factor First
2x2−503x2+24x+48=?=?
Text solution
Pull out the Greatest Common Factor (GCF) firstDivide every term by the common factor of 2 and place it in front of the parentheses to uncover the squares inside.
2x2−50=2(x2−25)
Factor the special product inside the parenthesesLeave the 2 out front and split the Difference of Squares x2−25 with opposite signs.
2(x2−25)=2(x+5)(x−5)
The same first move uncovers three-term squares when all three terms share a common factor:
3x2+24x+48=3(x2+8x+16)=3(x+4)2
4
Factoring Higher Powers Completely
Now let's factor a higher power like x4−81 completely, where splitting the expression once still leaves x2 inside the new factors.
Factoring Higher Powers Completely
x4−81=?
Text solution
Split the fourth power into two x2 factors with opposite signsSince x4=x2⋅x2 and 81=9⋅9, break the expression into a plus factor and a minus factor.
x4−81=(x2+9)(x2−9)
Factor the new Difference of Squares againLeave the Sum of Squares x2+9 alone, and split x2−9 into (x+3)(x−3).
(x2+9)(x2−9)=(x2+9)(x+3)(x−3)
Key concepts
Putting these checks in order gives us a game plan for factoring special products.
Your Game Plan for Factoring Special Products
x2−49x4−81x2−12x+36=?=?=?
5
Practice
1
Factor x2−64.
Two terms with a minus sign: what multiplies by itself to give x2, and what multiplies by itself to give 64?
Split the two squares into x⋅x=x2 and 8⋅8=64, then give the factors opposite signs so the middle terms cancel out. (Watch out: writing (x−8)2 uses two minus signs, which multiplies out to x2−16x+64 instead of canceling the middle.)
Answer: (x+8)(x−8)
2
Factor 25x2−9.
Break both the front coefficient and the back number into equal factors before placing the signs.
Split 25x2 into 5x⋅5x and 9 into 3⋅3, then place opposite signs between them. (Watch out: leaving 25 unsplit to get (25x+3)(x−3) gives a middle term of −72x instead of 0.)
Answer: (5x+3)(5x−3)
3
Factor x2+36.
Check the sign between the two squares before writing any parentheses.
Even though x2 and 36 are both squares, there is a plus sign between them. (Watch out: (x+6)(x−6) gives x2−36, and (x+6)2 gives x2+12x+36, so no pair of factors works.)
Answer: Prime (cannot be factored)
4
Factor x2+12x+36.
The front and back ends come from squaring x and 6. Multiply those pieces and double the result to check the middle term.
The ends come from x and 6, and doubling 6x gives 12x, which matches the middle term with a plus sign. (Watch out: don't use opposite signs to write (x+6)(x−6), which would cancel out the +12x middle term and make the last term −36.)
Answer: (x+6)2
5
Factor x2−18x+81.
Multiply x and 9 and double the result to check the size of the middle term, then look at its sign.
The ends come from x and 9, and 9x doubled is 18x; since the middle term is −18x, both factors need a minus sign. (Watch out: seeing +81 at the back often tempts people to write (x+9)2, which gives +18x in the middle instead of −18x.)
Answer: (x−9)2
6
Factor 4x2−20x+25.
Instead of multiplying 4⋅25, take the square roots of the two ends and see what their product doubled gives.
The ends break into 2x⋅2x=4x2 and 5⋅5=25, and doubling 2x⋅5=10x gives 20x. Use the minus sign from −20x. (Watch out: using a plus sign because of +25 gives (2x+5)2=4x2+20x+25.)
Answer: (2x−5)2
7
Factor x2+13x+36.
The ends come from squaring x and 6, so test whether 6x doubled matches 13x before choosing your method.
Although the ends come from x and 6, doubling 6x gives 12x, not 13x. (Watch out: jumping straight to (x+6)2 without checking the middle leaves you short by x.) Instead, use the two factors of 36 that add to 13, which are 9 and 4.
Answer: (x+9)(x+4)
8
Factor completely: 5x2−80.
Neither 5 nor 80 is a square, so check what number divides evenly into both terms first.
Pull out the GCF of 5 to get 5(x2−16), then split the Difference of Squares x2−16 inside the parentheses. (Watch out: stopping at 5(x2−16) leaves the expression only partly factored, and dropping the 5 to write just (x+4)(x−4) loses the common factor.)
Answer: 5(x+4)(x−4)
9
Factor completely: 2x2+20x+50.
Pull out the Greatest Common Factor of all three terms first, then check the ends of the trinomial left inside.
Pull out the GCF of 2 to get 2(x2+10x+25). Inside the parentheses, the ends come from squaring x and 5, and 5x doubled is 10x. (Watch out: don't pull the 2 inside the square to write (2x+10)2, which multiplies out to 4x2+40x+100.)
Answer: 2(x+5)2
10
Factor completely: x4−16.
Split x4 into x2⋅x2 first, then check both new parentheses to see which one splits a second time.
First split x4−16 into (x2+4)(x2−4). The Sum of Squares x2+4 cannot be factored, while the Difference of Squares x2−4 splits again into (x+2)(x−2). (Watch out: stopping at (x2+4)(x2−4) misses the second split, and factoring x2+4 as well to get (x+2)2(x−2)2 is wrong because x2+4 is prime.)