At school a polynomial is an expression such as , and is a number that has
not been chosen yet. This chapter replaces that picture
by a definition that works over every commutative ring
of Number Systems: From to , Chapter 2 (Number Systems: From to , Definition 2.3.1):
over , over the
fields of
Chapter 2, and over rings such as , where a product
of two non-zero elements can be zero. This section makes
the one decision the whole chapter rests on: a
polynomial is its list of coefficients.
It then collects the finite sums, powers and multiples
that the next sections compute with.
Throughout, is
a commutative ring, with .
What goes
wrong with “an expression in x”
Take the field of Definition 2.2.1, in which
. Read
the school
way, as a rule: replace by an element and compute . The tables of Example (Arithmetic on and the
Field )
give So the rule and the rule give the same
output at both elements of . As functions they are
equal, by Sets, Relations, and Cardinality, Proposition 1.4.1:
same domain, same codomain, same values.
If a polynomial were the function it defines, then
would be
the zero polynomial over . So would and , which also
give at and at . None of them would
have a highest power of , and the rule “the
degree of a product is the sum of the degrees”, which we
want over every field, would fail for : degrees and , product “zero”. Over
the problem
never shows (Section 5.4 proves that over an infinite
field a non-zero polynomial never gives the zero
function), which is why school algebra can afford the
picture. Over a finite ring with it cannot.
So we decide the other way. Two polynomials are the
same when their coefficients are the same, and the
letter is not a
number at all.
A polynomial is its list of coefficients; the
letter only marks
the positions.
Polynomials
over a commutative ring
A list of coefficients that goes on forever is a
sequence, that is, a function on . We keep only the
sequences that stop being non-zero.
Definition
4.1.1 (Polynomial)
Let be a
commutative ring. A polynomial over (in the
indeterminate ) is
a function , written , such that only
finitely many are non-zero:
there exists with for
every . Such an is called
admissible for . The element is the
coefficient of in .
For and
, the
monomial is the polynomial with in position and in every other
position. We set , and for the constant is the monomial . The
zero polynomial is . The set of all polynomials over is written .
In words: the first clause says that a polynomial is
an infinite list of elements of , indexed from ; the second says that
from some position on, every entry is . The quantifiers are in
the order “there is one that works for every
later ”: a
sequence with infinitely many non-zero entries, however
sparse, is excluded. A monomial has at most one non-zero
entry, so is
admissible for it, and it is a polynomial. The symbol
is the particular
sequence : an element of , never an element of
, and never a
variable that takes values.
Equality. Two polynomials are
functions with the same domain and the same codomain
. By Sets, Relations, and Cardinality, Proposition 1.4.1,
To prove an identity between polynomials we
therefore compute the -th coefficient of both
sides, for an arbitrary . We call this move
compare coefficients. It is Number
Systems: From
to ,
Chapter 2’s “reduce to the level below” once more: a
statement about polynomials becomes a statement about
elements of , one
position at a time.
The display. If is admissible for , we write For now this is notation
only. No addition of polynomials has been
defined yet, so the plus signs are not an operation: the
display names the sequence by listing its entries, each
with a marker
for its position. We drop terms whose coefficient is
, write for , for , for , and for . So over names the sequence
with , , and for . Section 4.2
defines the sum of two polynomials and proves that the
display is then an honest sum of monomials.
There is one thing to check about the display. The
admissible is not
unique: if is
admissible, so is every , since implies . Passing from to only adds the terms
for , which the
convention drops. So every admissible names the same
sequence, and the display is well defined.
Why “only finitely many”. Two later
uses need it. In Section 4.4 we put an element in place of and form ; in a ring
only finite sums are defined, and finiteness is what
makes the sum finite. In Section 4.3 every non-zero
polynomial gets a degree, the highest position holding a
non-zero coefficient; without finiteness there may be no
highest position.
The degenerate cases. The zero
polynomial has every admissible, including
, and it is
the monomial for every . It is the one
polynomial with no non-zero coefficient at all, and
Section 4.3 will need a convention for its degree. At
the other extreme, let be the zero ring of the examples
after Number Systems: From to , Definition 2.3.1,
where . There
is exactly one function , so has exactly one
element, the zero polynomial, and . This is why some results below assume in .
Example
(Reading off coefficient sequences)
Write the coefficient sequence of each polynomial,
and check it against Definition 4.1.1.
In a ring ,
a natural number
written as an element stands for (Number Systems: From to , Theorem 3.4.3
(d)), just as Definition 2.2.1 does for
.
- (a) .
- (b) .
- (c) .
- (d) The constant
, over , over and over .
- (e) , for any .
Solution.
(a) .
The entries lie in , and is admissible, so
it is a polynomial over .
(b) ,
with entries in and admissible. It is
not the zero sequence, since its entry
in position is
. So in , although the
rule is the zero function on , as computed
above.
(c) : the constant term comes first. The
entries lie in (Number Systems: From to , Definition 3.4.2)
and is
admissible.
(d) Over : . Over
: ,
and
because
is a multiple of ;
so this is the constant . Over : , because
in ().
The same symbol
names three different polynomials, one in each ring, and
in each ring
is admissible.
(e) , with
every admissible:
the degenerate case.
Now a non-example, by a minimal change. Start from
, the sequence ,
and change every later to . The result ,
informally “”, is still a function . The one
clause that fails is only finitely
many: for every , the entry in position
is , so no is admissible. It is a
formal power series, met again in the exercises
of Section 4.2, but not a polynomial. An expression such
as fails
for a more basic reason: it would need an entry in
position , and a
polynomial is a function on .
and are commutative rings
too (for ,
Number Systems: From to , Chapter 5; for
, Chapter 1), so
and are defined, and
they are the main examples of the linear-algebra
companion. No proof in this chapter needs them; our
examples come from , , and , the rings this
series has built.
Where
matters. Nothing in Definition 4.1.1
mentions inverses, an order, or size. It makes sense
word for word over , where (Number Systems: From to , Example (Multiplication modulo six and modulo five)),
and over the zero ring. The price is that school rules
about polynomials cannot be assumed: each one that
survives is proved, here or (division with remainder,
counting roots) in Chapter 5, and each result says what
it needs from
(nothing at all, no zero divisors, a unit leading
coefficient, finiteness with , or, for the
derivative, the characteristic of a field).
Warning. is a coefficient;
will be a
value. Section 4.4 writes for the result of
putting in
place of . For
, the coefficient is , while the value at
will be . Both
are integers, so a reader who writes for “the -th coefficient” gets
. This book
never writes
for a coefficient: the coefficient of is , always with a
subscript.
Quick check. Is equal to the zero
polynomial in ? In ?
Solution. In , yes: is the monomial
, and
, so every
entry is and
the two sequences agree in every position. In , no: the entry in
position is , while the zero
polynomial has
there. Same display, two rings, two answers.
Sums,
powers and multiples
The next section defines the product of two
polynomials by a formula whose -th coefficient is a
finite sum of products in . Later sections raise
elements of , and
polynomials, to powers, and use multiples . This
subsection collects what we use about all three. Most of
it is already proved: finite sums and multiples in a
commutative ring are Chapter 2’s (Lemma 2.6.1, Lemma 2.5.1), and the
recursions follow the patterns that Sets, Relations,
and Cardinality, Section 2.3 set up for real
numbers (Sets, Relations, and Cardinality, Definition 2.3.1,
Sets, Relations, and Cardinality, Definition 2.3.2).
The patterns are reused; no fact about is.
One point deserves care before we start. The sums of
polynomials in Section 4.2 must be formed
before we know that is a commutative
ring, because they are used to prove it. So part (a)
below asks for an addition and a left-neutral element
, and nothing
more.
Lemma
4.1.1 (Finite Sums, Powers and
Multiples)
Let be a
commutative ring.
(a)
(Sums.) Let be a set with a
function and an element with for every . For a sequence
in there is
exactly one way to define ,
for , such
that starting from the empty sum . The sum
depends only on ; so a finite list has a
sum, computed from any extension of the list to a
sequence. Likewise, a finite list in has a
product , with
and .
(b) (Rules
for sums in .) For , and elements
:
(Σ1) ;
(Σ2) ;
(Σ3) for : if for every with , then
when , and
when ;
(Σ4) .
(c)
(Powers.) For and , and define for every , and for all and ,
(d)
(Multiples.) For all and ,
In words: (a) says that a finite list in a set with
an addition has a sum, built one term at a time, and
that terms beyond the list do not matter; it needs no
law of addition beyond . (b) says that a finite sum of ring
elements can be split into two sums, multiplied through
by a constant, collapsed to its one non-zero term, or
negated term by term. (c) is the three laws of exponents
in a commutative ring. (d) is the arithmetic of the
multiples
of Number Systems: From to , Section 2.3
(“Multiples”), extended to in Chapter 2: a dot with an integer on
its left is always a multiple, and the product of two
ring elements is written by juxtaposition.
Parts (b) and (d) are cited from Chapter 2: (Σ1)–(Σ4)
are Lemma 2.6.1 (a), (b), (d),
(e) (for (Σ3), apply Lemma 2.6.1 (d) to the
sequence that agrees with and is
beyond ; by the finite-lists
clause of part (a) above it has the same sum), and the
five rules of part (d) above are Lemma 2.5.1 (c), (d). Parts
(a) and (c) are the recursions of Sets, Relations,
and Cardinality, Section 2.3, read in and in ; each is built by Sets, Relations, and Cardinality, Theorem 2.3.1,
and each of its laws is one short induction. Chapter 1
proves the same three power laws for every commutative
ring (Proposition 1.1.3);
we only compare with it, and prove (c) again from the
template, so that this chapter’s main line rests on
Chapter 2 and not on Chapter 1.
↺Second readingProofs
of (a) and (c)
Idea. Each statement comes from Sets, Relations, and Cardinality, Theorem 2.3.1,
and each law is one induction on one index, following
the clauses of the recursion: the base case uses the
starting value, and the step peels off the last term or
factor. Only the laws of named at each step are
used.
Proof. (a) Apply Sets, Relations, and Cardinality, Theorem 2.3.1
(read on through Number Systems: From to , Corollary 1.7.3
(b)) with ,
starting value
and step , a function because maps into . It gives exactly one
sequence in
with and
. Set . Then by the hypothesis on , and . Any
assignment obeying the two displayed equations agrees
with this one at every , by Logic and Proof, Axiom 4.2.1
on .
For the dependence on , let
be a second
sequence with for , and let be its
sequence of partial sums. We prove by Logic and Proof, Axiom 4.2.1
on the statement
“if ,
then ”. For both are . If , then
and
, so by the
hypothesis and ; hence . At
this
gives . The argument used only that
is a function on
. The product of a
list is Sets, Relations, and Cardinality, Theorem 2.3.1
with ,
starting value
and step (with , say, for ), the pattern of
the product in Sets, Relations, and Cardinality, Definition 2.3.1;
its dependence on only is the same induction.
(c) The powers are Sets, Relations, and Cardinality, Theorem 2.3.1
with ,
starting value
and step , the pattern of Sets, Relations, and Cardinality, Definition 2.3.2.
For the first law fix and induct on (Logic and Proof, Axiom 4.2.1).
For : , by (F7). If , then
using (Number Systems: From to , Theorem 1.5.3
(c)), the recursion, the hypothesis and (F5). For the
second law fix :
(Number Systems: From to , Definition 1.5.1
(b)), and if , then , by the first law
and (Number Systems: From to , Theorem 1.5.3
(d), (e)). For the third: , by (F7), and if , then
, regrouping by (F5) and (F6). This
proves (a) and (c).
We will use (a) twice over: for sums of ring
elements, as in the product formula of Section 4.2, and
for sums in of
finitely many monomials, which Section 4.2 forms with
its coefficientwise addition before any ring law of
is known. In
both cases holds, in by (F1) and (F3), and
in position by
position.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Write the
coefficient sequences of and of . Is the second one a
monomial?
- (b) Is “”,
the sequence of rationals, a polynomial over ? Name the clause of
Definition 4.1.1
that decides it.
- (c) True or false:
two polynomials over whose rules and , for an admissible for both,
agree at and at
are equal.
Justify your answer.
- (d) Which are admissible for
?
Solution.
(a) is : the constant term is , the coefficient of
is , and that of is . The second is , and in , since . So it is , the monomial .
(b) No. The
clause only finitely many fails: for
every the
entry in position is , so no
is admissible.
(c) False. The
polynomials
and over give the rules
and ,
which agree at
and at (the
computation at the start of the section). But differs from in position , so the polynomials are
not equal.
(d) Every . The coefficient
of is , so and fail (position
holds a
non-zero entry); and every works, since all positions hold .
B. Practice
Exercise
(B1: Polynomials of bounded length as tuples)
Let
and .
Prove that is a bijection (Sets, Relations, and Cardinality, Definition 1.4.5),
where is
the set of -tuples of elements of , indexed here from
(Sets, Relations, and Cardinality, Definition 1.3.2;
for , where
the book has no -tuples, we read as , with standing for , and as ). Hence
list the elements of for .
Solution. Injective. Let
with
. Then for , and for by the definition of . So for every , and by Sets, Relations, and Cardinality, Proposition 1.4.1.
Surjective. Let . Define by for
and for : extend by
zeros. Then is
admissible for ,
so and
, and
.
So is a
bijection; its inverse is “extend by zeros”. For and , each is or , and the eight triples
give the eight polynomials Section 4.4 returns to this list and asks
which functions they define.
Exercise
(B2: Determine which)
Each formula below defines a sequence .
Determine which of them are polynomials over . Justify your
answer, and for each polynomial give the least
admissible and
the polynomial in the notation of the display.
- (a) .
- (b) .
- (c) .
- (d) .
Solution. By Number Systems: From to , Theorem 3.4.3
(b), are four different classes; in particular
and
.
(a) A polynomial.
The first entries are , and for , (Lemma 4.1.1
(c)), so . The least admissible is : works, and does not, since
.
The polynomial is .
(b) Not a
polynomial. For odd , , so . Given any , the odd number has
, so no
is
admissible.
(c) A polynomial:
the zero polynomial. Let . By Number Systems: From to , Theorem 3.1.2
(a),
with ,
so is
one of the four factors . Hence the product is a
multiple of , and
for every
(for the multiple is
, since then ). Every is admissible; the
least is , and the
display is .
(d) Not a
polynomial. For odd , , so , and as in (b) no is admissible.
The sequences in (b) and (d) have infinitely many
non-zero entries even though their values repeat; (c)
shows that a formula in can describe the zero
polynomial.
C. Going deeper
Exercise
(C1: Finitely many, in the sense of finite sets)
For a sequence , let , the set
of positions that hold a non-zero entry. Prove that some
is
admissible for if
and only if is
finite (Sets, Relations, and Cardinality, Definition 3.1.2).
So “only finitely many are non-zero” in Definition 4.1.1
means exactly what it says.
Solution. Let be admissible. If , then , so ; hence . The set has elements (the third example after Sets, Relations, and Cardinality, Definition 3.1.2),
so its subset is
finite by Sets, Relations, and Cardinality, Proposition 3.1.6.
We
prove by Logic and Proof, Axiom 4.2.1
on :
every subset with
elements has an upper bound , that is,
for every
. For , (the first
example after Sets, Relations, and Cardinality, Definition 3.1.2),
and works
vacuously. Suppose the statement holds for , and let be a bijection. Put and . The restriction of
to maps into
(if then , by
injectivity), is injective, and is onto (an element of
is with , so ). So has elements and an upper
bound . By
trichotomy (Number Systems: From to , Theorem 1.6.1
(a)), the larger
of and is defined, and it
bounds every element of .
Now let be
finite, with an upper bound . If , then , that is,
. So is admissible.
The proof of never needed
a greatest element of , only an upper bound.
The greatest element exists when is non-empty and finite
(an upper bound in gives one by Number Systems: From to , Proposition 2.3.6),
and Section 4.3 calls it the degree.
Marking scheme. (10 points) - 3:
shows
and concludes that is finite, citing that
is
finite and that a subset of a finite set is finite (Sets, Relations, and Cardinality, Proposition 3.1.6).
- 2:
sets up an induction on the number of elements of a
finite , with the claim that has an upper bound, and
handles . - 2: in the step, removes one
element and shows
that the rest has elements (by
restricting the bijection, or by Sets, Relations, and Cardinality, Corollary 3.1.7).
- 1: takes the larger of and , by trichotomy, as a
bound for . - 2: concludes that an upper bound of is admissible: implies , so .
Fatal errors (0 for the step): using a greatest
element of
without justification; overlooking in .