Explorations in math and programming
David Lowry-Duda

I think it is a sign.

In the question How does Synthetic Division Work? by the user Riddler on math.stackexchange, Riddler says that he's never seen a proof of Synthetic Division. This gave me a great case of Mom's Corollary (the generalization of the fact that when mothers tell you something, you are often reminded of specific cases of it within three days - at least with my mom), as it came up with a student whom I'm tutoring. It turns out many of my students haven't liked synthetic division. I chatted with some of the other Brown grads, and in general, they didn't like synthetic division either.

It was one of those things that was taught to us before we thought about why different things worked. Somehow, it wasn't interesting or useful enough to be revisited. But let's take a look at synthetic division after the fold:

Synthetic division is a specialized method for dividing a monic polynomial (leading coefficient $1$) by a monomial of the form $x - a$. The reason why some people like synthetic division is because it can be done very quickly, although as we'll see below, we are really just optimizing some of the steps from doing regular polynomial long division. The rule for synthetic division is best seen through example:

Synthetic Division Algorithm: Say we have the polynomial $x^2 - 12x^2 - 42$ and we want to divide it by $x - 3$. Then we first write out the coefficients of the polynomial to be divided like this:

$\begin{array}{c|cccc} & 1& -12 & 0 & -42 \\ \phantom{x} \\ \hline \end{array}$

Since we are dividing by $x - 3$, we will write out a $3$ to the left on the second line. Note that from $x - 3$ we got a $3$ and not a $-3$. This is important, and could mess up a whole lot of computation.

$\begin{array}{c|cccc} & 1& -12 & 0 & -42 \\ 3 \\ \hline \end{array}$

Now we have set up the polynomial division, and we just carry out the following steps: Copy down the first coefficient below the bar. Here, we drop down a $1$ like so:

$\begin{array}{c|cccc} & 1& -12& 0 & -42 \\ 3 \\ \hline & 1 \end{array}$

We then multiply the dropped number by the $3$ and place it in the next column. So beneath the $-12$, we now have a $3$. We then add in that column, so that we get a $-9$. Our diagram now looks like:

$\begin{array}{c|cccc} & 1& -12& 0 & -42 \\ 3 & & 3& \\ \hline & 1 &-9& \end{array}$

We now repeat to the end of the diagram. The completed diagram for this example will look like

$\begin{array}{c|cccc} & 1& -12& 0 & -42 \\ 3 & & 3& -27 & -81\\ \hline & 1 &-9& -27 & -123 \end{array}$

Ok, so now what? It turns out that this last line contains our answer. The last term gives the remainder, the next to last gives the constant term, then the linear term, then the quadratic (and so on, if there were more terms). So here, our remainder coefficient is $-123$, so it's $\frac{-123}{x-3}$, our constant term is $-27$, our linear coefficient is $-9$, and our quadratic coefficient is $1$. So we think that answer is $x^2 - 9x - 27 - \frac{123}{x-3}$. Multiplying it out, we even see that's it's correct.

The general method is very similar. You drop down the first coefficient, bring multiply it by the left term to bring it to the next column, add that column, multiply it by the left term and bring it to the next column, and so on until you're out of columns. Let's look at another, but let's cheat to see what it will look like. We know that if we divide $(x-1)(x+1)(x-2) = x^3 - 2x^2 - x + 1$ by $(x-2)$ we should get $x^2 - 1$. The synthetic division diagram looks like

$\begin{array}{c|cccc} & 1 &-2 &-1 &2 \\ 2 & & 2 & 0 &-2 \\ \hline & 1 & 0 & -1 & 0 \end{array}$

And this is exactly correct, as our answer has no remainder and gives $x^2 - 1$. What if we were to divide it by $(x + 1)$ instead? This is a bit different, as you should note that we don't just put a $1$ out to the left. Synthetic division only works on divisors of the form $(x - a)$, so we write $(x + 1) = (x - (-1))$. Then the synthetic division diagram looks like:

$\begin{array}{c|cccc} & 1 &-2 &-1 &2 \\ -1 & & -1 & 3 &-2 \\ \hline & 1 & -3 & 2 & 0 \end{array}$

And this is again correct. That's handy. There is a way to do a synthetic-like division for dividing by quadratics, etc, but it's much longer. The greatest strength of synthetic division is that it's very compact, and if you know how it's done, it can be done very, very quickly. Combined with bits like the Rational Root Theorem and Factor Theorem, if can speed up the process of factoring and finding roots too.

All that's is well-said, but this might leave a gap in the pit of your stomach, or perhaps a pit in the gap of your stomach. Why does it work? Let's see why:

Let's go back to the original problem of dividing $x^3 - 12x^2 - 42$ by $x - 3$, and write it out using long division.

$\begin{array}{cccc|ccc} x^3& -12x^2 & 0x & -42 & & x & -3 \\ \hline -x^2(x & -3)&&& x^2 \\ 0&-9x^2&0x &&\\ & -9x(x& -3) && & -9x\\ &0&-27x&-42&& \\ &&-27(x & -3) &&&-27 \\ &&&-123&& \end{array}$

And so we again get $x^2 - 9x - 27 - \frac{123}{x-3}$. But why did this give the same answer. Let's look at the algorithm again,

It's clear that the first coefficient will be a $1$, because it's a monic polynomial. So this is no shock. To see what the next line is, we multiply $(x-3)$ by $x^2$ to get $x^3 - 3x^2$. Of course, we knew the cubic terms would cancel (that's why we chose to multiply $1$), so we only need to pay attention to the $-3x^2$. But since we're dividing by $(x-3)$, in particular that there is a $-3$ instead of a $+3$, carrying out the arithmetic leads to us adding $3x^2$ on the next line. This is why, after we switch the sign on $a$ in the $(x-a)$ term, we just multiply and add.

And this directly gives us the next coefficient, because we again are dealing with division by a monic polynomial $x-3$ (so no leading coefficient problem). Put another way, synthetic division is a clever way of combining two lines of the polynomial long division into one step, which is to 'multiply the number at the bottom of the column by $-a$ (corresponding to finding the result of the last multiplication and ignoring the leading term because it will cancel out in the long division) and adding (corresponding to carrying out the addition in the long division).

If you write out a couple side-by-side, a rigourous proof becomes very clear, though perhaps not fun to write.

Leave a comment

Info on how to comment

To make a comment, please send an email using the button below. Your email address won't be shared (unless you include it in the body of your comment). If you don't want your real name to be used next to your comment, please specify the name you would like to use. If you want your name to link to a particular url, include that as well.

bold, italics, and plain text are allowed in comments. A reasonable subset of markdown is supported, including lists, links, and fenced code blocks. In addition, math can be formatted using $(inline math)$ or $$(your display equation)$$.

Please use plaintext email when commenting. See Plaintext Email and Comments on this site for more. Note also that comments are expected to be open, considerate, and respectful.

Comment via email

Comments (3)
  1. 2012-08-09 davidlowrydud

    I now know that $LaTeX$ coloring is poorly implemented in Wordpress. I am fully used to being able to use multiple colors in one equation.

  2. 2012-08-10 Joseph Nebus

    I'd always liked synthetic division and kind of regretted that there just weren't more occasions where I had cause to use it. I just feel like I'm having fun doing it.

  3. 2015-03-01 Polynomial division code

    [...] I would like to give me an example of how to use the polynom package. More specifically, I want to write down on my latex editor the following polynomial division (source): [...]