Polynomial Long Division Calculator

Enter a dividend and a divisor to find the quotient and the remainder by long division.

Use one variable, brackets and whole powers.

Use the same variable as the dividend.

Try

Result

You entered(6x3+5x2−7)÷(2x+3)\left(6x^{3} + 5x^{2} - 7\right) \div \left(2x + 3\right)

Q(x)=3x2−2x+3,R(x)=−16\displaystyle Q\left(x\right) = 3x^{2} - 2x + 3,\quad R\left(x\right) = -16

As a mixed expression

3x2−2x+3−162x+3\displaystyle 3x^{2} - 2x + 3 - \frac{16}{2x + 3}

Check

(2x+3)(3x2−2x+3)−16\displaystyle \left(2x + 3\right)\left(3x^{2} - 2x + 3\right) - 16
Show the work
  1. Division algorithm for polynomials

    Dividing the dividend PP by the divisor DD gives a quotient QQ and a remainder RR whose degree is smaller than the degree of DD. Here PP has degree 3 and DD has degree 1.

    Using P(x)=D(x) Q(x)+R(x)P\left(x\right) = D\left(x\right)\,Q\left(x\right) + R\left(x\right)

    P(x)=6x3+5x2−7D(x)=2x+3\begin{gathered} P\left(x\right) = 6x^{3} + 5x^{2} - 7 \\ D\left(x\right) = 2x + 3 \end{gathered}
  2. Long division, cycle 1

    Divide the leading term 6x36x^{3} of what is left by the leading term 2x2x of the divisor. This gives 3x23x^{2}, the next term of the quotient. Multiply it back through the divisor and subtract, which cancels the leading term.

    (6x3+5x2−7)−(6x3+9x2)=−4x2−7\left(6x^{3} + 5x^{2} - 7\right) - \left(6x^{3} + 9x^{2}\right) = -4x^{2} - 7
  3. Long division, cycle 2

    Divide the leading term −4x2-4x^{2} of what is left by the leading term 2x2x of the divisor. This gives −2x-2x, the next term of the quotient. Multiply it back through the divisor and subtract, which cancels the leading term.

    (−4x2−7)−(−4x2−6x)=6x−7\left(-4x^{2} - 7\right) - \left(-4x^{2} - 6x\right) = 6x - 7
  4. Long division, cycle 3

    Divide the leading term 6x6x of what is left by the leading term 2x2x of the divisor. This gives 33, the next term of the quotient. Multiply it back through the divisor and subtract, which cancels the leading term.

    (6x−7)−(6x+9)=−16\left(6x - 7\right) - \left(6x + 9\right) = -16
  5. Degree of the remainder

    What is left has degree 0, which is smaller than the degree 1 of the divisor, so no further term of the quotient fits. The division stops and what is left is the remainder RR.

    R(x)=−16R\left(x\right) = -16
  6. Result

    So the quotient is 3x2−2x+33x^{2} - 2x + 3 and the remainder is −16-16.

Worked examples