Polynomial Long & Synthetic Division Calculator

Divide polynomials by long division or synthetic division from coefficient lists. Get the quotient, remainder, the steps and a remainder theorem check.

2, −3, 4, 5 means 2x³ − 3x² + 4x + 5. Use 0 for a missing power. Use a point for decimals (1.5), no thousands separators, and separate numbers with spaces or a comma and a space.
1, 2 means x + 2.

Results

Quotient Q(x)
Q(x) = 2x² − 7x + 18
Remainder R(x)
R(x) = −31
Result
P(x) = (x + 2) × (2x² − 7x + 18) + (−31)
Check: divisor × quotient + remainder = dividend
Verified.
Remainder theorem: P(−2)
The divisor is zero at x = −2, and P(−2) = −31, the same as the remainder.
Long division steps
Step 1: 2x³ ÷ x = 2x². Multiply: 2x² × (x + 2) = 2x³ + 4x². Subtract, what is left: −7x² + 4x + 5 Step 2: −7x² ÷ x = −7x. Multiply: −7x × (x + 2) = −7x² − 14x. Subtract, what is left: 18x + 5 Step 3: 18x ÷ x = 18. Multiply: 18 × (x + 2) = 18x + 36. Subtract, what is left: −31

How it’s calculated

Polynomial long division works like long division of numbers. Divide the leading term of what is left by the leading term of the divisor, write that as the next term of the quotient, multiply it back through the divisor and subtract. Stop when what is left has a lower degree than the divisor: that is the remainder.

P(x) = D(x) × Q(x) + R(x) (degree of R is less than the degree of D)

Synthetic division is a shortcut when the divisor is x − r. Write the coefficients, bring down the first, then repeatedly multiply by r and add to the next coefficient. The numbers you build are the quotient coefficients, and the last one is the remainder.

Remainder theorem: the remainder on division by x − r is P(r). If it is 0, then x − r is a factor of P(x) (the factor theorem).

Example: (2x³ − 3x² + 4x + 5) ÷ (x + 2), so r = −2. Coefficients 2, −3, 4, 5: bring down 2; −3 + (−2)(2) = −7; 4 + (−2)(−7) = 18; 5 + (−2)(18) = −31. The quotient is 2x² − 7x + 18 with remainder −31, and indeed P(−2) = 2(−8) − 3(4) + 4(−2) + 5 = −31.

Enter coefficients from the highest power down and use 0 for any power that is missing, so x³ − 1 is 1, 0, 0, −1.

Frequently asked questions

How do I enter x³ − 1?

Type 1, 0, 0, −1. Every power from the highest down to the constant needs a coefficient, with 0 for the ones that are missing.

When can I use synthetic division?

When the divisor is linear with leading coefficient 1, written x − r. To divide by x + 3, use r = −3. For divisors like 2x − 1 or x² + 1 use long division.

What does a remainder of 0 mean?

The divisor divides the polynomial exactly. For a divisor x − r this means r is a root of the polynomial and x − r is a factor.

What if the dividend has a lower degree than the divisor?

Then the quotient is 0 and the remainder is the dividend itself.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator