Sections 2.1 and 2.2 built with well-defined
operations , and . Why was it built at
all? already
adds and multiplies by all the usual laws but one: it
has no negatives, since for every (Theorem 1.2.3 (b),
Corollary 1.2.2).
This section collects the laws of school algebra into
one definition, a commutative ring,
checks them for
by reducing each to a law of , and derives the
consequences that hold in every commutative ring.
The laws of
a ring
Expanding brackets or moving a term across an
equation uses a short list of laws: sums and products
may be reordered and regrouped, and do nothing, every
element has a negative, and products distribute over
sums. The list holds in , it will hold in
, and a result
proved from the list alone holds wherever the list does.
It deserves a name.
A commutative ring is a set where you may add,
subtract and multiply by the usual rules; a field is one
where you may also divide by anything non-zero.
Definition
2.3.1 (Commutative Ring, Field)
A commutative ring is a set with two functions,
addition and
multiplication (written ), such that clauses (F1)–(F7) and (F9)
of the following list hold; clause (F8) is used only for
fields.
- (F1) for
all .
- (F2)
for all .
- (F3) There
is an element with for every .
- (F4) For
every there is an element with .
- (F5) for
all .
- (F6) for
all .
- (F7) There
is an element with for every .
- (F8) For
every non-zero there is an element with .
- (F9)
for all .
A field is a commutative ring in
which, in addition, and (F8) holds.
We write , and in a field
for .
In words: (F1)–(F4) say that addition is commutative
and associative, with a neutral element and negatives;
(F5)–(F7) say the first three things about
multiplication; (F9) links the two and lets us expand
brackets. (F8) asks for inverses of
non-zero elements only, and only in a
field. The notations and anticipate that
these elements are unique, which we prove below. These
are the axioms (F1)–(F9) of the linear-algebra
companion, Chapter 0, and of the ordered fields of
Analysis on the Real Line, Chapter 1, in the
same numbering, except that there (F7) includes .
Examples.
- , with the
operations of Definition 2.2.1: the
next theorem.
- The zero ring , with
,
and . Every axiom other than (F8) is an equation
in , and every
such equation reads . So is
a commutative ring, with , and not a field. This degenerate ring is why
several results below assume .
A non-example by minimal change. The
set , with its
addition and multiplication from Chapter 1, satisfies
(F1)–(F3), (F5)–(F7) and (F9), by Theorem 1.2.3 and
Definition 1.2.1
(a). That one missing clause, (F4), is why had to be built.
Why these clauses. No axiom says
that forces
or : that is true in
but fails in
other commutative rings (the warning below), so it must
be proved where it holds. The condition is kept out of
the ring axioms, so that the zero ring is a ring, and
put into the field axioms, so that , where (F8) holds
vacuously, is not a field.
Warning. A commutative ring may
have zero divisors: non-zero with . The integers
modulo of
Sets and Functions, Section 5.2 (built there
from the school integers, with well-defined operations
by Sets and Functions, Proposition 5.2.5)
form a commutative ring: each of (F1)–(F7) and (F9)
passes from the school integers to classes through
representatives, a check we do not need and do not carry
out here. In this ring and , yet . So “, hence or ” is not a consequence of the ring axioms
(F1)–(F7) and (F9). In a field it is, since when (Section 4.1). In
an ordered ring it is a theorem, proved
in Section 2.4 from the order axioms.
To prove a law for classes, compute both sides
through representatives; the two pairs of natural
numbers are then equal or related, and the classes
agree.
Theorem
2.3.1 (The Integers Form a Commutative
Ring)
, with the
addition, multiplication and negation of Definition 2.2.1, is a
commutative ring, with zero and one , and in it .
Idea (Scratch work). Take (F9), the
law with the most terms.
|
|
| ,
, : every class
has a representative (Sets and Functions, Definition 5.2.4) |
two classes, each computed by Definition 2.2.1 from
these representatives |
| left: ; right: |
equal pairs, or related pairs |
| distribute in , then regroup four
terms |
the same pair: the classes are equal |
The operations are functions (Proposition 2.2.2), so
any representatives may be used. Only (F4) will need
; only (F5) is
long.
Proof. By Proposition 2.2.2, and are functions .
Let ; by Sets and Functions, Definition 5.2.4,
, , with . By
Definition 2.2.1, each
side of each axiom is the class of the pair shown in the
table. “Equal” means the same pair of natural numbers,
by Theorem 1.2.3 and
Definition 1.2.1
(a), (b). “Related” means related by (Definition 2.1.1: means
), so
the classes agree by Sets and Functions, Theorem 5.2.1
(b).
| (F1) |
|
|
equal: is
commutative on |
| (F2) |
|
|
equal: is
associative on |
| (F3) |
|
|
equal: |
| (F4) |
|
|
related: |
| (F5) |
see below |
see below |
equal, after expanding (below) |
| (F6) |
|
|
equal:
and are
commutative |
| (F7) |
|
|
equal: , , |
| (F9) |
|
|
equal: distribute, then reorder the four terms |
For (F5), write with , . Then
, and in On the other side, , and is the class of the
pair whose coordinates are Both first coordinates are sums of , and
both second coordinates of , so
the pairs are equal (Theorem 1.2.3
(b)–(g)).
Finally, : if , then by Proposition 2.1.2 (b).
But in
(Theorem 1.3.2
(d)), and is
irreflexive (Theorem 1.3.2
(a)), so .
This proves the theorem.
Seven of the eight rows end in “equal”. Only (F4)
needs : the
pair
records “”, which is zero, without performing the
subtraction, and that is the whole point of passing to
classes.
The proof used one move eight times. It has a
name.
Example
(Method: reduce to the level below)
Template. To prove a law about
classes whose operations are defined on representatives:
(1) write each element as a class ; (2) compute each
side by the defining formulas, with any representatives,
since the operations are well defined; (3) compare the
two representatives at the level below, by its laws:
equal, or related; (4) conclude that the classes are
equal (Sets and Functions, Theorem 5.2.1
(b)).
When to use it. Laws in , with below; any structure
whose operations are formulas in a known ring (Exercise
C1 below).
The usual failure. Claiming equal
pairs where only holds (the row
(F4)); computing with representatives before the
operation is known to be a function; using a law of
inside the
computation in ,
which is circular.
Quick check. Which class is the
negative of ? Show by reducing to that no other class
satisfies
.
Solution. (Definition 2.2.1). Now
suppose . By Sets and Functions, Theorem 5.2.1
(b) and Definition 2.1.1, , so . Hence by Theorem 1.2.3 (b),
and by
cancellation (Proposition 1.3.1
(b)). Then , that is, , and
(Sets and Functions, Theorem 5.2.1
(b)). Proposition 2.3.2 (a)
below proves the same uniqueness in every commutative
ring, from (F1)–(F7) and (F9) alone.
What the definition does not list must be derived,
and the derivations work in every commutative ring at
once.
Proposition
2.3.2 (Algebra in a Commutative Ring)
Let be a
commutative ring, and let .
- (a) The elements
and of (F3) and (F7) are
unique, the element of (F4) is unique, and
.
- (b) .
- (c) and
.
- (d) , where and .
Idea. To show that something equals
, or , show that it
satisfies the defining equation of that
element and let uniqueness, part (a), finish.
Proof.
(a) Suppose and both satisfy (F3).
Then , by (F3) for , (F1), and (F3) for
. Likewise,
if and both satisfy (F7),
then , by (F7) and (F6). Next,
suppose
and . Then
by (F3), the second hypothesis, (F2), (F1),
the first hypothesis, (F1) and (F3). So is the
only element whose sum with is . Finally,
by (F1) and (F4), so satisfies the defining
equation of ,
and uniqueness gives .
(b) Let . By
(F3) and (F9), . Adding to both sides, by (F4), the equation , (F2), (F4) and
(F3). So .
(c) By (F6) and
(F9), , the last step by
(b). So
satisfies the defining equation of , and (a) gives
. By
(F6) also . Hence , using the first
identity, the second, and (a).
(d) By (F9) and
(F6), , and by (F6), (F7) and (F9).
Regrouping by (F1) and (F2) gives .
Every law of Proposition 2.3.2 could
also be checked in by the method of Example (Method: reduce to the level below).
The next example puts the two routes side by side.
Example
(One law, two routes)
Prove that for all in two ways: (a) by reducing to the
level below; (b) from (F1)–(F7) and (F9) alone.
Solution.
(a) Let and . By Definition 2.2.1, , so and , so . The two pairs are equal, since and
by commutativity of in (Theorem 1.2.3
(b)). So the classes are equal.
(b) is a commutative ring
(Theorem 2.3.1), so Proposition 2.3.2 (c),
with and
, gives .
Route (a) needs nothing beyond the definitions of the
operations, but it proves the law only for . Route (b) proves it
in every commutative ring at once, which is why Proposition 2.3.2 is
stated for rings.
The argument of Proposition 2.3.2 (a),
with multiplication in place of addition, shows that in
a field a non-zero has only one inverse:
if and , then , by (F7), (F5) and (F6).
So , and with
it , names a
single element. And Proposition 2.3.2 (b)
explains the zero ring: if in a commutative ring, then for every , so the ring is .
Quick check. In a field, let . Show that .
Solution. First, : otherwise
, by (F8) and Proposition 2.3.2 (b),
against in
a field. So
has an inverse by (F8). And
by (F6), so is an
inverse of .
By the uniqueness of inverses just proved, it is the
inverse: .
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) State (F4) with
its quantifiers, and say why the zero ring satisfies
it.
- (b) Name the move by
which Theorem 2.3.1 was proved,
and say which row of its table needed rather than equality
of pairs.
- (c) True or false,
with a reason: in every commutative ring, implies or .
- (d) Prove from
(F1)–(F7), (F9) and Proposition 2.3.2 that
in every commutative ring, where .
Solution.
(a) For every
there is an
element
with .
In the only
element is , and
works, since .
(b)
Reduce to the level below (Example (Method: reduce to the level below)).
Only (F4) needed : the pair is related
to , but it
is not that pair.
(c) False. Give
the
componentwise operations and
. It is a commutative ring, with zero
, one and : each
of (F1)–(F7) and (F9) holds in each coordinate by Theorem 2.3.1. In it
by Proposition 2.3.2 (b) and
(F6), while and , since in .
(The integers modulo of the warning after Definition 2.3.1, with
,
illustrate the same, with their ring laws taken for
granted.)
(d) By (F9), and
then (F6) and (F9) on each summand (,
), By Proposition 2.3.2 (c),
, the last step by (F6), and . Regrouping
by (F1) and (F2), the sum is by (F4) and (F3), and the definition .
B. Practice
Exercise
(B1: Three rows in detail)
Let , , be integers. Verify in detail, naming the
law of used at
each step, the rows (F9), (F4) and (F6) of the table in
the proof of Theorem 2.3.1.
Solution. All operations are those
of Definition 2.2.1, and
“Law” refers to Theorem 1.2.3.
(F9). Since , , whose coordinates are and
by Law (d). And , whose coordinates are the same sums by
Laws (b), (c). So both sides are the class of one
pair.
(F4). , and means
(Definition 2.1.1), true
by Definition 1.2.1
(a) and Law (b). So by Sets and Functions, Theorem 5.2.1
(b).
(F6). . By Law (f), , , , , and by Law (b),
;
so the pair is , the pair of .
Exercise
(B2: Prove or disprove)
Prove or disprove.
- (a) For all , .
- (b) In every
commutative ring, implies or .
- (c) The set itself,
with and , is a commutative ring.
- (d) In every
commutative ring, implies .
Solution.
(a)
True, by reducing to the level below.
Let
and .
By Definition 2.2.1, , and . The pairs are equal, so
the classes are.
(b)
False. In the commutative ring with
componentwise operations (Exercise A1 (c)), by (F7) and Proposition 2.3.2 (b);
and is
neither the zero nor the one , since in .
(In the integers modulo , ring laws taken for
granted as in the warning after Definition 2.3.1,
illustrates the same.)
(c)
False: (F4) fails. A zero would
satisfy for all pairs; taking gives
by Theorem 1.2.3 (a),
so . But
for every pair , since (Theorem 1.2.3 (b),
Corollary 1.2.2).
So has no
negative. Passing to classes is what supplies
negatives.
(d)
True. Add : by (F1) and (F3), (F1) and (F4), (F2), the
hypothesis, and (F1) and (F4) again.
C. Going deeper
Exercise
(C1: A ring in disguise)
On define
and .
- (a) Find the
elements that play the parts of and in (F3) and (F7), and
the negative of
in (F4).
- (b) Prove (F9) for
, directly.
- (c) Let . Show that , and ,
and use this to prove (F5) for without
expanding.
Solution (Hint 1). In (a), solve
for
.
Solution (Hint 2). In (c), apply
to both
sides of (F5) and use that is injective.
Solution. All computations below
are in the commutative ring (Theorem 2.3.1), with the
rules of Proposition 2.3.2
(a)–(c). We also use : both sides are negatives of
, by
(F1)–(F4), and negatives are unique (Proposition 2.3.2
(a)).
(a) The zero is
: . The one is : . The negative of is : , the zero.
(b) On the left,
On the right, , which regroups to the same
expression.
(c) The three
identities: (For the second, expand the right side: .) The
third makes
injective: if , then . Now by the second identity twice, (F5) in , and the second
identity twice more. Injectivity gives .
The level below is now itself, and carries every law
of across to
, .
Marking scheme. (10 points) - 3: (a)
finds the zero ,
the one and the
negative ,
each checked by a computation. - 3: (b) expands both
sides to one expression, with the laws of used. - 1: (c)
verifies the three identities for . - 1: (c) shows
that is
injective from ,
or otherwise uses
to recover arguments. - 2: (c) carries (F5) across and concludes, by
injectivity or by applying once more (). Fatal errors (0 for the step):
assuming the laws for , in (b); applying
and
concluding equality of the arguments without
injectivity. A reader who proves (F5) for by direct expansion
earns the 2 points of the last step only if the
expansion is complete and correct, and loses none of the
others.