5.4: Dividing Polynomials
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
Skills to Develop
 Use long division to divide polynomials.
 Use synthetic division to divide polynomials.
The exterior of the Lincoln Memorial in Washington, D.C., is a large rectangular solid with length 61.5 meters (m), width 40 m, and height 30 m.1 We can easily find the volume using elementary geometry.
\[\begin{align*} V&=l \; {\cdot} \; w \; {\cdot} \; h \\ &=61.5 \; {\cdot} \; 40 \; {\cdot} \; 30 \\ &=73,800 \end{align*}\]
So the volume is 73,800 cubic meters (\(m^3\)).
Figure \(\PageIndex{1}\): Lincoln Memorial, Washington, D.C. (credit: Ron Cogswell, Flickr)
Suppose we knew the volume, length, and width. We could divide to find the height.
\[\begin{align*} h&=\dfrac{V}{l{\cdot}w} \\&=\dfrac{73,800}{61.5{\cdot}40} \\ &=30 \end{align*}\]
As we can confirm from the dimensions above, the height is 30 m. We can use similar methods to find any of the missing dimensions. We can also use the same method if any or all of the measurements contain variable expressions. For example, suppose the volume of a rectangular solid is given by the polynomial \(3x^4−3x^3−33x^2+54x\). The length of the solid is given by \(3x\); the width is given by \(x−2\).
To find the height of the solid, we can use polynomial division, which is the focus of this section.
Using Long Division to Divide Polynomials
We are familiar with the long division algorithm for ordinary arithmetic. We begin by dividing into the digits of the dividend that have the greatest place value. We divide, multiply, subtract, include the digit in the next place value position, and repeat. For example, let’s divide 178 by 3 using long division.
Another way to look at the solution is as a sum of parts. This should look familiar, since it is the same method used to check division in elementary arithmetic.
\[\begin{align*} \text{dividend}&=(\text{divisor}{\cdot}\text{quotient})+\text{remainder} \\ 178&=(3{\cdot}59)+1 \\ &=177+1 \\ &=178\end{align*}\]
We call this the Division Algorithm and will discuss it more formally after looking at an example.
Division of polynomials that contain more than one term has similarities to long division of whole numbers. We can write a polynomial dividend as the product of the divisor and the quotient added to the remainder. The terms of the polynomial division correspond to the digits (and place values) of the whole number division. This method allows us to divide two polynomials. For example, if we were to divide \(2x^3−3x^2+4x+5\) by \(x+2\) using the long division algorithm, it would look like this:
We have found
\[\dfrac{2x^3−3x^2+4x+5}{x+2}=2x^2−7x+18−\dfrac{31}{x+2}\]
or
\[2x^3−3x^2+4x+5=(x+2)(2x^2−7x+18)−31\]
We can identify the dividend, the divisor, the quotient, and the remainder.
Writing the result in this manner illustrates the Division Algorithm.
The Division Algorithm
The Division Algorithm states that, given a polynomial dividend \(f(x)\) and a nonzero polynomial divisor \(d(x)\) where the degree of \(d(x)\) is less than or equal to the degree of \(f(x)\), there exist unique polynomials \(q(x)\) and \(r(x)\) such that
\[f(x)=d(x)q(x)+r(x)\]
\(q(x)\) is the quotient and \(r(x)\) is the remainder. The remainder is either equal to zero or has degree strictly less than \(d(x)\).
If \(r(x)=0\), then \(d(x)\) divides evenly into \(f(x)\). This means that, in this case, both \(d(x)\) and \(q(x)\) are factors of \(f(x)\).
How to: Given a polynomial and a binomial, use long division to divide the polynomial by the binomial
 Set up the division problem.
 Determine the first term of the quotient by dividing the leading term of the dividend by the leading term of the divisor.
 Multiply the answer by the divisor and write it below the like terms of the dividend.
 Subtract the bottom binomial from the top binomial.
 Bring down the next term of the dividend.
 Repeat steps 2–5 until reaching the last term of the dividend.
 If the remainder is nonzero, express as a fraction using the divisor as the denominator.
Example \(\PageIndex{1}\): Using Long Division to Divide a SecondDegree Polynomial
Divide \(5x^2+3x−2\) by \(x+1\).
Solution
The quotient is \(5x−2\). The remainder is 0. We write the result as
\[\dfrac{5x^2+3x−2}{x+1}=5x−2\]
or
\[5x^2+3x−2=(x+1)(5x−2)\]
Analysis
This division problem had a remainder of 0. This tells us that the dividend is divided evenly by the divisor, and that the divisor is a factor of the dividend.
Example \(\PageIndex{2}\): Using Long Division to Divide a ThirdDegree Polynomial
Divide \(6x^3+11x^2−31x+15\) by \(3x−2\).
Solution
There is a remainder of 1. We can express the result as:
\[\dfrac{6x^3+11x^2−31x+15}{3x−2}=2x^2+5x−7+\dfrac{1}{3x−2}\]
Analysis
We can check our work by using the Division Algorithm to rewrite the solution. Then multiply.
\[(3x−2)(2x^2+5x−7)+1=6x^3+11x^2−31x+15\]
Notice, as we write our result,
 the dividend is \(6x^3+11x^2−31x+15\)
 the divisor is \(3x−2\)
 the quotient is \(2x^2+5x−7\)
 the remainder is \(1\)
Exercise \(\PageIndex{2}\)
Divide \(16x^3−12x^2+20x−3\) by \(4x+5\).
 Solution

\(4x^2−8x+15−\dfrac{78}{4x+5}\)
Using Synthetic Division to Divide Polynomials
As we’ve seen, long division of polynomials can involve many steps and be quite cumbersome. Synthetic division is a shorthand method of dividing polynomials for the special case of dividing by a linear factor whose leading coefficient is 1.
To illustrate the process, recall the example at the beginning of the section.
Divide \(2x^3−3x^2+4x+5\) by \(x+2\) using the long division algorithm.
The final form of the process looked like this:
There is a lot of repetition in the table. If we don’t write the variables but, instead, line up their coefficients in columns under the division sign and also eliminate the partial products, we already have a simpler version of the entire problem.
Synthetic division carries this simplification even a few more steps. Collapse the table by moving each of the rows up to fill any vacant spots. Also, instead of dividing by 2, as we would in division of whole numbers, then multiplying and subtracting the middle product, we change the sign of the “divisor” to –2, multiply and add. The process starts by bringing down the leading coefficient.
We then multiply it by the “divisor” and add, repeating this process column by column, until there are no entries left. The bottom row represents the coefficients of the quotient; the last entry of the bottom row is the remainder. In this case, the quotient is \(2x^2–7x+18\) and the remainder is –31.The process will be made more clear in Example \(\PageIndex{3}\).
Synthetic Division
Synthetic division is a shortcut that can be used when the divisor is a binomial in the form \(x−k\). In synthetic division, only the coefficients are used in the division process.
How to: Given two polynomials, use synthetic division to divide
 Write \(k\) for the divisor.
 Write the coefficients of the dividend.
 Bring the lead coefficient down.
 Multiply the lead coefficient by \(k\). Write the product in the next column.
 Add the terms of the second column.
 Multiply the result by \(k\). Write the product in the next column.
 Repeat steps 5 and 6 for the remaining columns.
 Use the bottom numbers to write the quotient. The number in the last column is the remainder and has degree 0, the next number from the right has degree 1, the next number from the right has degree 2, and so on.
Example \(\PageIndex{3}\): Using Synthetic Division to Divide a SecondDegree Polynomial
Use synthetic division to divide \(5x^2−3x−36\) by \(x−3\).
Solution
Begin by setting up the synthetic division. Write \(k\) and the coefficients.
Bring down the lead coefficient. Multiply the lead coefficient by \(k\).
Continue by adding the numbers in the second column. Multiply the resulting number by \(k\).Write the result in the next column. Then add the numbers in the third column.
The result is \(5x+12\). The remainder is 0. So \(x−3\) is a factor of the original polynomial.
Analysis
Just as with long division, we can check our work by multiplying the quotient by the divisor and adding the remainder.
\[(x−3)(5x+12)+0=5x^2−3x−36\]
Example \(\PageIndex{4}\): Using Synthetic Division to Divide a ThirdDegree Polynomial
Use synthetic division to divide \(4x^3+10x^2−6x−20\) by \(x+2\).
Solution
The binomial divisor is \(x+2\) so \(k=−2\). Add each column, multiply the result by –2, and repeat until the last column is reached.
The result is \(4x^2+2x−10\).
The remainder is 0. Thus, \(x+2\) is a factor of \(4x^3+10x^2−6x−20\).
Analysis
The graph of the polynomial function \(f(x)=4x^3+10x^2−6x−20\) in Figure \(\PageIndex{2}\) shows a zero at \(x=k=−2\). This confirms that \(x+2\) is a factor of \(4x^3+10x^2−6x−20\).
Figure \(\PageIndex{2}\)
Example \(\PageIndex{5}\): Using Synthetic Division to Divide a FourthDegree Polynomial
Use synthetic division to divide \(−9x^4+10x^3+7x^2−6\) by \(x−1\).
Solution
Notice there is no xterm. We will use a zero as the coefficient for that term.
The result is \(−9x^3+x^2+8x+8+\frac{2}{x−1}\).
Exercise \(\PageIndex{5}\)
Use synthetic division to divide \(3x^4+18x^3−3x+40\) by \(x+7\).
 Solution

\(3x^3−3x^2+21x−150+\frac{1,090}{x+7}\)
Using Polynomial Division to Solve Application Problems
Polynomial division can be used to solve a variety of application problems involving expressions for area and volume. We looked at an application at the beginning of this section. Now we will solve that problem in the following example.
Example \(\PageIndex{6}\): Using Polynomial Division in an Application Problem
The volume of a rectangular solid is given by the polynomial \(3x^4−3x^3−33x^2+54x\). The length of the solid is given by \(3x\) and the width is given by \(x−2\). Find the height of the solid.
Solution
There are a few ways to approach this problem. We need to divide the expression for the volume of the solid by the expressions for the length and width. Let us create a sketch as in Figure \(\PageIndex{3}\).
Figure \(\PageIndex{3}\)
We can now write an equation by substituting the known values into the formula for the volume of a rectangular solid.
\[\begin{align*} V&=l{\cdot}w{\cdot}h \\ 3x^4−3x^3−33x^2+54x&=3x{\cdot}(x−2){\cdot}h \end{align*}\]
To solve for \(h\), first divide both sides by \(3x\).
\[\dfrac{3x{\cdot}(x−2){\cdot}h}{3x}=\dfrac{3x^4−3x^3−33x^2+54x}{3x}\]
\[(x2)h=\dfrac{x^3x^211x+18}{x2}\]
Now solve for \(h\) using synthetic division.
\[h=\dfrac{x^3−x^2−11x+18}{x−2}\]
The quotient is \(x^2+x−9\) and the remainder is 0. The height of the solid is \(x^2+x−9\).
Exercise \(\PageIndex{6}\)
The area of a rectangle is given by \(3x^3+14x^2−23x+6\). The width of the rectangle is given by \(x+6\). Find an expression for the length of the rectangle.
 Solution

\(3x^2−4x+1\)
Key Equations
Division Algorithm \(f(x)=d(x)q(x)+r(x)\) where \(q(x){\neq}0\)
Key Concepts
 Polynomial long division can be used to divide a polynomial by any polynomial with equal or lower degree.
 The Division Algorithm tells us that a polynomial dividend can be written as the product of the divisor and the quotient added to the remainder.
 Synthetic division is a shortcut that can be used to divide a polynomial by a binomial in the form x−k.
 Polynomial division can be used to solve application problems, including area and volume.
Section Exercises
Verbal
If division of a polynomial by a binomial results in a remainder of zero, what can be conclude?
The binomial is a factor of the polynomial.
If a polynomial of degree \(n\)
is divided by a binomial of degree 1, what is the degree of the quotient?
Algebraic
For the following exercises, use long division to divide. Specify the quotient and the remainder.
\((x^2+5x−1)÷(x−1)\)
\(\mathrm{x+6+\frac{5}{x−1}, quotient: x+6, remainder: 5}\)
\((2x^2−9x−5)÷(x−5)\)
\((3x^2+23x+14)÷(x+7)\)
\(\mathrm{3x+2, quotient: 3x+2, remainder: 0}\)
\((4x^2−10x+6)÷(4x+2)\)
\((6x^2−25x−25)÷(6x+5)\)
\(\mathrm{x−5, quotient: x−5, remainder: 0}\)
\((−x^2−1)÷(x+1)\)
\((2x^2−3x+2)÷(x+2)\)
\(\mathrm{2x−7+\frac{16}{x+2}, quotient: 2x−7, remainder: 16}\)
\((x^3−126)÷(x−5)\)
\((3x^2−5x+4)÷(3x+1)\)
\(\mathrm{x−2+\frac{6}{3x+1}, quotient: x−2, remainder: 6}\)
\((x^3−3x^2+5x−6)÷(x−2)\)
\((2x^3+3x^2−4x+15)÷(x+3)\)
\(\mathrm{2x^2−3x+5, quotient: 2x^2−3x+5, remainder: 0}\)
For the following exercises, use synthetic division to find the quotient.
\((3x^3−2x^2+x−4)÷(x+3)\)
\((2x^3−6x^2−7x+6)÷(x−4)\)
\(2x^2+2x+1+\frac{10}{x−4}\)
\((6x^3−10x^2−7x−15)÷(x+1)\)
\((4x^3−12x^2−5x−1)÷(2x+1)\)
\(2x^2−7x+1−\frac{2}{2x+1}\)
\((9x^3−9x^2+18x+5)÷(3x−1)\)
\((3x^3−2x^2+x−4)÷(x+3)\)
\(3x^2−11x+34−\frac{106}{x+3}\)
\((−6x^3+x^2−4)÷(2x−3)\)
\((2x^3+7x^2−13x−3)÷(2x−3)\)
\(x^2+5x+1\)
\((3x^3−5x^2+2x+3)÷(x+2)\)
\((4x^3−5x^2+13)÷(x+4)\)
\(4x^2−21x+84−\frac{323}{x+4}\)
\((x^3−3x+2)÷(x+2)\)
\((x^3−21x^2+147x−343)÷(x−7)\)
\(x^2−14x+49\)
\((x^3−15x^2+75x−125)÷(x−5)\)
\((9x^3−x+2)÷(3x−1)\)
\(3x^2+x+\frac{2}{3x−1}\)
\((6x^3−x^2+5x+2)÷(3x+1)\)
\((x^4+x^3−3x^2−2x+1)÷(x+1)\)
\(x^3−3x+1\)
\((x^4−3x^2+1)÷(x−1)\)
\((x^4+2x^3−3x^2+2x+6)÷(x+3)\)
\(x^3−x^2+2\)
\((x^4−10x^3+37x^2−60x+36)÷(x−2)\)
\((x^4−8x^3+24x^2−32x+16)÷(x−2)\)
\(x^3−6x^2+12x−8\)
\((x^4+5x^3−3x^2−13x+10)÷(x+5)\)
\((x^4−12x^3+54x^2−108x+81)÷(x−3)\)
\(x^3−9x^2+27x−27\)
\((4x^4−2x^3−4x+2)÷(2x−1)\)
\((4x^4+2x^3−4x^2+2x+2)÷(2x+1)\)
\(2x^3−2x+2\)
For the following exercises, use synthetic division to determine whether the first expression is a factor of the second. If it is, indicate the factorization.
\(x−2, 4x^3−3x^2−8x+4\)
\(x−2, 3x^4−6x^3−5x+10\)
Yes \((x−2)(3x^3−5)\)
\(x+3, −4x^3+5x^2+8\)
\(x−2, 4x^4−15x^2−4\)
Yes \((x−2)(4x^3+8x^2+x+2)\)
\(x−\frac{1}{2}, 2x^4−x^3+2x−1\)
\(x+\frac{1}{3}, 3x^4+x^3−3x+1\)
No
Graphical
For the following exercises, use the graph of the thirddegree polynomial and one factor to write the factored form of the polynomial suggested by the graph. The leading coefficient is one.
Factor is \(x^2−x+3\)
Factor is \((x^2+2x+4)\)
\((x−1)(x^2+2x+4)\)
Factor is \(x^2+2x+5\)
Factor is \(x^2+x+1\)
\((x−5)(x^2+x+1)\)
Factor is \(x^2+2x+2\)
For the following exercises, use synthetic division to find the quotient and remainder.
\(\frac{4x^3−33}{x−2}\)
\(\mathrm{Quotient: 4x^2+8x+16, remainder: −1}\)
\(\frac{2x^3+25}{x+3}\)
\(\frac{3x^3+2x−5}{x−1}\)
\(\mathrm{Quotient: 3x^2+3x+5, remainder: 0}\)
\(\frac{−4x^3−x^2−12}{x+4}\)
\(\frac{x^4−22}{x+2}\)
\(\mathrm{Quotient: x^3−2x^2+4x−8, remainder: −6}\)
Technology
For the following exercises, use a calculator with CAS to answer the questions.
Consider \(\frac{x^k−1}{x−1}\) with \(k=1, 2, 3.\) What do you expect the result to be if \(k=4?\)
Consider \(\frac{x^k+1}{x+1}\) for \(k=1, 3, 5.\) What do you expect the result to be if \(k=7?\)
\(x^6−x^5+x^4−x^3+x^2−x+1\)
Consider \(\frac{x^4−k^4}{x−k}\) for \(k=1, 2, 3.\) What do you expect the result to be if \(k=4?\)
Consider \(\frac{x^k}{x+1}\) with \(k=1, 2, 3.\) What do you expect the result to be if \(k=4?\)
\(x^3−x^2+x−1+\frac{1}{x+1}\)
Consider \(\frac{x^k}{x−1}\) with \(k=1, 2, 3.\) What do you expect the result to be if \(k=4?\)
Extensions
For the following exercises, use synthetic division to determine the quotient involving a complex number.
\(\frac{x+1}{x−i}\)
\(1+\frac{1+i}{x−i}\)
\(\frac{x^2+1}{x−i}\)
\(\frac{x+1}{x+i}\)
\(1+\frac{1−i}{x+i}\)
\(\frac{x^2+1}{x+i}\)
\(\frac{x^3+1}{x−i}\)
\(x^2−ix−1+\frac{1−i}{x−i}\)
RealWorld Applications
For the following exercises, use the given length and area of a rectangle to express the width algebraically.
Length is \(x+5\), area is \(2x^2+9x−5\).
Length is \(2x + 5\), area is \(4x^3+10x^2+6x+15\)
\(2x^2+3\)
Length is \(3x–4\), area is \(6x^4−8x^3+9x^2−9x−4\)
For the following exercises, use the given volume of a box and its length and width to express the height of the box algebraically.
Volume is \(12x^3+20x^2−21x−36\), length is \(2x+3\), width is \(3x−4\).
\(2x+3\)
Volume is \(18x^3−21x^2−40x+48\), length is \(3x–4\), width is \(3x–4\).
Volume is \(10x^3+27x^2+2x−24\), length is \(5x–4\), width is \(2x+3\).
x+2
Volume is \(10x^3+30x^2−8x−24\),
length is \(2\), width is \(x+3\).
For the following exercises, use the given volume and radius of a cylinder to express the height of the cylinder algebraically.
Volume is \(π(25x^3−65x^2−29x−3)\), radius is \(5x+1\).
\(x−3\)
Volume is \(π(4x^3+12x^2−15x−50)\), radius is \(2x+5\).
Volume is \(π(3x^4+24x^3+46x^2−16x−32 \), radius is \(x+4\).
\(3x^2−2\)
Footnotes
1 National Park Service. "Lincoln Memorial Building Statistics." http://www.nps.gov/linc/historycultu...statistics.htm. Accessed 4/3/2014
Glossary
Division Algorithm
given a polynomial dividend \(f(x)\) and a nonzero polynomial divisor \(d(x)\) where the degree of \(d(x)\) is less than or equal to the degree of \(f(x)\), there exist unique polynomials \(q(x)\) and \(r(x)\) such that \(f(x)=d(x)q(x)+r(x)\) where \(q(x)\) is the quotient and \(r(x)\) is the remainder. The remainder is either equal to zero or has degree strictly less than \(d(x)\).
synthetic division
a shortcut method that can be used to divide a polynomial by a binomial of the form \(x−k\)
Contributors
Jay Abramson (Arizona State University) with contributing authors. Textbook content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at https://openstax.org/details/books/precalculus.