Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Do Polynomial Long Division

Polynomial long division runs exactly like long division of numbers: divide the leading terms, multiply the whole divisor by that result, subtract, bring down, and repeat until what is left has a smaller degree than the divisor.

Recognize the task

"Divide 2x3+3x2−5x+62x^3 + 3x^2 - 5x + 6 by x+2x + 2", a rational expression to simplify where the top degree is at least the bottom degree, or a division by a quadratic (where synthetic division cannot be used).
The lesson section is Polynomial Long Division; for divisors x−rx - r the faster route is synthetic division.

Steps

StepOn (2x3+3x2−5x+6)÷(x+2)(2x^3 + 3x^2 - 5x + 6) \div (x + 2)
1Write both in descending powers, with 0 for missing terms. Placeholders keep the columns aligned.dividend 2x3+3x2−5x+62x^3 + 3x^2 - 5x + 6, divisor x+2x + 2
2Divide the leading term by the divisor’s leading term. That is the next term of the quotient.2x3x=2x2\frac{2x^3}{x} = 2x^2
3Multiply the whole divisor by it and subtract. Subtract every term: change all signs, then add.Distribute every term ↗2x2(x+2)=2x3+4x22x^2(x + 2) = 2x^3 + 4x^2; remainder so far −x2−5x-x^2 - 5x
4Bring down the next term and repeat. Stop when the degree of what is left is below the degree of the divisor.−x-x: leaves −3x+6-3x + 6;   −3\;-3: leaves 1212
5Write quotient + remainder / divisor, and check. Check: divisor × quotient + remainder = dividend. The remainder theorem gives a quick check of the remainder.2x2−x−3+12x+22x^2 - x - 3 + \frac{12}{x + 2}; f(−2)=12f(-2) = 12 ✓

Worked examples

Example 1 · missing terms

placeholders
(x3−8)÷(x−2)(x^3 - 8) \div (x - 2): write x3+0x2+0x−8x^3 + 0x^2 + 0x - 8
x2+2x+4x^2 + 2x + 4, remainder 00
a difference of cubes

Example 2 · a quadratic divisor

synthetic division cannot do this
(x4+x3+2x2+x+1)÷(x2+1)(x^4 + x^3 + 2x^2 + x + 1) \div (x^2 + 1)
x2x^2, then xx, then 11
x2+x+1x^2 + x + 1, remainder 00
check: (x2+1)(x2+x+1)(x^2 + 1)(x^2 + x + 1) expands back

Example 3 · the trace

nonzero remainder
(2x3+3x2−5x+6)÷(x+2)(2x^3 + 3x^2 - 5x + 6) \div (x + 2)
2x2−x−3+12x+22x^2 - x - 3 + \frac{12}{x + 2}
Check your division in the polynomial calculator.

See it happen

Each step of the division peels off one term of the quotient and makes the leftover one degree smaller, like taking off layers. When the leftover is smaller than the divisor, nothing more fits, and that leftover is the remainder.

Common mistakes

Subtracting only the first term

✗ 3x2−4x2=−x23x^2 - 4x^2 = -x^2, then bringing down +5x+5x
✓ subtract the whole product; the next term is −5x-5x unchanged

No placeholder for a missing power

✗ writing x3−8x^3 - 8 in two columns
✓ x3+0x2+0x−8x^3 + 0x^2 + 0x - 8

Remainder written without the divisor

✗ 2x2−x−3+122x^2 - x - 3 + 12
✓ 2x2−x−3+12x+22x^2 - x - 3 + \frac{12}{x + 2}