﻿ the Division Algorithm

# THE DIVISION ALGORITHM

by Dr. Carol JVF Burns (website creator)
Follow along with the highlighted text while you listen!
• PRACTICE (online exercises and printable worksheets)

The prior lesson introduced long division of polynomials.

Using long division, a ‘new name’ is obtained for a fraction of polynomials: $$\cssId{s3}{\frac{N(x)}{D(x)}} \cssId{s4}{= Q(x) + \frac{R(x)}{D(x)}}$$ For example, long division renames     $\displaystyle\frac{\overbrace{x^3-8x+2}^{N(x)}}{\underbrace{x+3}_{D(x)}}$     as     $\displaystyle\overbrace{x^2 - 3x + 1}^{Q(x)} + \frac{\overbrace{\ \ -1\ \ }^{R(x)}}{\underbrace{\ x+3\ }_{D(x)}}$   .

A quick-and-easy check gives some confidence that these two expressions are indeed the same:
 substituting $\,x = 0\,$ into $\displaystyle \frac{N(x)}{D(x)}$ gives: $\displaystyle \frac{0^3 - 8\cdot 0 + 2}{0 + 3}$ $\displaystyle = \frac 23$ substituting $\,x = 0\,$ into $\displaystyle Q(x) + \frac{R(x)}{D(x)}$ gives: $\displaystyle 0^2 - 3\cdot 0 + 1 + \frac{-1}{0 + 3} = 1 -\frac 13$ $\displaystyle = \frac 23$

The new expression for the fraction that is obtained by long division is often better to work with than the original.

## Terminology used in the Long Division Process

In the long division process, when   $\displaystyle\,\frac{N(x)}{D(x)}\,$   is renamed as   $\displaystyle\,Q(x) + \frac{R(x)}{D(x)}\,$:

• $N(x)$ is often called the dividend (it's the numerator of the original fraction)
• $D(x)$ is called the divisor (it's what you're dividing by; it's the denominator of the original fraction)
• $Q(x)$ is called the quotient
• $R(x)$ is called the remainder

The Division Algorithm (below) firms up details about division of polynomials.
Here, the notation   ‘$\,\text{deg}(P(x))\,$’   is used to denote the degree of a polynomial $\,P(x)\,.$

the Division Algorithm dividing a polynomial by a polynomial
 Let $\,N(x)\,$ and $\,D(x)\,$ be polynomials, with $\,D(x)\ne 0\,.$ There exist unique polynomials $\,Q(x)\,$ (called the quotient) and $\,R(x)\,$ (called the remainder) such that $$\cssId{s39}{\frac{N(x)}{D(x)} = Q(x) + \frac{R(x)}{D(x)}}$$ or, equivalently, $$\cssId{s41}{N(x) = D(x)Q(x) + R(x)}$$ where either $R(x) = 0$;   or $\deg(R(x)) \lt \text{deg}(D(x))$

## Notes about the Division Algorithm

• What does $\,Q(x)\,$ tell you?
Think of $\,Q(x)\,$ as answering the question:   How many times does $\,D(x)\,$ go into $\,N(x)\,$?
• What does $\,R(x)\,$ tell you?
Think of $\,R(x)\,$ as answering the question:   How much is left over?
• When is the long division procedure stopped?
As shown in Long Division of Polynomials, the long division process is stopped
when the degree of the expression you get after subtracting is less than the degree of the divisor.
This is the condition ‘$\,\text{deg}(R(x)) < \text{deg}(D(x))\,$’. • What does $\,R(x) = 0\,$ mean?
If the remainder is zero, then the divisor and quotient are both factors of the numerator—each goes in evenly.

To see this, substitute   $\displaystyle\,R(x) = 0\,$   into   $\displaystyle\,\frac{N(x)}{D(x)} = Q(x) + \frac{R(x)}{D(x)}\,$   to get   $\displaystyle\,\frac{N(x)}{D(x)} = Q(x)\,$;

multiplying through by   $\,D(x)\,$   gives the equivalent equation   $\displaystyle\,N(x) = D(x)Q(x)\,,$
which shows that $\,D(x)\,$ and $\,Q(x)\,$ are both factors of $\,N(x)\,.$

As an example, study the two long division problems below, both of which result in remainders of zero:  $$\cssId{s67}{\frac{x^3 - x^2 + x - 1}{x-1} = x^2 + 1}$$ $$\cssId{s68}{\frac{x^3 - x^2 + x - 1}{x^2+1} = x - 1}$$ or, equivalently, $$\cssId{s70}{x^3 - x^2 + x - 1 = (x-1)(x^2 + 1)}$$
• What happens if the degree of $\,N(x)\,$ is less than the degree of $\,D(x)\,$ in the expression $\displaystyle\,\frac{N(x)}{D(x)}$?
In this case, there is nothing to do!
The quotient is zero, and the remainder is $\,N(x)\,.$
For example: $$\, \cssId{s76}{\frac{\overbrace{x + 1}^{\text{deg}(N(x)) = 1}}{\underbrace{x^2-3}_{\text{deg}(D(x)) = 2}}} \cssId{s77}{= \overbrace{\ \ 0\ \ }^{Q(x)} + \frac{\overbrace{x + 1}^{R(x)=N(x)}}{x^2 - 3}}\,$$
The interesting application of the division algorithm is when the degree of $\,N(x)\,$ is greater than (or equal to) the degree of $\,D(x)\,.$
In this case, the long division process can be used to find the quotient and remainder.
• I've heard about ‘synthetic division’. What is it?
Synthetic division is an efficient shortcut for a special type of division problemwhen the divisor is of the form $\,x + c\,.$

For example,   $\displaystyle\frac{\text{a polynomial}}{x + 2}$   or   $\displaystyle\frac{\text{a polynomial}}{x - 2}$   could be done using synthetic division.

However,   $\displaystyle\frac{\text{a polynomial}}{3x + 2}$   can't be done using synthetic division, since the coefficient of the $\,x\,$ term must be one.

Also,   $\displaystyle\frac{\text{a polynomial}}{x^2 + 3}$   can't be done using synthetic division, since the variable is only allowed to be raised to the first power.

Synthetic division is covered in the next section.
Master the ideas from this section