MathsAlgebra

Synthetic Division
calculator.

Divide a polynomial by x − c or ax − b, and see the quotient and remainder.

How it's worked out

Synthetic division is long division with the repeated parts left out. You keep only the coefficients, one for each power of x from the highest down, and write 0 for any missing power. Then you repeat one small routine: bring the first number down, multiply it by c, add the result to the next coefficient, and go again.

b0\displaystyle b_0=a0\displaystyle {}= a_0
bi\displaystyle b_i=ai+cbi−1\displaystyle {}= a_i + c\,b_{i-1}

Here the aia_i are the coefficients of the polynomial, c is the number you get by setting the divisor to 0, and the bib_i are the bottom row. All of the bottom row except its last number gives the coefficients of the quotient, one power lower than the polynomial you started with. The last number is the remainder.

Why the remainder is a value of the polynomial

Any division by x−cx - c can be written as a quotient and a remainder.

P(x)\displaystyle P(x)=(x−c)Q(x)+R\displaystyle {}= (x - c)\,Q(x) + R

Put x=cx = c in that line and the first part vanishes, which leaves P(c)=RP(c) = R. This is the Remainder Theorem. So a remainder of 0 means c is a root and x−cx - c is a factor, which is the Factor Theorem. It also makes the routine a quick way to find a value of a long polynomial, since you never raise anything to a power.

When x has a number in front of it

A divisor such as 2x−32x - 3 has a number in front of x, and the routine only works when that number is 1. Factor it out first.

ax−b\displaystyle ax - b=a(x−ba)\displaystyle {}= a\left(x - \frac{b}{a}\right)

Run the routine with c=bac = \frac{b}{a}, then divide the quotient part of the bottom row by a. The remainder stays as it is, because it is not shared out among the terms the way the quotient is. Exact arithmetic keeps those fractions whole all the way through.

Worked examples

Priya factors a cubic

Priya suspects that 2 is a root of x³ − 6x² + 11x − 6. With c = 2, the bottom row is 1, −4, 3, 0. The last number is 0, so x − 2 is a factor, and the quotient is x² − 4x + 3.

That quotient is only a quadratic, so she is nearly done. Dividing out each rational root in turn ends with (x − 1)(x − 2)(x − 3). Each division lowers the degree by one, and the last factor falls out on its own.

Open this example in the tool

Lee finds a value without powers

Lee needs P(−2)P(-2) for 2x⁴ − 3x² + 3x − 4. There is no x3x^3 term, so the coefficient list is 2, 0, −3, 3, −4, with a 0 holding that place. Setting x + 2 to 0 gives c = −2.

The bottom row is 2, −4, 5, −7, 10, so the remainder, and the value Lee wants, is 10. The quotient 2x³ − 4x² + 5x − 7 comes free. Any remainder other than 0 also tells him that −2 is not a root.

Open this example in the tool

Noor divides by 2x − 3

Noor's divisor has a 2 in front of x, so c is 32\frac{3}{2}. The bottom row is 2, 4, 0. Dividing the quotient part by 2 gives x + 2.

The remainder is 0, so 2x² + x − 6 is exactly (2x − 3)(x + 2). She multiplies the two out as a check, and the original comes back.

Open this example in the tool

Reading your result

The last number decides what you have. A remainder of 0 means a factor and a root. Anything else is the height of the curve at c, so the size of the remainder tells you how far that point sits from the axis, not how close c is to a root.

A change of sign is useful too. Testing x2−2x^2 - 2 gives −1 at c = 1 and 2 at c = 2, so the curve crosses the axis somewhere between them. That crossing is 2\sqrt{2}, which no whole-number test would ever land on.

Testing values of c on x³ − 2x² − 5x + 6
cRemainder, P(c)Factor?
−3−24No
−20Yes, x + 2
−18No
06No
10Yes, x − 1
2−4No
30Yes, x − 3

To choose which c to try, use the Rational Zero Theorem. Each rational root is a factor of the last coefficient over a factor of the first, which gives a short list to test. The rational root theorem calculator explains that list in detail.

The exact view matters when c is a fraction. Dividing x3+1x^3 + 1 by 3x−13x - 1 leaves a remainder of 2827\frac{28}{27}, and the decimal view can only round it.

Common mistakes

  • Taking the wrong sign for c. Dividing by x+5x + 5 means c = −5, not 5. For x2+2x−15x^2 + 2x - 15 that gives a remainder of 0, a factor. Using +5 gives 20 and hides it.
  • Skipping a missing power. x3+2x^3 + 2 is the list 1, 0, 0, 2. Writing just 1, 2 turns it into x+2x + 2, so at c = 2 you get 4 instead of 10.
  • Dividing the remainder by the number in front of x. For 2x2+x−52x^2 + x - 5 over 2x−32x - 3, the quotient part is divided by 2 and the remainder stays at 1.
  • Reading the quotient at the wrong power. The first number in the bottom row goes with a power one lower than the polynomial you started with, so a cubic gives a quadratic.
  • Using it on a longer divisor. The routine only handles one power of x. For x2+1x^2 + 1, use the polynomial long division calculator.

Questions people ask

It is the same arithmetic as long division by x − c, with the x terms and repeated leading terms removed. Long division subtracts −c times each quotient number, and subtracting a negative is the same as adding c times it, which is what synthetic division does. Each bottom number is one coefficient of the quotient.

Sources