Introduction to Modern Algebra

Whole numbers, clock numbers and matrices can all be added and multiplied, and so can real functions. A group has one operation; these systems have two, tied together by the rule a(b+c)=ab+aca(b + c) = ab + ac. Dividing is another matter: in Q\mathbb{Q} every number except 00 can be divided by, while in Z\mathbb{Z} the number 22 cannot.

Rings

Definition 10.1.1 (Ring).

A ring is a set RR with two binary operations, an addition (a,b)↦a+b(a, b) \mapsto a + b and a multiplication (a,b)↦ab(a, b) \mapsto ab, such that:

  • (i) Addition: RR is an abelian group under addition. Its identity is written 00, and the inverse of aa is written −a-a.
  • (ii) Associativity: (ab)c=a(bc)(ab)c = a(bc) for all a,b,c∈Ra, b, c \in R.
  • (iii) One: there is an element 1∈R1 \in R with 1a=a1=a1a = a1 = a for every a∈Ra \in R.
  • (iv) Distributivity: a(b+c)=ab+aca(b + c) = ab + ac and (a+b)c=ac+bc(a + b)c = ac + bc for all a,b,c∈Ra, b, c \in R.

The ring is commutative if ab=baab = ba for all a,b∈Ra, b \in R.

The 11 of a ring is unique, by the argument that shows a group has only one identity (Theorem 1.2.4 (i)), and the negative −a-a of each element is unique, as in any group. A difference a−ba - b means a+(−b)a + (-b), and powers an=a⋅a⋯aa^n = a \cdot a \cdots a follow the usual rules aman=am+na^m a^n = a^{m + n} and (am)n=amn(a^m)^n = a^{mn}, by associativity.

Every ring so far is commutative. Matrices give the most important ring that is not.

Example 10.1.2 (Matrices and functions).

Together with Z\mathbb{Z}, Q\mathbb{Q}, R\mathbb{R}, C\mathbb{C} and Z/nZ\mathbb{Z}/n\mathbb{Z}, two more rings come back again and again.

Matrices. The 2×22 \times 2 real matrices form a ring M2(R)M_2(\mathbb{R}) under matrix addition and multiplication. Addition is entrywise, so it makes M2(R)M_2(\mathbb{R}) an abelian group, with the zero matrix as 00. From linear algebra, matrix multiplication is associative, the identity matrix II serves as 11, and the distributive laws hold. Two matrices show what is new:

A=(0100),B=(0010).A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}, \qquad B = \begin{pmatrix} 0 & 0 \\ 1 & 0 \end{pmatrix}.

Their products in the two orders are

AB=(1000),BA=(0001).AB = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}, \qquad BA = \begin{pmatrix} 0 & 0 \\ 0 & 1 \end{pmatrix}.

So AB≠BAAB \neq BA, and M2(R)M_2(\mathbb{R}) is not commutative. Also AAAA is the zero matrix although AA is not: in a ring, a product of two non-zero elements can be 00.

Functions. The functions f:R→Rf : \mathbb{R} \to \mathbb{R} form a ring F(R)\mathcal{F}(\mathbb{R}), added and multiplied value by value:

(f+g)(x)=f(x)+g(x),(fg)(x)=f(x)g(x).\begin{aligned} (f + g)(x) &= f(x) + g(x), \\ (fg)(x) &= f(x)g(x). \end{aligned}

Each axiom holds at every point xx because it holds in R\mathbb{R}. The 00 of this ring is the constant function 00, its 11 is the constant function 11, and −f-f is x↦−f(x)x \mapsto -f(x). The ring is commutative. Here fgfg is the product of values, not the composite f∘gf \circ g. Again two non-zero elements can have product 00: for f(x)=max⁡(x,0)f(x) = \max(x, 0) and g(x)=max⁡(−x,0)g(x) = \max(-x, 0), at every xx one of f(x)f(x) and g(x)g(x) is 00, so fgfg is the constant function 00.

Arithmetic in a ring

The rules of signs, such as (−1)(−1)=1(-1)(-1) = 1, are not among the axioms. They follow from the axioms, so they hold in every ring. One ring is an extreme case: the set {0}\{0\}, with 0+0=00 + 0 = 0 and 0⋅0=00 \cdot 0 = 0, satisfies every axiom, with 1=01 = 0. It is called the zero ring.

Theorem 10.1.3 (Arithmetic in a ring).Not yet reviewed

Let RR be a ring and let a,b∈Ra, b \in R.

  • (i) 0a=a0=00a = a0 = 0.
  • (ii) (−a)b=a(−b)=−(ab)(-a)b = a(-b) = -(ab).
  • (iii) (−a)(−b)=ab(-a)(-b) = ab.
  • (iv) If 1=01 = 0 in RR, then R={0}R = \{0\}.
Proof.

Idea. The distributive laws are the only axioms that join multiplication to addition. So each rule comes from expanding a product in which a sum appears, and then canceling in the additive group.

  1. (i) Expanding 0a=(0+0)a0a = (0 + 0)a and canceling 0a0a gives 0a=00a = 0, and likewise a0=0a0 = 0.

    Since 0+0=00 + 0 = 0, distributivity gives 0a=(0+0)a=0a+0a0a = (0 + 0)a = 0a + 0a. So 0a+0a=0a+00a + 0a = 0a + 0, and canceling 0a0a in the additive group (Theorem 1.2.4 (ii)) leaves 0a=00a = 0. In the same way, a0=a(0+0)=a0+a0a0 = a(0 + 0) = a0 + a0 gives a0=0a0 = 0.

  2. (ii) (−a)b(-a)b and a(−b)a(-b) are additive inverses of abab, so each is −(ab)-(ab).

    By distributivity and (i), ab+(−a)b=(a+(−a))b=0b=0ab + (-a)b = (a + (-a))b = 0b = 0. So (−a)b(-a)b is an inverse of abab in the additive group, and since an element of a group has only one inverse (Theorem 1.2.4 (iii)), (−a)b=−(ab)(-a)b = -(ab). In the same way, ab+a(−b)=a(b+(−b))=a0=0ab + a(-b) = a(b + (-b)) = a0 = 0 gives a(−b)=−(ab)a(-b) = -(ab).

  3. (iii) Applying (ii) twice gives (−a)(−b)=−(−(ab))(-a)(-b) = -(-(ab)), which is abab.

    By (ii) with −b-b in place of bb, (−a)(−b)=−(a(−b))(-a)(-b) = -(a(-b)), and by (ii) again a(−b)=−(ab)a(-b) = -(ab). The inverse of the inverse of an element is the element itself (Theorem 1.2.4 (iii)), so −(−(ab))=ab-(-(ab)) = ab.

  4. (iv) If 1=01 = 0, then R={0}R = \{0\}.

    Since 11 is the identity for multiplication, a=1aa = 1a, and 1a=0a1a = 0a when 1=01 = 0. By (i), 0a=00a = 0. So R={0}R = \{0\}.

□

So the integers, the clock numbers, the real functions and the matrices all share the ring axioms, and with them the rules of signs. What they do not share is division: 22 has no inverse in Z\mathbb{Z}, [2][2] has none in Z/4Z\mathbb{Z}/4\mathbb{Z}, and AA has none in M2(R)M_2(\mathbb{R}).