A little context. A clearer answer.
When this calculator is useful
Use polynomial division to find the quotient and remainder when dividing one polynomial by another. Long division follows the leading terms and shows each subtraction, so you can check P = DQ + R against the original dividend. Choose one variable and enter expressions with integer or rational coefficients. The remainder is zero or has lower degree than the divisor. The page presents long division; it does not claim to show the separate synthetic-division layout. For a related calculation, try Fraction Calculator with Mixed Numbers.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Variable | Variable: x / t / z. | x |
| P(x) | P(x): 1/2*x^2 + (x+1). ≤ 1000. Use one selected variable, parentheses, + − * / and integer powers up to 30. Division inside an input must be by a nonzero constant. Decimal coefficients are exact; write 0.5, not .5. Limits: 1,000 characters, 512 tokens and 24 nested parentheses. Variable denominators and non-polynomial functions are rejected. | x^3 - 1 |
| D(x) | D(x) ≠ 0. x - 1. ≤ 1000. Use one selected variable, parentheses, + − * / and integer powers up to 30. Division inside an input must be by a nonzero constant. Decimal coefficients are exact; write 0.5, not .5. Limits: 1,000 characters, 512 tokens and 24 nested parentheses. Variable denominators and non-polynomial functions are rejected. | x - 1 |
How the calculation works
- Choose one variable and enter the dividend and a nonzero divisor. Use rational or decimal coefficients, parentheses and supported integer powers.
- Divide the current leading term by the divisor’s leading term, multiply the divisor by that quotient term and subtract. Repeat while the remaining degree is high enough.
- Read the quotient and remainder, then verify that divisor × quotient + remainder reproduces the original polynomial.
P = DQ + R; R = 0 ∨ deg(R) < deg(D)A worked example
Polynomial long division calculator: (x³−1) ÷ (x−1) ⇒ Q=x²+x+1, R=0. (x²+1) ÷ (x−1) ⇒ Q=x+1, R=2.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Use one selected variable, parentheses, + − * / and integer powers up to 30. Division inside an input must be by a nonzero constant. Decimal coefficients are exact; write 0.5, not .5. Limits: 1,000 characters, 512 tokens and 24 nested parentheses. Variable denominators and non-polynomial functions are rejected.
Frequently asked questions
Can polynomial division leave a remainder?
Yes. For (x^2 + 1) divided by (x - 1), the quotient is x + 1 and the remainder is 2. The identity is x^2 + 1 = (x - 1)(x + 1) + 2.
Can I use fractions or decimals as coefficients?
Yes. Rational and decimal coefficients are handled exactly within the stated parser limits. Write decimal coefficients with a leading zero, such as 0.5. A division written inside an input expression must have a nonzero constant denominator.
Is this a synthetic division calculator?
It displays polynomial long division, which also works for divisors of higher degree. It can find the quotient for a linear divisor, but does not display the separate synthetic-division table. Non-polynomial functions and variable denominators are rejected.