Number Systems: From to , Section 3.1
divided by
and kept the
remainder : a
quotient times the divisor, plus something
smaller than the divisor. Chapter 4
built the ring
of polynomials over a field and gave every non-zero
polynomial a degree. For polynomials, “smaller” will
mean “of smaller degree”. For instance, in , and the leftover has degree , below the degree of . Three
questions are open. Why can one always go on until the
degree drops below that of the divisor? Why is the
answer unique? And where does it matter that the
coefficients lie in a field? This
section answers all three, and then uses the answer to
connect a root of a polynomial with a factor of degree
.
Throughout the chapter, is a field (Definition 2.1.1), and
is the ring of
polynomials over
(Definition 4.2.1),
a commutative ring by Theorem 4.2.4
(a). A field is an integral domain (Example (Which Rings Are Integral Domains)),
so the results of Chapter 4 stated for integral domains
apply to . We
use the degree and the leading coefficient of
Definition 4.3.1,
with , and the conventions and for
that come
with it. A constant is identified with the polynomial (Theorem 4.2.4
(b)), and for a constant (Theorem 4.2.4
(d)). Numerals in
are multiples of :
,
,
and so on, so that in
and in (Definition 2.2.1).
Divisibility over a field
In , “ divides ” asked whether is some integer times
. The same
question makes sense in any commutative ring, and in
it is the
question this chapter is built on. The one new feature
is that the answer can depend on the field.
A polynomial divides when is times some polynomial
over the same field.
Definition
5.1.1 (Divisibility of Polynomials)
Let be a field
and .
- (a) divides over , written , if
there exists with . Then is a
divisor (or factor) of
, and is a
multiple of . We write when does not divide .
- (b) and are
associates if for some
non-zero constant .
In words: (a) asks for a cofactor , and the cofactor must
have its coefficients in ; (b) says that two
polynomials are associates when they differ by a
non-zero constant factor. When two fields are in play,
“ in ” names the
field.
Four instances, chosen so that the same symbols give
different answers:
- in , since .
- in , since . The polynomials and are
associates, and the cofactor
needs the inverse of .
- in , since there: in .
- in . Suppose with
.
Evaluating at
respects sums and products (Theorem 4.4.1),
so , that is, in
, which is
false.
Non-example by minimal change. The last two
lines use the same symbols, and . Only the field
changed, from
to , and with it
the value of : the
evaluation argument gives , which is true in and false in . So “” is a statement
about , and
, which is why the
definition says “over ”.
Degenerate cases. Every divides , since . The zero
polynomial divides only . And a non-zero
constant divides
every , since
;
this is (F8), inverses of non-zero elements, at work in
general (the cofactor of above was one instance), and it means that
non-zero constants are as invisible to divisibility as
were in .
Quick check. In , does divide ? Evaluate at
.
Solution. No. If ,
evaluating at (Theorem 4.4.1)
gives , that is, . In , . So in
.
The rules below are the ones the chapter uses. Parts
(a)–(d) are identities in the commutative ring , plus the inverse of
a non-zero constant (F8) for the last clause of (a) and
one degree count; parts (e) and (f) say exactly what
“invisible” means.
Proposition
5.1.1 (Rules for Divisibility of
Polynomials)
Let be a field
and .
- (a) . if and only if
. Every
non-zero constant divides every polynomial.
- (b) If and , then .
- (c) If and , then for
all .
- (d) If and , then .
- (e) The units of
(Number Systems: From to , Definition 3.5.1)
are exactly the non-zero constants.
- (f) and if and only if
and are associates (this
includes ). Every non-zero has exactly
one monic associate, namely . Two monic polynomials that divide each other
are equal.
Idea. Parts (a)–(c) are
rearrangements of equations by the ring laws,
except that the last clause of (a) also uses , from (F8). Part
(d) is the degree of a product: a non-zero multiple of
has degree plus something in
. Part (e) is
Chapter 4’s description of the units of , read with . For (f), mutual
divisibility gives , and canceling makes a unit, which (e)
identifies as a non-zero constant.
Proof. We use the ring laws of
(Theorem 4.2.4
(a)) and Number Systems: From to , Proposition 2.3.2
without further mention.
(a) , so . If , then for
some ; conversely
by the
first claim. If is a non-zero constant, then exists by (F8) of
Definition 2.1.1, and , so .
(b) Let and . Then , so
.
(c) Let and . Then , so .
(d) Let with . Since , neither nor is . The field has no zero divisors
(Theorem 2.1.1 (f)), so Theorem 4.3.2
(b) gives . Here , so .
(e) By Proposition 4.3.4,
applied to the integral domain (Example (Which Rings Are Integral Domains)),
the units of
are the constants that are units of . In a field every
non-zero is a
unit, by (F8), and is not, since for
every (Theorem 2.1.1 (d) and (F7)
of Definition 2.1.1). So the
units of are
the non-zero constants.
(f) Let with a constant. Then
, and , so .
Let and
. If , then , so by (a), and . Otherwise
write and
. Then , so . Since
, Corollary 4.3.3
(a) gives , that is, . So is
a unit of ,
hence a non-zero constant by (e), and : and are associates.
The monic associate. Let and . The polynomial has the
coefficients (Theorem 4.2.4
(d)). These vanish exactly where the do, since (as , by Theorem 2.1.1 (d), (F7),
(F8)) and has no
zero divisors, so
and . If also is monic for a
constant ,
the same computation gives , so (uniqueness of inverses, Theorem 2.1.1 (c)). So
is the
only monic associate of .
Monic and mutually dividing. Let be monic with and . By what we
proved, with
a non-zero constant , and comparing leading
coefficients, . So . This proves the proposition.
Parts (e) and (f) are the polynomial form of a fact
about : in Number Systems: From to , Proposition 3.1.1
(f) and (g), the units of were , and two
positive integers that divide each
other are equal. In the units are the
non-zero constants, and the role of “positive” is played
by “monic”: among the associates of a non-zero
polynomial, exactly one is monic. So whenever a
polynomial is to be singled out from its associates, it
is made monic.
The hypothesis in (d) cannot be dropped: , and .
Quick check. In , list the
associates of that have integer coefficients and leading
coefficient between and . Which one is
monic?
Solution. The associates are with , ; the leading
coefficient is .
Leading coefficients give , , , all with
integer coefficients. The monic one is .
Division
with remainder
Now the theorem. The tool is the one Number
Systems: From
to ,
Section 3.1 used for integers, with degree in place of
size: among all , take one of least degree,
and show that its degree is below .
Theorem
5.1.2 (Division with Remainder in )
Let be a
field, and let with .
- (a) There are
unique with
- (b) if and only if
.
The polynomials and are the
quotient and the
remainder of on division by .
Since , the remainder is allowed.
Idea. Look at all polynomials , . If is among them, is a multiple of and we are done.
Otherwise their degrees are natural numbers, and
well-ordering gives one, , of least degree . If , we can kill
the leading term of by subtracting a
constant times a power of times : the constant is , and that inverse is
where the field is needed. The result is again of the
form and has
smaller degree, against the choice of . Uniqueness: two
answers give , and a non-zero multiple of cannot have degree
below . We
call this move compare degrees.
Proof.
- (a)
Existence. Let and , and let If , say , then and this satisfy and .
Suppose . Then every element of has a degree in , and is non-empty, since .
By the well-ordering of (Sets, Relations, and Cardinality, Theorem 2.1.3;
on it
is Number Systems: From to , Theorem 1.6.2),
has a least
element . Choose
with
of degree , and
let .
Suppose .
Let , a monomial with and
non-zero coefficient : , since (Theorem 2.1.1 (d), (F7),
(F8)), so by Theorem 2.1.1 (f). Then
and
, so by Theorem 4.3.2
(b), has degree
and
leading coefficient . Let an element of . By Theorem 4.3.1
(with for every , since ), , and the coefficient of in is . So (or ). But , since , and then
is
smaller than the least element of . This contradiction
shows . So
with
.
Uniqueness. Let with and . Then and by Theorem 4.3.1
(using as above). If , then Theorem 4.3.2
(b) gives , a
contradiction. So , hence and .
- (b) If , then , so . If , then with is a
division with remainder; by the uniqueness in (a), . This proves the
theorem.
The field is used in two places. The first is the
inverse of
the leading coefficient of , which builds the
monomial . The
second is the degree of a product, in and in the
uniqueness: Theorem 4.3.2
(b) needs the product of the leading coefficients to be
non-zero, and a field has no zero divisors. The
hypothesis
is needed as well: for no has
.
The existence proof is also a procedure. Each pass
replaces by , which removes the
leading term of ,
and the degree drops by at least one. Starting from
, at most
passes are needed when , and none when : then
and . This is the long
division of school algebra, now with a proof that it
stops and that its answer is the only one. Chapter 4 did
not divide polynomials with remainder, so this is where
the volume first does it. Its integer twin is Number Systems: From to , Theorem 3.1.2,
whose least-element proof the one above follows.
Example
(Long division in two fields)
(i) In , divide by .
(ii) In , divide by .
Solution.
(i) Here ,
with inverse . Each pass
subtracts ,
where is the
leading term of the current remainder divided by : The last line has degree , so we stop.
Adding up the ’s,
Check: , and adding gives .
(ii) In , , so
. The first is , and . The second
is , and :
So in . Check: in , and adding gives .
Quick check. Find two different
pairs with
in and . Which
condition in part (a) of the theorem does the second one
fail?
Solution. : , with . And : , with . The second
fails . Uniqueness holds only among remainders of
degree strictly below that of the
divisor; is
the quotient and remainder.
Warning. Division with remainder
needs the leading coefficient of the divisor to be
invertible. Take the polynomials in all of whose
coefficients lie in , and try to divide
by among
them: with . Comparing the coefficients of gives (Lemma 4.2.2
(a)), and no integer satisfies it, since
is odd (Number Systems: From to , Corollary 3.1.3
(a)). In
there is no problem: . Exercise C1 shows that
integer coefficients are kept when the divisor is
monic.
Roots and
factors of degree one
Division by a polynomial of degree has a remainder of
degree at most ,
that is, a constant. Which constant? Evaluate: the
divisor
vanishes at , so
the quotient term disappears and the remainder is read
off. We call this move evaluate at a
root.
Theorem
5.1.3 (Remainder Theorem and Factor
Theorem)
Let be a
field,
and .
- (a) The remainder of
on division by
is the
constant .
- (b) is a root of if and only if .
- (c) has a factor of degree
in if and only if has a root in .
Idea. Divide by and evaluate at
: the term with
the quotient vanishes, and what is left is the
remainder. Part (b) is then the divisibility test of Theorem 5.1.2
(b), and for (c) a factor of degree is made monic, which
turns it into some .
Proof.
(a) The
polynomial is
non-zero, of degree and monic. By Theorem 5.1.2
(a), with , so is
a constant (possibly ). Evaluation at respects sums and
products, sends
to and a constant
to itself (Theorem 4.4.1),
so
(b) By (a), is the division of by . By Theorem 5.1.2
(b),
if and only if this remainder is , that is, .
(c) If , then by (b), and
has degree
. Let with , . Then , so , and by Proposition 5.1.1
(b), . By (b), is a root of
.
Part (b) is the factor theorem, and
it turns a question about values (is ?) into a
question about divisibility. Part (c) turns the search
for factors of degree into a search for
roots.
Example
(Remainders without dividing)
(a) In , find the
remainder of on division by .
(b) In , find the
remainder of on
division by .
Solution.
(a) By Theorem 5.1.3
(a), the remainder is
(b) The divisor
has degree
, so the remainder
has degree at most : with (Theorem 5.1.2
(a)). The divisor vanishes at and at . Evaluating at both (Theorem 4.4.1),
so
and . The
remainder is .
Check: .
Quick check. Without dividing,
decide whether divides in , and whether does.
Solution. , and
, so by Theorem 5.1.3
(b). For , the
remainder is in ,
so . (Over , and both
divide.)
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) State Theorem 5.1.2
with every hypothesis.
- (b) Name the two
places in its proof where “ is a field” is
used.
- (c) Let , and let be a non-zero
constant. What are the quotient and the remainder of
on division by
?
- (d) True or false,
with a reason: for , if and , then . The same question in .
Solution.
(a) Let be a field and with . Then there are
unique with and ; and if and only if .
(b) The inverse
,
which builds the monomial ; and the absence of zero divisors in
, through Theorem 4.3.2
(b), which gives and, in the uniqueness, .
(c) and : indeed , and
. By uniqueness this is the
division.
(d) In : false. and (),
but . By Proposition 5.1.1
(f), mutual divisibility only makes and associates. In : true. By (f),
with a non-zero constant,
and the only non-zero element of is ; so .
B. Practice
Exercise
(B1: Two long divisions)
- (a) In , divide by
.
- (b) In , divide by
, and
decide whether divides in .
Solution.
(a) . The passes subtract , and times the
divisor: So the quotient is and the remainder is , of
degree .
Check: , and adding gives
.
(b) In , , so
. The
passes subtract , and times the divisor, with
, and :
using and in . So the quotient is
and
the remainder is the constant . Since in , Theorem 5.1.2
(b) gives in .
Exercise
(B2: A factor of a difference of powers)
Let be a
field, and
.
Deduce from Lemma 1.1.4 that
and hence that . Then give a second proof of
the divisibility with Theorem 5.1.3.
Solution. is a commutative
ring (Theorem 4.2.4
(a)), so Lemma 1.1.4
applies in it. Take and : Negate both sides:
and for every (Number Systems: From to , Proposition 2.3.2
(a), (c)). This is the displayed identity, and it shows
. Taking ,
rather than ,
gives the sum
in the stated order, with no re-indexing.
Second proof. By Theorem 4.2.4
(c), is the
monomial ,
whose value at is
(Definition 4.4.1,
the monomial example after it). So the value of at is (Theorem 4.4.1,
for the sum and the constant ), so is a root and by
Theorem 5.1.3
(b). This proof gives the divisibility at once but not
the quotient.
Exercise
(B3: One remainder over every field)
Let be any
field. Show that the remainder of on division by
in is . Then explain why, over
, evaluating at
the roots and
also finds it,
and why that method alone does not settle the question
over .
Solution. By Lemma 1.1.4 in
with , and , since and
(Lemma 4.1.1
(c)), So , and . By the uniqueness in Theorem 5.1.2
(a), the remainder is , over every field.
Over by
evaluation. Write . Evaluating at and gives and ; subtracting,
, so since in ; then .
Over . There , so the two roots
coincide and evaluation gives the single equation . It does not
determine and
(both and satisfy it), so
the uniqueness argument above is needed.
C. Going deeper
Exercise
(C1: Monic divisors keep integer coefficients)
Call an integer polynomial
if every coefficient of lies in .
- (a) Let be integer
polynomials with
monic. Prove that the quotient and the remainder of
on division by
in are integer
polynomials.
- (b) Prove the same
if .
- (c) Explain why the
least-degree argument of Theorem 5.1.2
still works when
is replaced by , for monic.
Solution (Hint 1). Rerun the
existence proof of Theorem 5.1.2,
but only with integer polynomials .
Solution. Sums, negatives and
products of integer polynomials are integer polynomials:
their coefficients are sums of products of coefficients
(Definition 4.2.1),
and is closed
under , , .
(c) and (a). Let
and whose elements are integer polynomials. Run
the existence proof with in place of . If , then with an integer polynomial
and .
Otherwise take of least degree (Sets, Relations, and Cardinality, Theorem 2.1.3),
and suppose . With and , the monomial is an
integer polynomial, so , and it has degree
or is , exactly as in the
proof. Both contradict the choice of . So , and with integer polynomials.
This is a division with remainder in , so by uniqueness
(Theorem 5.1.2
(a)) these , are
the quotient and remainder. The
argument works because the step never
leaves : it
needs , and gives . That answers (c).
(d) If , then , and the same proof runs with .
(Alternatively, divide by the monic : .)
Exercise
(C2: The remainder modulo a quadratic with known
roots)
Let be a
field,
and .
- (a) If , prove that the
remainder of on
division by is
- (b) If , write (Theorem 5.1.3
(a)) and prove that the remainder of on division by is .
- (c) Hence find the
remainder of on division by
in
.
Solution (Hint 1). The remainder
has degree at most . Which values does it
take at and at
?
Solution (Hint 2). Write
with ,
and let be the
displayed polynomial.
Solution.
(a) The divisor
is
monic of degree
(Theorem 4.3.2
(b)), so Theorem 5.1.2
(a) gives with . Evaluating at and at (Theorem 4.4.1)
kills the first term: and . Let be the displayed
polynomial; it has degree at most , and , . So has degree at most and the two roots . If , then (Theorem 5.1.3
(b)), say , and by Theorem 4.3.2
(b), so is a
constant; evaluating at gives , so because , and then
after
all. Hence .
(b) Divide by : (Theorem 5.1.3
(a)). Then and has degree at most . By uniqueness,
it is the remainder.
(c) . By (a) with , ,
and , the
remainder is