Skip to content

Dividing Polynomials

By the end of this section, you will be able to: divide monomials, divide a polynomial by a monomial, divide polynomials using long division, divide polynomials using synthetic division, divide polynomial functions, and use the Remainder and Factor Theorems.

Dividing monomials

We are now familiar with all the properties of exponents and have used them to multiply polynomials. Next, we’ll use these properties to divide monomials and polynomials.

Example. Find the quotient: 54a2b3÷(6ab5)54a^2b^3 \div \left(-6ab^5\right).

When we divide monomials with more than one variable, we write one fraction for each variable:

Rewrite as a fraction.54a2b3÷(6ab5)=54a2b36ab5Use fraction multiplication.=546a2ab3b5Simplify and use the Quotient Property.=9a1b2Multiply.=9ab2 \begin{array}{lrcl} \text{Rewrite as a fraction.} & 54a^2b^3 \div \left(-6ab^5\right) &=& \tfrac{54a^2b^3}{-6ab^5} \\[10pt] \text{Use fraction multiplication.} & &=& \tfrac{54}{-6}\cdot\tfrac{a^2}{a}\cdot\tfrac{b^3}{b^5} \\[10pt] \text{Simplify and use the Quotient Property.} & &=& -9\cdot a\cdot\tfrac{1}{b^2} \\[10pt] \text{Multiply.} & &=& -\tfrac{9a}{b^2} \end{array}

Find the quotient: 72a7b3÷(8a12b4)-72a^7b^3 \div \left(8a^{12}b^4\right).

Find the quotient: 63c8d3÷(7c12d2)-63c^8d^3 \div \left(7c^{12}d^2\right).

Once you become familiar with the process and have practiced it step by step several times, you may be able to simplify a fraction in one step.

Example. Find the quotient: 14x7y1221x11y6\tfrac{14x^7y^{12}}{21x^{11}y^6}.

Be very careful to simplify 1421\tfrac{14}{21} by dividing out a common factor, and to simplify the variables by subtracting their exponents:

14x7y1221x11y6=2y63x4. \frac{14x^7y^{12}}{21x^{11}y^6} = \frac{2y^6}{3x^4}.

Find the quotient: 28x5y1449x9y12\tfrac{28x^5y^{14}}{49x^9y^{12}}.

Find the quotient: 30m5n1148m10n14\tfrac{30m^5n^{11}}{48m^{10}n^{14}}.

Divide a polynomial by a monomial

Now that we know how to divide a monomial by a monomial, the next procedure is to divide a polynomial of two or more terms by a monomial.

The method is based on the properties of fraction addition. The sum y5+25\tfrac{y}{5}+\tfrac{2}{5} simplifies to y+25\tfrac{y+2}{5}. In reverse, y+25\tfrac{y+2}{5} can be split into y5+25\tfrac{y}{5}+\tfrac{2}{5}. More generally, if aa, bb, and cc are numbers where c0c\neq0, then

a+bc=ac+bc. \frac{a+b}{c}=\frac{a}{c}+\frac{b}{c}.
Division of a polynomial by a monomial. To divide a polynomial by a monomial, divide each term of the polynomial by the monomial.

Example. Find the quotient: (18x3y36xy2)÷(3xy)\left(18x^3y-36xy^2\right)\div(-3xy).

Rewrite as a fraction.(18x3y36xy2)÷(3xy)=18x3y36xy23xyDivide each term by the divisor.=18x3y3xy36xy23xySimplify.=6x2+12y \begin{array}{lrcl} \text{Rewrite as a fraction.} & \left(18x^3y-36xy^2\right)\div(-3xy) &=& \tfrac{18x^3y-36xy^2}{-3xy} \\[10pt] \text{Divide each term by the divisor.} & &=& \tfrac{18x^3y}{-3xy}-\tfrac{36xy^2}{-3xy} \\[10pt] \text{Simplify.} & &=& -6x^2+12y \end{array}

Find the quotient: (32a2b16ab2)÷(8ab)\left(32a^2b-16ab^2\right)\div(-8ab).

Find the quotient: (48a8b436a6b5)÷(6a3b3)\left(-48a^8b^4-36a^6b^5\right)\div\left(-6a^3b^3\right).

Divide polynomials using long division

To divide a polynomial by a binomial, we follow a procedure very similar to long division of numbers. Consider dividing 875875 by 2525:

25)83525)87525)75525)12525)12525)120 \begin{array}{r} \phantom{25\,\overline{\smash{)}\,}}\phantom{8}35 \\[-1pt] 25\,\overline{\smash{)}\,875} \\[-1pt] \phantom{25\,\overline{\smash{)}\,}}\underline{-75}\phantom{5} \\[-1pt] \phantom{25\,\overline{\smash{)}\,}}\phantom{-}125 \\[-1pt] \phantom{25\,\overline{\smash{)}\,}}\underline{-125} \\[-1pt] \phantom{25\,\overline{\smash{)}\,}}\phantom{-12}0 \end{array}

We check division by multiplying the quotient by the divisor. If we did the division correctly, the product should equal the dividend: 3525=87535\cdot25=875 ✓.

Example. Find the quotient: (x2+9x+20)÷(x+5)\left(x^2+9x+20\right)\div(x+5).

Write the dividend in standard form. Divide x2x^2 by xx to get xx and put it in the quotient. Multiply xx by x+5x+5, subtract, and bring down 2020. Then divide 4x4x by xx to get 44, multiply, and subtract:

x+40)x+5)x2+9x+20)(x2+5x)+204x+20)(4x+20)0) \begin{array}{r} x+4\phantom{0}\phantom{)} \\[2pt] x+5\,\overline{\smash{)}\,x^2+9x+20}\phantom{)} \\[2pt] \underline{-\left(x^2+5x\right)}\phantom{{}+20} \\[2pt] 4x+20\phantom{)} \\[2pt] \underline{-\left(4x+20\right)} \\[2pt] 0\phantom{)} \end{array}

To check, multiply (x+4)(x+5)(x+4)(x+5). The product is x2+9x+20x^2+9x+20 ✓, so the quotient is x+4x+4.

Find the quotient: (y2+10y+21)÷(y+3)\left(y^2+10y+21\right)\div(y+3).

Find the quotient: (m2+9m+20)÷(m+4)\left(m^2+9m+20\right)\div(m+4).

Sometimes polynomial division leaves a remainder. We write the remainder as a fraction with the divisor as the denominator. When a degree is missing from the dividend, we insert a term with zero coefficient as a placeholder.

Example. Find the quotient: (x4x2+5x6)÷(x+2)\left(x^4-x^2+5x-6\right)\div(x+2).

There is no x3x^3 term, so add 0x30x^3 as a placeholder. Long division gives

x32x2+3x16)x+2)x4+0x3x2+5x6)(x4+2x3)x2+5x6)2x34x2+5x6)(2x34x2)+5x6)3x2+5x6)(3x2+6x)6)x6)(x2))4) \begin{array}{r} x^3-2x^2+3x-1\phantom{{}-6}\phantom{)} \\[3pt] x+2\,\overline{\smash{)}\,x^4+0x^3-x^2+5x-6}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}x^4+2x^3\mathrlap{)}}\phantom{{}-x^2+5x-6}\phantom{)} \\[3pt] -2x^3-\phantom{4}x^2\phantom{{}+5x-6}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-2x^3-4x^2}\mathrlap{)}}\phantom{{}+5x-6}\phantom{)} \\[3pt] 3x^2+5x\phantom{{}-6}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}3x^2+6x\mathrlap{)}}\phantom{{}-6}\phantom{)} \\[3pt] -x-6\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-x-2}\mathrlap{)}}\phantom{)} \\[3pt] -4\phantom{)} \end{array}

The quotient is

x32x2+3x14x+2. x^3-2x^2+3x-1-\frac{4}{x+2}.

To check, multiply (x+2)(x32x2+3x14x+2)(x+2)\left(x^3-2x^2+3x-1-\tfrac{4}{x+2}\right). The result is x4x2+5x6x^4-x^2+5x-6.

Find the quotient: (x47x2+7x+6)÷(x+3)\left(x^4-7x^2+7x+6\right)\div(x+3).

Find the quotient: (x411x27x6)÷(x+3)\left(x^4-11x^2-7x-6\right)\div(x+3).

In the next example, we divide by 2a+32a+3. We must consider the constants as well as the variables.

Example. Find the quotient: (8a3+27)÷(2a+3)\left(8a^3+27\right)\div(2a+3).

Add the two placeholders 0a20a^2 and 0a0a before dividing:

4a26a+9+27)2a+3)8a3+10a2+10a+27)(8a3+12a2)+10a+27)12a2+10a+27)(12a218a)+27)18a+27)(18a+27))0) \begin{array}{r} 4a^2-6a+9\phantom{{}+27}\phantom{)} \\[3pt] 2a+3\,\overline{\smash{)}\,8a^3+\phantom{1}0a^2+\phantom{1}0a+27}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}8a^3+12a^2\mathrlap{)}}\phantom{{}+\phantom{1}0a+27}\phantom{)} \\[3pt] -12a^2+\phantom{1}0a\phantom{{}+27}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-12a^2-18a}\mathrlap{)}}\phantom{{}+27}\phantom{)} \\[3pt] 18a+27\phantom{)} \\[3pt] \underline{\mathllap{-\,(}18a+27\mathrlap{)}}\phantom{)} \\[3pt] 0\phantom{)} \end{array}

To check, multiply (2a+3)(4a26a+9)(2a+3)(4a^2-6a+9). The product is 8a3+278a^3+27, so the quotient is 4a26a+94a^2-6a+9.

Find the quotient: (x364)÷(x4)\left(x^3-64\right)\div(x-4).

Find the quotient: (125x38)÷(5x2)\left(125x^3-8\right)\div(5x-2).

Divide polynomials using synthetic division

Long division can be tedious, so mathematicians use a pattern called synthetic division. It removes repeated variables and numbers from the long-division work. The first row contains the coefficients of the dividend; the second row contains the successive products; and the third row contains the coefficients of the quotient followed by the remainder.

Synthetic division only works when the divisor is of the form xcx-c.

Example. Use synthetic division to find the quotient and remainder when 2x3+3x2+x+82x^3+3x^2+x+8 is divided by x+2x+2.

Write the divisor as x(2)x-(-2), so c=2c=-2. Write the coefficients of the dividend in the first row. Bring down the first coefficient. Then repeatedly multiply by 2-2 and add the next column:

223184262132 \begin{array}{r|rrrr} -2 & 2 & 3 & 1 & 8 \\ & & -4 & 2 & -6 \\ \hline & 2 & -1 & 3 & 2 \end{array}

The numbers 2,1,32,-1,3 are the coefficients of the quotient, and the last number is the remainder. The quotient is 2x2x+32x^2-x+3 and the remainder is 22.

Check:

(2x2x+3)(x+2)+2=?2x3+3x2+x+82x3x2+3x+4x22x+6+2=2x3+3x2+x+82x3+3x2+x+8=2x3+3x2+x+8  \begin{array}{rcl} \left(2x^2-x+3\right)(x+2)+2 &\overset{?}{=}& 2x^3+3x^2+x+8 \\[4pt] 2x^3-x^2+3x+4x^2-2x+6+2 &=& 2x^3+3x^2+x+8 \\[4pt] 2x^3+3x^2+x+8 &=& 2x^3+3x^2+x+8\ \checkmark \end{array}

Use synthetic division to find the quotient when 3x3+10x2+6x23x^3+10x^2+6x-2 is divided by x+2x+2.

Find the remainder when 3x3+10x2+6x23x^3+10x^2+6x-2 is divided by x+2x+2.

Use synthetic division to find the quotient when 4x3+5x25x+34x^3+5x^2-5x+3 is divided by x+2x+2.

In the next example, we do all the steps together.

Example. Use synthetic division to find the quotient and remainder when x416x2+3x+12x^4-16x^2+3x+12 is divided by x+4x+4.

The polynomial is written in descending degree, but there is no x3x^3 term, so use 00 as a placeholder. Since x+4=x(4)x+4=x-(-4), use c=4c=-4:

4101631241601214030 \begin{array}{r|rrrrr} -4 & 1 & 0 & -16 & 3 & 12 \\ & & -4 & 16 & 0 & -12 \\ \hline & 1 & -4 & 0 & 3 & 0 \end{array}

We divided a fourth-degree polynomial by a first-degree polynomial, so the quotient is third degree. Reading from the last row, the quotient is x34x2+3x^3-4x^2+3, and the remainder is 00.

Use synthetic division to find the quotient when x416x2+5x+20x^4-16x^2+5x+20 is divided by x+4x+4.

Use synthetic division to find the quotient when x49x2+2x+6x^4-9x^2+2x+6 is divided by x+3x+3.

Divide polynomial functions

Just as polynomials can be divided, polynomial functions can also be divided.

Division of polynomial functions. For functions f(x)f(x) and g(x)g(x), where g(x)0g(x)\neq0,

(fg)(x)=f(x)g(x).\left(\frac{f}{g}\right)(x)=\frac{f(x)}{g(x)}.

Example. For functions f(x)=x25x14f(x)=x^2-5x-14 and g(x)=x+2g(x)=x+2, find (a) (fg)(x)\left(\tfrac{f}{g}\right)(x) and (b) (fg)(4)\left(\tfrac{f}{g}\right)(-4).

For part (a), substitute the function rules and divide the polynomials:

(fg)(x)=x25x14x+2=x7. \left(\frac{f}{g}\right)(x) =\frac{x^2-5x-14}{x+2} =x-7.

For part (b), substitute x=4x=-4 into the quotient found in part (a):

(fg)(4)=47=11. \left(\frac{f}{g}\right)(-4)=-4-7=-11.

For f(x)=x25x24f(x)=x^2-5x-24 and g(x)=x+3g(x)=x+3, find (fg)(x)\left(\tfrac{f}{g}\right)(x).

For f(x)=x25x24f(x)=x^2-5x-24 and g(x)=x+3g(x)=x+3, find (fg)(3)\left(\tfrac{f}{g}\right)(-3).

For f(x)=x25x36f(x)=x^2-5x-36 and g(x)=x+4g(x)=x+4, what is (fg)(5)\left(\tfrac{f}{g}\right)(-5)?

Use the Remainder and Factor Theorems

Look at division problems that end with a remainder. When the divisor is written as xcx-c, the value f(c)f(c) is the same as the remainder from the division.

To see this generally, a division problem can be checked by multiplying the quotient q(x)q(x) by the divisor xcx-c and adding the remainder rr:

f(x)=q(x)(xc)+r. f(x)=q(x)(x-c)+r.

Evaluating at cc gives

f(c)=q(c)(cc)+r=q(c)(0)+r=r. f(c)=q(c)(c-c)+r=q(c)(0)+r=r.
Remainder Theorem. If the polynomial function f(x)f(x) is divided by xcx-c, then the remainder is f(c)f(c).

Example. Use the Remainder Theorem to find the remainder when f(x)=x3+3x+19f(x)=x^3+3x+19 is divided by x+2x+2.

Write x+2x+2 as x(2)x-(-2), so c=2c=-2. Evaluate f(2)f(-2):

f(2)=(2)3+3(2)+19=86+19=5. \begin{array}{rcl} f(-2) &=& (-2)^3+3(-2)+19 \\[4pt] &=& -8-6+19 \\[4pt] &=& 5. \end{array}

The remainder is 55.

Use the Remainder Theorem to find the remainder when f(x)=x3+4x+15f(x)=x^3+4x+15 is divided by x+2x+2.

Use the Remainder Theorem to find the remainder when f(x)=x37x+12f(x)=x^3-7x+12 is divided by x+3x+3.

When we divided 8a3+278a^3+27 by 2a+32a+3, the quotient was 4a26a+94a^2-6a+9 and the remainder was zero. Thus

(4a26a+9)(2a+3)=8a3+27, \left(4a^2-6a+9\right)(2a+3)=8a^3+27,

so both 4a26a+94a^2-6a+9 and 2a+32a+3 are factors of 8a3+278a^3+27.

Factor Theorem. For any polynomial function f(x)f(x):

  • If xcx-c is a factor of f(x)f(x), then f(c)=0f(c)=0.
  • If f(c)=0f(c)=0, then xcx-c is a factor of f(x)f(x).

Example. Use the Factor Theorem to determine if x4x-4 is a factor of f(x)=x364f(x)=x^3-64.

The Factor Theorem tells us that x4x-4 is a factor if f(4)=0f(4)=0:

f(4)=4364=6464=0. f(4)=4^3-64=64-64=0.

Since f(4)=0f(4)=0, x4x-4 is a factor of f(x)=x364f(x)=x^3-64.

Use the Factor Theorem to determine whether x5x-5 is a factor of f(x)=x3125f(x)=x^3-125.

Use the Factor Theorem to determine whether x6x-6 is a factor of f(x)=x3216f(x)=x^3-216.

Key terms

division of a polynomial by a monomial — dividing each term of the polynomial by the monomial. polynomial long division — a procedure for dividing a polynomial by a binomial: divide, multiply, subtract, and bring down, repeating until the remainder has lower degree than the divisor. placeholder — a term with zero coefficient inserted for a missing degree. synthetic division — a shortened form of polynomial division using only coefficients, for a divisor of the form xcx-c. Remainder Theorem — when f(x)f(x) is divided by xcx-c, the remainder is f(c)f(c). Factor Theoremxcx-c is a factor of f(x)f(x) exactly when f(c)=0f(c)=0.


This section is adapted from Intermediate Algebra 2e, Section 5.4: Dividing Polynomials by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: condensed the multi-row worked-example step tables into prose and typeset math, recreated the numeric and polynomial long divisions and synthetic-division layouts as math arrays, omitted the Be Prepared quiz, Self Check checklist, media links, and end-of-section exercises, and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.