6.1 Division with Remainder
Integers can be divided with a remainder:
6.1.1. Long division by hand
At school one divides
Write
- The leading term of
is , and the leading term of is . The quotient is the first term of the answer. Subtract : - The leading term is now
, and . Subtract : - What is left,
, has degree , smaller than . No multiple with can remove it without creating terms of degree at least . We stop.
So
Two questions are hidden in this routine. Why
does it always stop? Each step removes the
current leading term, so the degree of what is left
drops by at least one. Degrees are natural numbers, and
a strictly decreasing sequence of natural numbers cannot
go on forever. Why is the answer
unique? Someone else might hope to find a
different quotient and a different remainder of degree
less than
There is also a third, quieter question. In step 1 we
divided the leading coefficient of the current
polynomial by the leading coefficient of
6.1.2. The Division Theorem
The routine above works for every pair of polynomials with non-zero divisor. Here is the precise statement.
Let
The polynomial
Idea. Existence is the hand routine
turned into an induction on
Proof. Let
Existence. If
: for every with , there are with and .
Let
Case 1:
Case 2:
Uniqueness. Suppose
The field axioms did essential work in two places:
the inverse
The hypothesis “over a field” is not decoration.
The leading coefficient of
Warning. Division with
remainder fails over
Division by a divisor whose leading coefficient
is invertible still works over
Quick check. Why must the
inequality
Solution. Both
Now a division in which the leading coefficient of
the divisor is not
In
Solution. We follow Case 2 of the
proof, where
Step 1. The leading term of
Notice that the quotient has a non-integer
coefficient although
6.1.3. Divisibility
With integers, “
Let
- We say
divides over , and write , if there exists with . Then is a divisor (or factor) of , and is a multiple of . We write if does not divide . - We say
and are associates if for some non-zero constant .
In words:
Examples, simplest first.
- Degenerate cases. Every
divides , since . On the other hand only for , since . Every non-zero constant divides every , since . These cases matter: they say that non-zero constants are invisible to divisibility, just as are for integers. - In
, , since . Also , since . The polynomials and are associates. - In
, , since there. In , however, , as the next paragraph shows. - In
, .
For a non-example by minimal change, keep
Warning. Divisibility depends on
where the multiplier may live. In
Why this definition? Because it makes “divides” the case of remainder zero, which is the link to division we need. The basic rules follow quickly.
Let
- (a) If
and , then . - (b) If
and , then for all . - (c) If
and , then . - (d)
and if and only if and are associates or both are . In particular, if , , and are both monic, then . - (e) If
, then if and only if the remainder of on division by is .
Proof.
(a) Write
and with . Then by Theorem 0.8.1, so .(b) Write
and . Then by Theorem 0.8.1, so .(c) Write
. Since , both and are non-zero, so . By Theorem 0.8.3, .(d)
If with , then and gives . If , both divide each other. Suppose and . If , then , so both are . If , then , so , and Corollary 0.8.4 gives . By Theorem 0.8.3, with both degrees in , so and are non-zero constants. Hence with , and are associates. If both are monic, comparing leading coefficients in gives , so .(e) If the remainder is
, then , so . Conversely, if , then with . This is a division with remainder, so by the uniqueness in Theorem 6.1.1, the remainder of on division by is . This proves the proposition.
Part (d) is the polynomial form of a move we will use
again and again: to show two monic polynomials
are equal, show that each divides the other. It
also gives each non-zero polynomial a canonical
representative. If
6.1.4. The Remainder and Factor Theorems
Division by a polynomial of degree
Let
- (a) The remainder of
on division by is the constant . - (b)
is a root of if and only if .
Proof.
(a) By Lemma 3.7.1,
for some . The constant has degree or , which is less than . So this is a division with remainder, and by the uniqueness in Theorem 6.1.1, is the remainder.(b) By Proposition 6.1.2 (e),
if and only if the remainder is , which by (a) means . This proves the theorem.
In other words, the Factor Theorem of Chapter 3 is
really a statement about division. Division alone would
also give it: dividing
- (a) Find the
remainder of
on division by in . (b) Show that in , but in . (c) Find the remainder of on division by in , again without long division.
Solution.
(a) By Theorem 6.1.3 (a), the remainder is
. No long division is needed.(b) Here
. In , , so is not a root and by part (b) of the theorem; the remainder is . In , and , so . Indeed in . The same polynomial symbols, over two fields, give different answers.(c) The divisor has degree
, so by Theorem 6.1.1, with , say . The divisor vanishes at and at , so evaluating both sides there (Theorem 0.8.5) kills the term : at , ; at , . Hence , , and the remainder is . As a check, . The move is: evaluate at the roots of the divisor, one equation per root.
The Factor Theorem peels off one root at a time.
Doing it for several distinct roots at once strengthens
the Root bound of Chapter 3 (Lemma 3.7.2), which
said that a non-zero polynomial of degree at most
Let
Idea. Peel off
Proof. We use induction on
Let
For the count, suppose
The count is Lemma 3.7.2 again,
now as a consequence of a divisibility statement. The
divisibility statement is the more useful one. For
instance, it tells us at once that a polynomial
vanishing at
6.1.5. Polynomials and polynomial functions
Chapter 0 warned that a polynomial is not the
function it defines: over
Let
- (a) Let
with and . If for at least distinct elements , then . - (b) If
is infinite and for every , then .
Proof.
(a) Let
. By Theorem 0.8.2, . By Theorem 0.8.5, for each of the given distinct elements, so has at least distinct roots. By Lemma 3.7.2, a non-zero polynomial of degree at most has at most distinct roots, so cannot be non-zero. Hence and .(b) Let
. Since is infinite, it contains distinct elements, and and agree at each of them. Part (a) gives . This proves the theorem.
So over
Warning. Part (b) is false over
every finite field. Over
Quick check. Over
Solution. Yes. The values of
Division with remainder is the one tool this chapter keeps using. In the next section it shows that every set of polynomials closed under the right operations consists of the multiples of a single polynomial, and that gives greatest common divisors.
6.1.6. Exercises
A. Check your understanding
- (a) State the
theorem on division with remainder in
, including every hypothesis. - (b) Determine
whether the following statement is true: “for every
field
and all , if and , then .” Justify your answer. Does your answer change if ? - (c) Let
be non-zero. What are the quotient and the remainder of on division by the constant polynomial ? - (d) Name the method
for finding the remainder of
on division by without dividing. - (e) Determine
whether the following statement is true: “if
is a field and satisfies for every , then .” Justify your answer.
Solution.
- (a) Let
be a field and with . Then there are unique with and (Theorem 6.1.1). - (b) False in
general. In
, take and . Then and , so each divides the other, but . By Proposition 6.1.2 (d), mutual divisibility only gives associates. Over , the statement is true: the only non-zero constant in is , so associates are equal, and if and , then either both are or . - (c) The remainder
must have degree less than
, so . Then , so . In particular every polynomial is divisible by every non-zero constant. - (d) The Remainder
Theorem (Theorem 6.1.3): the
remainder is the constant
. - (e) False. Over
, is non-zero but (Example (Different polynomials, same function)). The statement is true when is infinite, by Theorem 6.1.5 (b).
B. Practice
- (a) In
, divide by with remainder. - (b) In
, divide by with remainder. Hence decide whether in .
Hint for (b): first find the inverse of
Solution.
- (a) The leading
coefficient of
is , with inverse . First, , and . Next, , and subtracting leaves . Next, , and subtracting leaves , of degree . Hence with quotient and remainder , which are the only ones by Theorem 6.1.1. - (b) In
, , so . First, the leading term divided by is , and . Subtracting leaves . Next, , and subtracting leaves . Next, , and subtracting leaves . Hence The remainder is non-zero, so in , by Proposition 6.1.2 (e).
Let
Solution. The value of
- (a) In
, find the remainder of on division by without long division. - (b) Show that the
answer to (a) is the remainder of
on division by over every field , including . Explain why the method of (a) alone does not settle the case .
Hint for (a): part (c) of Example (Remainders Without Dividing). Hint for (b): imitate the identity of B2.
Solution.
- (a) By Theorem 6.1.1,
with , say . Evaluating at and , where vanishes (Theorem 0.8.5), gives and . Adding and subtracting, and , so and . The remainder is . - (b) Over any field,
let
. Then because the terms occur in both sums. Hence , and , so by the uniqueness in Theorem 6.1.1 the remainder is over every field. The method of (a) divides by , and over we have ; also there, so evaluating at gives only the single equation , which does not determine and .
C. Going deeper
As in the warning after Theorem 6.1.1,
- (a) Let
with monic. Prove that there exist with and . - (b) Prove that
and in (a) are unique, even among . - (c) Does (a) remain
true if the leading coefficient of
is instead of ? Justify your answer.
Hint for (a): find the one step in the proof of
Theorem 6.1.1 that
leaves
Solution.
- (a) We repeat the
existence proof of Theorem 6.1.1,
checking that every polynomial stays in
. Let . The only step that could leave is forming , where is the leading coefficient of . Here , so and . The strong induction on (Theorem 0.2.10) then runs word for word inside : in Case 1, and are in ; in Case 2, and are in because are, by the induction hypothesis applied to . This proves existence in . - (b) Suppose
with and . Since is a field and , the uniqueness part of Theorem 6.1.1 in gives and . In particular the pair found in (a) is the unique one. - (c) Yes. If the
leading coefficient is
, then , so , and the argument of (a) goes through unchanged. What matters is that the leading coefficient has an inverse in , which is true exactly for .
Let
- (a) Suppose
. Prove that the remainder of on division by is where means . - (b) Now let
. Write by Theorem 6.1.3. Prove that the remainder of on division by is . - (c) Hence find the
remainder of
on division by in .
Solution.
- (a) Since
, is invertible, so is a well-defined polynomial of degree at most . By Theorem 6.1.1, with . Evaluating at and at (Theorem 0.8.5) gives and . Also and . So and have degree at most and agree at the distinct points . By Theorem 6.1.5 (a) with , . This proves the formula. - (b) By Theorem 6.1.3 (a)
applied to
, for some . Substituting, The last bracket has degree at most , so by the uniqueness in Theorem 6.1.1 it is the remainder. - (c) Here
, with , and . By (a), As a check, and .
Let
- (a) Prove that
for every if and only if in . - (b) Deduce that
and its remainder on division by define the same function . Use this to find a polynomial of degree less than that defines the same function on as .
Hint for (a): Exercise (C2: A non-zero polynomial vanishing everywhere) and Corollary 6.1.4.
Solution.
- (a)
Suppose . By Exercise (C2: A non-zero polynomial vanishing everywhere), for every . By Theorem 0.8.5, for every . Suppose for every . Then the distinct elements of are roots of . Let . By Corollary 6.1.4, . It remains to show . By Exercise (C2: A non-zero polynomial vanishing everywhere), every is a root of , so Corollary 6.1.4 gives for some . Both and are monic of degree (Theorem 0.8.3), so , and comparing leading coefficients gives . Hence , and . - (b) Write
by Theorem 6.1.1. Then , so and define the same function by (a). For over : , so with . Hence defines the same function as on .