Skip to content

Dividing Polynomials

By the end of this section, you will be able to:

  • 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. We can easily find the volume using elementary geometry.

V=lwh=61.54030=73,800 \begin{array}{lrcl} & V &=& l\cdot w\cdot h \\[4pt] & &=& 61.5\cdot40\cdot30 \\[4pt] & &=& 73{,}800 \end{array}

So the volume is 73,800 cubic meters (m3\text{m}^3). Suppose we knew the volume, length, and width. We could divide to find the height.

h=Vlw=73,80061.540=30 \begin{array}{lrcl} & h &=& \tfrac{V}{l\cdot w} \\[4pt] & &=& \tfrac{73{,}800}{61.5\cdot40} \\[4pt] & &=& 30 \end{array}

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, and we can 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 3x43x333x2+54x3x^4-3x^3-33x^2+54x. The length of the solid is given by 3x3x; the width is given by x2x-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 178178 by 33 using long division.

3)1593)1783)1583)283)273)21 \begin{array}{r} \phantom{3\,\overline{\smash{)}\,}}\phantom{1}59 \\[-1pt] 3\,\overline{\smash{)}\,178} \\[-1pt] \phantom{3\,\overline{\smash{)}\,}}\underline{-15}\phantom{8} \\[-1pt] \phantom{3\,\overline{\smash{)}\,}}\phantom{-}28 \\[-1pt] \phantom{3\,\overline{\smash{)}\,}}\underline{-27} \\[-1pt] \phantom{3\,\overline{\smash{)}\,}}\phantom{-2}1 \end{array}

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.

dividend=(divisorquotient)+remainder178=(359)+1=177+1=178 \begin{array}{lrcl} & \text{dividend} &=& (\text{divisor}\cdot\text{quotient})+\text{remainder} \\[4pt] & 178 &=& (3\cdot59)+1 \\[4pt] & &=& 177+1 \\[4pt] & &=& 178 \end{array}

We call this the Division Algorithm, and we 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 2x33x2+4x+52x^3-3x^2+4x+5 by x+2x+2 using the long division algorithm, it would look like this:

2x27x+18+5)x+2)2x33x2+4x+5)(2x3+4x2)+4x+5)7x2+4x+5)(7x214x)+5)18x+5)(18x+36))31) \begin{array}{r} 2x^2-7x+18\phantom{{}+5}\phantom{)} \\[3pt] x+2\,\overline{\smash{)}\,2x^3-3x^2+4x+5}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}2x^3+4x^2\mathrlap{)}}\phantom{{}+4x+5}\phantom{)} \\[3pt] -7x^2+4x\phantom{{}+5}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-7x^2-14x}\mathrlap{)}}\phantom{{}+5}\phantom{)} \\[3pt] 18x+5\phantom{)} \\[3pt] \underline{\mathllap{-\,(}18x+36\mathrlap{)}}\phantom{)} \\[3pt] -31\phantom{)} \end{array}

We have found

2x33x2+4x+5x+2=2x27x+1831x+2\frac{2x^3-3x^2+4x+5}{x+2}=2x^2-7x+18-\frac{31}{x+2}

or

2x33x2+4x+5=(x+2)(2x27x+18)31.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:

  • the dividend is 2x33x2+4x+52x^3-3x^2+4x+5
  • the divisor is x+2x+2
  • the quotient is 2x27x+182x^2-7x+18
  • the remainder is 31-31

Writing the result in this manner illustrates the Division Algorithm.

The Division Algorithm. The Division Algorithm states that, given a polynomial dividend f(x)f(x) and a non-zero polynomial divisor d(x)d(x) where the degree of d(x)d(x) is less than or equal to the degree of f(x)f(x), there exist unique polynomials q(x)q(x) and r(x)r(x) such that

f(x)=d(x)q(x)+r(x)f(x)=d(x)q(x)+r(x)

where q(x)q(x) is the quotient and r(x)r(x) is the remainder. The remainder is either equal to zero or has degree strictly less than d(x)d(x). If r(x)=0r(x)=0, then d(x)d(x) divides evenly into f(x)f(x), and both d(x)d(x) and q(x)q(x) are factors of f(x)f(x).

How to: given a polynomial and a binomial, use long division to divide the polynomial by the binomial.

  1. Set up the division problem.
  2. Determine the first term of the quotient by dividing the leading term of the dividend by the leading term of the divisor.
  3. Multiply the answer by the divisor and write it below the like terms of the dividend.
  4. Subtract the bottom binomial from the top binomial.
  5. Bring down the next term of the dividend.
  6. Repeat steps 2–5 until reaching the last term of the dividend.
  7. If the remainder is non-zero, express it as a fraction using the divisor as the denominator.

Example. Divide 5x2+3x25x^2+3x-2 by x+1x+1.

Solution.

5x22)x+1)5x2+3x2)(5x2+5x)22x2)(2x2)0) \begin{array}{r} 5x-2\phantom{{}-2}\phantom{)} \\[2pt] x+1\,\overline{\smash{)}\,5x^2+3x-2}\phantom{)} \\[2pt] \underline{-\left(5x^2+5x\right)}\phantom{{}-2} \\[2pt] -2x-2\phantom{)} \\[2pt] \underline{-\left(-2x-2\right)} \\[2pt] 0\phantom{)} \end{array}

The quotient is 5x25x-2. The remainder is 00. We write the result as

5x2+3x2x+1=5x2\frac{5x^2+3x-2}{x+1}=5x-2

or

5x2+3x2=(x+1)(5x2).5x^2+3x-2=(x+1)(5x-2).

Analysis. This division problem had a remainder of 00. This tells us that the dividend is divided evenly by the divisor, and that the divisor is a factor of the dividend.

Example. Divide 6x3+11x231x+156x^3+11x^2-31x+15 by 3x23x-2.

Solution.

2x2+5x7+15)3x2)6x3+11x231x+15)(6x34x2)31x+15)15x231x+15)(15x210x)+15)21x+15)(21x+14))1) \begin{array}{r} 2x^2+5x-7\phantom{{}+15}\phantom{)} \\[3pt] 3x-2\,\overline{\smash{)}\,6x^3+11x^2-31x+15}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}6x^3-4x^2\mathrlap{)}}\phantom{{}-31x+15}\phantom{)} \\[3pt] 15x^2-31x\phantom{{}+15}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}15x^2-10x\mathrlap{)}}\phantom{{}+15}\phantom{)} \\[3pt] -21x+15\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-21x+14}\mathrlap{)}}\phantom{)} \\[3pt] 1\phantom{)} \end{array}

There is a remainder of 11. We can express the result as

6x3+11x231x+153x2=2x2+5x7+13x2.\frac{6x^3+11x^2-31x+15}{3x-2}=2x^2+5x-7+\frac{1}{3x-2}.

Analysis. We can check our work by using the Division Algorithm to rewrite the solution, then multiplying.

(3x2)(2x2+5x7)+1=6x3+11x231x+15(3x-2)(2x^2+5x-7)+1=6x^3+11x^2-31x+15

Notice, as we write our result,

  • the dividend is 6x3+11x231x+156x^3+11x^2-31x+15
  • the divisor is 3x23x-2
  • the quotient is 2x2+5x72x^2+5x-7
  • the remainder is 11

Divide16x312x2+20x316x^3-12x^2+20x-3by4x+54x+5.

Using synthetic division to divide polynomials

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 11.

To illustrate the process, recall the example at the beginning of this subsection: dividing 2x33x2+4x+52x^3-3x^2+4x+5 by x+2x+2 using the long division algorithm. The final form of the process looked like this:

2x27x+18+5)x+2)2x33x2+4x+5)(2x3+4x2)+4x+5)7x2+4x+5)(7x214x)+5)18x+5)(18x+36))31) \begin{array}{r} 2x^2-7x+18\phantom{{}+5}\phantom{)} \\[3pt] x+2\,\overline{\smash{)}\,2x^3-3x^2+4x+5}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}2x^3+4x^2\mathrlap{)}}\phantom{{}+4x+5}\phantom{)} \\[3pt] -7x^2+4x\phantom{{}+5}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-7x^2-14x}\mathrlap{)}}\phantom{{}+5}\phantom{)} \\[3pt] 18x+5\phantom{)} \\[3pt] \underline{\mathllap{-\,(}18x+36\mathrlap{)}}\phantom{)} \\[3pt] -31\phantom{)} \end{array}

There is a lot of repetition in that tableau. 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.

2)23 4 52)24 4 52)23 714 52)23 4 18362)23 4 531 \begin{array}{r} 2\,\overline{\smash{)}\,2\quad{-3}\quad\ \,4\quad\ \,5\,} \\[3pt] \phantom{2\,\overline{\smash{)}\,}}\underline{{-2}\quad{-4}}\phantom{\quad\ \,4\quad\ \,5\,} \\[3pt] \phantom{2\,\overline{\smash{)}\,2\quad{-3}\quad\ \,}}\underline{{-7}\quad14}\phantom{\quad\ \,5\,} \\[3pt] \phantom{2\,\overline{\smash{)}\,2\quad{-3}\quad\ \,4\quad\ \,}}\underline{18\quad{-36}} \\[3pt] \phantom{2\,\overline{\smash{)}\,2\quad{-3}\quad\ \,4\quad\ \,5\,}}{-31} \end{array}

Synthetic division carries this simplification a few steps further: collapse the table by moving each of the rows up to fill any vacant spot. Also, instead of dividing by 22 — as we would in division of whole numbers — then multiplying and subtracting the middle product, we change the sign of the “divisor” to 2-2 and multiply and add. The process starts by bringing down the leading coefficient, then multiplying it by the “divisor” and adding, repeating this process column by column until there are no entries left. The bottom row holds the coefficients of the quotient, and its last entry is the remainder:

2234541436271831 \begin{array}{r|rrrr} -2 & 2 & -3 & 4 & 5 \\ & & -4 & 14 & -36 \\ \hline & 2 & -7 & 18 & -31 \end{array}

The quotient is 2x27x+182x^2-7x+18 and the remainder is 31-31 — the same result the long-division tableau gave above.

Synthetic division. Synthetic division is a shortcut that can be used when the divisor is a binomial in the form xkx-k. In synthetic division, only the coefficients are used in the division process.

How to: given two polynomials, use synthetic division to divide.

  1. Write kk for the divisor.
  2. Write the coefficients of the dividend.
  3. Bring the lead coefficient down.
  4. Multiply the lead coefficient by kk. Write the product in the next column.
  5. Add the terms of the second column.
  6. Multiply the result by kk. Write the product in the next column.
  7. Repeat steps 5 and 6 for the remaining columns.
  8. Use the bottom numbers to write the quotient. The number in the last column is the remainder. The next number from the right has degree 00, the next number has degree 11, and so on.

Example. Use synthetic division to divide 5x23x365x^2-3x-36 by x3x-3.

Solution. Begin by setting up the synthetic division. Write k=3k=3 and the coefficients.

35336 \begin{array}{r|rrr} 3 & 5 & -3 & -36 \end{array}

Bring down the lead coefficient. Multiply the lead coefficient by kk.

35336155 \begin{array}{r|rrr} 3 & 5 & -3 & -36 \\ & & 15 & \\ \hline & 5 & & \end{array}

Continue by adding the numbers in the second column. Multiply the resulting number by kk. Write the result in the next column. Then add the numbers in the third column.

3533615365120 \begin{array}{r|rrr} 3 & 5 & -3 & -36 \\ & & 15 & 36 \\ \hline & 5 & 12 & 0 \end{array}

The result is 5x+125x+12. The remainder is 00. So x3x-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.

(x3)(5x+12)+0=5x23x36(x-3)(5x+12)+0=5x^2-3x-36

Example. Use synthetic division to divide 4x3+10x26x204x^3+10x^2-6x-20 by x+2x+2.

Solution. The binomial divisor is x+2x+2, so k=2k=-2. Add each column, multiply the result by 2-2, and repeat until the last column is reached.

2410620842042100 \begin{array}{r|rrrr} -2 & 4 & 10 & -6 & -20 \\ & & -8 & -4 & 20 \\ \hline & 4 & 2 & -10 & 0 \end{array}

The result is 4x2+2x104x^2+2x-10. The remainder is 00. Thus, x+2x+2 is a factor of 4x3+10x26x204x^3+10x^2-6x-20.

Analysis. The graph of the polynomial function f(x)=4x3+10x26x20f(x)=4x^3+10x^2-6x-20 below shows a zero at x=k=2x=k=-2. This confirms that x+2x+2 is a factor of 4x3+10x26x204x^3+10x^2-6x-20.

Example. Use synthetic division to divide 9x4+10x3+7x26-9x^4+10x^3+7x^2-6 by x1x-1.

Solution. Notice there is no xx-term, so we will use a zero as the coefficient for that term.

1910706918891882 \begin{array}{r|rrrrr} 1 & -9 & 10 & 7 & 0 & -6 \\ & & -9 & 1 & 8 & 8 \\ \hline & -9 & 1 & 8 & 8 & 2 \end{array}

The result is 9x3+x2+8x+8+2x1-9x^3+x^2+8x+8+\tfrac{2}{x-1}.

Use synthetic division to divide3x4+18x33x+403x^4+18x^3-3x+40byx+7x+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.

Example. The volume of a rectangular solid is given by the polynomial 3x43x333x2+54x3x^4-3x^3-33x^2+54x. The length of the solid is given by 3x3x and the width is given by x2x-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.

We can now write an equation by substituting the known values into the formula for the volume of a rectangular solid.

V=lwh3x43x333x2+54x=3x(x2)h \begin{array}{lrcl} & V &=& l\cdot w\cdot h \\[4pt] & 3x^4-3x^3-33x^2+54x &=& 3x\cdot(x-2)\cdot h \end{array}

To solve for hh, first divide both sides by 3x3x.

3x(x2)h3x=3x43x333x2+54x3x(x2)h=x3x211x+18 \begin{array}{lrcl} & \tfrac{3x\cdot(x-2)\cdot h}{3x} &=& \tfrac{3x^4-3x^3-33x^2+54x}{3x} \\[6pt] & (x-2)h &=& x^3-x^2-11x+18 \end{array}

Now solve for hh using synthetic division.

h=x3x211x+18x2h=\frac{x^3-x^2-11x+18}{x-2}211111822181190 \begin{array}{r|rrrr} 2 & 1 & -1 & -11 & 18 \\ & & 2 & 2 & -18 \\ \hline & 1 & 1 & -9 & 0 \end{array}

The quotient is x2+x9x^2+x-9 and the remainder is 00. The height of the solid is x2+x9x^2+x-9.

The area of a rectangle is given by3x3+14x223x+63x^3+14x^2-23x+6. The width of the rectangle is given byx+6x+6. Find an expression for the length of the rectangle.

Key equations

Division Algorithmf(x)=d(x)q(x)+r(x)f(x)=d(x)q(x)+r(x), where q(x)0q(x)\neq0

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 xkx-k.
  • Polynomial division can be used to solve application problems, including area and volume.

Key terms

Division Algorithm — given a polynomial dividend f(x)f(x) and a non-zero polynomial divisor d(x)d(x) where the degree of d(x)d(x) is less than or equal to the degree of f(x)f(x), there exist unique polynomials q(x)q(x) and r(x)r(x) such that f(x)=d(x)q(x)+r(x)f(x)=d(x)q(x)+r(x); q(x)q(x) is the quotient and r(x)r(x) is the remainder, and the remainder is either equal to zero or has degree strictly less than d(x)d(x). synthetic division — a shortcut method that can be used to divide a polynomial by a binomial of the form xkx-k.

Practice

Use long division to divide polynomials

Use long division to divide3x2+23x+143x^2+23x+14byx+7x+7. What is the quotient?

Now give the remainder from dividing3x2+23x+143x^2+23x+14byx+7x+7.

Use long division to divide2x23x+22x^2-3x+2byx+2x+2. What is the quotient?

Now give the remainder from dividing2x23x+22x^2-3x+2byx+2x+2.

Use synthetic division to divide polynomials

Use synthetic division to find the quotient when2x36x27x+62x^3-6x^2-7x+6is divided byx4x-4.

Use synthetic division to find the quotient whenx321x2+147x343x^3-21x^2+147x-343is divided byx7x-7.

Isx2x-2a factor of3x46x35x+103x^4-6x^3-5x+10?


This section is adapted from Precalculus 2e, Section 3.5: Dividing Polynomials by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: omitted the decorative Lincoln Memorial photograph, which carries no mathematics; recreated every long-division and synthetic-division tableau as an accessible KaTeX array with \phantom spacing rather than as an image, staging each one exactly as the source’s image sequence does — the full long-division tableau, then the same work with the variables dropped, then the collapsed, sign-flipped synthetic-division grid bridging the two methods; and Example 3’s three partial grids (set up, bring down the lead coefficient, then complete the remaining columns), each paired with the source’s own narration; recreated the zero-confirming graph in Example 4’s Analysis as an accessible SVG plotted directly from f(x)=4x3+10x26x20f(x)=4x^3+10x^2-6x-20, and omitted its inset close-up detail as decorative; recreated the labelled rectangular-solid sketch in the application example as an accessible SVG figure, an oblique box with its length, width, and height edges labelled to match the source; omitted the media links; converted the “Try It” problems into interactive fill-in exercises with instant feedback, each carrying an expanded answer form because “Divide AA by BB” is otherwise satisfied by retyping the printed quotient AB\tfrac{A}{B}; and adapted five selected end-of-section exercises — two “specify the quotient and the remainder” long-division items, each split into paired quotient/remainder prompts, two “find the quotient” synthetic-division items, and a synthetic-division factor check — into seven interactive components in a closing Practice block, one group per objective.