Polynomials & Factoring

Synthetic Division: How It Works, Step by Step

Synthetic division divides a polynomial p(x)p(x) by x−cx-c using only coefficients: bring down the first one, multiply by cc, add to the next, and repeat. The last number is the remainder, which equals p(c)p(c), and the numbers before it are the coefficients of the quotient.

p(x)=(x−c) q(x)+r,r=p(c)p(x) = (x-c)\,q(x) + r, \quad r = p(c)

Try it with your numbers

Show every step

It is long division with the variables, the subtraction and the recopying stripped away. What remains is a short loop that works whenever the divisor is a linear factor, and it doubles as a fast way to evaluate a polynomial and to hunt for its roots.

What Is Synthetic Division and When Does It Work?

Dividing a polynomial by x−cx-c always produces a quotient and a remainder:

p(x)=(x−c) q(x)+rp(x) = (x-c)\,q(x) + r

Because the divisor has degree 11, the remainder has to be a plain number, and the quotient has a degree exactly one less than p(x)p(x). Synthetic division hands you q(x)q(x) and rr together, and it never asks you to write an xx.

Two conditions must hold. The dividend has to be in descending powers with a placeholder zero for every missing power, and the divisor has to look like x−cx-c. A divisor such as x+4x+4 qualifies because x+4=x−(−4)x+4=x-(-4), so c=−4c=-4. Anything else (a coefficient in front of xx, or a higher power) needs an adjustment or a different tool, covered below. For the full-length alternative, see polynomial long division.

Finding the number in the box

Set the divisor equal to zero and solve. For x+4x+4 that gives x=−4x=-4, and −4-4 goes in the box.

How Do You Do Synthetic Division Step by Step?

The whole method is one loop. Set up, then repeat the last two moves until the row is finished:

  1. Write cc on the left and the dividend’s coefficients in a row, with zeros for missing powers.
  2. Bring the first coefficient straight down.
  3. Multiply the number you just wrote in the bottom row by cc, and place the product under the next coefficient.
  4. Add that column, write the sum in the bottom row, and go back to step 3 until you run out of columns.

Take 2x3−5x2+4x−72x^3-5x^2+4x-7 divided by x−3x-3. Here c=3c=3 and the coefficients are 2,−5,4,−72, -5, 4, -7.

32−54−7632121714\begin{array}{r|rrrr} 3 & 2 & -5 & 4 & -7 \\ & & 6 & 3 & 21 \\ \hline & 2 & 1 & 7 & 14 \end{array}

The second row holds the products: 2⋅3=62\cdot 3=6, 1⋅3=31\cdot 3=3, 7⋅3=217\cdot 3=21. The bottom row holds the sums: 22, then −5+6=1-5+6=1, then 4+3=74+3=7, then −7+21=14-7+21=14. The last entry is the remainder and the rest are the quotient’s coefficients, starting one degree below the original:

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

Quick check

Use synthetic division to divide 3x2−4x+53x^2-4x+5 by x−2x-2.

Where Does the Multiply and Add Pattern Come From?

The loop is not a trick. It is what you get when you expand (x−c)(x-c) times an unknown quotient and match coefficients. For a cubic a3x3+a2x2+a1x+a0a_3x^3+a_2x^2+a_1x+a_0 with quotient b2x2+b1x+b0b_2x^2+b_1x+b_0:

a3x3+a2x2+a1x+a0=(x−c)(b2x2+b1x+b0)+ra_3x^3+a_2x^2+a_1x+a_0=(x-c)(b_2x^2+b_1x+b_0)+r

Expanding the right side gives b2x3+(b1−cb2)x2+(b0−cb1)x+(r−cb0)b_2x^3+(b_1-cb_2)x^2+(b_0-cb_1)x+(r-cb_0). Matching each power of xx on both sides and solving for the unknowns:

b2=a3,b1=a2+cb2,b0=a1+cb1,r=a0+cb0b_2=a_3,\quad b_1=a_2+cb_2,\quad b_0=a_1+cb_1,\quad r=a_0+cb_0

Every line says the same thing: take the previous result, multiply by cc, add the next coefficient. That is the entire algorithm, and it also explains the sign flip. Long division subtracts cc times the previous term, but because the box holds cc with its own sign, the subtraction collapses into an addition.

Unrolling those lines gives a nested form, p(c)=((a3c+a2)c+a1)c+a0p(c)=((a_3c+a_2)c+a_1)c+a_0, which is exactly the bottom-row arithmetic. That is why the final number equals p(c)p(c), the heart of the remainder theorem.

How Do You Handle Negative Values and Missing Terms?

Two habits cost most students their points: forgetting a placeholder zero, and dropping the sign of cc. Work through x4−7x2+6x−5x^4-7x^2+6x-5 divided by x+3x+3. The x3x^3 term is missing, so the coefficients are 1,0,−7,6,−51, 0, -7, 6, -5, and c=−3c=-3.

−310−76−5−39−601−320−5\begin{array}{r|rrrrr} -3 & 1 & 0 & -7 & 6 & -5 \\ & & -3 & 9 & -6 & 0 \\ \hline & 1 & -3 & 2 & 0 & -5 \end{array}

Reading the bottom row, the quotient has coefficients 1,−3,2,01, -3, 2, 0 and the remainder is −5-5. Notice the 00 in the quotient: it means the constant term of q(x)q(x) vanishes, so the answer is not "x3−3x2+2x+0x^3-3x^2+2x+0" with a stray zero, just

x3−3x2+2x−5x+3x^3-3x^2+2x-\frac{5}{x+3}

When cc is negative, products flip sign, so a column of products alternates in a pattern that is easy to miscopy. Say each product aloud, for example “negative three times negative three is nine”, before you write it. The same loop works if cc is a fraction, a decimal or even a complex number such as ii.

Can You Use Synthetic Division With 2x−12x-1?

Yes, once you account for the leading coefficient that the table has no slot for. Write 2x−1=2(x−12)2x-1=2\left(x-\tfrac12\right), divide by x−12x-\tfrac12 with c=12c=\tfrac12, then divide the quotient by 22. Here is 6x3+x2−5x+26x^3+x^2-5x+2 divided by 2x−12x-1:

1261−5232−3264−312\begin{array}{r|rrrr} \tfrac12 & 6 & 1 & -5 & 2 \\ & & 3 & 2 & -\tfrac32 \\ \hline & 6 & 4 & -3 & \tfrac12 \end{array}

That says p(x)=(x−12)(6x2+4x−3)+12p(x)=\left(x-\tfrac12\right)(6x^2+4x-3)+\tfrac12. Pulling a factor of 22 out of the divisor moves a 12\tfrac12 onto the quotient:

p(x)=(2x−1)(3x2+2x−32)+12p(x)=(2x-1)\left(3x^2+2x-\tfrac32\right)+\tfrac12

So the quotient is 3x2+2x−323x^2+2x-\tfrac32 and the remainder is 12\tfrac12. The trap is dividing the remainder by 22 as well. Do not: the remainder is a standalone number that was never multiplied by the extra factor. If the divisor has a common factor you can see, such as 3x+63x+6, factoring it out first (see factoring out the GCF) keeps cc a whole number.

Quick check

Divide 4x2+2x−34x^2+2x-3 by 2x+12x+1 using c=−12c=-\tfrac12. What are the quotient and remainder?

How Do You Check Your Answer Without Redoing It?

Three checks catch nearly every error, and the second is the fastest.

  • Plug in cc. The remainder must equal p(c)p(c). If you divided by x−3x-3, evaluate p(3)p(3) directly and compare it with the last number.
  • Plug in x=1x=1. The relationship p(1)=(1−c) q(1)+rp(1)=(1-c)\,q(1)+r only needs sums of coefficients. In the first example, p(1)=2−5+4−7=−6p(1)=2-5+4-7=-6, and q(1)=2+1+7=10q(1)=2+1+7=10, so (1−3)(10)+14=−6(1-3)(10)+14=-6. It matches.
  • Multiply back. Compute (x−c) q(x)+r(x-c)\,q(x)+r using multiplying polynomials and confirm you recover the original.

The x=1x=1 check works because the sum of a polynomial’s coefficients is its value at 11, so you never touch a variable. If it fails, look for a dropped sign in cc or a missing zero first, since those two account for most wrong answers.

Try this: Divide x3−6x2+11x−6x^3-6x^2+11x-6 by x−1x-1. Check with the x=1x=1 shortcut, then factor the quotient and name all three roots of the original polynomial.

How Do You Use It to Find Roots and Factors?

A remainder of 00 means x−cx-c divides the polynomial exactly, which is the factor theorem. So synthetic division is a test: try a candidate cc, and if the bottom row ends in 00, you have a root and a smaller polynomial left over. The rational root theorem tells you which candidates to try.

For x3−2x2−5x+6x^3-2x^2-5x+6, the candidates are ±1,±2,±3,±6\pm1, \pm2, \pm3, \pm6. Testing c=1c=1 gives the bottom row 1,−1,−6,01, -1, -6, 0. The remainder is zero, and the quotient is x2−x−6x^2-x-6, which splits by factoring trinomials into (x−3)(x+2)(x-3)(x+2). The full factorization is (x−1)(x−3)(x+2)(x-1)(x-3)(x+2), so the roots are 11, 33 and −2-2.

A failed test is not wasted. Try c=2c=2 on the same polynomial and the bottom row is 1,0,−5,−41, 0, -5, -4, so p(2)=−4p(2)=-4 without any direct substitution.

Upper bound test

With a positive leading coefficient and c>0c>0, if every number in the bottom row is zero or positive, no root is larger than cc. It trims the candidate list fast.

When Does Synthetic Division Not Work?

The method has no column for a leading coefficient on the divisor or for a second power of xx, so it stops at linear divisors. Here is the decision at a glance:

Divisor What to do
x−cx-c or x+cx+c Synthetic division directly
ax−bax-b Use c=bac=\tfrac{b}{a}, then divide the quotient by aa
x2+3x^2+3 or any non-factorable divisor of degree 22 or more Polynomial long division
(x−1)(x−2)(x-1)(x-2) Two passes, one per factor, then rebuild the remainder

The last row deserves a warning. Dividing by x−1x-1 and then the quotient by x−2x-2 gives the correct final quotient, but the true remainder of the double division is r2(x−1)+r1r_2(x-1)+r_1, built from both passes. Reading only the last remainder is a common slip.

Synthetic division also never needs the dividend’s leading coefficient to be 11, and cc can be anything. The restriction is entirely on the divisor. If a divisor like x2+3x^2+3 will not factor over the reals, switch to long division without hesitation.

Where Does Synthetic Division Show Up Beyond Algebra?

The loop is Horner’s method, the standard way computers evaluate polynomials. Evaluating a degree nn polynomial this way takes nn multiplications and nn additions, instead of computing every power separately. Calculators and graphics code rely on it because it is both fast and numerically stable.

Repeating the loop reveals something deeper. Divide x3x^3 by x−1x-1 and keep dividing each new quotient by x−1x-1. The bottom rows are 1,1,1,11,1,1,1, then 1,2,31,2,3, then 1,31,3, then 11, and the remainders come out as 1,3,3,11, 3, 3, 1. Those are exactly the numbers in a row of Pascal’s triangle, and the result is

x3=1+3(x−1)+3(x−1)2+(x−1)3x^3 = 1+3(x-1)+3(x-1)^2+(x-1)^3

which is the binomial theorem in disguise. Repeated synthetic division rewrites a polynomial in powers of (x−c)(x-c), the same shift used in Taylor series. It also matters in calculus: before integrating a rational function such as x3+2xx−2\frac{x^3+2x}{x-2}, you divide first to split it into a polynomial plus a fraction.

Quick check

Divide x2x^2 by x−2x-2 repeatedly (with c=2c=2) until nothing is left. What are the remainders, in order?

Practice problems

0 of 5 solved

  1. Divide x2+7x+10x^2+7x+10 by x+2x+2.

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

  3. Divide x3+27x^3+27 by x+3x+3.

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

  5. Find kk so that x−2x-2 is a factor of x3−3x2+kx−2x^3-3x^2+kx-2.

Common questions

Why do you change the sign of the number in the divisor?

The method is built for divisors of the form x−cx-c, so the number in the box is the value of xx that makes the divisor zero. For x+4x+4 that value is −4-4. Using cc directly is also what turns long division's subtraction into addition.

Do you always need to write zeros for missing terms?

Yes. Every power from the highest down to the constant needs its own column, so a missing power gets a placeholder 00. Skipping it shifts every later coefficient into the wrong column.

What does the last number in synthetic division mean?

It is the remainder, and it equals p(c)p(c), the value of the polynomial at the number in the box. A remainder of 00 means x−cx-c divides the polynomial exactly, so x−cx-c is a factor.

Can you use synthetic division with a divisor like 3x+63x+6?

Yes, with a small adjustment. Use c=−2c=-2 (the root of 3x+63x+6), run the loop, then divide the quotient coefficients by 33. The remainder is not divided.

Can you use synthetic division with a quadratic divisor?

Not directly. If the quadratic factors into two linear pieces, you can divide by each piece in turn, but the remainder needs rebuilding. For a quadratic that does not factor, use polynomial long division.

Is synthetic division the same as the remainder theorem?

They are partners. The remainder theorem says the remainder equals p(c)p(c), and synthetic division is the quickest way to compute that remainder while also producing the quotient.

Up next