We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap


Study Guides > College Algebra

Use 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. Long Division. Step 1, 5 times 3 equals 15 and 17 minus 15 equals 2. Step 2: Bring down the 8. Step 3: 9 times 3 equals 27 and 28 minus 27 equals 1. Answer: 59 with a remainder of 1 or 59 and one-third.

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.

[latex]\begin{cases}\text{dividend = }\left(\text{divisor }\cdot \text{ quotient}\right)\text{ + remainder}\hfill \\ 178=\left(3\cdot 59\right)+1\hfill \\ =177+1\hfill \\ =178\hfill \end{cases}[/latex]

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 [latex]2{x}^{3}-3{x}^{2}+4x+5[/latex] by [latex]x+2[/latex] using the long division algorithm, it would look like this: Set up the division problem. 2x cubed divided by x is 2x squared. Multiply the sum of x and 2 by 2x squared. Subtract. Then bring down the next term. Negative 7x squared divided by x is negative 7x. Multiply the sum of x and 2 by negative 7x. Subtract, then bring down the next term. 18x divided by x is 18. Multiply the sum of x and 2 by 18. Subtract.

We have found




We can identify the dividend, the divisor, the quotient, and the remainder.

The dividend is 2x cubed minus 3x squared plus 4x plus 5. The divisor is x plus 2. The quotient is 2x squared minus 7x plus 18. The remainder is negative 31.

Writing the result in this manner illustrates the Division Algorithm.

A General Note: The Division Algorithm

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


[latex]q\left(x\right)[/latex] is the quotient and [latex]r\left(x\right)[/latex] is the remainder. The remainder is either equal to zero or has degree strictly less than [latex]d\left(x\right).[/latex]

If [latex]r\left(x\right)=0,[/latex] then [latex]d\left(x\right)[/latex] divides evenly into [latex]f\left(x\right).[/latex] This means that, in this case, both [latex]d\left(x\right)[/latex] and [latex]q\left(x\right)[/latex] are factors of [latex]f\left(x\right).[/latex]

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 as a fraction using the divisor as the denominator.

Example 1: Using Long Division to Divide a Second-Degree Polynomial

Divide [latex]5{x}^{2}+3x - 2[/latex] by [latex]x+1.[/latex]

Solution Set up the division problem. 5x squared divided by x is 5x. Multiply x plus 1 by 5x. Subtract. Bring down the next term. Negative 2x divded by x is negative 2. Multiply x + 1 by negative 2. Subtract.

The quotient is [latex]5x - 2.[/latex] The remainder is 0. We write the result as

[latex]\frac{5{x}^{2}+3x - 2}{x+1}=5x - 2[/latex]


[latex]5{x}^{2}+3x - 2=\left(x+1\right)\left(5x - 2\right)[/latex]

Analysis of the Solution

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 2: Using Long Division to Divide a Third-Degree Polynomial

Divide [latex]6{x}^{3}+11{x}^{2}-31x+15[/latex] by [latex]3x - 2.[/latex]


6x cubed divided by 3x is 2x squared. Multiply the sum of x and 2 by 2x squared. Subtract. Bring down the next term. 15x squared divided by 3x is 5x. Multiply 3x minus 2 by 5x. Subtract. Bring down the next term. Negative 21x divided by 3x is negative 7. Multiply 3x minus 2 by negative 7. Subtract. The remainder is 1.

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

[latex]\frac{6{x}^{3}+11{x}^{2}-31x+15}{3x - 2}=2{x}^{2}+5x - 7+\frac{1}{3x - 2}[/latex]

Analysis of the Solution

We can check our work by using the Division Algorithm to rewrite the solution. Then multiply.

[latex]\left(3x - 2\right)\left(2{x}^{2}+5x - 7\right)+1=6{x}^{3}+11{x}^{2}-31x+15[/latex]

Notice, as we write our result,

  • the dividend is [latex]6{x}^{3}+11{x}^{2}-31x+15[/latex]
  • the divisor is [latex]3x - 2[/latex]
  • the quotient is [latex]2{x}^{2}+5x - 7[/latex]
  • the remainder is 1

Try It 1

Divide [latex]16{x}^{3}-12{x}^{2}+20x - 3[/latex] by [latex]4x+5.[/latex]


Licenses & Attributions

CC licensed content, Shared previously

  • Precalculus. Provided by: OpenStax Authored by: Jay Abramson, et al.. Located at: https://openstax.org/books/precalculus/pages/1-introduction-to-functions. License: CC BY: Attribution. License terms: Download For Free at : http://cnx.org/contents/[email protected]..