Saved

Press the star next to a tool's name to save it.

All my tools

Polynomial Division Calculator

Use this polynomial division calculator to divide polynomials by long or synthetic division, get the quotient and remainder, and list the rational zeros of a polynomial.

Restored your last values ·

Type a polynomial in x with powers written as x^3. For long division, enter the polynomial and the divisor. For synthetic division, enter the polynomial and r. For rational zeros, enter a polynomial with whole-number coefficients, and the calculator lists the candidates and the zeros that work.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want, enter the polynomial, then press Calculate.

A polynomial division calculator divides one polynomial by another and gives the quotient and the remainder. It also has synthetic division, a shortcut for a divisor of the form x − r, and the rational root theorem, which lists the possible rational zeros of a polynomial and tests each one exactly. Type your polynomial with powers like x^3, choose the method, and press the button. All of it runs in your browser.

How to use the polynomial division calculator

  1. Choose long division, synthetic division or rational zeros.
  2. Type the polynomial, and the divisor or r when the method needs one.
  3. Press Calculate.
  4. Read the quotient, the remainder and the check line.

Polynomial long division

The Wikipedia article on polynomial long division states the result as A = BQ + R, where A is the dividend, B the divisor, Q the quotient and R the remainder, and either R = 0 or the degree of R is lower than the degree of B.[1] The page's example divides x³ − 2x² − 4 by x − 3. The quotient is x² + x + 3 and the remainder is 5, so x³ − 2x² − 4 = (x − 3)(x² + x + 3) + 5.[1] Enter these two polynomials and the calculator gives the same answer and prints the check line. If the dividend has a lower degree than the divisor, the quotient is 0 and the remainder is the dividend.

Synthetic division

Synthetic division is a short way to divide by x − r. Write the coefficients of the dividend, with a zero for each missing power, and bring down the first one. Multiply it by r, add the result to the next coefficient, and repeat. The last number is the remainder and the others are the coefficients of the quotient.[2] The page's example is x³ − 12x² − 42 divided by x − 3. The coefficients are 1, −12, 0 and −42, and with r = 3 the bottom row is 1, −9, −27 and −123. So the quotient is x² − 9x − 27 and the remainder is −123.[2] Enter that polynomial with r = 3 and the calculator shows the same row.

The remainder theorem and the factor theorem

The remainder of dividing f(x) by x − r is f(r).[3] In the example above, f(3) = −123, which matches the remainder of the synthetic division. The factor theorem follows: x − r is a divisor of f(x) if and only if f(r) = 0.[3] So synthetic division is also a quick way to evaluate a polynomial at a point, and to test whether a number is a root. The calculator states the remainder theorem result and says whether x − r is a factor.

Finding rational zeros

The rational root theorem says that for a polynomial with integer coefficients, every rational solution p ÷ q, in lowest terms, has p as a factor of the constant term and q as a factor of the leading coefficient.[4] For x³ − 7x + 6, the numerator divides 6 and the denominator divides 1, so the possible rational roots are ±1, ±2, ±3 and ±6. Of these, 1, 2 and −3 make the polynomial zero, and they are its rational roots.[4] For 3x³ − 5x² + 5x − 2, the candidates are ±1, ±2, ±1/3 and ±2/3, and exactly one works, x = 2/3.[4] The calculator tests every candidate with exact whole-number arithmetic, so there are no rounding errors. If the constant term is zero, x = 0 is a root, and it is listed first.

Using the results

Once you have a root r, divide by x − r with synthetic division, and you get a polynomial of lower degree to solve. Repeating this factors the polynomial fully when all its roots are rational. For x³ − 7x + 6, dividing by x − 1 gives x² + x − 6, which factors as (x + 3)(x − 2). The rational roots are only part of the story: x³ − 2 has no rational roots, but it has the real root of the cube root of 2.

A worked example with long division

Divide 6x² + x − 2 by 2x − 1. The first term of the quotient is 6x² ÷ 2x = 3x. Multiply 3x by the divisor to get 6x² − 3x and subtract, which leaves 4x − 2. The next term is 4x ÷ 2x = 2. Multiply 2 by the divisor to get 4x − 2 and subtract, which leaves 0. So the quotient is 3x + 2 and the remainder is 0, which means that 2x − 1 is a factor and 6x² + x − 2 = (2x − 1)(3x + 2). Enter the two polynomials to see this at once.

Dividing by a divisor with a leading coefficient

Synthetic division in its simple form needs a divisor of the form x − r. If your divisor is 2x − 1, you can still use it by writing 2x − 1 = 2(x − 1/2). Divide by x − 1/2 with r = 0.5, and then divide the quotient by 2. The long division mode handles any divisor directly, so use it when the divisor is not of the simple form, or when you want to check your hand work.

Common mistakes

  • Skipping a zero coefficient. In synthetic division, a missing power needs a 0.
  • Using the wrong sign of r. For x + 2, use r = −2.
  • Using synthetic division for x² − 1. It works only for divisors of the form x − r.
  • Expecting all zeros from the rational root test. It finds only rational ones.

What next

Use this often? Add Polynomial D to your Home screen.

Frequently asked questions

What is a polynomial division calculator?

A tool that divides one polynomial by another and gives the quotient and remainder, with synthetic division and rational root finding as extras.

When can I use synthetic division?

When the divisor has the form x − r. For x + 2, use r = −2. Other divisors need long division.

What is the remainder theorem?

The remainder of dividing f(x) by x − r is f(r). If it is 0, then x − r is a factor.

What does the rational root theorem say?

A rational zero p ÷ q in lowest terms has p dividing the constant term and q dividing the leading coefficient.

What are the rational zeros of x³ − 7x + 6?

They are 1, 2 and −3. The candidates are ±1, ±2, ±3 and ±6, and three of them make the polynomial zero.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools