Dividing a polynomial by a polynomial
Dividing polynomials, also called algebraic division, is not a trivial operation, and it is used fairly often when simplifying polynomials and expressions.
First example
Dividing polynomials is quite a hard task, at least compared with the earlier operations. However, the method is very similar to ordinary long division. We will show the whole algorithm through examples. Let’s start with a simple one:
We assume that both polynomials are written in descending order and fully simplified – that is, we have already collected any like terms. This is not essential for the algorithm, but it makes the working easier. In the first step we divide the first term of the first polynomial by the first term of the second polynomial (here the second polynomial has only one term, so its first term is the whole polynomial). That is, we work out
Dividing these basic terms is the reverse of multiplying them, so there should be no surprises. Since this is the first step, we write it into the original expression that we want to work out:
and carry on with the second step. We multiply our partial result by the second polynomial, the one we are dividing by.
We subtract this from the whole first polynomial, writing it under the first polynomial like this:
Now what is left under the line is a new expression, and we apply the same method to it as to the original polynomial. We divide it by the first term of the second polynomial.
We add this to the previous partial result:
Then we multiply the whole second polynomial by 4 again
and subtract it from what was left under the line.
After subtracting we are left with zero, so the algorithm ends here. The right-hand side is the result of the division. To check it, we multiply the resulting polynomial by the second polynomial, and we must get the first polynomial.
Second example
Let’s change the question only slightly and work out
The working goes exactly as in the previous example, except that after each subtraction the result has an extra 7. In brief, it goes like this:
The method has not changed, there is just an extra 7. At this point we cannot divide the new remainder (the 7) by the second polynomial to get a nice result. We simply write the result as 7 over the polynomial and add it to the partial result.
When we multiply back by the second polynomial, we get 7
and so the subtraction gives zero.
The algorithm ends here, as we have reached zero.
Third example
Let’s add another term to the second polynomial.
In the first step we divide the first term of the first polynomial by the first term of the second, as in the previous examples.
In the next step we multiply this partial result by the whole second polynomial and subtract it from the first.
We write it out neatly under the whole question.
We continue by dividing the first term of the new polynomial by the first term of the second polynomial.
We multiply by the whole second polynomial:
We write it out and subtract:
This cannot sensibly be divided any further, so we simply add the fraction made from the remainder and the second polynomial.
If we multiplied back and subtracted once more, we would get zero straight away, as in the last example. Let’s check the answer. Before a full check, we can try a quick test: substitute a simple value, such as zero, into the expressions. Substituting zero into the result of the division, we get
Substituting zero into the expression we are dividing, we get
If our working is correct, both values must give the same result, and as we can see, they are equal. This does not guarantee that the answer is fully correct, as we would have to test every possible value of x, but it can quickly reveal a mistake. Let’s try the same with 1. Substituting into the result gives:
Substituting into the original expression gives
That looks promising, but for final confirmation we need to carry out the whole multiplication.
Chapters: Polynomials, Dividing a polynomial by a polynomial, Root of a polynomial, Factorising polynomials