Section 3.2
Real Number Division Algorithm
Definition 35 (Division Algorithm (Real Numbers))
Let \(a\) and \(b\) be any real number where \(b\ne0\). Then there exists a unique real number \(q\) and \(r\) such that
where \(0<r<b\) or \(r=0\).
Example 45
If we look at \(12\) and \(3\) we know that
This can be shown by doing long division:
If we look at \(13\) and \(3\) we know that
This can be shown by doing long division:
Since the division algorithm for real numbers is \(a=bq+r\) we know that if we divide both sides by \(b\) we have
We will use this fact to rewrite polynomial over polynomial expressions later on. For example, we know that \(13=3(4)+1\). If we divide both sides by \(3\) we have: \(\frac{13}{3} = 4+\frac{1}{3}\).
Division Algorithm for Polynomials
Definition 36 (Division Algorithm for Polynomials)
Let \(f(x)\) and \(g(x)\) be polynomials with \(g(x)\) of lesser degree than \(f(x)\) and \(g(x)\) is of degree one or higher. Then there exists a unique \(q(x)\) and \(r(x)\) such that
where \(0<\text{deg}(r(x))<\text{deg}(g(x))\) or \(\text{deg}(r(x))=0\).
Example 46
If we look at \(x^2+3x+2\) and \(x+1\) we know that
by factoring \(x2+3x+2\). This can also be done by polynomial long division.
From the previous example, we also know that
Let’s do another polynomial long-division problem.
Example 47
Use polynomial long division to evaluate \(\frac{3x^3-2x^2-150}{x^2-4}\).
Solution:
We should first notice that the numerator and denominator are missing an \(x\) term. This would be like saying \(12\) is the same as \(102\). Therefore, we must first rewrite the quotient.
Next, we have the following setup
Then we start the polynomial long division
Therefore, we have
Synthetic Division
In special cases, we can use a method called synthetic division instead of polynomial long division. We can use synthetic division when a polynomial is divided by a binomial \(x-k\). This means the previous example could not be done by synthetic division.
Consider the following polynomial long division of \(\frac{3x^3-2x^2+0x-150}{x-4}\). Notice that the denominator satisfied the \(x-k\) requirement. We then have
Next, we want to do this again but remove all the \(x^n\) factors.
where \(q(x)=3x^2+10x+40\) and \(r(x)=10\) still. We can still remove some items from the work:
Next, we can smash everything together to get
Finally, if we use \(4\) instead of \(-4\) and add down instead of subtract down we have synthetic division:
Again, doing this shows that \(q(x)=3x^2+10x+40\) and \(r(x)=10\). We also have
Synthetic Division Examples
Example 48
Rewrite \(\frac{5x^3-6x^2-28x-2}{x+2}\) as \(q(x)+\frac{r(x)}{x+2}\).
Solution:
In this case \(x-k\) we have \(x+2=x-(-2)\). This means \(k=-2\).
Therefore,
Example 49
Evaluate \(\frac{5x^3-6x^2+3x}{x-1}\)
Solution:
Here \(k=1\).
Therefore, we have \(\frac{5x^3-6x^2+3x}{x-1}=5x^2-x+2+\frac{2}{x-1}\).
Quick reminder: \(i=\sqrt{-1}\), \(i^2=-1\), \(i^3=-i\), and \(i^4=1\).
The following are examples of how to do arithmetic involving \(i\).
Example 50
Let \(f(x)=x^3+9x^2+28x+30%\). Use synthetic division with \(k=-3+i\).
Solution:
Here is the setup
Then we will compute \(1(-3+i)=-3+i\) and then compute \(9+(-3+i)=6+i\). This then gives:
Then we will compute (\(i^2=-1\)) \((6+i)(-3+i)=-19+3i\) and then compute \(28-(-19+3i)\). This then gives:
Then we will compute \((9+3i)(-3+i)=30\) and then compute \(30+(-30)=0\). This then gives:
Therefore, we have \(\frac{x^3+9x^2+28x+30}{x+3-i}=x^2+(6+i)x+(9+3i)\)
Remainder Theorem
We know that \(f(x)=g(x)q(x)+r(x)\) is from the division algorithm. If we force \(g(x)=x-k\) then we have the following identity
where \(r(x)\) is going to be a constant value. In fact, this leads to an important theorem.
Definition 37 (Remainder Theorem)
If a polynomial \(f(x)\) is divided by \(x-k\), then the remainder is equal to \(f(k)\).
Example 51
Let \(f(x)=-x^4+3x^2-4x-5\). Evaluate \(f(-3)\).
Solution:
Instead of evaluating \(f(-3)\) as the following:
We can do the following:
Would also say, \(f(-3)=-47\).
Root (or Zero) of a Function
Definition 38 (Root (or Zero) or a Function)
A root (or zero) of a polynomial function \(f(x)\) is a number \(k\) such that \(f(k)=0\).
Currently, finding roots of a polynomial function is difficult when considering all possible real numbers as potential roots. However, in the following section, we can narrow down the search. For now, we will consider testing \(x=0\), \(x=1\), or \(x=-1\).
Example 52
Let \(f(x)=x^4-6x^3+8x^2+6x-9\). Find all the roots for \(f(x)\).
Solution:
It should be obvious that \(x=0\) is not a root. Therefore, we will move on to \(x=1\). Using the remainder theorem we will see if \(f(1)=0\).
This means, \(f(1)=0\) and
We then want to see if \(f(-1)=0\). Using the remainder theorem we will evaluate \(x^3-5x^2+3x+9\) at \(x=-1\).
This means, \(f(-1)=0\) and
Looking at \(x^2-6x+9\) we know that it factors to \((x-3)(x-3)\). Therefore,
and all the roots of \(f\) is \(\{1,-1,3\}\).
In the next section, we will discover how to find all possible rational roots. This will help find zero of polynomials more efficiently.