Skip to content
All apps

Polynomial division — step by step

About this app

Classic polynomial long division as an animated tableau choreography: divide leading term, multiply, subtract — four examples including remainder. The factorisation appears at the end with factors glowing in sequence.

The idea

Polynomial long division works like long division with numbers. In each round you divide the leading term of the current remainder by the leading term of the divisor, multiply the result back with the divisor and subtract. You repeat until the remainder has a lower degree than the divisor. If nothing is left over, the divisor is a factor: from p(x) = (x − 1)·q(x) it follows that p(1) = 0.

What the app shows

The division layout builds up step by step, each round split into divide, multiply and subtract, with an explanation in the text panel. Four examples are included: x³ − 2x² − 5x + 6 divided by (x − 1), 2x³ + 3x² − 8x + 3 by (x + 3), x⁴ − 1 by (x² + 1), and x³ + 1 by (x − 1), which leaves a remainder of 2. At the end the factorisation appears, for example (x − 1)(x − 3)(x + 2), and a graph shows the roots.

Things to try

Use “Next” and “Back” to go through one step at a time and predict the next quotient term before it appears. “Play all” runs the whole layout at an adjustable speed. With x³ + 1, notice the missing powers: x² and x need zero placeholders, or the columns slip. The remainder 2 matches p(1) = 2, so 1 is not a root.

Frequently asked questions

How does polynomial long division work?
Divide the highest term of the dividend by the highest term of the divisor and write the result into the quotient. Multiply it by the divisor, subtract the product and continue with the new remainder. Stop when the remainder has a lower degree than the divisor.
What is polynomial division used for?
If you know a root x₀ of a polynomial, dividing by (x − x₀) splits off a linear factor and leaves a polynomial of lower degree. This is how a cubic equation can be reduced to a quadratic one. Polynomial division also gives the slant asymptote of a rational function.
What does a remainder in polynomial division mean?
A nonzero remainder r means p(x) = d(x)·q(x) + r(x), so the divisor d is not a factor of p. When dividing by (x − a), the remainder equals p(a). For x³ + 1 divided by (x − 1) the remainder is 2, and indeed p(1) = 2.
Which examples does the polynomial division app include?
Two cubics divided by a linear factor, x⁴ − 1 divided by x² + 1, and x³ + 1 divided by x − 1 with a remainder. Every step is animated and explained, and the result ends with the factorisation and a graph.

Subject: Analysis (one-dimensional)

More from Analysis (one-dimensional)

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps