Polynomial Division by Factoring

Read · 6 min

There are many different methods for dividing polynomials, but one thing remains the same: every division will have a divisor (the denominator of the fraction) and the dividend (the numerator of the fraction). Also, in many cases, the same division problem can be solved in multiple ways. To highlight this fact, we're going to do the same problem three different ways, explaining each technique in general and using the same problem as a repeated example.

Our task will be to divide

x3+12x2+20xx2+10x,\frac{x^3 + 12x^2 + 20x}{x^2 + 10x},

where we assume x≠10x \neq 10 (that way we aren't dividing by zero).

Method 1: Factorization

Sometimes, factoring the numerator and/or the denominator can make things a lot easier. Even if this doesn't make the whole thing simple, it will make the math easier to handle. But this trick doesn't always work, especially if the number you're dividing by doesn't go evenly into the number you're dividing. Still, when it does work, it works really well! That is why it is the first thing we try.

First notice that the numerator and the denominator have a common factor of x.x.

x3+12x2+20xx2+10x=x(x2+12x+20)x(x+10).\frac{x^3 + 12x^2 + 20x}{x^2 + 10x} = \frac{x(x^2 + 12x + 20)}{x(x + 10)}.

Now we can CANCEL\color{#8925AE}{\text{CANCEL}} the factors of xx, and we are left with

x3+12x2+20xx2+10x=x(x2+12x+20)x(x+10)=x2+12x+20x+10.\frac{x^3 + 12x^2 + 20x}{x^2 + 10x} = \frac{\cancel{x}(x^2 + 12x + 20)}{\cancel{x}(x + 10)} = \frac{x^2 + 12x + 20}{x + 10}.

We are left with a quadratic in the numerator and a linear binomial in the denominator. It turns out we can factor the numerator again, as follows:

x2+12x+20x+10=(x+10)(x+2)x+10.\frac{x^2 + 12x + 20}{x + 10} = \frac{(x + 10)(x + 2)}{x + 10}.

Now it is apparent the numerator and denominator have a common factor of x+10:x + 10:

x2+12x+20x+10=(x+10)(x+2)x+10=x+2\frac{x^2 + 12x + 20}{x + 10} = \frac{\cancel{(x + 10)}(x + 2)}{\cancel{x + 10}} = x + 2

Therefore our final answer is x+2.\boxed{x + 2}.

Now, we're going to see two more ways to solve this problem. It's a good idea to try different methods because it helps you check your work. If the new answer doesn't match the one you got before, there is likely a mistake.

Method 2: Yanking Factors

Perhaps you weren't able to recognize the factorization done in Method 1. While it's important to notice these factorization patterns, there are other methods that get around this. One of them involves pulling factors out of the numerator term-by-term (this is why I call it "Yanking Factors"). It is helpful if you can't seem to factor the numerator and/or denominator, but it will not help if the polynomial in the numerator has a lower degree than the polynomial in the denominator. In the fraction

x3+12x2+20xx2+10x,\frac{x^3 + 12x^2 + 20x}{x^2 + 10x},

the numerator is a cubic and the denominator is a quadratic, so we're OK.

Here's how the method works: we pull off the last term in the numerator and make it its own, "new" fraction:

x3+12x2+20xx2+10x=x3+12x2x2+10x+20xx2+10x.\frac{x^3 + 12x^2 + 20x}{x^2 + 10x} = \frac{x^3 + 12x^2}{x^2 + 10x} + \frac{20x}{x^2 + 10x}.

Now we borrow terms from the numerator of the "old" fraction so that we can cancel factors in the new fraction. 20x=10x×2,20x = 10x \times 2, so if we add x2×2=2x2x^2 \times 2 = 2x^2 to the second fraction, we will get a multiple of x2+10xx^2 + 10x in the denominator. It looks like this:

x3+12x2x2+10x+20xx2+10x=x3+10x2+2x2x2+10x+20xx2+10x=x3+10x2x2+10x+2x2x2+10x+20xx2+10x=x3+10x2x2+10x+2x2+20xx2+10x.\begin{align} \frac{x^3 + 12x^2}{x^2 + 10x} + \frac{20x}{x^2 + 10x} &= \\ \frac{x^3 + 10x^2 + 2x^2}{x^2 + 10x} + \frac{20x}{x^2 + 10x} &= \\ \frac{x^3 + 10x^2}{x^2 + 10x} + \frac{2x^2}{x^2 + 10x} + \frac{20x}{x^2 + 10x} &= \\ \frac{x^3 + 10x^2}{x^2 + 10x} + \frac{2x^2 + 20x}{x^2 + 10x}. \end{align}

Now we've made some headway with the second fraction. The quadratic term in the numerator is twice the one in the denominator, and the same is true for the linear terms. That is, 2(x2+10x)=2x2+20x,2(x^2 + 10x) = 2x^2 + 20x, so in the second fraction we have a common factor of x2+10x.x^2 + 10x.

x3+10x2x2+10x+2x2+20xx2+10x=x3+10x2x2+10x+2(x2+10x)x2+10x=x3+10x2x2+10x+2(x2+10x)x2+10x=x3+10x2x2+10x+2.\begin{align} \frac{x^3 + 10x^2}{x^2 + 10x} + \frac{2x^2 + 20x}{x^2 + 10x} &= \\ \frac{x^3 + 10x^2}{x^2 + 10x} + \frac{2(x^2 + 10x)}{x^2 + 10x} &= \\ \frac{x^3 + 10x^2}{x^2 + 10x} + \frac{2\cancel{(x^2 + 10x)}}{\cancel{x^2 + 10x}} &= \\ \frac{x^3 + 10x^2}{x^2 + 10x} + 2. \end{align}

We still have a fraction, but the numerator is simpler. There's nothing more to be done than to try the same process again. The lowest-ordered term in the numerator is a factor of xx more than the lowest-ordered term in the denominator, so we want to build a fraction where there is also a term that is a factor of xx more than x2.x^2. With that in mind, we split our fraction into two, isolating the last term in the numerator:

x3+10x2x2+10x+2=x3x2+10x+10x2x2+10x+2.\frac{x^3 + 10x^2}{x^2 + 10x} + 2 = \frac{x^3}{x^2 + 10x} + \frac{10x^2}{x^2 + 10x} + 2.

Since x2×x=x3,x^2 \times x = x^3, we need to borrow an x3x^3 term from the first fraction to get a multiple of x2+10xx^2 + 10x in the numerator of the second fraction. But x3x^3 is the only term left in the numerator of the first fraction! So, there are no leftovers and we know that x3+10x2x^3 + 10x^2 has a factor of x2+10x.x^2 + 10x. We also know that the other factor is xx because the lowest-ordered terms in the numerator and denominator differ by a factor of xx (that is, 10x×x=10x210x \times x = 10x^2). Therefore,

x3+10x2x2+10x+2=x(x2+10x)x2+10x+2=x+2.\frac{x^3 + 10x^2}{x^2 + 10x} + 2 = \frac{x\cancel{(x^2 + 10x)}}{\cancel{x^2 + 10x}} + 2 = \boxed{x + 2}.

There is no longer a fraction, so we are done. We also got the same answer as before, which is good.

**Method 3: Polynomial Long Division **

We've saved the most involved method for second to last because it works for any polynomial long division problem. Since Methods 1 and 2 are faster when they do work, it's worth trying those first, but if they don't work, long division comes to the rescue. Another way to do long division is method 44 called synthetic division.

Polynomial long division works very similarly to long division for whole numbers. Each step in long division for whole numbers comes from one place value in the number being divided. Instead of place values, however, the polynomial division is broken into steps based on the terms of the polynomial, in decreasing order of their degree. As a result it is important that both the dividend and divisor are in standard form before attempting long division. It is also necessary to make sure that the dividend has zero terms added. In this case, there is no constant term, so we pretend there is constant term with coefficient 0:0:

x3+12x2+20x=x3+12x2+20x+0.x^3 + 12x^2 + 20x = x^3 + 12x^2 + 20x + \color{#8925AE}{0}.

Just like in long division of whole numbers, we write long division of polynomials by putting the dividend under the long division sign and the divisor to its left:

Now the first step is somewhat inspired by Method 2 in that we look at one pair of terms from the numerator and denominator at a time. Divide the first term in the numerator by the first term in the denominator, which gives x3x2=x.\frac{x^3}{x^2} = x. We indicate this by putting an xx above the long division sign:

Now we take the term we just added above the long division sign and multiply it by ALL terms to the left of the long division sign. x(x2+10x)=x3+10x2.x(x^2 + 10x) = x^3 + 10x^2. We put this result on a new line underneath the dividend:

Notice that we aligned the terms so that the terms of the same degree are in the same column. This makes it much easier to keep organized and I recommend you do the same. Now we subtract these two quantities (which is just combining like terms):

We dropped the 20x20x down from the first row below the long division sign to the bottom row. This is just a reminder of what terms haven't been subtracted away from the dividend yet. Since we haven't run out of these terms, we repeat the first step again. Now, however, our first term of the dividend is 2x2,2x^2, so dividing this by the first term in the divisor gives 2x2x2=2.\frac{2x^2}{x^2} = 2. We place a 22 above the long division sign:

Now we multiply the 22 across all terms in x2+10x,x^2 + 10x, placing the result at the bottom.

Finally, we subtract one last time:

We have run out of terms in the dividend and got a 00 at the bottom. That means the fraction divides evenly, and there is no remainder. We found that

x3+12x2+20xx2+10x=x+2.\frac{x^3 + 12x^2 + 20x}{x^2 + 10x} = x + 2.

Again, we got the same answer. We should feel really confident now.

If we run out of terms in the dividend and the result at the bottom is something other than 0,0, then that is the remainder. If we have a remainder, we add it to our final answer, divided by the original divisor. For instance, if the remainder were a 4,4, then we'd add 4x2+10x\frac{4}{x^2 + 10x} to our answer above. As a quick check, the remainder will always be a polynomial of lower degree than the divisor. So if we got a quadratic remainder, for instance, then we made a mistake.

In general, polynomial division problems can only be solved with Method 1 if Method 3 gives no remainder. Methods 2 and 3 will work regardless of whether there is a remainder or not. Method 3 is the most straightforward to execute but also takes the longest. Keep this in mind when deciding which method(s) to try.

If that breakdown wasn't enough or you want more examples, you can see more examples of long division and a summary of all the different techniques for dividing polynomials.

Interactive · 13 questions

Dividing Polynomials

When you're dividing a polynomial by another term (whether it's a monomial, a binomial, a trinomial, or another polynomial), the key things to remember are to:

  1. Find common factors between the numerator and denominator
  2. Cancel out common factors

(The end of this explanation includes a step-by-step on how to use long division to divide a polynomial. If you're just interested in that, skip on down!)

MonomialsBinomialsTrinomialsPolynomials(one term)(two terms)(three terms)(≥2 terms)3xx+6x2+3x−2x3−3x2x2x2+5x2x3−x+5−x4+6x2+x+6−2x−x3+7x4x3+x2+1x+x2+x3+x4+x2019\begin{array}{cccl} \color{#8925AE}{\text{Monomials}}&\color{#8925AE}{\text{Binomials}}&\color{#8925AE}{\text{Trinomials}}&\color{#8925AE}{\text{Polynomials}}\\ \color{#8925AE}{\text{(one term)}}&\color{#8925AE}{\text{(two terms)}}&\color{#8925AE}{\text{(three terms)}}&\color{#8925AE}{(\ge\text{2 terms})}\\ 3x & x+6 & x^2+3x-2 & x^3-3x^2\\ x & 2x^2+5x & 2x^3-x+5 & -x^4+6x^2+x+6\\ -2x & -x^3+7x & 4x^3+x^2+1 & x+x^2+x^3+x^4+x^{2019} \end{array}

As a refresher, here is a quick review on different kinds of polynomials:

Let's look at some examples, so we can see how to divide polynomials by monomials, binomials, and trinomials. Remember, our goals are to find and cancel out common factors.

(If you would like an extra resource, the WikiHow page linked in Stefan's explanation is a good place to start).

15x3−72x2−15x3x\frac{15x^3-72x^2-15x}{3x}

EXAMPLE 1: Dividing a Polynomial by a Monomial

It is always a good idea to see if you can factor out the denominator from the numerator.

For our example, we need to check to see if we can factor out 000‾\underline{\phantom{000}} from our numerator (15x3−72x2−15x15x^3-72x^2-15x)

Choose one answer

Video

(Video) Divide a Polynomial by a Monomial

by YourMathGal

The above video is from the YouTube channel YourMathGal, in which she describs how to divide polynomials in the case when the divisor is a monomial.

Summary\large{\text{Summary}}

In the case in which the divisor is a binomial it is necessary to use the methods of long division or synthetic division.

Before applying any of these methods for any type of divisor, it might be useful to factor the numerator (and/or the denominator) if possible.

Simplify 4x3−12x2+8x+2244.\frac{4x^3 - 12x^2 + 8x + 224}{4}.

Choose one answer

Illustrated · 1 min

Polynomial Division by Factoring

Welcome to the first lesson on polynomial division! In this lesson, we will explore how to divide polynomials using factoring, a method that simplifies expressions before division.

Polynomial Division by Factoring

x^3 + 3x^2 -6x - 18 divided by x^3 +7x^2 +12x
Rewrite as...
=fraction: (x^3 + 3x^2 -6x - 18)/(x^3 +7x^2 +12x)
Factor both sides

=fraction: ((x+3)(x^2 - 6))/(x(x+3)(x+4))
(x+3) in both the numerator and denominator are crossed out

Simplify

=fraction: (x^2 - 6)/(x(x+4))
=fraction: (x^2 - 6)/(x^2+4x)

Image source: by Trisha

Polynomial division by factoring works like simplifying fractions - you factor both the numerator and the denominator, then cancel out the common terms.

This method is a great way to break down complex expressions into simpler parts, especially when you're not ready to use long or synthetic division (which we'll cover in the next lessons!).

Let's look at a simple exam:

x2−9x+3\frac{x^2-9}{x+3}

First, factor the numerator. We know that x2−9x^2-9 is a difference of squares, so it factors into: (x−3)(x+3)(x-3)(x+3). Now our expression looks like:

(x−3)(x+3)x+3\frac{(x-3)(x+3)}{x+3}

We see that x+3x+3 appears in both the numerator and the denominator. So, we can cancel it out. We are left with:

x−3x-3

This is your simplified answer!

In this method, it's important to factor completely and only cancel out the common factors, not terms. Also, make sure to check for any restrictions. In the above example, the restriction is x≠−3x \neq -3 because it would make the original denominator zero.

Division by factoring is often quicker than other methods when factoring is easy or obvious. We often use polynomial division in real-world problems, too.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems