Skip to content

Divide Polynomials

By the end of this section, you will be able to: divide a polynomial by a monomial, and divide a polynomial by a binomial.

Divide a Polynomial by a Monomial

In the last section you learned how to divide a monomial by a monomial. As you continue to build up your knowledge of polynomials, the next procedure is to divide a polynomial of two or more terms by a monomial.

The method we’ll use to divide a polynomial by a monomial is based on the properties of fraction addition. So we’ll start by reviewing fraction addition. The sum y5+25\tfrac{y}{5} + \tfrac{2}{5} simplifies to y+25\tfrac{y+2}{5}. Now we will do this in reverse to split a single fraction into separate fractions.

We’ll state the fraction addition property here just as you learned it, and in reverse.

Fraction addition. If aa, bb, and cc are numbers where c0c \neq 0, then

ac+bc=a+bcanda+bc=ac+bc.\frac{a}{c} + \frac{b}{c} = \frac{a+b}{c} \qquad\text{and}\qquad \frac{a+b}{c} = \frac{a}{c} + \frac{b}{c}.

We use the form on the left to add fractions, and we use the form on the right to divide a polynomial by a monomial. For example, y+25\tfrac{y+2}{5} can be written y5+25\tfrac{y}{5} + \tfrac{2}{5}. We use this form of fraction addition to divide polynomials by monomials.

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: 7y2+217\tfrac{7y^{2}+21}{7}.

Divide each term of the numerator by the denominator, then simplify each fraction:

7y2+217=7y27+217=y2+3 \frac{7y^{2}+21}{7} = \frac{7y^{2}}{7} + \frac{21}{7} = y^{2} + 3

Find the quotient: 8z2+244\tfrac{8z^2 + 24}{4}.

Find the quotient: 18z2279\tfrac{18z^2 - 27}{9}.

Remember that division can be represented as a fraction. When you are asked to divide a polynomial by a monomial and it is not already in fraction form, write a fraction with the polynomial in the numerator and the monomial in the denominator.

Example. Find the quotient: (18x336x2)÷6x\left(18x^{3} - 36x^{2}\right) \div 6x.

Rewrite as a fraction, divide each term of the numerator by the denominator, and simplify:

18x336x26x=18x36x36x26x=3x26x \frac{18x^{3} - 36x^{2}}{6x} = \frac{18x^{3}}{6x} - \frac{36x^{2}}{6x} = 3x^{2} - 6x

Find the quotient: 27b333b23b\tfrac{27b^3 - 33b^2}{3b}.

Find the quotient: 25y355y25y\tfrac{25y^3 - 55y^2}{5y}.

When we divide by a negative, we must be extra careful with the signs.

Example. Find the quotient: 12d216d4\tfrac{12d^{2}-16d}{-4}.

Divide each term of the numerator by the denominator, then simplify. Remember, subtracting a negative is like adding a positive:

12d216d4=12d2416d4=3d2+4d \frac{12d^{2}-16d}{-4} = \frac{12d^{2}}{-4} - \frac{16d}{-4} = -3d^{2} + 4d

Find the quotient: 25y215y5\tfrac{25y^2 - 15y}{-5}.

Find the quotient: 42b218b6\tfrac{42b^2 - 18b}{-6}.

Example. Find the quotient: 105y5+75y35y2\tfrac{105y^{5}+75y^{3}}{5y^{2}}.

Separate the terms, then simplify each one:

105y5+75y35y2=105y55y2+75y35y2=21y3+15y \frac{105y^{5}+75y^{3}}{5y^{2}} = \frac{105y^{5}}{5y^{2}} + \frac{75y^{3}}{5y^{2}} = 21y^{3} + 15y

Find the quotient: 60d7+24d54d3\tfrac{60d^7 + 24d^5}{4d^3}.

Find the quotient: 216p748p56p3\tfrac{216p^7 - 48p^5}{6p^3}.

Example. Find the quotient: (15x3y35xy2)÷(5xy)\left(15x^{3}y - 35xy^{2}\right) \div (-5xy).

Rewrite as a fraction, separate the terms, and simplify:

15x3y35xy25xy=15x3y5xy35xy25xy=3x2+7y \frac{15x^{3}y - 35xy^{2}}{-5xy} = \frac{15x^{3}y}{-5xy} - \frac{35xy^{2}}{-5xy} = -3x^{2} + 7y

Find the quotient: 32a2b16ab28ab\tfrac{32a^2 b - 16ab^2}{-8ab}.

Find the quotient: 48a8b436a6b56a3b3\tfrac{-48a^8 b^4 - 36a^6 b^5}{-6a^3 b^3}.

Example. Find the quotient: 36x3y2+27x2y29x2y39x2y\tfrac{36x^{3}y^{2}+27x^{2}y^{2}-9x^{2}y^{3}}{9x^{2}y}.

Separate the terms, then simplify each one:

36x3y2+27x2y29x2y39x2y=36x3y29x2y+27x2y29x2y9x2y39x2y=4xy+3yy2 \frac{36x^{3}y^{2}+27x^{2}y^{2}-9x^{2}y^{3}}{9x^{2}y} = \frac{36x^{3}y^{2}}{9x^{2}y} + \frac{27x^{2}y^{2}}{9x^{2}y} - \frac{9x^{2}y^{3}}{9x^{2}y} = 4xy + 3y - y^{2}

Find the quotient: 40x3y2+24x2y216x2y38x2y\tfrac{40x^3 y^2 + 24x^2 y^2 - 16x^2 y^3}{8x^2 y}.

Find the quotient: 35a4b2+14a4b342a2b47a2b2\tfrac{35a^4 b^2 + 14a^4 b^3 - 42a^2 b^4}{7a^2 b^2}.

Example. Find the quotient: 10x2+5x205x\tfrac{10x^{2}+5x-20}{5x}.

Separate the terms, then simplify. Notice that the last term does not divide evenly, so it stays as a fraction:

10x2+5x205x=10x25x+5x5x205x=2x+14x \frac{10x^{2}+5x-20}{5x} = \frac{10x^{2}}{5x} + \frac{5x}{5x} - \frac{20}{5x} = 2x + 1 - \frac{4}{x}

Find the quotient: 18c2+6c96c\tfrac{18c^2 + 6c - 9}{6c}.

Find the quotient: 10d25d25d\tfrac{10d^2 - 5d - 2}{5d}.

Divide a Polynomial by a Binomial

To divide a polynomial by a binomial, we follow a procedure very similar to long division of numbers. So let’s look carefully at the steps we take when we divide a 3-digit number, 875875, by a 2-digit number, 2525.

We write the long division, divide the first two digits (8787) by 2525 to get 33, multiply 33 times 2525 and write the product under the 8787, then subtract. We bring down the next digit and repeat the process. The completed long division looks like this:

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 \cdot 25 = 875 ✓.

Now we will divide a trinomial by a binomial. As you read through the example, notice how similar the steps are to the numerical example above.

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

Write it as a long division problem, being sure the dividend is in standard form. Divide the first term of the dividend, x2x^{2}, by the first term of the divisor, xx, to get xx; place it in the quotient over the xx term. Multiply xx times x+5x+5 to get x2+5xx^{2}+5x, line it up under the dividend, and subtract (it may be easier to change the signs and add). Then bring down the last term, 2020:

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

Now divide the first term of the remainder, 4x4x, by xx to get 44; place it in the quotient over the constant term. Multiply 44 times x+5x+5 to get 4x+204x+20, 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{-\,(x^{2}+5x)}\phantom{{}+20} \\[2pt] 4x+20\phantom{)} \\[2pt] \underline{-\,(4x+20)} \\[2pt] 0\phantom{)} \end{array}

To check, multiply the quotient by the divisor: (x+4)(x+5)(x+4)(x+5). You should get the dividend, x2+9x+20x^{2}+9x+20 ✓. So the quotient is x+4x+4.

Find the quotient: y2+10y+21y+3\tfrac{y^2 + 10y + 21}{y + 3}.

Find the quotient: m2+9m+20m+4\tfrac{m^2 + 9m + 20}{m + 4}.

When the divisor has a subtraction sign, we must be extra careful when we multiply the partial quotient and then subtract. It may be safer to show that we change the signs and then add.

Example. Find the quotient: (2x25x3)÷(x3)\left(2x^{2} - 5x - 3\right) \div (x-3).

Divide 2x22x^{2} by xx to get 2x2x; place it in the quotient over the xx term. Multiply 2x2x times x3x-3 to get 2x26x2x^{2}-6x. Subtract by changing the signs and adding, then bring down the last term:

2x3x3)2x25x32x2+6x3x3 \begin{array}{r} 2x\phantom{{}-3} \\[2pt] x-3\,\overline{\smash{)}\,2x^{2}-5x-3} \\[2pt] \underline{-2x^{2}+6x}\phantom{{}-3} \\[2pt] x-3 \end{array}

Now divide xx by xx to get 11; place it in the quotient over the constant term. Multiply 11 times x3x-3 to get x3x-3, and subtract by changing the signs and adding:

2x+1x3)2x25x32x2+6x3x3x+30 \begin{array}{r} 2x+1 \\[2pt] x-3\,\overline{\smash{)}\,2x^{2}-5x-3} \\[2pt] \underline{-2x^{2}+6x}\phantom{{}-3} \\[2pt] x-3 \\[2pt] \underline{-x+3} \\[2pt] 0 \end{array}

To check, multiply (x3)(2x+1)(x-3)(2x+1). The result should be 2x25x32x^{2}-5x-3. So the quotient is 2x+12x+1.

Find the quotient: 2x23x20x4\tfrac{2x^2 - 3x - 20}{x - 4}.

Find the quotient: 3x216x12x6\tfrac{3x^2 - 16x - 12}{x - 6}.

When we divided 875875 by 2525, there was no remainder. But sometimes division of numbers does leave a remainder, and the same is true when we divide polynomials. We write the remainder as a fraction with the divisor as the denominator.

Example. Find the quotient: (x3x2+x+4)÷(x+1)\left(x^{3} - x^{2} + x + 4\right) \div (x+1).

Divide x3x^{3} by xx to get x2x^{2}; multiply x2x^{2} times x+1x+1 and subtract. Bring down the next term, divide again to get 2x-2x, and continue. Finally, dividing 3x3x by xx gives 33; multiplying 33 times x+1x+1 gives 3x+33x+3, and subtracting leaves a remainder of 11:

x22x+3+4)x+1)x3x2+x+4)(x3+x2)+x+4)2x2+2x+4)(2x22x)+4)3x+4)(3x+3))1) \begin{array}{r} x^{2}-2x+3\phantom{{}+4}\phantom{)} \\[3pt] x+1\,\overline{\smash{)}\,x^{3}-x^{2}+x+4}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}x^{3}+x^{2}\mathrlap{)}}\phantom{{}+x+4}\phantom{)} \\[3pt] -2x^{2}+\phantom{2}x\phantom{{}+4}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}{-2x^{2}-2x}\mathrlap{)}}\phantom{{}+4}\phantom{)} \\[3pt] 3x+4\phantom{)} \\[3pt] \underline{\mathllap{-\,(}3x+3\mathrlap{)}}\phantom{)} \\[3pt] 1\phantom{)} \end{array}

We write the remainder as a fraction with the divisor as the denominator, so the quotient is:

x22x+3+1x+1 x^{2}-2x+3+\frac{1}{x+1}

To check, multiply (x+1)(x22x+3+1x+1)(x+1)\left(x^{2}-2x+3+\tfrac{1}{x+1}\right). The result should be x3x2+x+4x^{3}-x^{2}+x+4.

Find the quotient: x3+5x2+8x+6x+2\tfrac{x^3 + 5x^2 + 8x + 6}{x + 2}.

Find the quotient: 2x3+8x2+x8x+1\tfrac{2x^3 + 8x^2 + x - 8}{x + 1}.

Look back at the dividends in the last three examples. The terms were written in descending order of degrees, and there were no missing degrees. When a dividend is missing a degree, we add that term in with a zero coefficient as a placeholder so the columns line up during long division.

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

Notice that there is no x3x^{3} term in the dividend. We will add 0x30x^{3} as a placeholder. Then long-divide as usual, changing signs and adding at each subtraction step:

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

To check, multiply (x+2)(x32x2+3x1)(x+2)\left(x^{3}-2x^{2}+3x-1\right). The result should be x4x2+5x2x^{4}-x^{2}+5x-2. So the quotient is x32x2+3x1x^{3}-2x^{2}+3x-1.

Find the quotient: x3+3x+14x+2\tfrac{x^3 + 3x + 14}{x + 2}.

Find the quotient: x43x31000x+5\tfrac{x^4 - 3x^3 - 1000}{x + 5}.

In the next example we will divide by 2a32a-3. As we divide, we will have to consider the constants as well as the variables.

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

This time we will show the division all in one step. We need to add two placeholders, 0a20a^{2} and 0a0a, in order to divide:

4a26a+9+27)2a+3)8a3+0a2+0a+27)(8a3+12a2)+0a+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}+0a^{2}+0a+27}\phantom{)} \\[3pt] \underline{\mathllap{-\,(}8a^{3}+12a^{2}\mathrlap{)}}\phantom{{}+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)\left(4a^{2}-6a+9\right). The result should be 8a3+278a^{3}+27. So the quotient is 4a26a+94a^{2}-6a+9.

Find the quotient: x364x4\tfrac{x^3 - 64}{x - 4}.

Find the quotient: 125x385x2\tfrac{125x^3 - 8}{5x - 2}.

Key terms

divide a polynomial by a monomial — divide each term of the polynomial by the monomial, using the property a+bc=ac+bc\tfrac{a+b}{c} = \tfrac{a}{c} + \tfrac{b}{c}. polynomial long division — a procedure, modeled on long division of numbers, for dividing a polynomial by a binomial: divide, multiply, subtract (or change the signs and add), and bring down, repeating until the remainder has lower degree than the divisor. placeholder — a term with a zero coefficient (such as 0x30x^{3}) inserted for a missing degree so the columns line up during long division. remainder — the leftover after long division, written as a fraction with the divisor as the denominator.


This section is adapted from Elementary Algebra 2e, Section 6.6: Divide 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 with a single typeset result, and recreated the numeric and polynomial long divisions as typeset 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.