Sets, Relations, and Cardinality, Section
2.5 turned the school integers into a clock, , and checked by
hand that its sum and product are well defined (Sets, Relations, and Cardinality, Proposition 2.5.5).
Chapter 2 made the same kind of check twice more, for
and for , each time through Theorem 2.2.1
and a computation special to the formula. This section
makes the check once, for every
commutative ring and every subset of the right kind,
called an ideal. The integers modulo , now a ring, are the
first example. Chapter 5 builds in the same shape,
from classes of Cauchy sequences of rationals that
differ by a null sequence, and checks its operations
there directly; Algebraic Preliminaries,
Chapter 5 runs division with remainder, gcd and unique
factorization again for polynomials over a field.
Throughout, is
a commutative ring (Definition 2.3.1),
with .
What a
quotient needs
Let , and call and related when they
differ by an element of : For and
the multiples of ,
this is congruence modulo . We want two things:
should be an
equivalence relation, and the sum and product of classes
should be computable on representatives. Each wish makes
a demand on .
- Reflexivity, , needs .
- Symmetry: , so it
needs to be
closed under negatives.
- Transitivity: , so it needs to be closed under
sums.
- The sum on classes. Changing to changes to , and the
difference is again: no new demand.
- The product on classes. Changing
to changes to , and the
difference is : an element of multiplied by an
arbitrary element of . So must swallow such
products.
The last demand contains the second: . Three clauses
remain, and they get a name.
An ideal is a set of allowed errors: it contains
, it is closed
under adding errors, and an error multiplied by anything
is still an error.
Definition
3.4.1 (Ideal)
Let be a
commutative ring. A subset is an ideal of
if
- (I1) ;
- (I2) for
all , ;
- (I3) for
all and all , .
In words: (I1) and (I2) say that contains and is closed under
addition; (I3), absorption, says that
multiplying an element of by any element of the
ring, inside or
not, lands in .
The ring element
in (I3) ranges over all of , and that is what
separates (I3) from mere closure under multiplication,
where would have
to lie in .
Two consequences are used constantly. First, an ideal
is closed under negatives and differences: for , by (I3),
since by Proposition 2.3.2
(c) and (F7) with (F6); then
for , by
(I2). Second, if , then , since every by (I3).
Examples.
- The degenerate cases: and itself are ideals of
. For : and (Proposition 2.3.2
(b)). For , every
clause asks for an element of . They are the two
extremes: “no error allowed” and “everything
allowed”.
- For ,
the multiples form an ideal of (Definition 3.2.1):
;
;
. In
particular the even integers form an ideal.
- For , the combinations form an ideal
of , by the
closure properties in Definition 3.2.1;
Theorem 3.4.2
below records this.
Non-examples by minimal change.
satisfies (I1) and (I2), but (I3) fails at , : , since ( by Proposition 2.3.5
(e), as in
by Theorem 2.3.1,
then (a)) while (Theorem 2.3.4
(b)). And satisfies (I1), (I2) and is even closed
under negatives and products, but (I3) fails at , : . (If , then , but is odd and so not of the form , by Corollary 3.1.3
(a).) In both cases the ring element comes from
outside the subset, which is exactly
what (I3) allows.
Why these clauses. Each clause was
forced by one of the five wishes above, and dropping one
loses its wish: without (I1) or (I2), is not reflexive
or not transitive; without (I3), the product on classes
can fail, as the warning after the next theorem shows
for .
The
quotient ring
The payoff is a single theorem that builds a ring of
classes from any ideal. We write , or when the ideal must
be named, for the class of under , and for the quotient set
(Sets, Relations, and Cardinality, Definition 2.5.4).
Theorem
3.4.1 (Quotient Ring by an Ideal)
Let be a
commutative ring and an ideal of .
- (a) Setting defines an equivalence relation on , and the class of is .
- (b) The rules , and are
well defined on .
- (c) , with these
operations, is a commutative ring with zero and one . The quotient
map , , satisfies , and .
- (d) if and only if
. In
particular if and only if .
In words: (a) and (b) say that classes modulo an
ideal can be added, multiplied and negated through any
representatives; (c) says that the result obeys every
ring law, and that passing to classes respects the
operations; (d) says that the elements of are exactly those that
become , and that
the quotient collapses to the zero ring exactly when
is
everything.
Idea. A change of representative is
an element of .
The equivalence-relation clauses ask that such changes
can be reversed and chained, which is closure under
negatives and sums. The operations ask that a change in
one argument produce a change in the output: for the sum
the change is the same element of , and for the product it
is that element multiplied by the other argument, which
(I3) keeps in .
The ring laws are then laws of read on classes.
Before reading on: where is “ for every ” used, and why
does closure under not suffice for the
product?
Proof. (a) Let . (Eq1):
, by
(F4) and (I1). (Eq2): if , then , since is closed under
negatives; here by (F1)–(F4), so by the
uniqueness of negatives (Proposition 2.3.2
(a)). (Eq3): if and , then , by (F2)–(F4) and (I2). So
is an
equivalence relation (Sets, Relations, and Cardinality, Definition 2.5.1).
For the class: if , then and ; conversely, for , , so
.
Hence .
(b) We check the hypotheses of Theorem 2.2.1
(b), with and
the relation , for the maps
and . Let , so , and let . Then by (F1)–(F4) in the first line, and by (F9),
(F6) and Proposition 2.3.2
(c) in the second, where the membership is (I3) with
: the
ideal absorbs . This is the
first hypothesis. Since and ((F1), (F6)), the second hypothesis is the
first with the two arguments exchanged. For the negative
we check the hypothesis of Theorem 2.2.1
(a) for : , by Proposition 2.3.2
(a) and closure under negatives. Hence the three rules
define functions.
(c) Every element of is a class (Sets, Relations, and Cardinality, Definition 2.5.4).
Each axiom of Definition 2.3.1
other than (F8) is an equation, and by (b) both of its
sides, read on classes, are the classes of the two sides
of the same equation in . For example, for (F9),
using (F9) in in the middle; for
(F3), ; for (F4), ; for
(F7), . The laws (F1), (F2), (F5) and (F6) go the
same way. So is
a commutative ring with zero and one . The equations for
are the
definitions in (b) read from right to left, and by
definition of .
(d) holds if and only if (Sets, Relations, and Cardinality, Theorem 2.5.1
(b)), that is, ; and , since ( and Proposition 2.3.2
(a)). So . In particular .
If , then
, since for
every by
(I3); and if ,
then . This
proves the theorem.
The answer to the prompt. Absorption with an
arbitrary ,
the full force of (I3), is used exactly once in the
proof of (a) and (b): in the product, at , where the change of representative
is
multiplied by an arbitrary . Elsewhere (I3) enters only with , through closure
under negatives (), and otherwise the proof uses (I1) and
(I2). Closure under does not suffice for
the product because need not lie in : the product changes by
a multiple of the error, not by a sum of errors.
We call this move compute on representatives;
the ideal absorbs the change. It is the move of
Chapter 2’s “one argument at a time”, now with the
change of representative recorded as one element of
.
Warning. Closure under
and is not enough for the
product. contains and is closed under
sums and negatives, and these are all that the proof of
(a) and of the sum and negative in (b) used. So “” relates
rationals by an equivalence relation, and is well defined on its classes. But is
not: , since , while One class, two products in different classes.
The missing clause is (I3): is not an ideal of
.
The ideals
of the integers
In every
ideal is as simple as possible: the multiples of one
number. The proof is the move that gave the gcd in
Section 3.2.
Theorem
3.4.2 (Ideals of the Integers)
- (a) For all , is an ideal
of . In
particular is
an ideal of for
every .
- (b) Every ideal
of equals for exactly
one :
if , and
otherwise is the
least positive element of .
Idea. For (b), take the least
positive element
of . Its multiples
lie in by
absorption. Conversely, divide any by : the remainder lies in and is smaller than
, so it is not
positive, and it is . This is least
positive element, then divide once more.
Proof. (a) (Proposition 2.3.2
(b)), and Definition 3.2.1
shows that is closed under sums and under
multiplication by any integer. These are (I1)–(I3).
Since (Definition 3.2.1),
is an
ideal.
(b) Existence. If , then , since for every
(Proposition 2.3.2
(b)). Otherwise
has an element , and as well; one of , is positive (Proposition 3.1.1
(h)). So is non-empty, with lower bound
, and has a least
element (Proposition 2.3.6).
By (I3),
for every , so . Conversely, let . By Theorem 3.1.2
(a),
with
and .
Then , by (I3) and (I2). If , then is a positive element
of smaller than
, against the
choice of . So
, and . Hence
.
Uniqueness. Let with . Then ,
so ;
likewise .
By Proposition 3.1.1
(f), .
The ring of
integers modulo n
Now the clock of Sets, Relations, and
Cardinality, Section 2.5 can be rebuilt on the
constructed , as
an instance of the general theorem.
Definition
3.4.2 (The Integers Modulo n)
Let . The ring is the quotient
ring of by the
ideal (Theorem 3.4.1,
Theorem 3.4.2
(a)).
Its relation is congruence modulo of Sets, Relations, and Cardinality, Definition 2.5.5,
read on the constructed : means
for some
, that is,
, that
is, . Its elements are the classes , written
when two
moduli are in play. Its operations, and
, are
those of Sets, Relations, and Cardinality, Proposition 2.5.5;
there they were checked by hand for the school integers,
and here they are a consequence of Theorem 3.4.1
(b). The set
of Sets, Relations, and Cardinality is the same
construction on the school ; from now on we write
, to recall
the ideal.
Theorem
3.4.3 (The Ring of Integers Modulo n)
Let .
- (a) is a commutative
ring with zero
and one .
- (b) For each there is
exactly one
with ,
namely the remainder of on division by . The map , , is a bijection, so is finite with
elements (Sets, Relations, and Cardinality, Definition 3.1.2).
- (c) if and only
if .
- (d) for
every ,
where is
the -th multiple
in the commutative ring ; in particular
.
- (e) If , no relation
makes an ordered
commutative ring.
The multiples in (d) are those of Section 2.3,
defined there by recursion for every commutative ring
(,
), before Proposition 2.3.5;
the recursion uses no order, so it applies to , which for carries no order
compatible with its arithmetic, by (e).
Idea. Most of the work is done: (a)
is the general theorem, and (b) is division with
remainder read on classes, the remainder naming the
class and its uniqueness making the naming one-to-one.
Then (c) asks when is a multiple of , (d) is an induction
along the recursion that defines multiples, and (e) puts
(c) and (d) against the rule that in an
ordered ring.
Proof. (a) Theorem 3.4.1
(c), since is
an ideal (Theorem 3.4.2
(a)).
(b) Existence. By Theorem 3.1.2
(a),
with . Then , so . Also by Theorem 2.3.4
(b), and by discreteness (Theorem 2.3.4
(c)), so by (O3); that is, .
Uniqueness. Let with . Then for some , so and are two divisions of by , with remainders and , each at least and less than . By the uniqueness in
Theorem 3.1.2
(a), .
So the map , , is
surjective (existence: every class is some , Sets, Relations, and Cardinality, Definition 2.5.4)
and injective (uniqueness), hence a bijection (Sets, Relations, and Cardinality, Definition 1.4.5).
Since ,
adding gives
(O3),
so by
Theorem 2.3.4
(b), and the third example after Sets, Relations, and Cardinality, Definition 3.1.2,
with in place
of its , gives the
bijection , . The
composite is a
bijection (Sets, Relations, and Cardinality, Theorem 1.4.4
(c)), so
has elements.
(c) By Theorem 3.4.1
(d), if
and only if , that is, . By Proposition 3.1.1
(g) and ,
this happens exactly when . As by discreteness, means .
(d) By Logic and Proof, Axiom 4.2.1
(through Corollary 1.7.3
(b)) on . Base:
,
by the recursion. Step: if , then by the recursion, the hypothesis, and the
definition of in
Theorem 3.4.1
(b) (the sum
is the same in
and in , Proposition 2.2.3
(a)). Finally , since .
(e) Let , and suppose made an ordered
commutative ring. By (c), , so Proposition 2.3.5
(h), applied with , gives . By (d), , and
contradicts (O1). This proves the theorem.
Part (e) is the general clause after Example (A field with two elements that cannot be ordered),
now applied to a ring that this volume has built: has the tables
of that example, with , for , . Part (b) says that the
elements of can be listed as
, and that to compute with classes we may
always reduce to remainders.
Example
(Multiplication modulo six and modulo five)
Write out the multiplication table of . Find the pairs
of non-zero classes whose product is , and the classes
for which some
has . Then do the
same for .
Solution. By Theorem 3.4.3
(b), the classes of are , and
, where is the remainder of
on division by
. For instance
, since . Writing for , the table is The non-zero classes with product are and
, with their mirror images , . So has zero
divisors, unlike (Proposition 2.3.5
(f)). Also : a class can equal its own square without
being or . The entry occurs only in the rows
of and : and . So
exactly and
have a partner
with product .
For the
same method gives No product of non-zero classes is , and every non-zero
class has a partner with product : , , .
Moreover by Theorem 3.4.3
(d), so
cannot be ordered, by (e).
The classes with a partner of product are the
units of Section 3.5, which finds them
for every and
shows that for a prime , as for , every non-zero class
is one. Chapter 6 uses the ring , with , as a
field that no order can fit.
Quick check. In , compute and , each as with . How many
elements has ?
Solution. ,
since ; and , since . The
ring has
one element, by Theorem 3.4.3
(b): every integer is congruent to modulo , so , and it is a
zero ring, like the ring of Section 2.3.
Warning. A class is not its
remainder. in is the set
, not the integer , and the same symbol
in is a different
set. A comparison such as “” cannot be
read off the remainders and respect the arithmetic: by
Theorem 3.4.3
(e) no order makes an ordered
ring. Reducing to remainders is a way of
naming classes, not a way of turning
them back into integers.
Exercises
A. Check your
understanding
Exercise
(A1)
These questions are about the proof of Theorem 3.4.1.
- (a) Where is the
clause “
for every ”
used?
- (b) Run the product
check of (b) with , , , and : verify , compute , and say why it lies in .
- (c) For , which
step of the proof fails, and which clause of Definition 3.4.1
is missing?
- (d) Give the idea of
the proof in two sentences.
Solution.
(a) In (b), for
the product in the first argument: , with and . (It also gives closure under negatives,
which (a) and (b) use through ; and it is
used in (d), to get from .)
(b) , so . Then , which is , and . It lies in because absorbs the factor
.
(c) The product
step of (b): need not lie in , as with , , , where it is
. The missing
clause is (I3): .
(d) A change of
representative is an element of ; for the sum it passes
through unchanged, and for the product it gets
multiplied by the other argument, which absorption keeps
inside . The ring
laws then hold in because both sides of
each are classes of the two sides of the same law in
.
B. Practice
Exercise
(B1: The ring with four elements)
Write the addition and multiplication tables of . Find its zero
divisors (non-zero with for some
non-zero ) and the
classes with
for
some .
Solution. By Theorem 3.4.3
(b) the elements are , and each entry is the class of
the remainder of the sum or product on division by . Writing for : For instance and , since
and . The only zero divisor is : , and
in the rows of
and the entry
occurs only in
the column of .
The classes with a partner of product are () and (); the rows
of and contain no .
Exercise
(B2: Determine which)
For each subset of below, decide whether
it is an ideal of . Justify your
answer.
- (a) .
- (b) .
- (c) .
- (d) .
- (e) , where .
Solution.
(a) No. (I3)
fails: ,
but , since ( by Proposition 2.3.5
(e), as in
by Theorem 2.3.1,
then (a)) while (Theorem 2.3.4
(b)).
(b) No. (I2)
fails:
and , but
is in neither,
since and leave non-zero remainders (uniqueness in Theorem 3.1.2
(a)).
(c) Yes, by Theorem 3.4.2
(a). In fact : every is even, and every is a
combination.
(d) Yes: the
ideal , or
directly as in the examples after Definition 3.4.1.
(e) Yes: the set
is . If , then .
Conversely, let , say . Then , so and . Since and are prime (the
small-primes remark of Section 3.1), Corollary 3.3.2
(b) gives
and . As
, (Corollary 3.2.2),
so by Proposition 3.3.3.
Hence the set equals , an ideal by Theorem 3.4.2
(a).
C. Going deeper
Exercise
(C1: Changing the modulus)
Let . Prove that there is a function
with for
every if
and only if . Show that, when it exists, preserves sums,
products and the one.
Solution. Let . Then ,
since .
We apply Theorem 2.2.1
(a) with , congruence modulo on , congruence modulo
on , and : if
, then . So exists (and is
unique).
Suppose exists.
Since , , so so by Theorem 3.4.1
(d), that is, .
Operations. , by the definition of
in Theorem 3.4.1
(b) on both sides; likewise for products, and .
This is the general form of Sets, Relations, and Cardinality, Example (A rule on classes that is not a function):
fails because , and works because .
Marking scheme. (10 points) - 3:
writes
, shows , and
invokes Theorem 2.2.1
(a) with .
- 3:
uses
and applies to
get ,
hence . -
3: computes of a
sum and of a product on representatives, citing the
definition of the operations on both quotient rings. -
1: . Fatal errors (0 for the step): defining
by a formula on
representatives without checking that it does not depend
on the representative; in , assuming
(circular).
Exercise
(C2: Closed under subtraction)
Let be non-empty, with for all . Prove that
for some
.
The first half of a proof is given.
Pick ;
then . If , then . Otherwise contains some , and ; one of
, is positive (Proposition 3.1.1
(h)). By Proposition 2.3.6,
has a least
positive element .
The second half is blank. Name the move, then
complete it.
Solution. The move is least
positive element, then divide.
. First, for every , by Logic and Proof, Axiom 4.2.1
on . Base: .
Step: , and if , then , using (F9), (F7) and
(Proposition 2.3.2
(a)). Next, every is
or for some
(Proposition 2.2.3
(c)), and (Proposition 2.3.2
(c)).
. Let . By Theorem 3.1.2
(a),
with . Since , . If , it is a positive element of smaller than , against the choice of
. So and .
Hence .
No multiplication hypothesis was needed: closure under
subtraction alone forces the multiples of , and so is automatically an
ideal. The sets
of this exercise are the subgroups of , which
Algebraic Preliminaries, Chapter 3 studies.