Skip to content

Rings | Mathematics - Wyatt's Notes

A ring (R,+,)(R, +, \cdot) is a set RR with two binary operations satisfying:

  1. (R,+)(R, +) is an abelian group.
  2. Multiplication is associative: (ab)c=a(bc)(ab)c = a(bc).
  3. Distributive laws: a(b+c)=ab+aca(b + c) = ab + ac and (a+b)c=ac+bc(a + b)c = ac + bc.

A ring is commutative if ab=baab = ba for all a,bRa, b \in R. A ring with a multiplicative identity 11 is A ring with unity. A field is a commutative ring with unity in which every non-zero element has A multiplicative inverse.

Example 1. Z\mathbb{Z} is a commutative ring with unity, but not a field.

Example 2. Z/nZ\mathbb{Z}/n\mathbb{Z} is a commutative ring with unity. It is a field if and only if nn is prime.

Example 3. Q\mathbb{Q}, R\mathbb{R}, C\mathbb{C} are fields.

Example 4. The set Mn(R)M_n(\mathbb{R}) of n×nn \times n real matrices is a non-commutative ring with unity.

Example 5. Z[i]={a+bi:a,bZ}\mathbb{Z}[i] = \{a + bi : a, b \in \mathbb{Z}\} (Gaussian integers) is a commutative ring with unity.

A subring SRS \subseteq R is a subset that is itself a ring under the operations of RR.

Proposition 8.1 (Subring Criterion). A non-empty subset SRS \subseteq R is a subring if and only if For all a,bSa, b \in S:

  1. abSa - b \in S.
  2. abSab \in S.

An integral domain is a commutative ring RR with unity 101 \neq 0 in which there are no zero divisors: if ab=0ab = 0 for a,bRa, b \in R Then a=0a = 0 or b=0b = 0.

Proposition 8.2. Every field is an integral domain.

Proof. Let FF be a field and suppose ab=0ab = 0 with a0a \neq 0. Then b=a1(ab)=a10=0b = a^{-1}(ab) = a^{-1} \cdot 0 = 0. \blacksquare

Proposition 8.3. Z/nZ\mathbb{Z}/n\mathbb{Z} is an integral domain if and only if nn is prime.

Proof. If n=pn = p is prime, then Z/pZ\mathbb{Z}/p\mathbb{Z} is a field, hence an integral domain. If n=abn = ab with 1<a,b<n1 \lt a, b \lt n Then [a][b]=[ab]=[n]=[0][a][b] = [ab] = [n] = [0] in Z/nZ\mathbb{Z}/n\mathbb{Z} But [a][0][a] \neq [0] and [b][0][b] \neq [0] So Z/nZ\mathbb{Z}/n\mathbb{Z} has zero divisors. \blacksquare

Proposition 8.4 (Cancellation Law for Integral Domains). In an integral domain, if ab=acab = ac and a0a \neq 0 Then b=cb = c.

Proof. ab=acab = ac implies a(bc)=0a(b - c) = 0. Since a0a \neq 0 and there are no zero divisors, bc=0b - c = 0. \blacksquare

Example. Q(2)={a+b2:a,bQ}\mathbb{Q}(\sqrt{2}) = \{a + b\sqrt{2} : a, b \in \mathbb{Q}\} is a field. The inverse of a+b2a + b\sqrt{2} (with a,ba, b not both zero) is ab2a22b2\frac{a - b\sqrt{2}}{a^2 - 2b^2}.

Example. For any prime pp, Z/pZ\mathbb{Z}/p\mathbb{Z} is a field with pp elements, denoted Fp\mathbb{F}_p.

Proposition 8.5. In a finite integral domain RREvery non-zero element is a unit. Hence every finite Integral domain is a field.

Proof. Let aRa \in R with a0a \neq 0. The map ϕ:RR\phi : R \to R given by ϕ(x)=ax\phi(x) = ax is injective (since ax=ayax = ay implies a(xy)=0a(x-y) = 0 implies x=yx = y by the cancellation law). Since RR is finite, ϕ\phi is also surjective, so there exists bRb \in R with ab=1ab = 1. Thus aa is a unit. \blacksquare

A ring homomorphism ϕ:RS\phi : R \to S is a function satisfying:

  1. ϕ(a+b)=ϕ(a)+ϕ(b)\phi(a + b) = \phi(a) + \phi(b) for all a,bRa, b \in R.
  2. ϕ(ab)=ϕ(a)ϕ(b)\phi(ab) = \phi(a)\phi(b) for all a,bRa, b \in R.
  3. ϕ(1R)=1S\phi(1_R) = 1_S (for rings with unity).

A ring homomorphism that is bijective is a ring isomorphism.

Proposition 8.6. If ϕ:RS\phi : R \to S is a ring homomorphism, then:

  1. ϕ(0R)=0S\phi(0_R) = 0_S.
  2. ϕ(a)=ϕ(a)\phi(-a) = -\phi(a) for all aRa \in R.
  3. ker(ϕ)={rR:ϕ(r)=0S}\ker(\phi) = \{r \in R : \phi(r) = 0_S\} is an ideal of RR.

Proof. (1) ϕ(0)=ϕ(0+0)=ϕ(0)+ϕ(0)\phi(0) = \phi(0 + 0) = \phi(0) + \phi(0) So ϕ(0)=0\phi(0) = 0 by cancellation in (S,+)(S, +). (2) ϕ(a)+ϕ(a)=ϕ(a+(a))=ϕ(0)=0\phi(a) + \phi(-a) = \phi(a + (-a)) = \phi(0) = 0 So ϕ(a)=ϕ(a)\phi(-a) = -\phi(a). (3) ker(ϕ)\ker(\phi) Is an ideal: it is a subgroup of (R,+)(R, +) by the group homomorphism property, and for any rRr \in R and aker(ϕ)a \in \ker(\phi), ϕ(ra)=ϕ(r)ϕ(a)=ϕ(r)0=0\phi(ra) = \phi(r)\phi(a) = \phi(r) \cdot 0 = 0 and ϕ(ar)=ϕ(a)ϕ(r)=0\phi(ar) = \phi(a)\phi(r) = 0 So ra,arker(ϕ)ra, ar \in \ker(\phi). \blacksquare

Example. The map ϕ:ZZ/nZ\phi : \mathbb{Z} \to \mathbb{Z}/n\mathbb{Z} given by ϕ(k)=[k]\phi(k) = [k] is a surjective Ring homomorphism with kernel nZn\mathbb{Z}.

Example. The evaluation map ϕ:R[x]R\phi : \mathbb{R}[x] \to \mathbb{R} given by ϕ(f)=f(a)\phi(f) = f(a) for a fixed aRa \in \mathbb{R} is a surjective ring homomorphism with kernel {fR[x]:f(a)=0}=(xa)\{f \in \mathbb{R}[x] : f(a) = 0\} = (x - a).

A ring is the algebraic structure that captures what it means to do arithmetic. Where a group captures symmetry (one operation), a ring captures the idea of having both addition and multiplication that interact through distributivity. The integers Z\mathbb{Z} are the prototypical ring: you can add, subtract, and multiply, but you cannot always divide.

The key distinction within rings is whether division is possible. A field allows division by every non-zero element, like the rational or real numbers. An integral domain prevents “zero divisors,” meaning ab=0ab = 0 implies a=0a = 0 or b=0b = 0 — a reasonable expectation inherited from ordinary arithmetic. Non-commutative rings, like matrix rings, reveal that multiplication need not be commutative while still satisfying all other ring axioms. Ring homomorphisms preserve both addition and multiplication, which is stronger than group homomorphisms that only preserve one operation. The kernel of a ring homomorphism is always an ideal, which is the ring-theoretic analogue of a normal subgroup, enabling quotient constructions that build new rings from old ones.

Problem. Let ϕ:Z[i]Z/5Z\phi : \mathbb{Z}[i] \to \mathbb{Z}/5\mathbb{Z} be defined by ϕ(a+bi)=(a+2b)+5Z\phi(a + bi) = (a + 2b) + 5\mathbb{Z}. Show that ϕ\phi is a surjective ring homomorphism and find its kernel.

Solution

Solution. First, check it is a homomorphism: ϕ((a+bi)(c+di))=ϕ((acbd)+(ad+bc)i)=(acbd+2ad+2bc)+5Z\phi((a+bi)(c+di)) = \phi((ac - bd) + (ad + bc)i) = (ac - bd + 2ad + 2bc) + 5\mathbb{Z} =(ac+2ad+2bcbd)+5Z= (ac + 2ad + 2bc - bd) + 5\mathbb{Z}.

ϕ(a+bi)ϕ(c+di)=(a+2b)(c+2d)+5Z=(ac+2ad+2bc+4bd)+5Z\phi(a+bi)\phi(c+di) = (a+2b)(c+2d) + 5\mathbb{Z} = (ac + 2ad + 2bc + 4bd) + 5\mathbb{Z}.

These differ by 5bd+5Z=0+5Z5bd + 5\mathbb{Z} = 0 + 5\mathbb{Z} since 5bd5bd is a multiple of 55. So ϕ\phi preserves Multiplication. Additivity is clear. Also ϕ(1)=1+5Z\phi(1) = 1 + 5\mathbb{Z}. ✓

Surjectivity: ϕ(1)=1\phi(1) = 1, ϕ(i)=2\phi(i) = 2, ϕ(2)=2\phi(2) = 2, ϕ(2i)=4\phi(2i) = 4, ϕ(1+i)=3\phi(1+i) = 3, ϕ(1+2i)=50\phi(1+2i) = 5 \equiv 0. We get all residues 0,1,2,3,40, 1, 2, 3, 4 So ϕ\phi is surjective.

Kernel: ker(ϕ)={a+bi:a+2b0(mod5)}\ker(\phi) = \{a + bi : a + 2b \equiv 0 \pmod{5}\}. For example, 1+2iker(ϕ)1 + 2i \in \ker(\phi) since 1+4=50(mod5)1 + 4 = 5 \equiv 0 \pmod{5}. Also (1+2i)(12i)=5ker(ϕ)(1 + 2i)(1 - 2i) = 5 \in \ker(\phi). In fact, ker(ϕ)=(1+2i)\ker(\phi) = (1 + 2i) (the principal ideal generated by 1+2i1 + 2i in Z[i]\mathbb{Z}[i]). By the ring isomorphism theorem, Z[i]/(1+2i)Z/5Z\mathbb{Z}[i]/(1+2i) \cong \mathbb{Z}/5\mathbb{Z}. \blacksquare

Problem. Let R=Z[x]/(x2x)R = \mathbb{Z}[x]/(x^2 - x). Describe the elements of RR and show that RR has zero divisors.

Solution

Solution. In RRWe have x2=xx^2 = x. Every element can be written as [a+bx][a + bx] where a,bZa, b \in \mathbb{Z} Since higher powers reduce: x2=xx^2 = x, x3=x2=xx^3 = x^2 = xEtc.

RR has zero divisors: [x][x1]=[x2x]=[0][x][x - 1] = [x^2 - x] = [0] But [x][0][x] \neq [0] and [x1][0][x - 1] \neq [0]. So RR is not an integral domain.

Note that RZ×ZR \cong \mathbb{Z} \times \mathbb{Z} via the map [a+bx](a,a+b)[a + bx] \mapsto (a, a + b). The isomorphism follows from the Chinese Remainder Theorem: (x2x)=(x)(x1)(x^2 - x) = (x) \cap (x-1) And (x)+(x1)=(1)(x) + (x-1) = (1). \blacksquare

Mistake 1: Confusing ideals with subrings An ideal II of RR is a subring that is also closed under multiplication by arbitrary ring elements: rIIrI \subseteq I and IrIIr \subseteq I for all rRr \in R. Not every subring is an ideal. For example, 2Z2\mathbb{Z} is a subring of Z\mathbb{Z} but not an ideal of Z[x]\mathbb{Z}[x] because x2=2x2Zx \cdot 2 = 2x \notin 2\mathbb{Z} as a polynomial. Always verify the absorption property.

Mistake 2: Confusing zero divisors with units A zero divisor aa satisfies ab=0ab = 0 for some nonzero bb, while a unit aa satisfies ab=1ab = 1 for some bb. In Z/6Z\mathbb{Z}/6\mathbb{Z}, [2][2] is a zero divisor (since [2][3]=[0][2][3] = [0]) but not a unit. In Z/5Z\mathbb{Z}/5\mathbb{Z}, every nonzero element is a unit and there are no zero divisors. These are opposite extremes of multiplicative behaviour.

Mistake 3: Assuming all rings have a multiplicative identity The definition of a ring does not require a multiplicative identity 11. Some authors include 11 in the definition (called “rings with unity”), while others do not. When working with rings without unity, statements about units and the cancellation law may fail. Always check whether the ring is assumed to have unity.

flowchart TD
A[8_Rings] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]