Skip to content
FiftyCalc Free calculators for all 50 states

Polynomial Division Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the coefficients of the dividend (degree 4 or less) and of the divisor (degree 1 or 2). Use 0 for a missing term.

Result

Sample figures

Quotient: coefficient of x²—

Quotient: coefficient of x³ —

  • Quotient: coefficient of x—
  • Quotient: constant term—
  • Remainder: coefficient of x (always 0 for a linear divisor)—
  • Remainder: constant term—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Polynomial Division Calculator

Dividend: coefficient of x⁴: enter a number. Prefilled example: 2.

Dividend: coefficient of x³: enter a number. Prefilled example: 3.

Dividend: coefficient of x²: enter a number. Prefilled example: 0.

Dividend: coefficient of x: enter a number. Prefilled example: -1.

Dividend: constant term: enter a number. Prefilled example: 5.

Divisor degree: choose Quadratic: d₂x² + d₁x + d₀ or Linear: d₁x + d₀. Prefilled example: Quadratic: d₂x² + d₁x + d₀.

Divisor: coefficient of x² d₂ (quadratic only, not 0): enter a number. Prefilled example: 1.

Divisor: coefficient of x d₁: enter a number. Prefilled example: 0.

Divisor: constant term d₀: enter a number. Prefilled example: 1.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Dividend: coefficient of x⁴: enter a number.
  2. Dividend: coefficient of x³: enter a number.
  3. Dividend: coefficient of x²: enter a number.
  4. Dividend: coefficient of x: enter a number.
  5. Dividend: constant term: enter a number.
  6. Divisor degree: choose Quadratic: d₂x² + d₁x + d₀ or Linear: d₁x + d₀.
  7. Divisor: coefficient of x² d₂ (quadratic only, not 0): enter a number.
  8. Divisor: coefficient of x d₁: enter a number.
  9. Divisor: constant term d₀: enter a number.
  10. Read the result: Quotient: coefficient of x²; the panel also shows Quotient: coefficient of x³, Quotient: coefficient of x, Quotient: constant term, Remainder: coefficient of x (always 0 for a linear divisor) and Remainder: constant term.

How this calculator works

Polynomial long division finds Q(x) and R(x) such that P(x) = D(x) × Q(x) + R(x), with the degree of R lower than the degree of D. Each step divides the leading term of what is left by the leading term of D, writes that term in the quotient, multiplies it by D and subtracts.

For a quadratic divisor d₂x² + d₁x + d₀ the quotient of a degree-4 dividend is q₂x² + q₁x + q₀ with q₂ = a₄ ÷ d₂, q₁ = (a₃ − q₂d₁) ÷ d₂, q₀ = (a₂ − q₂d₀ − q₁d₁) ÷ d₂; the remainder is (a₁ − q₁d₀ − q₀d₁)x + (a₀ − q₀d₀). A linear divisor gives a cubic quotient and a constant remainder in the same way.

The formula

  1. Q3={a4d1if dd=10otherwise
  2. Q2={a3−Q3×d0d1if dd=1a4d2otherwise
Symbols used in the formula
SymbolMeaning
a4Dividend: coefficient of x⁴
a3Dividend: coefficient of x³
ddDivisor degree (2: Quadratic: d₂x² + d₁x + d₀; 1: Linear: d₁x + d₀)
d2Divisor: coefficient of x² d₂ (quadratic only, not 0)
d1Divisor: coefficient of x d₁
d0Divisor: constant term d₀
Q3Quotient: coefficient of x³
Q2Quotient: coefficient of x²

Worked example

Dividend: coefficient of x⁴2
Dividend: coefficient of x³3
Dividend: coefficient of x²0
Dividend: coefficient of x-1
Dividend: constant term5
Divisor degreeQuadratic: d₂x² + d₁x + d₀
Divisor: coefficient of x² d₂ (quadratic only, not 0)1
Divisor: coefficient of x d₁0
Divisor: constant term d₀1
Quotient: coefficient of x³0
Quotient: coefficient of x3
Quotient: constant term-2
Remainder: coefficient of x (always 0 for a linear divisor)-4
Remainder: constant term7
  1. Q3=0
  2. Q2=21=2

Quotient: coefficient of x² 2

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is (2x⁴ + 3x³ − x + 5) ÷ (x² + 1)?

The quotient is 2x² + 3x − 2 and the remainder is −4x + 7, so 2x⁴ + 3x³ − x + 5 = (x² + 1)(2x² + 3x − 2) − 4x + 7.

How is this different from synthetic division?

Synthetic division only works for a divisor of the form x − r. Long division also handles divisors such as 2x + 1 or x² + 1.

Related calculators