Rewriting a polynomial from a sum of terms into a product of factors helps us see where it equals zero.
1
Un-multiplying and the Greatest Common Factor
Suppose we want to find the values of x that make a polynomial equation equal zero, or factor a polynomial like:
6x3+15x2−9x
Before we factor 6x3+15x2−9x below, here is a separate example of how factoring gives the zeros: x3−2x2−5x+6 factors as (x−1)(x+2)(x−3). Its zeros are x=1,−2,3 because a product equals zero exactly when at least one of its factors is zero.
Why We Factor, the 2-by-2 Box, and the GCF
(x+2)(x+5)=?
When we multiply two linear brackets in x in a 2-by-2 box, the two diagonal cells get combined into a single middle term, or cancel out, hiding the original four cells. Before using the box on any polynomial, we always check whether every term shares a common factor that can be pulled out to the front.
Text solution
Find the greatest common factor shared by every termAll three numbers are divisible by 3 and every term contains at least one x, so 3x is multiplied inside every term.
6x3+15x2−9x=3x(2x2)+3x(5x)−3x(3)
Pull the common factor to the frontPulling 3x outside the parentheses leaves a smaller quadratic with lower exponents inside. Pulling out the GCF is only the first step, though: here the quadratic 2x2+5x−3 still factors as (2x−1)(x+3), so the fully factored form is 3x(2x−1)(x+3).
=GCF3x(2x2+5x−3)
2
Factoring Four Terms by Grouping
Once any common factor is pulled out, the number of terms left helps us choose a factoring method to try. Now suppose we want to factor a four-term polynomial where nothing divides into all four terms at once:
x3+3x2+2x+6
Factoring Four Terms by Grouping
Text solution
Split the four terms into two pairs and factor each pairFor this polynomial, we can arrange the four terms as the cells of a 2-by-2 multiplication box. Pulling the common factor out of the first pair and the second pair finds the left edge of each row.
x3+3x2+2x+6=x2(x+3)+2(x+3)
Pull the shared bracket to the frontBoth halves are multiplied by the same (x+3), so pulling (x+3) out to the front leaves the outside terms x2 and +2 to form the second factor.
=(x+3)(x2+2)
In the 2-by-2 box for x3+3x2+2x+6, each row pulls its greatest common factor out to the left edge and their shared (x+3) factor goes on the top edge. Swapping the two middle terms 3x2 and 2x simply swaps the top and left edges while giving the exact same factors (x+3)(x2+2).
Pulling each row's greatest common factor to the left edge puts a shared factor on the top edge whenever both rows leave the same binomial in the same column order, even if you swap the middle terms.
3
Higher-Power Quadratics and Squares
When a quadratic factors into two linear brackets, its two diagonal cells combine into the middle term, just like in x2+7x+12=(x+3)(x+4) or 6x2+11x+4=(3x+4)(2x+1). Now let's factor a three-term polynomial with higher powers:
x4−5x2−36
Quadratic Disguises and Squares
x4−5x2−36=?
Whenever factoring leaves an x2 inside a two-term bracket, we check whether the two middle cells of the 2-by-2 box could have canceled out to zero:
difference ofsquaresa2−b2=(a+b)(a−b)c>0does not factor over Rx2+c
Text solution
Factor as a quadratic with x2 at the front of each bracketBecause x4=x2⋅x2, placing x2 at the front of both brackets produces x2 middle terms automatically, so we just need the two numbers that multiply to −36 and add to −5.
x4−5x2−36=(x2−9)(x2+4)
Factor the difference of squares and leave the sum of squares aloneThe bracket x2−9 splits into (x−3)(x+3) because +3x and −3x cancel out, whereas x2+4 is a sum of squares and cannot be factored over the real numbers.
=from x2−9(x−3)(x+3)sum of squares(done)(x2+4)
In the 2-by-2 box for (x±3)(x±3), the two diagonal 3x cells cancel each other out only when one bracket is plus and one is minus, which makes the last term −9; making the last term +9 means both brackets have the same sign, so the middle terms add to +6x or −6x instead of canceling.
The middle terms only cancel out when the outside signs are opposite, which forces the last term to be negative.
4
Sums and Differences of Cubes
Now suppose a two-term polynomial has cubes instead of squares:
orx3−8,x3+27,8x3−125
Sums and Differences of Cubes
In (x−2)(x2+2x+4), giving the middle term +2x the opposite sign of −2 is what makes −2x2 and +2x2 cancel out while +4x and −4x also cancel out, leaving only x3−8.
With x2 and +4 on the ends, choosing +2x in the middle makes the extra terms cancel out, leaving x3−8.
The same cancellation works when there is a number in front of x3, as long as we find the entire term being cubed in each spot.
Text solution
Find what is being cubed in each spot to write the first bracketSince 8=23 and 125=53, the two terms being cubed are 2x and 5, which gives 2x−5 as the first factor.
8x3−125=(2x)3−53=(2x−5)(4x2+10x+25)
Square the first and last terms to get the ends of the second bracketMultiplying 2x by (2x)2=4x2 gives 8x3 at the front, and multiplying −5 by 52=25 gives −125 at the end.
=(2x−5)(4x2+10x+25)
Multiply the two terms with the opposite sign for the middle termAdding +(2x)(5)=+10x in the middle cancels the −20x2 term when we multiply the brackets out, and the −50x it creates cancels with the +50x from 2x⋅25. The resulting three-term quadratic never factors further over the real numbers.
Now we can put all of these factoring methods together to find the real solutions of polynomial equations:
x3+3x2andx5−3x3=4x+12=4x
Solving Polynomial Equations by Factoring
x3+3x2=4x+12
x=?
Text solution
Move every term to one side so the equation equals zeroKnowing two factors multiply to 4x+12 does not determine their individual values, so we subtract 4x and 12 to get 0 on the right side first.
x3+3x2−4x−12=0
Group into two pairs and pull a negative out of the second pairBecause the second pair starts with a minus sign, pulling out −4 flips the signs inside the bracket so both halves leave the same (x+3) factor.
x2(x+3)−4(x+3)(x+3)(x2−4)=0=0
Factor the difference of squares and read off the solutionsSplitting x2−4 into (x−2)(x+2) finishes the factoring, and setting each factor to zero gives the three real solutions.
(x+3)(x−2)(x+2)=0⟹x=−3,2,−2
Now for x5−3x3=4x, where every term contains an x:
Subtract 4x and pull out the common factor xDividing both sides by x would divide by zero when x=0 and lose that solution, so we subtract 4x and factor x out to the front instead.
x5−3x3−4xx(x4−3x2−4)=0=0
Factor the x4 trinomial like a quadratic and factor x2−4Using −4 and +1 splits x4−3x2−4 into (x2−4)(x2+1), and only the difference of squares x2−4 factors further.
x(x2−4)(x2+1)x(x−2)(x+2)(x2+1)=0=0
Set each factor to zero and keep only real solutionsThe front factor x gives x=0, the next two brackets give x=2 and x=−2, and x2+1=0 gives no real solutions because x2=−1 has no real square root.
x=0,2,−2
6
The Complete Factoring Game Plan
Whenever you run into a polynomial expression or equation, the same sequence of checks tells you what to do next.
The Complete Factoring Game Plan
6x3+15x2−9xx4−5x2−368x3−125x3−2x2−5x+6=0
first step=?
Key concepts
Start at zero and pull out the GCF
If you are solving an equation, move all terms to one side so the other side is 0 (factor out a common x instead of dividing by it, as in x5−3x3=4x→x(x4−3x2−4)=0). Then pull out any greatest common factor shared by all terms: 6x3+15x2−9x=3x(2x2+5x−3).
Count how many terms are left
4 terms (try grouping): Split into two pairs and factor each pair, pulling out a negative when it gives matching brackets, as in x3+3x2−4x−12=x2(x+3)−4(x+3)=(x+3)(x2−4). If the brackets do not match, try a different pairing. If no pairing works, as with x3−2x2−5x+6, test possible zeros by plugging a number c into the polynomial P(x): if P(c)=0, then x−c is a factor, and you can divide it out using polynomial division.
3 terms (try a quadratic pattern): Try splitting the middle term using the 2-by-2 box. When the terms involve x4,x2, and a constant, try factoring like a quadratic with x2 at the front of each bracket, as in x4−5x2−36=(x2−9)(x2+4).
2 terms (check squares and cubes): Check whether the terms are squares or cubes.
a2−b2a3±b3=(a+b)(a−b)=(a±b)(a2∓ab+b2)
Know when a bracket is already done
Always check your brackets one last time to factor any remaining difference of squares like x2−9=(x−3)(x+3). Quadratics such as x2+4 and x2+1 have no real zeros and cannot split into real linear factors. The quadratic brackets in our cube examples are also already fully factored over the real numbers.
7
Practice
1
Factor completely: 6x3+21x2+9x
Every term shares a common number and a power of x. What is left inside the bracket after you pull that GCF to the front?
Pull out the GCF 3x shared by all three terms:
6x3+21x2+9x=3x(2x2+7x+3)
In 2x2+7x+3, the two numbers that multiply to 2⋅3=6 and add to 7 are 6 and 1, which split the middle term into 6x+x:
=3x(2x2+6x+x+3)=3x(2x(x+3)+1(x+3))
(Watch out: don't drop the 3x in front as you factor the bracket, since leaving it behind gives (2x+1)(x+3), and don't ignore the leading 2 by placing 6 and 1 straight into 3x(x+6)(x+1).)
=3x(2x+1)(x+3)
Answer3x(2x+1)(x+3)
2
Factor completely: x3+5x2+3x+15
Count the terms. What does the first pair share, and what does the second pair share?
Split the four terms into two pairs and pull out each pair's common factor:
x3+5x2+3x+15=x2(x+5)+3(x+5)
Pull the shared (x+5) bracket to the front:
(Watch out: pulling (x+5) out of both halves leaves a single (x+5) in front, not (x+5)2(x2+3), and x2+3 is a sum of squares so it does not factor further.)
=(x+5)(x2+3)
Answer(x+5)(x2+3)
3
Factor completely over the real numbers: x4−7x2−18
Factor x4−7x2−18 like a quadratic with x2 at the front of each bracket, then check which of the two resulting brackets can factor further.
Start both brackets with x2 and find the two numbers that multiply to −18 and add to −7, which are −9 and +2:
x4−7x2−18=(x2−9)(x2+2)
(Watch out: don't stop at (x2−9)(x2+2). Always check brackets that still have exponents inside! x2−9 is a difference of squares, whereas x2+2 is a sum of squares and stays as is.)
=(x−3)(x+3)(x2+2)
Answer(x−3)(x+3)(x2+2)
4
Factor completely: 27x3+64
Write both terms as cubes, ()3+()3, to find the two terms for your first bracket.
Since 27x3=(3x)3 and 64=43, the two terms being cubed are 3x and 4, which gives (3x+4) as the first bracket:
27x3+64=(3x)3+43=(3x+4)(9x2−12x+16)
Build the second bracket from the first term squared (3x)2=9x2, the product of the two terms with the opposite sign −(3x)(4)=−12x, and the second term squared 42=16:
(Watch out: square the entire first term (3x)2=9x2 rather than writing 3x2, and flip the middle sign to −12x. Leaving it positive gives (3x+4)(9x2+12x+16), where the middle terms add together instead of canceling.)
=(3x+4)(9x2−12x+16)
Answer(3x+4)(9x2−12x+16)
5
Find all real solutions: x3+4x2=9x+36
Move every term to the left side so the equation equals 0, then count the terms.
Subtract 9x and 36 from both sides so the equation equals zero:
x3+4x2−9x−36=0
Split into two pairs and pull −9 out of the second pair:
x2(x+4)−9(x+4)=0
(Watch out: pulling −9 out of −9x−36 flips the sign inside to +4; leaving it as −9(x−4) keeps the brackets from matching.)
(x+4)(x2−9)=0
Factor the difference of squares x2−9 and set each factor to zero:
(x+4)(x−3)(x+3)=0
(Watch out: solving x2−9=0 in your head without factoring into (x−3)(x+3) makes it easy to miss the negative root and write only x=−4,3.)
Answerx=−4,3,−3
6
Find all real solutions: x5−13x3=48x
Subtract 48x to get 0 on one side. What happens if you divide both sides by x instead?
Subtract 48x from both sides and pull out the GCF x:
(Watch out: dividing both sides by x at the start, or ignoring the front x at the end, loses the solution x=0 and leaves only x=4,−4.)
x5−13x3−48xx(x4−13x2−48)=0=0
Factor x4−13x2−48 like a quadratic with x2 in each bracket using −16 and +3, since (−16)(3)=−48 and −16+3=−13:
x(x2−16)(x2+3)=0
Factor the difference of squares x2−16 and leave the sum of squares x2+3 alone (since x2+3=0 has no real solutions):