Note: In the following I use the words power, and order somewhat interchangeably, in relation to the exponent of x.

Please also forgive the rather bad formatting for some of the expressions in this text. WordPress and LaTeX are somewhat unforgiving.

One of the topics which seems to have caused the most problems in the assignments for MAM1000W so far this year is that of polynomial division. Thus I want to go through an example here to show you exactly what we’re doing when we think about performing such a calculation.

If you think you already know what to do, but want to have some more practice, plug in some random polynomials into this page and make sure that you get the same steps as them.

In fact, the first question might be: what’s the point? Often the expression looks more complicated in the end than it does at the beginning. Well, part ofthe answer is that sometimes there’s nothing to do at all, but sometime’s there is. It’s important to ask what we are trying to achieve. A polynomial division question can be thought of very much like a normal fraction. If I give you the fraction:

$\dfrac{17}{5}$

You can think about ‘simplifying’ this to be

$\dfrac{17}{5}=3+\dfrac{2}{5}$

In what way is this simpler? Well, when you see the fraction, it’s hard to get an idea of how big it is when it’s written in the original form. What we’ve done in writing it out the second way is to say that $\frac{17}{5}$ is a little more than 3 and a little less than 4.

What has this got to do with polynomial division? Well we can think of the integer part in the above final result (ie. the 3) as being like having a polynomial sitting on its own – it is complete, and not being divided by another polynomial. Very importantly, the second term – ie. the remainder part in the fraction calculation, is equivalent to a one polynomial divided by another where the order of the polynomial in the numerator is strictly less than the order of the denominator. Just in the same way that the integer in the numerator above (2) is strictly less than the integer in the denominator (7). There’s really a direct correspondence, but rather than thinking about the magnitude of the integers in the fraction, with think about the order of the polynomial.

If you were given the fraction $\frac{2}{5}$ and asked to perform a similar calculation as above, the answer would be simply $\frac{2}{5}$. If you take 2 and divide it by 5, you don’t get any integer plus a remainder term. It’s just the remainder term.Â  So, if you are given a polynomial division where the order of the numerator is less than the order of the denominator, then you don’t have to do anything at all. This is known in fact as being in proper rational form. ie:

$\dfrac{x^2+3x-2}{2x^4-6x}$ is already in proper rational form and you don’t have to do anything, but:

$\dfrac{2x^4-6x}{x^2+3x-2}$ is not in proper rational form as the order of the numerator is 4 and the order of the denominator is 2, and so we can think about what we have to do to get it into the form of a polynomial plus an expression in proper rational form.

What we are trying to do is, given an expression of the form:

$\dfrac{a(x)}{b(x)}$

where a(x) and b(x) are polynomials in x, write it in the form:

$c(x)+\dfrac{d(x)}{b(x)}$

where c(x) and d(x) are polynomials in x. Note importantly that just as in the integer fraction example at the top, the denominator of the final term (7 in the integer fraction case), we want to have the same denominator in the remainder term as we had in the original expression.

So, let’s see what we can do with the above calculation.

We want to calculate:

$\dfrac{2x^4-6x}{x^2+3x-2}$

We are going to essentially do long division by polynomials in a very long-hand way, but I want to do this to show you that every step of the process is really perfectly acceptable to your mathematics.Â  When we do it in the normal way of long division we will be taking short-cuts, but those short-cuts are simply short-hand for the long way of doing it that we show here.

We start by seeing what theÂ  term with the highest power of x is in the denominator. We see that it’s the $x^2$ term. Let’s see which terms in the numerator are of higher power than $x^2$. In fact here there’s just one term: $2x^4$. Now we are looking at a much simpler question: What’s $2x^4$ divided by $x^2$. Well, that answer is easy, it’s $2x^2$.

You can see that this might be thought of as a first approximation of the above calculation.

Now we’re saying:

$\dfrac{2x^4-6x}{x^2+3x-2}=2x^2+something$

What is that something? Well, let’s multiply everything in the above expression by the denominator:

$2x^4-6x=2x^2(x^2+3x-2)+something(x^2+3x-2)$

and expand out:

$2x^4-6x=2x^4+6x^3-4x^2+something(x^2+3x-2)$

Now we see that there is a $2x^4$ on both sides, so we can simplify the above equation. Let’s manipulate it to give:

$-6x^3+4x^2-6x=something(x^2+3x-2)$

and therefore:

$something=\dfrac{-6x^3+4x^2-6x}{x^2+3x-2}$

So, what we seem to have found so far is:

$\dfrac{2x^4-6x}{x^2+3x-2}=2x^2+\dfrac{-6x^3+4x^2-6x}{x^2+3x-2}$

Notice that we started with a fourth order polynomial divided by a second order polynomial. Now we have a polynomial plus a third order divided by a second order. The orders in the fraction on the right hand side are closer than when we started.

We’re still not in proper rational form on the right hand side because the order is higher in the numerator than in the denominator. Let’s look at this term and repeat exactly what we’ve just done for this term:

$\dfrac{-6x^3+4x^2-6x}{x^2+3x-2}$

We see that the highest power in the numerator is the $x^2$ term, again (it had to be as the denominator hasn’t changed from our original denominator. Let’s see which terms in the numerator we can divide by $x^2$ to give polynomials. Well, we can clearly divide the $-6x^3$, but we can also happily divide the $4x^2$. These first two terms, when divided by $x^2$ give: $-6x+4$. So, let’s write:

$\dfrac{-6x^3+4x^2-6x}{x^2+3x-2}=-6x+4+ anewthing$

where again we need to figure out what $anewthing$ is by multiplying through by the denominator again:

$-6x^3+4x^2-6x=(-6x+4)(x^2+3x-2)+ anewthing(x^2+3x-2)$

Now we multiply out the brackets, which gives:

$-6x^3+4x^2-6x=-8 + 24 x - 14 x^2 - 6 x^3+ anewthing(x^2+3x-2)$

Again, the important thing to note here is that the highest powers of x cancel on both sides. We can now simplify this to give:

$18x^2-30x+8=anewthing(x^2+3x-2)$

So:

$anewthing=\dfrac{18x^2-30x+8}{x^2+3x-2}$

Now we see that the numerator and denominator are of the same power, so we are really almost there. We just need to do this last fraction. Let’s remind ourselves though what we’ve got so far. We found that:

$\dfrac{2x^4-6x}{x^2+3x-2}=2x^2+\dfrac{-6x^3+4x^2-6x}{x^2+3x-2}$

but we just showed that:

$\dfrac{-6x^3+4x^2-6x}{x^2+3x-2}=-6x+4+ anewthing$

and:

$anewthing=\dfrac{18x^2-30x+8}{x^2+3x-2}$

so, putting everything together, we have:

$\dfrac{2x^4-6x}{x^2+3x-2}=2x^2-6x+4+ \dfrac{18x^2-30x+8}{x^2+3x-2}$

Now let’s look at this last expression. Again, the highest power in the denominator is the $x^2$ term. We see what we can divide by this in the numerator (to give a non-negative power of x), and it’s only the $18x^2$ term. So:

$\dfrac{18x^2-30x+8}{x^2+3x-2}=18+anotherremainder$

Again, multiply everything by the denominator:

$18x^2-30x+8=18(x^2+3x-2)+anotherremainder(x^2+3x-2)$

which gives:

$18x^2-30x+8=18x^2+54x-36+anotherremainder(x^2+3x-2)$

Again, see that the highest powers cancel. This is by design. Finally we then get:

$\dfrac{-84x+44}{x^2+3x-2}=anotherremainder$

Aha! We see that now this new term has a higher power in the denominator than it does in the denominator – ie. it’s in proper rational form. Let’s put it all together:

$\dfrac{2x^4-6x}{x^2+3x-2}=2x^2-6x+4+ \dfrac{18x^2-30x+8}{x^2+3x-2}=2x^2-6x+4+18+\dfrac{-84x+44}{x^2+3x-2}$

which gives:

$\dfrac{2x^4-6x}{x^2+3x-2}=2x^2-6x+22+\dfrac{-84x+44}{x^2+3x-2}$

I know that this looks like a lot of work, but that’s because we’ve taken the long route. Make sure that you agree with every expression in here. Now let’s do the short route. Note that at one step we will make a slightly different choice.

Step 0: This is the expression we want to calculate (I’ve put 0’s in as placeholders):

Step 1: Spot that $x^2$ is the highest power in the denominator and divide through the terms in the numerator which have the highest power, at least as high as $x^2$:

Step 2: Now we multiply the term at the top by the denominator, just as you would for regular long division:

Step 3: And now subtract this from the original numerator:

Step 4: Now we use this new term as the expression that we are dividing the denominator by. Now let’s just divide the $-6x^3$ term by the $x^2$ and we get a contribution $-6x$:

Step 5: Now multiply this new contribution by the denominator to get:

Step 6: Now subtract again, to get:

Step 7: Now we have a term with $22x^2$ which can be divided by the $x^2$ term in the denominator to give a contribution of $22$, so write this again at the top:

Step 8: Multiply the $22$ by the denominator to give:

Step 9: and subtract:

Now this last line has a maximum power which is less than that of the denominator, therefore this is our remainder.

Note that there were a couple of places in this calculation where we had a choice. In particular, in step 4 we could also have divided the $4x^2$ term by the $x^2$ but we chose here the highest power of $x$. Prove to yourself that this would have given the same result.

So, the answer to the question:

$\dfrac{2x^4-6x}{x^2+3x-2}$

is

$2x^2-6x+22+\dfrac{-84x+44}{x^2+3x-2}$

 How clear is this post?