mixedmath

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 xa. 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 x212x242 and we want to divide it by x3. Then we first write out the coefficients of the polynomial to be divided like this:

112042x

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

1120423

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:

11204231

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:

1120423319

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

1120423327811927123

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 123x3, our constant term is 27, our linear coefficient is 9, and our quadratic coefficient is 1. So we think that answer is x29x27123x3. 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 (x1)(x+1)(x2)=x32x2x+1 by (x2) we should get x21. The synthetic division diagram looks like

121222021010

And this is exactly correct, as our answer has no remainder and gives x21. 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 (xa), so we write (x+1)=(x(1)). Then the synthetic division diagram looks like:

121211321320

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 x312x242 by x3, and write it out using long division.

x312x20x42x3x2(x3)x209x20x9x(x3)9x027x4227(x3)27123

And so we again get x29x27123x3. 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 (x3) by x2 to get x33x2. 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 3x2. But since we're dividing by (x3), in particular that there is a 3 instead of a +3, carrying out the arithmetic leads to us adding 3x2 on the next line. This is why, after we switch the sign on a in the (xa) 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 x3 (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 davidlowryduda

    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): [...]