Math concepts

Polynomial Long Division and Synthetic Division: Four Worked Examples

December 1, 2026Ivan Terekhin6 min read
Polynomial Long Division and Synthetic Division: Four Worked Examples

Polynomial division has one reliable final check: if P(x)P(x) is divided by D(x)D(x), the answer must satisfy P(x)=D(x)Q(x)+R(x)P(x)=D(x)Q(x)+R(x), with deg⁡R<deg⁡D\deg R<\deg D. Multiplying back catches a misplaced sign or a forgotten zero coefficient even when the quotient looks plausible. The four original examples below show long division, the coefficient-only synthetic division often called Horner's scheme, a nonzero remainder, and a divisor for which that simple scheme is unsuitable.

The algebra topic includes a short overview of polynomial division in the app. This page focuses on written calculations. For a later use of the quotient, see partial fraction decomposition, where division comes before splitting an improper rational expression. The steps follow the polynomial division algorithm and synthetic method in OpenStax Algebra 1 and Andrews University Precalculus.

Choose a method, then check the identity

DivisorMethod in this articleWhat the remainder can look likeFinal check
x−cx-cLong division or simple synthetic divisionA constantExpand (x−c)Q+R(x-c)Q+R
ax−bax-b, a≠0,1a\ne0,1Long division; a scaled synthetic shortcut is possibleA constantExpand (ax−b)Q+R(ax-b)Q+R
Quadratic ax2+bx+cax^2+bx+cLong divisionA linear polynomial or constantExpand DQ+RDQ+R

This method-and-check table is the guide for all four examples. Synthetic division is not a different answer. For the same monic linear divisor, it compresses the multiply-and-subtract steps of long division into a row of coefficients. In either layout, list the dividend's powers in descending order and insert zero coefficients for gaps. The remainder must have lower degree than the divisor. If it does not, the division has not finished.

Example 1: the same division by both methods

Divide P(x)=2x3−3x2−8x+12P(x)=2x^3-3x^2-8x+12 by x−2x-2. Long division starts with the leading terms: 2x3/x=2x22x^3/x=2x^2. Multiply 2x2(x−2)=2x3−4x22x^2(x-2)=2x^3-4x^2 and subtract it from the dividend. What remains is x2−8x+12x^2-8x+12. Next, x2/x=xx^2/x=x; subtract x(x−2)=x2−2xx(x-2)=x^2-2x to leave −6x+12-6x+12. Finally, subtract −6(x−2)=−6x+12-6(x-2)=-6x+12. The remainder is zero, so Q(x)=2x2+x−6Q(x)=2x^2+x-6.

2x2+x−6x−22x3−3x2−8x+122x3−4x2x2−8x+12x2−2x−6x+12−6x+120\begin{array}{r|rrrr} & & 2x^2 & +x & -6 \\ \hline x-2 & 2x^3 & -3x^2 & -8x & +12 \\ & 2x^3 & -4x^2 & & \\ \hline & & x^2 & -8x & +12 \\ & & x^2 & -2x & \\ \hline & & & -6x & +12 \\ & & & -6x & +12 \\ \hline & & & & 0 \end{array}

Now do the identical problem synthetically. Because the divisor is x−2x-2, put 22 beside coefficients 2,−3,−8,122,-3,-8,12. Bring down 22. Multiply by 22 and add to the next coefficient: −3+4=1-3+4=1. Repeat: −8+2=−6-8+2=-6, then 12−12=012-12=0. The bottom row is 2,1,−6∣02,1,-6\mid0. Its first three entries give the same quotient; the last is the remainder.

22−3−81242−1221−60\begin{array}{r|rrrr} 2 & 2 & -3 & -8 & 12\\ & & 4 & 2 & -12\\ \hline & 2 & 1 & -6 & 0 \end{array}

Multiply back: (x−2)(2x2+x−6)=2x3−3x2−8x+12=P(x)(x-2)(2x^2+x-6)=2x^3-3x^2-8x+12=P(x). Both methods agree because they perform the same division, not because one method validates the other.

Example 2: missing powers and a nonzero remainder

Divide P(x)=x4−3x2+2x+5P(x)=x^4-3x^2+2x+5 by x+1x+1. The x3x^3 term is absent, so the coefficient row must be 1,0,−3,2,51,0,-3,2,5. Since x+1=x−(−1)x+1=x-(-1), use −1-1 in the synthetic corner. Bring down 11, then multiply and add across: 0−1=−10-1=-1, −3+1=−2-3+1=-2, 2+2=42+2=4, and 5−4=15-4=1. Thus Q(x)=x3−x2−2x+4Q(x)=x^3-x^2-2x+4 and R=1R=1.

In long division, the same zero term keeps the columns aligned. Subtract x3(x+1)=x4+x3x^3(x+1)=x^4+x^3 to leave −x3−3x2+2x+5-x^3-3x^2+2x+5. Then subtract −x2(x+1)=−x3−x2-x^2(x+1)=-x^3-x^2, leaving −2x2+2x+5-2x^2+2x+5. Subtract −2x(x+1)=−2x2−2x-2x(x+1)=-2x^2-2x, leaving 4x+54x+5. Subtract 4(x+1)=4x+44(x+1)=4x+4 to get remainder 11.

Multiply back: (x+1)(x3−x2−2x+4)+1=x4−3x2+2x+5(x+1)(x^3-x^2-2x+4)+1=x^4-3x^2+2x+5. If you omit the zero after the leading coefficient in the synthetic row, every following power shifts and this identity fails.

Example 3: use the remainder theorem as a second check

Divide P(x)=3x3+2x2−5x+7P(x)=3x^3+2x^2-5x+7 by x−2x-2. Synthetic division uses 22 with row 3,2,−5,73,2,-5,7. Bring down 33; the following additions are 2+6=82+6=8, −5+16=11-5+16=11, and 7+22=297+22=29. Therefore Q(x)=3x2+8x+11Q(x)=3x^2+8x+11 and R=29R=29.

Multiply back: (x−2)(3x2+8x+11)+29=3x3+2x2−5x+7(x-2)(3x^2+8x+11)+29=3x^3+2x^2-5x+7. The remainder theorem in OpenStax also gives R=P(2)R=P(2) for division by x−2x-2. Direct substitution produces P(2)=3(8)+2(4)−5(2)+7=29P(2)=3(8)+2(4)-5(2)+7=29. Evaluation checks the remainder, while multiplication checks the whole quotient.

Example 4: a quadratic divisor needs long division

Divide P(x)=x4−x3+2x2+3x+2P(x)=x^4-x^3+2x^2+3x+2 by D(x)=x2+x+1D(x)=x^2+x+1. The simple synthetic row used above expects x−cx-c, so use long division. Divide leading terms: x4/x2=x2x^4/x^2=x^2. Subtract x2D=x4+x3+x2x^2D=x^4+x^3+x^2, leaving −2x3+x2+3x+2-2x^3+x^2+3x+2. Next, −2x3/x2=−2x-2x^3/x^2=-2x. Subtract −2xD=−2x3−2x2−2x-2xD=-2x^3-2x^2-2x, leaving 3x2+5x+23x^2+5x+2. Subtract 3D=3x2+3x+33D=3x^2+3x+3, leaving R(x)=2x−1R(x)=2x-1. The quotient is Q(x)=x2−2x+3Q(x)=x^2-2x+3.

Multiply back: (x2+x+1)(x2−2x+3)+(2x−1)=x4−x3+2x2+3x+2(x^2+x+1)(x^2-2x+3)+(2x-1)=x^4-x^3+2x^2+3x+2. Here a linear remainder is valid because its degree is one, less than the divisor's degree two. Substituting a single value of xx cannot verify the entire division identity.

What to do when the divisor is not monic

For ax−bax-b with a≠0,1a\ne0,1, long division works directly. If you choose a synthetic shortcut, write ax−b=a(x−b/a)ax-b=a(x-b/a). Synthetic division by x−b/ax-b/a gives an intermediate quotient Q0Q_0 and remainder RR satisfying P=(x−b/a)Q0+RP=(x-b/a)Q_0+R. The quotient for the original divisor is Q=Q0/aQ=Q_0/a, while the remainder stays RR. Forgetting that quotient scaling gives a result that fails the multiplication check. A quadratic divisor does not fit this simple one-number row; use long division as in Example 4.

Practice and verify

Try 2x3−5x2−7x+62x^3-5x^2-7x+6 divided by x−3x-3. The quotient is 2x2+x−42x^2+x-4 and the remainder is −6-6: (x−3)(2x2+x−4)−6=2x3−5x2−7x+6(x-3)(2x^2+x-4)-6=2x^3-5x^2-7x+6. Check the expansion yourself before looking at the equality. Then change the divisor to x+3x+3 and begin again with the synthetic corner −3-3. This time Q=2x2−11x+26Q=2x^2-11x+26 and R=−72R=-72: (x+3)(2x2−11x+26)−72=2x3−5x2−7x+6(x+3)(2x^2-11x+26)-72=2x^3-5x^2-7x+6. The signs change, but the final test stays P=DQ+RP=DQ+R.

Common Questions

When can I use synthetic division?
The simple coefficient-only scheme here divides by x-c. Use polynomial long division for a quadratic divisor. For ax-b, divide by x-b/a synthetically and then divide the quotient by a.
Why put zeros in a coefficient row?
A missing power still has a place in the polynomial. Its zero coefficient keeps every later coefficient in the correct column.
How do I check the quotient and remainder?
Expand divisor times quotient, then add the remainder. The result must reproduce the original dividend term by term.

Edited by Ivan Terekhin, drafted with AI tools.