We now move on to the second major type of algebraic object that we are considering: the ring. At first blush, rings look a bit more complicated than groups. Indeed, a ring is an abelian group written additively, and we must still impose a multiplication operation along with several new rules. But in another sense, rings are easier to deal with, because they are more familiar. Indeed, when we think of a ring, we tend to think of the integers (although, as we shall see, the integers are actually a special sort of ring).
In this chapter, we will define a ring and prove some properties of rings and subrings. We shall also discuss two well-behaved types of rings; namely, integral domains and fields.
8.1 Rings
Let us now define a ring.
Definition 8.1.
- 1.
R is an abelian group under addition;
- 2.
if
, then
(closure under multiplication) ;
- 3.
if
, then
(associativity of multiplication) ;
- 4.
if
, then
(distributive law) ; and
- 5.
if
, then
(distributive law).
As usual when we have an additive group,
we will use additive notation. In
particular, we write 0 for the additive identity of a ring, and
for the additive inverse of
a. Notice that we do not insist
that the multiplication operation be commutative.
Definition 8.2.
A ring R is said to be a commutative ring if for all
.
Also, while there is an identity for the addition operation, there does not have to be one for the multiplication operation.
Definition 8.3.
A ring R is said to be a ring with identity if R has an
element, denoted 1, such that for all
. In this case, we call 1 the
identity of R.
Note that if we refer to the identity in a ring, we mean the multiplicative identity 1 (if it exists), not the additive identity 0.
Example 8.1.
As we observed in Section 2.4, the sets ,
,
and
are
all commutative rings with identity, under the usual addition and
multiplication operations. Also, we saw in Section 2.5 that the same can be said for
, for any
positive integer
.
Example 8.2.
The set of even integers, , can easily be seen to be a
commutative ring without an identity. There is no even integer that
can be multiplied by 2 to get 2.
Example 8.3.
The set of all polynomials with real
coefficients is a commutative ring with identity, using the usual
polynomial addition and multiplication operations. We denote it by
. The same can be said for the
polynomials with integer coefficients,
. In each case, the identity is the
constant polynomial, 1.
How about an example of a noncommutative ring?
Example 8.4.
Let n be a positive integer. Then the
matrices with real entries form a ring
under matrix addition and multiplication. The identity matrix is
the identity of the ring. However, if
, then it is not a commutative ring
as, for instance,
. We denote this ring by
. In fact, as we observe in Appendix
B, we can substitute entries from any ring R in place of the real numbers, and we
obtain a new ring,
. If R is a ring with identity, then we can
form the identity matrix, so
is also a ring with identity. The
conditions under which it is a commutative ring are discussed in
Exercise 8.10.
We also have a way of constructing new rings from old, simply extending the idea of the direct product of groups.
Definition 8.4.





Theorem 8.1.
Let R and S be rings. Then is a ring. Furthermore, if R and S are commutative rings, then so is
. Also, if R and S are rings with identity, then so is
.
Proof.
The proof is very similar to that of Theorem 3.1. The ring properties all hold in the direct sum because they hold in R and S. We will prove one of the distributive laws, and leave the rest as Exercise 8.6.




Example 8.5.
In , we have
and
.
One additional point is important to
keep in mind. A ring is a group under addition, not under
multiplication! While the multiplication operation satisfies the
closure and associativity properties, a ring does not have to have
an identity. And even if it does, elements do not have to have
inverses. For instance, has an identity, but there is nothing
we can multiply by 2 to obtain 1.
Exercises
8.1.
Write the addition and multiplication
tables for the ring .
8.2.
Write the addition and multiplication
tables for the ring .
8.3.
Let with addition and multiplication in
. Is R a ring? If so, is it commutative, and
does it have an identity?
8.4.
Let R be the set of all functions from
to
, under addition and multiplication of
functions. Is R a ring? If so,
is it commutative, and does it have an identity?
8.5.
Let R be the set of all functions from
to
. Let the addition operation be the
usual addition of functions, but let the multiplication operation
be composition. That is, the product of
and
is
. Is R a ring? If so, is it commutative, and
does it have an identity?
8.6.
Complete the proof of Theorem 8.1.
8.7.
Let R be the set of matrices of the form
, for all
. Is R a ring under matrix addition and
multiplication? If so, is it commutative, and does it have an
identity?
8.8.
Show that every ring with a prime number of elements is commutative.
8.9.
Must a ring with a prime number of elements be a ring with identity?
8.10.
Let R be a ring and n a positive integer. Under what
conditions is commutative?
8.2 Basic Properties of Rings
Let us mention a few straightforward properties of rings.
Theorem 8.2.
Let R be a ring. Then the additive identity, 0, is unique. If R has a multiplicative identity 1, then it too is unique.
Proof.
As R
is a group under addition, we see from Theorem 3.2 that 0 is unique. Suppose that
a and b are both multiplicative identities for
R. As a is an identity, . But as b is an identity,
. Thus,
.
Theorem 8.3.

- 1.
;
- 2.
; and
- 3.
.
Proof.
(1) As , we have
. Adding
to both sides, we get
. The proof that
is similar.
(2) Notice that , by (1). As adding
to ab gives 0, we have
. The proof that
is similar.
(3) By (2), we have . But remember that R is a group under addition, and hence
, as required.
Corollary 8.1.
If R
is a ring with identity, then , for any
.
Proof.
By the preceding theorem, .
As a ring is a group under addition, we
know from Theorem 3.3 that an expression such as
is unambiguous, without the need for
brackets. Even though the ring is not a group under multiplication,
we can apply precisely the same proof as that of Theorem
3.3 to show that the expression
also does not require brackets.
Theorem 8.4.
Let R be any ring, and . Then regardless of how the product
is bracketed, the result equals
.
In order to avoid mistakes, it is also
important to recognize which rules cannot be applied in general.
For instance, in ordinary arithmetic using the real numbers, we
take for granted that if , then
or
. This is simply not the case in an
arbitrary ring.
Example 8.6.
In , we have
, but
and
.
Example 8.7.



In dealing with groups, we have the
cancellation law. We are used to something similar happening in
ordinary arithmetic; that is, if and
, then
. Again, this does not have to hold in
rings.
Example 8.8.
In , we have
, but
and
.
Finally, in a group G, we note that if there exists a
such that
, then a is the identity. (Just multiply on the
right by
.) But even if a ring has an identity,
the fact that
does not mean that
. Indeed, the previous example points
us in the right direction.
Example 8.9.
In , we have
, but
.
Thus, to check that a ring element
a is the identity, we must make
sure that for every
, not just for one such b.
Exercises
8.11.
Let a and b be elements of a ring R. Simplify the following expressions as far as possible.
- 1.
- 2.
8.12.
Let R be a ring with identity. Suppose that
there exist such that
and
. Show that
.
8.13.
Let R be a ring with identity. Suppose there
exist such that
. Does it follow that
? Show that it does, or find an
explicit counterexample.
8.14.
Let R be a ring and a positive integer. Show that if
there exists
such that
, then there exists
such that
.
8.15.
Let R be a ring with identity. Suppose that
for every
. Does it follow that
for every
? Either prove that it does, or
construct an explicit counterexample.
8.16.
Let R be a ring in which for every
.
- 1.
Show that
for every
.
- 2.
Show that R is commutative.
8.3 Subrings
Just as we have the notion of a subgroup, we can discuss subrings.
Definition 8.5.
Let R be a ring. Then a subset S of R is said to be a subring if S is a ring under the same addition and multiplication operations as in R.
Example 8.10.
We see that is a subring of
, and both are subrings of
.
Example 8.11.
The matrix ring is a subring of
.
Example 8.12.
For any ring R, and R are subrings of R.
How can we test if a subset is a subring?
Theorem 8.5.
- 1.
;
- 2.
if
, then
; and
- 3.
if
, then
.
Proof.
Suppose that S is a subring of R. Then it is an additive subgroup. By
Theorem 3.13, (1) and (2) hold. As a ring is
closed under multiplication, (3) holds as well. Conversely, suppose
that (1)–(3) hold. Then by Theorem 3.13, S is an additive subgroup of R. By (3), S is closed under multiplication. The
remaining ring properties (associativity and the distributive laws)
hold in R, hence in any subset
of R. Thus, S is indeed a subring.
Note that for condition (1), it is actually sufficient to check that S is not the empty set.
Example 8.13.
Let us show that is a subring of
. Certainly
. If
, for some
, then
. Also,
.
Example 8.14.






We recall that the centre of every group is a subgroup. A similar thing happens for rings.
Definition 8.6.
Let R be a ring. Then the centre of R is the set ; that is, it is the set of elements
of R that commute with
everything in R.
Theorem 8.6.
The centre of any ring is a subring.
Proof.
Let R be a ring and Z its centre. If , then
, so
. Take any
. Then for any
, we have
, since y and z are central. Thus,
. Also,
, and hence
. By Theorem 8.5, we are done.
Example 8.15.
If R is a commutative ring, then its centre is all of R.
Example 8.16.
The centre of is the set of all matrices of the
form
, for all real numbers r. See Exercise 8.26.
One particular type of subring deserves special mention.
Definition 8.7.
Let R be a ring with identity 1. Then a
subring S of R is said to be a unital subring if .
Example 8.17.
We observe that is a unital subring of
, but
is not a unital subring.
Note that a subring can fail to be a
unital subring because it does not have an identity (as is the case
with above), but it can also have an
identity which is not the same as that for R.
Example 8.18.
Let and
. Theorem 8.5 shows us that
S is a subring of R. It does not contain 1, so it is not a
unital subring. However, S is
still a ring with identity, as
and
. That is, 3 is the identity of
S.
Exercises
8.17.
Let . Show that R is a subring of
. Is it a ring with identity? If so,
is it unital?
8.18.
Let . Show that R a subring of
. Is it a ring with identity? If so,
is it a unital subring?
8.19.
Let R be the set of matrices of the form
for all real numbers a. Show that R is a subring of
. Is it a ring with identity? If so,
is it a unital subring?
8.20.
Let R be a ring with subrings S and T. Show that is a subring. Extend this to show the
intersection of any collection of subrings of R is also a subring.
8.21.
Let R and S be rings. Show that is a subring of
.
8.22.
Find a ring R and an additive subgroup S of R such that S is not a subring of R.
8.23.
Let R be a ring and . Show that
is a subring of R.
8.24.
Let R be a ring and . Let
. Is S necessarily a subring of R? Prove that it is, or find an explicit
counterexample.
8.25.
Let R be a ring and . Fix a subring S of R, and let
. Is T necessarily a subring of R? Prove that it is, or find an explicit
counterexample.
8.26.
Show that the centre of is the set of matrices of the form
, for all
.
8.4 Integral Domains and Fields
Let us discuss a couple of special sorts of rings.
Definition 8.8.
Let R be a commutative ring. Then a nonzero
element is said to be a zero divisor if there exists a nonzero
such that
.
Example 8.19.
In , we note that 4 is a zero divisor, as
. On the other hand, 5 is not a zero
divisor.
Example 8.20.
The ring of integers has no zero divisors.
As we mentioned at the beginning of the chapter, while we tend to think of the integers when we work with rings, they are actually rather special, and this is the reason why.
Definition 8.9.
An integral domain is a commutative ring R with identity having no zero divisors.
The condition that may seem a bit curious. In fact, if
, then for any
, we have
. Thus,
. So we are only ruling out one ring
with that restriction.
Example 8.21.
The rings ,
,
and
are all integral domains.
Example 8.22.
The polynomial ring is an integral domain. Indeed, we
know that it is a commutative ring with identity. Also, if
and
, with
and
, then the unique term of highest
degree in f(x)g(x)
is
. As
is an integral domain,
. Thus, f(x)g(x)
is not the zero polynomial.
Example 8.23.
The rings ,
and
all fail to be integral domains. The
first lacks an identity, the second has zero divisors and the third
is not commutative.
As we discussed in Section 8.2, rings in general do not enjoy a cancellation law. However, integral domains do.
Theorem 8.7
(Cancellation Law). Let R be an integral domain. Suppose that
and
. If
, then
.
Proof.
If , then
, and hence
. Since R is an integral domain, either
(which is not true), or
, as required.
We also wish to discuss a stronger restriction on the ring. We need a definition first.
Definition 8.10.
Let R be a ring with identity. Then we say
that an element is a unit if there
exists an element
such that
. In this case, we call b the inverse of
a and write
. We write U(R)
for the set of all units of R,
and call it the unit
group of R.
Theorem 8.8.
Let R be a ring with identity. Then U(R) is a group under multiplication.
Proof.
Let . Then
, and
. Thus,
, and
. Multiplication in a ring is
associative. Plainly,
, as
. Also, if
, then
. That is, a is the inverse of
, hence
. We are done.
Example 8.24.
By definition, .
Example 8.25.
The unit group of is
.
Example 8.26.
The unit group of is U(n).
See Exercise 8.30.
Example 8.27.
Every element other than 0 in
is a unit. The same can be said for
and
.
This last example leads us to our next definition.
Definition 8.11.
Let F be a commutative ring with identity
. Then F is said to be a field if U(F) consists of every element of
F other than 0.
Example 8.28.
As we noted above, ,
and
are fields.
Lemma 8.1.
Let R be a commutative ring with identity. Then a unit in R cannot be a zero divisor.
Proof.
See Exercise 8.12.
This immediately yields the following result.
Theorem 8.9.
Every field is an integral domain.


Theorem 8.10.
Let R be a finite integral domain. Then R is a field.
Proof.
By definition, R is a commutative ring with identity
. It remains only to check that each
nonzero element is a unit. Take
. Consider the set
. It consists of infinitely many
powers of a. But R is finite. Thus, there cannot be
infinitely many distinct powers. Let us say that
with
. Then
. More importantly,
. Now, a is a nonzero element of an integral
domain, and products of nonzero elements in such a domain do not
become zero. Thus,
. By the cancellation law,
. If
, then
, which is surely a unit. Otherwise,
. Since
is a positive integer,
, and we have an inverse for
a.
We can now handle a particular collection of finite rings of interest.
Theorem 8.11.

- 1.
is an integral domain;
- 2.
is a field; and
- 3.
n is prime.
Proof.
In view of Theorems 8.9 and 8.10, we know that (1)
and (2) are equivalent. We need only show that they are equivalent
to (3). If n is composite, then
write , where k and l are positive integers smaller than
n. Then k and l are not 0 in
, and yet
in
. Thus,
is not an integral domain. On the
other hand, suppose that n is
prime. Surely
is a commutative ring with identity
. Suppose we have integers i and j such that
in
. Then n|ij.
By Theorem 2.7, n|i
or n|j. That is,
or
in
. Thus,
is an integral domain.
Just as we have subrings, it will also be necessary to know about subfields.
Definition 8.12.
Let F be a field. Then a subring K of F is said to be a subfield if it is a field using the same addition and multiplication operations.
Example 8.29.
is a subfield of
, which in turn is a subfield of
.
But how do we test if a subset is a subfield?
Theorem 8.12.
- 1.
;
- 2.
if
, then
; and
- 3.
if
, and
, then
.
Proof.
Suppose that S is a subfield of F. Then S contains an identity . We must check that f is 1, the identity of F. But as f is the identity for S, we have
. Now, f is a unit in F, so multiplying by
, we get
. Thus, (1) is proved. Since
S is a subring of F, (2) follows from Theorem 8.5. As S is a field, every element except 0 has
an inverse. This inverse is unique, as U(F)
is a group. Therefore, if
, then
. Since S is a subring, we get (3) as well.
Conversely, suppose that (1)–(3) hold.
In view of (1) and (2), we see that . Take any
. By (2),
. If
, then
. Otherwise, we have
, and therefore
. By Theorem 8.5, S is a subring of F. It certainly has an identity
, and it is commutative, since
F is. Thus, it remains only to
check that every nonzero element has an inverse in S. But we just did that! If
, then
. Therefore, S is indeed a subfield of F.
A small word of caution. It is not
sufficient to replace (1) with the condition that S is not empty; indeed, if we did so,
then we would accept as a field, which is wrong. It would
be sufficient to assume that S
contains a nonzero element b,
for then (3) would give
.
Example 8.30.
Let . We claim that F is a subfield of
. Let us check the conditions.
Certainly
, so (1) holds. If
, then
, and we have (2). Let us check the
final condition. To begin with, we shall show that F is closed under multiplication. But
. Thus, if we can show that every
nonzero element of F has an
inverse in F, then we will be
done, as we can obtain (3). Take
. If
, then
, and certainly
. Assume that
. Notice that
. Also,
. Otherwise, we would have
, meaning that
is rational, which is not the case.
Thus,
has an inverse
. But then
. Hence,
has an inverse in F, and F is a subfield of
.
Exercises
8.27.
Let . Show that R is a subfield of
.
8.28.
- 1.
- 2.
8.29.
Let R and S be rings with identity. Show that
.
8.30.
Let be a positive integer. Show that
.
8.31.
Show that every integral domain
contains exactly two elements a
satisfying .
8.32.
Let R and S be rings. Under precisely what
circumstances is an integral domain?
8.33.
Let F be a field with subfields K and L. Show that is a subfield of F. Extend this to show that the
intersection of any collection of subfields is a subfield.
8.34.
Let p be a prime and F a field with elements. Show that F cannot have more than one proper
subfield.
8.35.
Let R be an integral domain. Suppose that we
have such that
and
. Show that
.
8.36.
Let R be a finite commutative ring having no
zero divisors. Show that R is
or an integral domain.
8.5 The Characteristic of a Ring


Definition 8.13.
Let R be a ring. Then the characteristic of
R, denoted char
R, is the smallest positive
integer n such that
for all
. If no such n exists, then char
.
Example 8.31.
The characteristic of is n, as clearly
for any
, whereas no smaller value than
n will work if we take
.
Example 8.32.
The ring of integers has characteristic zero.
In fact, for rings with identity, we only need to look at the identity.
Theorem 8.13.
Let R be a ring with identity. Regarding
R as an additive group, if the
order of 1 is , then R has characteristic n. If 1 has infinite order, then
R has characteristic zero.
Proof.








Corollary 8.2.
Let R be a ring with identity. Then every unital subring of R has the same characteristic as R.
Proof.
The same identity has the same order.
The corollary does not apply to
subrings that are not unital. For instance, if , then char
, but taking the subring
, we see that char
.
In a commutative ring of prime characteristic, we have the following interesting fact.
Theorem 8.14


Proof.






We tend to encounter commutative rings with prime characteristic a lot in the context of integral domains.
Theorem 8.15.
The characteristic of an integral domain is either zero or a prime.
Proof.









Exercises
8.37.
Find the characteristic of each of the following rings.
- 1.
- 2.
8.38.
Find the characteristic of each of the following rings.
- 1.
- 2.
8.39.
Show that a finite integral domain
R must have order for some prime p and positive integer n.
8.40.
Let F be a field of prime characteristic
p. Show that for every positive
integer n, is a subfield of F.
8.41.
Let R be a commutative ring with identity,
and suppose that satisfies
for some positive integer n.
- 1.
Show that
.
- 2.
If char R is prime, show that
has finite order in U(R).
8.42.
Let be a field with four elements. Write
the addition and multiplication tables for F.