Algebra 2 · Grades 10, 11

Dividing Polynomials: Long Division and Synthetic Division

Quick answer

Dividing polynomials works exactly like long division of numbers: divide the leading terms, multiply back, subtract, and bring down the next term. The result is a quotient and a remainder, written a(x)/b(x) = q(x) + r(x)/b(x), exactly as 17/5 = 3 + 2/5. When the divisor is x − a, synthetic division keeps only the coefficients and gets the same answer in a fraction of the writing.

What you'll learn

  • Divide a polynomial by another using long division
  • Write a quotient in the form q(x) + r(x)/b(x)
  • Use synthetic division to divide by x − a

The same algorithm as dividing numbers

Divide 1717 by 55 and you get 33 with 22 left over:

175=3+25because17=5×3+2\frac{17}{5} = 3 + \frac{2}{5} \qquad\text{because}\qquad 17 = 5 \times 3 + 2

Polynomials divide the same way, with a quotient and a remainder:

a(x)b(x)=q(x)+r(x)b(x)becausea(x)=b(x) q(x)+r(x)\frac{a(x)}{b(x)} = q(x) + \frac{r(x)}{b(x)} \qquad\text{because}\qquad a(x) = b(x)\,q(x) + r(x)

The numbers stop when the remainder is smaller than the divisor. Polynomials stop when the remainder has smaller degree than the divisor.

Long division, step by step

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

Each round has four moves: divide, multiply, subtract, bring down.

RoundDivide leading termsMultiply by x−2x - 2Subtract, and what is left
12x3÷x=2x22x^3 \div x = 2x^22x3−4x22x^3 - 4x^2x2+4xx^2 + 4x
2x2÷x=xx^2 \div x = xx2−2xx^2 - 2x6x−56x - 5
36x÷x=66x \div x = 66x−126x - 1277

The quotient collects the three answers from the first column: 2x2+x+62x^2 + x + 6. The remainder is 77, a constant — degree 00, less than the divisor’s degree 11 — so the division stops.

2x3−3x2+4x−5x−2=2x2+x+6+7x−2\frac{2x^3 - 3x^2 + 4x - 5}{x - 2} = 2x^2 + x + 6 + \frac{7}{x - 2}

Check by multiplying back. (x−2)(2x2+x+6)+7(x - 2)(2x^2 + x + 6) + 7 should rebuild the original:

2x3+x2+6x−4x2−2x−12+7=2x3−3x2+4x−5✓2x^3 + x^2 + 6x - 4x^2 - 2x - 12 + 7 = 2x^3 - 3x^2 + 4x - 5 \quad\checkmark

Missing terms need a zero

Divide x3−7x+6x^3 - 7x + 6 by x−1x - 1.

There is no x2x^2 term. Write it as x3+0x2−7x+6x^3 + 0x^2 - 7x + 6 before starting.

In long division of numbers, 507507 needs its 00 in the tens place, or the 55 and the 77 land in the wrong columns. A polynomial’s missing power is that same zero, and leaving it out misaligns every step after it.

The division gives x2+x−6x^2 + x - 6 with remainder 00, so x−1x - 1 divides the polynomial exactly.

Synthetic division

When the divisor has the form x−ax - a, every round of long division does the same arithmetic on the coefficients. Synthetic division keeps only that arithmetic.

Divide 2x3−3x2+4x−52x^3 - 3x^2 + 4x - 5 by x−2x - 2 again. Here a=2a = 2.

  1. Write the coefficients: 2,  −3,  4,  −52, \; -3, \; 4, \; -5.
  2. Bring down the first: 22.
  3. Multiply by aa and add to the next coefficient: 2×2=42 \times 2 = 4, and −3+4=1-3 + 4 = 1.
  4. Repeat: 1×2=21 \times 2 = 2, and 4+2=64 + 2 = 6. Then 6×2=126 \times 2 = 12, and −5+12=7-5 + 12 = 7.
22−3-344−5-5
add44221212
result22116677

The last number, 77, is the remainder. The others, 2,1,62, 1, 6, are the quotient’s coefficients, one degree lower than the original: 2x2+x+62x^2 + x + 6.

Use aa, not −a-a. Dividing by x+3x + 3 means a=−3a = -3, because x+3=x−(−3)x + 3 = x - (-3).

Why synthetic division works

In long division by x−ax - a, each round divides a leading term by xx — that only drops the power by one, so the coefficient carries straight down. Then the round multiplies by x−ax - a and subtracts, which is the same as adding aa times the coefficient.

Synthetic division does exactly those two things: bring the coefficient down, and add aa times it to the next column. Every other symbol in long division is bookkeeping it leaves out.

That is also why it only works for divisors of the form x−ax - a. For a divisor such as x2+1x^2 + 1 or 2x+32x + 3, use long division.

Worked examples

Common mistakes

Practice problems

  1. Divide x2+5x+6x^2 + 5x + 6 by x+2x + 2.

    Answer

    x+3x + 3

    Full solution

    Synthetic division with a=−2a = -2 on 1,5,61, 5, 6 gives 1,31, 3 and remainder 00.

  2. Divide x2+3x+5x^2 + 3x + 5 by x+1x + 1.

    Answer

    x+2+3x+1x + 2 + \tfrac{3}{x + 1}

    Full solution

    With a=−1a = -1: 1,3,51, 3, 5 gives 1,21, 2 and remainder 33.

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

    Answer

    2x−12x - 1

    Full solution

    With a=−3a = -3: 2,5,−32, 5, -3 gives 2,−12, -1 and remainder 00.

  4. What value of aa do you use to divide by x−5x - 5 synthetically?

    Answer

    55

    Full solution

    The divisor is x−ax - a with a=5a = 5.

  5. Write the coefficient list for x3+4x^3 + 4.

    Answer

    1,0,0,41, 0, 0, 4

    Full solution

    The x2x^2 and xx terms are missing, so each gets a 00.

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

    Answer

    x2−5x+6x^2 - 5x + 6

    Full solution

    With a=1a = 1: 1,−6,11,−61, -6, 11, -6 gives 1,−5,61, -5, 6 and remainder 00.

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

    Answer

    x2+4x+3x^2 + 4x + 3

    Full solution

    With a=2a = 2: 1,2,−5,−61, 2, -5, -6 gives 1,4,31, 4, 3 and remainder 00.

  8. Divide 2x3+x2−13x+62x^3 + x^2 - 13x + 6 by x−2x - 2, then check by multiplying back.

    Hint

    Synthetic division with a=2a = 2.

    Answer

    2x2+5x−32x^2 + 5x - 3

    Full solution

    Coefficients 2,1,−13,62, 1, -13, 6. Bring down 22. Then 2×2=42 \times 2 = 4 and 1+4=51 + 4 = 5; 5×2=105 \times 2 = 10 and −13+10=−3-13 + 10 = -3; −3×2=−6-3 \times 2 = -6 and 6−6=06 - 6 = 0.

    Quotient 2x2+5x−32x^2 + 5x - 3, remainder 00.

    Check: (x−2)(2x2+5x−3)=2x3+5x2−3x−4x2−10x+6=2x3+x2−13x+6(x - 2)(2x^2 + 5x - 3) = 2x^3 + 5x^2 - 3x - 4x^2 - 10x + 6 = 2x^3 + x^2 - 13x + 6 ✓

  9. When dividing by x2+1x^2 + 1, what is the largest degree the remainder can have?

    Answer

    11

    Full solution

    The remainder’s degree must be less than the divisor’s degree, which is 22.

  10. Dividing x3−7x+6x^3 - 7x + 6 by x−1x - 1, Tom uses the coefficients 1,−7,61, -7, 6 and gets quotient x−6x - 6 with remainder 00. Find his error.

    Hint

    Which power of xx is missing?

    Answer

    He left out the 00 for x2x^2. The quotient is x2+x−6x^2 + x - 6.

    Full solution

    With only three coefficients, synthetic division treats the polynomial as x2−7x+6x^2 - 7x + 6 — a different polynomial, one degree lower.

    The correct list is 1,0,−7,61, 0, -7, 6. Bring down 11; then 0+1=10 + 1 = 1; then −7+1=−6-7 + 1 = -6; then 6−6=06 - 6 = 0.

    Quotient x2+x−6x^2 + x - 6, remainder 00.

    Checking catches Tom’s version at once: (x−1)(x−6)=x2−7x+6(x - 1)(x - 6) = x^2 - 7x + 6, which is not the cubic he started with.

Frequently asked questions

How does polynomial long division work?

Divide the leading term of what is left by the leading term of the divisor, multiply the whole divisor by that result, subtract, and repeat until what is left has a smaller degree than the divisor.

When do I stop dividing?

When the remainder's degree is less than the divisor's. Dividing by x − 3 stops at a constant remainder.

What is synthetic division?

A shortcut for dividing by x − a that keeps only the coefficients. It gives the same quotient and remainder as long division.

Why do I need a 0 for a missing term?

Every power needs a column. Skipping x² in x³ + 4 would line the other terms up under the wrong powers.

How do I check a division?

Multiply the divisor by the quotient and add the remainder. The result must be the original polynomial.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSA.APR.D.6Arithmetic with Polynomials and Rational ExpressionsRewrite simple rational expressions in different forms; write <sup>a(x </sup>/<sub>b(x)</sub> in the form q(x) + <sup>r(x)</sup>/<sub>b(x)</sub>, where a(x), b(x), q(x), and r(x) are polynomials with the degree of r(x) less than the degree of b(x), using inspection, long division, or, for the more complicated examples, a computer algebra system.