Polynomial Division Calculator

Divide one single-variable polynomial by another and get the exact quotient, exact remainder, and the verified identity in one place.

How It Works

Formula

P(x)=D(x)Q(x)+R(x)P(x) = D(x) \cdot Q(x) + R(x)

deg(R)<deg(D)\deg(R) < \deg(D)

Variables, symbols and units

P(x)P(x)

Dividend polynomial

D(x)D(x)

Divisor polynomial

Q(x)Q(x)

Quotient polynomial

R(x)R(x)

Remainder polynomial
Calculation method explained

The calculator parses both expressions as exact single-variable polynomials, divides leading terms, subtracts the matching partial product, and repeats until the remainder degree is lower than the divisor degree. Coefficients stay symbolic, so a result like 1/2x^2 - 1/2x + 1 remains exact instead of being turned into decimals.

At each pass the leading term of the current remainder is divided by the leading term of the divisor. That quotient term is multiplied back through the divisor, then subtracted from the current remainder. The process stops only when the remaining polynomial has smaller degree than the divisor, which is the standard long-division rule used in algebra classes.

Frequently Asked Questions

What does this calculator return?
It returns the exact quotient polynomial, the exact remainder polynomial, and the identity dividend = divisor × quotient + remainder.
When is the divisor a factor?
Only when the remainder is exactly 0. In that case the dividend is divisible by the divisor with no leftover term.
What input style is supported?
Enter a single-variable polynomial with standard algebra notation, such as x^4 - 3x + 2, x^2/2 - 1, or (x + 1)^2 - x. The calculator normalizes missing terms automatically.
What is not supported?
This tool is not a full CAS. It does not accept functions like sin(x), expressions with negative exponents, or divisions by variable expressions such as 1/x.
Why show the identity below the answer?
It gives a quick correctness check. If you expand divisor × quotient and add the remainder, you should recover the original dividend.

Related Calculators

All calculators

Ready to Calculate?

Free calculators.