Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library

Unlock Unlimited Help

Try unlimited chats, explanations, practice, flashcards, and more free for 7 days.

7 days free · cancel anytime

MathGPT Unlimited

  • Chats and explanations
  • Personalized practice exams
  • Custom study guides
  • Flashcard sets
  • Interactive graphs
  • Cancel anytime
Choose a billing period
Ask a parent to pay

No charge for 7 days. After the trial, your selected plan renews automatically until cancelled. Cancel anytime from your plan page; payments are processed securely by Stripe.

Divide polynomials by long division, with steps

Use the free polynomial long division calculator to model the algebraic relationship, calculate the requested quantity, and verify it in the original expression. Choose a focused operation below to calculate, inspect the method, and connect the result to a visual model.

The visual updates with your calculation.

Result—Choose a mode, enter the known values, and calculate.
Show your work Step-by-step method
  1. The calculation method and verification will appear here.
Ask MathGPT for a full symbolic explanation →
Algebra

Polynomial Long Division Calculator explained

The short version

  • Polynomial long division works like the long division you did with numbers, except you compare leading terms instead of leading digits.
  • You stop when what is left has a lower degree than the divisor. Carrying on past that point is what produces wrong answers.
  • Any power that is missing from the dividend needs a 0 written in its place, or the columns fall out of line.

The formula this page uses

dividend = divisor × quotient + remainder, with degree(remainder) < degree(divisor)

What each part means

SymbolWhat it means
dividend — What is being dividedThe polynomial under the bar, written highest power first with zeros for gaps.
divisor — What you divide byCan be any degree. Degree 2 or more is exactly when synthetic division is no longer allowed.
quotient — The answer on topIts degree is the dividend's degree minus the divisor's degree.
remainder — What is left overAlways lower in degree than the divisor. It can be 0, a number, or an expression with x in it.

Show your work: a full example

  1. Divide x⁴ + 3x³ − 2x² + 5x − 7 by x² + 2x − 1compare leading terms: x⁴ ÷ x² = x²
  2. Multiply the divisor by x² and subtractx⁴ + 2x³ − x² leaves x³ − x² + 5x − 7
  3. Compare againx³ ÷ x² = x
  4. Multiply by x and subtractx³ + 2x² − x leaves −3x² + 6x − 7
  5. Compare once more−3x² ÷ x² = −3
  6. Multiply by −3 and subtract−3x² − 6x + 3 leaves 12x − 10
  7. Stop, because 12x − 10 has degree 1 and the divisor has degree 2quotient x² + x − 3, remainder 12x − 10
  8. Write the finished answerx² + x − 3 + (12x − 10)/(x² + 2x − 1)

A second, different case

  1. A different case: three powers are missingdivide 2x⁴ − 5 by x² − 3
  2. Fill the gaps with zeros first2x⁴ + 0x³ + 0x² + 0x − 5
  3. Leading terms2x⁴ ÷ x² = 2x²
  4. Multiply and subtract2x⁴ − 6x² taken away leaves 6x² + 0x − 5
  5. Leading terms again6x² ÷ x² = 6
  6. Multiply and subtract6x² − 18 taken away leaves 13
  7. Read it offquotient 2x² + 6, remainder 13
  8. Check by multiplying back(x² − 3)(2x² + 6) + 13 = 2x⁴ − 18 + 13 = 2x⁴ − 5 ✓
Copy-ready example

compare leading terms: x⁴ ÷ x² = x²

Divide x⁴ + 3x³ − 2x² + 5x − 7 by x² + 2x − 1

Every division checked against dividend = divisor × quotient + remainder

DividendDivisorQuotientRemainderDegree of remainder
x⁴ + 3x³ − 2x² + 5x − 7x² + 2x − 1x² + x − 312x − 101, below the divisor's 2
2x⁴ − 5x² − 32x² + 6130
x³ + 1x² + 1x1 − x1
x² − 5x + 6x − 2x − 30divides exactly
3x³ + x − 2x + 13x² − 3x + 4−60
4x² + 72x − 12x + 180
x⁵ − 1x − 1x⁴ + x³ + x² + x + 10divides exactly

Three mistakes to check for

What students writeWhy it's wrongDo this instead
Setting up 2x⁴ − 5 as a two-column rowThe x³, x² and x places are empty, so the subtractions line up against the wrong powers.Write 2x⁴ + 0x³ + 0x² + 0x − 5 before dividing anything.
x⁴ + 3x³ minus x⁴ + 2x³ giving 5x³The whole product must be subtracted, and 3x³ − 2x³ is x³, not 3x³ + 2x³.Change every sign in the product first, then add: 3x³ − 2x³ = x³.
Writing the answer as x² + x − 3 + 12x − 10The remainder is only a remainder while it sits over the divisor. Dropped like that it changes the value entirely.Write x² + x − 3 + (12x − 10)/(x² + 2x − 1).

Questions about the Polynomial Long Division Calculator

When must I use long division instead of synthetic division?

Whenever the divisor has degree 2 or higher. Dividing by x² + 2x − 1 has no synthetic shortcut, because synthetic division was built to strip out a single linear bracket and nothing else.

How do I know when to stop dividing?

Compare degrees. The moment the leftover has a smaller degree than the divisor, no more terms can be produced. 12x − 10 is degree 1 against a degree-2 divisor, so it is finished even though it is not zero.

What does a remainder of 0 tell me?

That the divisor is a factor. x² − 5x + 6 divided by x − 2 leaves nothing, so x² − 5x + 6 = (x − 2)(x − 3) exactly, with no fraction hanging off the end.

Why is the answer written as quotient plus remainder over divisor?

Because that is the only form that is still equal to the original. Just as 17 ÷ 5 is 3 with 2 left over, meaning 3 + 2/5, a polynomial remainder has to stay divided by the thing it could not be divided by.

Where to go next

Calculate, interpret, verify.

This workspace keeps the formula and the meaning together. Decimal results are rounded for display; retain full precision when you continue a calculation.

01

Enter known values

Match each input to the quantities in the problem and keep units consistent.

02

Use the relationship

The result panel identifies the formula or algorithm and shows the main substitutions.

03

Read the visual

Use the diagram, plot, or data display to check scale, direction, and plausibility.

04

Practice unaided

Move to targeted questions once you can explain why the method applies.

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Recommended next tools

Calculators that work well with this one

See all calculators →

Algebra calculator

Evaluate algebraic relationships and inspect the working.

Open free tool

Quadratic formula calculator

Find roots and connect the discriminant to the graph.

Open free tool

Graphing calculator

Compare equations, roots, intercepts, and inequalities visually.

Open free tool
Learn the mathematics

Understand algebra behind this calculator

A calculator confirms an answer. Working the method yourself is what makes the next problem faster.