30% off your first 3 months

Get the deal

Polynomial division

Dividing a polynomial by x−ax - a works like long division with numbers: divide the leading terms, multiply back, subtract, bring down the next term, and repeat.

Guide 3 of 8
A box with x and minus 3 down the side and x squared, x and minus 2 along the top. Its six parts are x cubed, x squared, minus 2x, minus 3x squared, minus 3x and 6. Together they make x cubed minus 2x squared minus 5x plus 6.
(x − 3)(x² + x − 2) = x³ − 2x² − 5x + 6. Multiply back: the six parts add up to what you divided.

Why it works. Division undoes multiplication, so the quotient is whatever you multiply x−3x - 3 by to get the polynomial back. Each round finds one term of it, biggest power first, and subtracting takes away that much. A remainder of 0 means x−3x - 3 goes in exactly, so 3 is a root.


Move it yourself

Slide a: the remainder from dividing by x minus a is the curve's height at a. It is zero where the curve crosses.

A box with x and minus 3 down the side and x squared, x and minus 2 along the top. Its six parts are x cubed, x squared, minus 2x, minus 3x squared, minus 3x and 6. Together they make x cubed minus 2x squared minus 5x plus 6.

Your turn

Divide x3+2x2−x−2x^3 + 2x^2 - x - 2 by x+2x + 2.

Or just show the answer

x2−1x^2 - 1, remainder 0

x3÷x=x2x^3 \div x = x^2. Take away x2(x+2)=x3+2x2x^2(x + 2) = x^3 + 2x^2, which leaves −x−2-x - 2. Then −x÷x=−1-x \div x = -1. Take away −1(x+2)=−x−2-1(x + 2) = -x - 2, which leaves 0. So x2−1x^2 - 1, remainder 0.


Watch out for

  • Mistake 1. Struck through: −2x^2 − (−3x^2) = −5x^2; written over it: −2x^2 + 3x^2 = x^2.

    Subtracting a negative wrongly: −2x2−(−3x2)-2x^2 - (-3x^2) written as −5x2-5x^2.

    Subtracting −3x2-3x^2 adds 3x23x^2: −2x2+3x2=x2-2x^2 + 3x^2 = x^2.

  • Mistake 2. Struck through: x^3 − 7x + 6; written over it: x^3 + 0x^2 − 7x + 6.

    Skipping a missing power, like dividing x3−7x+6x^3 - 7x + 6 without an x2x^2 term.

    Write x3+0x2−7x+6x^3 + 0x^2 - 7x + 6 so every power has its place.

  • Mistake 3. Struck through: x + 3 → 3; written over it: x + 3 → −3.

    Using +3+3 in synthetic division for x+3x + 3.

    x+3=x−(−3)x + 3 = x - (-3), so use −3-3.


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Walk me through this polynomial division and tell me what the remainder means.”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

Dividing a polynomial by x−ax - a works like long division with numbers: divide the leading terms, multiply back, subtract, bring down the next term, and repeat. The terms you find make the quotient. If the remainder is 0, then x−ax - a is a factor and aa is a root. Synthetic division does the same steps with only the coefficients.

Worked example

Divide x3−2x2−5x+6x^3 - 2x^2 - 5x + 6 by x−3x - 3.

  1. Divide the leading terms: x3÷x=x2x^3 \div x = x^2. Multiply x−3x - 3 by x2x^2 and subtract.
    x3−2x2−(x3−3x2)=x2x^3 - 2x^2 - (x^3 - 3x^2) = x^2
  2. Bring down −5x-5x. Divide again: x2÷x=xx^2 \div x = x. Multiply back by xx and subtract.
    x2−5x−(x2−3x)=−2xx^2 - 5x - (x^2 - 3x) = -2x
  3. Bring down 6. Then −2x÷x=−2-2x \div x = -2. Multiply back by −2-2 and subtract.
    −2x+6−(−2x+6)=0-2x + 6 - (-2x + 6) = 0
  4. The terms you found are the quotient, and nothing is left over.
    x3−2x2−5x+6=(x−3)(x2+x−2)x^3 - 2x^2 - 5x + 6 = (x - 3)(x^2 + x - 2)

Answer: x2+x−2x^2 + x - 2, remainder 0

Algebra 2: all 8 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.