Definition 14.1 A monoid is a group without inverses. That is, a monoid is a set together with a function
which has an identity element and is associative. We call a monoid commutative if
for all .
Definition 14.2 An associative ring is a triple
where is a set and
(1)
is a function making into an Abelian group. We call this operation addition, and its identity element is .
(2)
is a function making into a monoid. We call the operation multiplication, and its identity element is .
(3) Finally, we require multiplication to distribute over addition. This means that for all ,
where we write as .
We usually write simply for a ring, suppressing the operations and .
Definition 14.3 If is an Abelian monoid, we call a commutative ring.
When discussing groups, I quickly proved the cancellation law because it is useful to know. Here is another useful fact.
Proposition 14.1 Let be an associative ring, and let be the additive identity of . Then
for every .
Proof:
Using the cancellation law in the Abelian group, we may subtract from both sides of the equation. This leaves
Similarly,
Remark We will not explore the reason in detail, but rings behave very differently depending on whether or not they are commutative.
Example 14.1 Consider the triple
This makes an Abelian group, while is clearly a monoid: multiplication has an identity element called and is associative.
The distributive law is the familiar distributive law.
Example 14.2 With the usual addition and multiplication, the triple
is a ring.
The same is true of and with their usual multiplication.
These are special kinds of rings because every element of
has a multiplicative inverse.
Example 14.3 (Polynomial Rings)
Let
denote the set of polynomials in with integer coefficients.
Thus an element is an expression
where
for all larger than some finite .
For example, the following are elements of :
In the third example,
Let be a polynomial with coefficients .
Polynomial addition is defined by
Notice that since for , and for every larger than some , the sum really is a polynomial because
for every
The product of two polynomials is defined in the usual way:
Proposition 14.2 is a commutative ring.
More generally, if is a commutative ring, then the set
of polynomials with coefficients in is a commutative ring.
Proof:
(1) Addition is closed.
For two polynomials and in , their sum
is a polynomial whose coefficients are the sums of the corresponding coefficients of and .
Since is a commutative ring and is closed under addition, this operation is well defined in .
(2) Multiplication is closed.
For two polynomials and , their product can be written as
where
Since is closed under multiplication, each coefficient is an element of . Thus the product is a polynomial in .
(3) Addition is associative and commutative.
Polynomial addition in is associative and commutative because addition in is associative and commutative, and the operations on individual coefficients obey the corresponding properties in .
(4) Multiplication is associative.
Polynomial multiplication in is associative because the distributive laws hold and multiplication in is associative.
Thus, for polynomials ,
(5) Distributivity.
Multiplication distributes over addition because, for ,
This follows from the distributive law for the individual coefficients in .
For any polynomials
we have
This is because multiplication in is commutative.
In particular, if
and
then
Since multiplication in is commutative,
Therefore,
Example 14.4 (Smooth Functions)
Here is an example in which it is more difficult to explicitly list all the elements of the set.
Let
denote the set of all infinitely differentiable functions from to .
Given two functions and , define their sum to be the function sending
to
where the addition takes place in .
Their product is the function sending
to
This is also a ring.
We have already seen three examples of familiar rings.
They are all infinite.
Now let us look at some finite examples.
Lemma 14.3 Let
be the set of integers modulo .
The function
is well defined.
Remark We use to denote the equivalence class associated with .
Here, is ordinary multiplication of integers, while denotes the corresponding equivalence class modulo .
Proof: We need to prove that if
and
then
Since modulo if and only if
for some integer .
Similarly,
for some integer .
Therefore,
Hence
is equal to
modulo .
Corollary 14.4 Let be the usual addition on , and let be the operation above.
Then:
(1)
is an Abelian group with identity .
(2)
is an Abelian monoid with identity .
(3) The operation distributes over .
Proof:
(1) This is a result we have already proved.
(2) To prove associativity, note that
Every line except (14.1) follows from the definition of , while (14.1) uses associativity of integer multiplication.
Commutativity holds because
The middle equality is simply commutativity of integer multiplication.
The identity is because
(3) Distributivity holds because
Except for (14.2), each line follows from the definitions, while (14.2) uses the ordinary distributive law for integers.
There is a philosophy in modern mathematics that the properties of a space can be inferred by studying the properties of collections of functions on that space.
For example, by studying the collection of polynomial functions on a space , one can infer certain properties of the space itself.
In fact, collections of functions naturally form commutative rings.
Properties of these rings determine certain features of the space .
This is far from obvious.
Some of the most important developments related to this idea did not appear until the 1880s—almost two hundred years after Descartes first observed that algebraic equations could describe concrete geometry.
So if you consider that algebra, beginning in the Islamic Golden Age around the 800s, and geometry, originating with the Greeks, developed for almost a thousand years before Descartes brought them together, and that it then took another two hundred years before we systematically understood rings as powerful tools for studying geometry, you may begin to appreciate that these are very deep ideas.
We will not be able to explore the theory of using rings to study geometry in detail.
But if you are interested, you can look into commutative algebra and algebraic geometry.
Example 14.5 (Matrix Rings)
Fix an integer
and consider the set
of all matrices with entries in .
You can add and multiply matrices, and matrix multiplication distributes over addition.
Therefore,
is a ring.
To make distributivity explicit, consider three matrices with entries
The entry of
is
But the expression on the right is exactly the entry of
Similarly, one can prove
Example 14.6 (Group Rings)
Let be a finite group and let be a commutative ring.
As a set,
is the set of all functions from to .
Thus each element
corresponds to an element
We write such a function using the notation
For example, the following is an element of
Addition is straightforward: we simply add the corresponding terms:
That is, this is simply addition of functions.
Multiplication is not just multiplication of functions.
The coefficient of in the product of
and
is given by
In other words,
Notice that this multiplication is not commutative.
Definition 14.4 Let and be rings, and let
be a function.
We call a ring homomorphism if
(1) is a group homomorphism with respect to addition;
(2)
i.e. sends the multiplicative identity of to the multiplicative identity of ;
(3) for all ,
Definition 14.5 If is a bijection, we call an isomorphism.
Now I would like to explain further why
is a ring.
How did we prove that it is a group?
By applying a general principle:
if
then
is a group.
I would like to do the same thing for rings.
But in this context, whenever we say “ring”, we will mean a commutative ring.