calculator.onl
Categories50

Polynomial Long Division Calculator with Remainder

Divide polynomials step by step using exact rational coefficients. Find the quotient and remainder, then check the identity P = DQ + R.

A worked example

Divide x² − 1 and x³ − 1 by x − 1. Follow the extra subtraction on the worksheet. Division steps · 2 → 3.

Quotient Qx^2 + x + 1Remainder R0Division steps3VerificationIdentity verified exactly
Variable: x / t / z.

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.

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.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Quotient Q

x^2 + x + 1

Calculated from your inputs

Remainder R0
Division steps3
VerificationIdentity verified exactly
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

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

InputWhat it meansExample value
VariableVariable: 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

  1. Choose one variable and enter the dividend and a nonzero divisor. Use rational or decimal coefficients, parentheses and supported integer powers.
  2. 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.
  3. Read the quotient and remainder, then verify that divisor × quotient + remainder reproduces the original polynomial.
The formulaP = 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 enter
Result for this example · Quotient Qx^2 + x + 1

This 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.

Reference ·

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.