In a sense the motivation for the mathematical definition of a ring in mathematics is more immediate than that for a group. From very early on in our mathematical training we are introduced to quite a rich variety of different number systems including the integers \(\Z\text{,}\) the rational numbers \(\Q\text{,}\) the real numbers \(\R\text{,}\) and the complex numbers \(\C\text{.}\) Roughly understood, a number system is a set together with two distinct operations, addition and multiplication, which are each reasonably well-behaved and moreover play nicely together. DefinitionΒ 2.1.1 makes precise exactly what me mean by this.
The Dummit and Foote text does not include (iv) as one of the axioms a ring needs to satisfy. Instead it distinguishes between rings with and without identity. We will not follow suit and will conscientiously point out resulting discrepancies between our exposition and the bookβs.
Addition in a ring will always be denoted by \(+\text{,}\) and this notation will never be suppressed. In contrast, we are free to denote the ring multiplication operation in any manner we please, but will more often than not omit the notation in ring expressions.
As mentioned at the top, our definition of a ring is chosen to generalize the familiar number systems (\(\Z\text{,}\)\(\Q\text{,}\)\(\R\text{,}\)\(\C\)) of our mathematical youth. That these sets are rings (indeed, commutative rings) with respect to their usual arithmetic operations is a result of arithmetic properties you learned long ago. We add to this collection the slightly more exotic modular rings \(\Z/n\Z\) for \(n\) a positive integer; the ring axiom identities for modular addition and multiplication follow directly from the corresponding identities for the integer operations.
The sets \(\Z\text{,}\)\(\Q\text{,}\)\(\R\text{,}\) and \(\C\) are all commutative rings with respect to their usual addition and multiplication operations. Additionally, for any positive integer \(n\text{,}\) the set \(\Z/n\Z\) is a commutative ring with respect to its modular addition and multiplication operations.
Let \(R\) be a commutative ring. Given a positive integer \(n\text{,}\) we define \(\ML_n(R)\) to be the set of all \(n\times n\) matrices with coefficients in \(R\text{.}\)
The triple \((\ML_n(R), +,\cdot)\text{,}\) where \(+\) and \(\cdot\) are the matrix addition and multiplication operations defined above, is a ring called the ring of \(n\times n\) matrices over \(R\) (or with coefficients in \(R\)).
We can remove the restriction that \(R\) be commutative in SpecimenΒ 18. In other words, the matrix operations (2.1.4) satisfy the ring axioms whether or not \(R\) is commutative. We will restrict our attention to the case where \(R\) is commutative, however, as here the algebraic properties of \(\ML_n(R)\) are somewhat simpler. In particular, when \(R\) is commutative, we can define a determinant function \(\det\colon \ML_n(R)\rightarrow R\) in the usual fashion, and \(\det\) enjoys essentially all of the properties you are familiar with in the case where \(R=\R\text{.}\) See TheoremΒ 2.2.2 below.
We prove (1) and (2), leaving (3) and (4) to the reader.
If an element \(b\in R\) satisfies \(ba=ab=a\) for all \(a\in R\text{,}\) then in particular, it satisfies \(b1=1\text{.}\) But by definition of the the multiplicative identity, we have \(b1=b\text{.}\) Thus \(b=1\text{,}\) as desired.
Our matrix ring example is in fact an example of a ring construction: a method of building new rings from existing ones. The product ring construction is another such example.
Let \(I\) be a nonempty set, and let \((R_i)_{i\in I}\) be a family of rings indexed by \(I\text{.}\) We define an addition and multiplication operation on \(R=\prod_{i\in I}R_i\) as follows:
\begin{align}
R\times R \amp \xrightarrow{\phantom{XX}+\phantom{XX}} R
\amp R\times R\amp \xrightarrow{\phantom{XX}\bullet\phantom{XX}} R \tag{2.1.6}\\
(a_i)_{i\in I}, (b_i)_{i\in I} \amp \mapsto (a_i+b_i)_{i\in I}
\amp (a_i)_{i\in I},(b_i)_{i\in I}\amp\mapsto (a_ib_i)_{i\in I}\text{.}\notag
\end{align}
In other words, addition and multiplication of tuples is defined component-wise.
The triple \((R,+,\cdot)\) is ring called the product of the rings \(R_i\text{.}\) Note that we have already seen that \((R,+)\) is a group. (See PropositionΒ 1.1.7.) The identity element of \(R\) is the tuple \(1=(1_{R_i})_{i\in I}\text{,}\) where for all \(i\in I\text{,}\)\(1_{R_i}\) is the identity element of \(R_i\text{.}\)
Technically speaking, the ring of functions construction introduced next is just a special case of the product ring construction: that is, by definition we have
Let \(R\) be a ring, let \(X\) be a nonempty set, and let \(\mathcal{F}(X,R)\) be the set of all functions from \(X\) to \(R\text{.}\) Given functions \(f,g\in F(X,R)\) we define their sum \(f+g\) and product \(fg\) as follows:
\begin{align*}
(f+g)(x) \amp = f(x)+g(x) \text{ for all } x\in X\\
(fg)(x) \amp =f(x)g(x) \text{ for all } x\in X\text{.}
\end{align*}
The triple \((\mathcal{F}(X,R),+,\cdot)\text{,}\) where \(+\) and \(\cdot\) are the function addition and multiplication operations defined above, is a ring called the ring of functions from \(X\) to \(R\text{.}\)
The additive identity of \(\mathcal{F}(X,R)\) is the zero function \(0_X\colon X\rightarrow R\) defined as \(0_X(x)=0\) for all \(x\in X\text{;}\) the multiplicative identity of \(\mathcal{F}(X,R)\) is the constant function \(1_X\colon X\rightarrow R\) defined as \(1_X(x)=1\) for all \(x\in X\text{.}\)
It follows from the ring axioms that a subring \(S\) of \(R\) is itself a ring with respect to ring operations of \(R\text{,}\) restricted to \(S\text{.}\)
Let \(q\in \Q\) be a rational number that does not have a rational square root, and let \(\sqrt{q}\) denote one of the two square roots of \(q\) lying in \(\C\text{.}\) We denote by \(\Q[\sqrt{q}]\) the subset of \(\C\) consisting of all rational linear combinations of \(1\) and \(\sqrt{q}\text{:}\) i.e.,
\begin{equation}
\Q[\sqrt{q}]=\{z\in \C\mid z=a+b\sqrt{q} \text{ for some } a,b\in \Q\}\text{.}\tag{2.1.7}
\end{equation}
The set \(\Q[\sqrt{q}]\) is a subring of \(\C\text{,}\) and hence a ring in its own right.
First we show that \(Z(R)\) is a subring of \((R,+)\text{.}\) From PropositionΒ 2.1.6 we know that \(0\in Z(R)\text{.}\) Next, assume \(a,b\in Z(R)\text{.}\) Given any \(c\in R\text{,}\) we have
Next, we have \(1\in Z(R)\) by PropositionΒ 2.1.6. Finally, we show that \(Z(R)\) is closed under multiplication. Assume \(a,b\in Z(R)\text{.}\) Given \(c\in R\text{,}\) we have