Fiveable

🧠Thinking Like a Mathematician Unit 3 Review

QR code for Thinking Like a Mathematician practice questions

3.7 Rings

3.7 Rings

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🧠Thinking Like a Mathematician
Unit & Topic Study Guides

Definition of rings

A ring is a set equipped with two operations, addition and multiplication, that follow specific rules. Rings generalize familiar number systems like the integers and give you a precise framework for studying how addition and multiplication interact across many different mathematical settings.

Think of it this way: you already know groups, which capture the idea of one operation with nice properties. A ring layers a second operation on top and connects the two through the distributive law. This makes rings the natural structure for studying anything that involves both adding and multiplying.

Properties of rings

A ring is a set RR together with two binary operations, addition (+)(+) and multiplication (×)(\times), satisfying these axioms:

  1. (R,+)(R, +) is an abelian group: addition is closed, associative, commutative, has an identity element 00, and every element has an additive inverse.
  2. Multiplication is associative: (a×b)×c=a×(b×c)(a \times b) \times c = a \times (b \times c) for all a,b,cRa, b, c \in R.
  3. Distributive laws connect the two operations:
    • Left: a×(b+c)=(a×b)+(a×c)a \times (b + c) = (a \times b) + (a \times c)
    • Right: (b+c)×a=(b×a)+(c×a)(b + c) \times a = (b \times a) + (c \times a)

Notice what's not required: multiplication doesn't have to be commutative, and there doesn't have to be a multiplicative identity. Those are extra properties that define special types of rings.

Examples of common rings

  • Integers (Z)(\mathbb{Z}) under standard addition and multiplication. This is the most natural example of a ring.
  • Real numbers (R)(\mathbb{R}) and complex numbers (C)(\mathbb{C}) with their usual operations. These are actually fields (a stronger structure), but every field is a ring.
  • Polynomial rings like Z[x]\mathbb{Z}[x], R[x]\mathbb{R}[x], C[x]\mathbb{C}[x]. You add and multiply polynomials using the standard rules, and all the ring axioms hold.
  • Matrix rings of n×nn \times n matrices over a ring. Matrix addition and multiplication satisfy the ring axioms, but note that matrix multiplication is not commutative.

Ring operations

Addition in rings

The additive structure of a ring is an abelian group (R,+)(R, +) with identity element 00. This means addition satisfies closure, associativity, commutativity, and every element aa has an additive inverse a-a.

Subtraction is defined through additive inverses: aba - b just means a+(b)a + (-b). Familiar examples include matrix addition and polynomial addition, both of which inherit this group structure.

Multiplication in rings

Multiplication in a ring must be closed and associative, but that's it for the base definition. Two things that might surprise you:

  • Multiplication does not need to be commutative. In matrix rings, A×BB×AA \times B \neq B \times A in general.
  • There doesn't need to be a multiplicative identity. The set of even integers under standard operations forms a ring with no element that acts like 11.

Distributive law

The distributive law is what ties addition and multiplication together. Without it, the two operations would just coexist without interacting.

  • Left: a×(b+c)=(a×b)+(a×c)a \times (b + c) = (a \times b) + (a \times c)
  • Right: (b+c)×a=(b×a)+(c×a)(b + c) \times a = (b \times a) + (c \times a)

You need both versions because multiplication might not be commutative. In a commutative ring, one implies the other, but in general you must verify both.

Types of rings

Commutative rings

A ring is commutative if a×b=b×aa \times b = b \times a for all a,bRa, b \in R. The integers, real numbers, and polynomial rings over commutative rings are all commutative.

Commutativity simplifies a lot of algebra. Many important structures, like integral domains and fields, are built on top of commutative rings.

Non-commutative rings

In a non-commutative ring, there exist elements a,ba, b where a×bb×aa \times b \neq b \times a. The order of multiplication matters, so you have to be careful when rearranging expressions.

The classic examples are matrix rings (2×22 \times 2 matrices over R\mathbb{R}, for instance) and the quaternions. Non-commutative rings show up in physics (quantum mechanics) and computer graphics (rotations via quaternions).

Rings with unity

A ring with unity (or "unital ring") contains a multiplicative identity element 11 satisfying 1×a=a×1=a1 \times a = a \times 1 = a for all aRa \in R.

Most rings you'll encounter have unity: Z\mathbb{Z}, R\mathbb{R}, polynomial rings, matrix rings. Having a 11 lets you talk about units (elements with multiplicative inverses), which becomes important for studying fields and factorization.

Subrings

A subring is a subset of a ring that is itself a ring under the same operations. Subrings help you understand the internal structure of a ring by identifying smaller rings sitting inside it.

Definition of subrings

A subset SS of a ring RR is a subring if SS forms a ring using the same addition and multiplication from RR. For example, the even integers 2Z2\mathbb{Z} form a subring of Z\mathbb{Z}, and R\mathbb{R} is a subring of C\mathbb{C}.

Criteria for subrings

To verify that SS is a subring of RR, check three things:

  1. Non-empty: SS \neq \emptyset (typically you show 0S0 \in S).

  2. Closed under subtraction: For all a,bSa, b \in S, abSa - b \in S.

  3. Closed under multiplication: For all a,bSa, b \in S, a×bSa \times b \in S.

That's it. Closure under subtraction automatically gives you closure under addition, the additive identity, and additive inverses. If RR has unity and you want SS to be a subring with unity, you also need 1S1 \in S.

Properties of rings, abstract algebra - Why are rings called rings? - Mathematics Stack Exchange

Ring homomorphisms

A ring homomorphism is a function between two rings that preserves both operations. Homomorphisms let you compare rings and transfer structural information from one ring to another.

Definition of homomorphisms

A function f:RSf: R \to S is a ring homomorphism if it satisfies:

  1. f(a+b)=f(a)+f(b)f(a + b) = f(a) + f(b) for all a,bRa, b \in R (preserves addition)
  2. f(a×b)=f(a)×f(b)f(a \times b) = f(a) \times f(b) for all a,bRa, b \in R (preserves multiplication)

If RR and SS are rings with unity, you typically also require f(1R)=1Sf(1_R) = 1_S.

A concrete example: the inclusion map ZQ\mathbb{Z} \hookrightarrow \mathbb{Q} that sends each integer to itself inside the rationals. It preserves both addition and multiplication.

Kernel and image

Every homomorphism f:RSf: R \to S gives you two important subsets:

  • Kernel: ker(f)={aRf(a)=0S}\ker(f) = \{a \in R \mid f(a) = 0_S\}. These are the elements that get "collapsed" to zero. The kernel is always an ideal of RR (not just a subring).
  • Image: im(f)={f(a)aR}\text{im}(f) = \{f(a) \mid a \in R\}. This is the subring of SS that ff actually hits.

The kernel measures how far ff is from being injective. If ker(f)={0}\ker(f) = \{0\}, then ff is one-to-one.

Ideals

An ideal is a special kind of subring that "absorbs" multiplication by any element of the ring. Ideals are to rings what normal subgroups are to groups: they're exactly the subsets you can quotient by.

Left vs right ideals

  • A left ideal II satisfies: for all rRr \in R and aIa \in I, raIra \in I.
  • A right ideal II satisfies: for all rRr \in R and aIa \in I, arIar \in I.
  • A two-sided ideal (usually just called an "ideal") is both a left and right ideal.

In commutative rings, the distinction disappears since ra=arra = ar. The left/right distinction only matters in non-commutative rings.

Two-sided ideals

A two-sided ideal II absorbs multiplication from both sides: raIra \in I and arIar \in I for all rRr \in R, aIa \in I. Two-sided ideals are used to construct quotient rings.

A key example: the even integers 2Z2\mathbb{Z} form an ideal in Z\mathbb{Z}. Multiply any integer by an even integer and you get an even integer.

Principal ideals

A principal ideal is generated by a single element aa:

(a)={rarR}(a) = \{ra \mid r \in R\}

In Z\mathbb{Z}, every ideal is principal. For instance, the ideal of all multiples of 3 is (3)=3Z(3) = 3\mathbb{Z}. A ring where every ideal is principal is called a principal ideal domain (PID). The integers are the standard example of a PID.

Quotient rings

A quotient ring R/IR/I is formed by partitioning a ring RR into cosets of an ideal II, then defining operations on those cosets. This is the ring-theory analog of quotient groups.

Construction of quotient rings

Given a ring RR and an ideal II:

  1. The elements of R/IR/I are cosets of the form r+Ir + I, where rRr \in R.
  2. Addition: (a+I)+(b+I)=(a+b)+I(a + I) + (b + I) = (a + b) + I
  3. Multiplication: (a+I)(b+I)=(ab)+I(a + I)(b + I) = (ab) + I
  4. The natural projection π:RR/I\pi: R \to R/I is defined by π(r)=r+I\pi(r) = r + I.

The ideal II is what makes these operations well-defined. If II were just a subring (not an ideal), multiplication of cosets wouldn't be consistent.

Properties of quotient rings

  • R/IR/I is a ring with well-defined addition and multiplication.
  • If RR is commutative, so is R/IR/I.
  • If RR has unity, then 1+I1 + I is the unity of R/IR/I.
  • The kernel of the natural projection π\pi is exactly II.

A powerful example: Z/pZ\mathbb{Z}/p\mathbb{Z} for a prime pp gives you a field with pp elements. This is how finite fields are constructed.

Special elements in rings

Units and invertible elements

A unit is an element aRa \in R that has a multiplicative inverse: there exists bRb \in R with ab=ba=1ab = ba = 1. The set of all units in RR, often written RR^* or U(R)U(R), forms a group under multiplication.

In Z\mathbb{Z}, the only units are 11 and 1-1. In a field, every non-zero element is a unit. In the ring of 2×22 \times 2 real matrices, the units are exactly the invertible matrices (those with non-zero determinant).

Zero divisors

A zero divisor is a non-zero element aa for which there exists a non-zero bb with ab=0ab = 0. Zero divisors are "pathological" in the sense that they break the cancellation law.

For example, in Z/6Z\mathbb{Z}/6\mathbb{Z}: 2×3=602 \times 3 = 6 \equiv 0, so 22 and 33 are both zero divisors. In matrix rings, any singular matrix (determinant zero) is a zero divisor.

A ring with no zero divisors (plus commutativity and unity) is an integral domain.

Properties of rings, FOIL Method is Distributive Law - Mathematics for Teaching

Nilpotent elements

An element aRa \in R is nilpotent if an=0a^n = 0 for some positive integer nn. The smallest such nn is the nilpotency index.

Every nilpotent element (other than 00 itself) is a zero divisor. To see why: if an=0a^n = 0 and nn is the smallest such power, then aan1=0a \cdot a^{n-1} = 0 with both a0a \neq 0 and an10a^{n-1} \neq 0.

A concrete example: strictly upper triangular matrices. In the ring of 3×33 \times 3 matrices, a strictly upper triangular matrix AA satisfies A3=0A^3 = 0.

Integral domains

An integral domain is a commutative ring with unity that has no zero divisors. This is the right setting for studying factorization and divisibility, since the absence of zero divisors means you can cancel non-zero factors.

Definition and properties

The formal definition: a commutative ring RR with 101 \neq 0 such that for all a,bRa, b \in R, if ab=0ab = 0 then a=0a = 0 or b=0b = 0.

The cancellation law follows directly: if ab=acab = ac and a0a \neq 0, then a(bc)=0a(b - c) = 0, which forces bc=0b - c = 0, so b=cb = c.

Every field is an integral domain (if a0a \neq 0 and ab=0ab = 0, multiply both sides by a1a^{-1} to get b=0b = 0). But not every integral domain is a field. The integers are an integral domain but not a field, since most integers lack multiplicative inverses.

Examples of integral domains

  • Integers (Z)(\mathbb{Z}): the prototypical example.
  • Polynomial rings over integral domains: Z[x]\mathbb{Z}[x], R[x]\mathbb{R}[x].
  • Gaussian integers (Z[i]={a+bia,bZ})(\mathbb{Z}[i] = \{a + bi \mid a, b \in \mathbb{Z}\}): these are used in number theory to study problems about sums of squares.
  • Every integral domain can be embedded in its field of fractions. For Z\mathbb{Z}, this gives Q\mathbb{Q}. For Z[x]\mathbb{Z}[x], this gives the field of rational functions.

Fields

A field is a commutative ring with unity where every non-zero element has a multiplicative inverse. Fields are where you can do full arithmetic: add, subtract, multiply, and divide (by non-zero elements).

Definition of fields

Formally, a field FF is a commutative ring with 101 \neq 0 such that for every non-zero aFa \in F, there exists bFb \in F with ab=1ab = 1.

The familiar examples are Q\mathbb{Q}, R\mathbb{R}, and C\mathbb{C}. But there are also finite fields: Z/pZ\mathbb{Z}/p\mathbb{Z} is a field whenever pp is prime.

Relationship to rings

Here's how the hierarchy works:

Rings \supset Commutative rings with unity \supset Integral domains \supset Fields

Each level adds a requirement:

  • Commutative ring with unity: add commutativity of multiplication and a 11.
  • Integral domain: add the no-zero-divisors condition.
  • Field: add multiplicative inverses for all non-zero elements.

You can sometimes build a field from a ring. The construction Z/pZ\mathbb{Z}/p\mathbb{Z} for prime pp turns the ring of integers into a finite field. The field of fractions construction turns any integral domain into a field.

Ring theorems

Fundamental homomorphism theorem

Also called the First Isomorphism Theorem for rings: if f:RSf: R \to S is a ring homomorphism, then

R/ker(f)im(f)R/\ker(f) \cong \text{im}(f)

This says the quotient of RR by the kernel of ff is isomorphic to the image of ff. It's the same idea as the group version, and it's one of the most-used tools in algebra. Whenever you have a homomorphism, this theorem lets you understand its image by studying a quotient ring instead.

Isomorphism theorems

  • First Isomorphism Theorem: R/ker(f)im(f)R/\ker(f) \cong \text{im}(f) (same as above).
  • Second Isomorphism Theorem: For a subring SS and ideal II of RR, (S+I)/IS/(SI)(S + I)/I \cong S/(S \cap I).
  • Third Isomorphism Theorem: For ideals IJI \subseteq J of RR, (R/I)/(J/I)R/J(R/I)/(J/I) \cong R/J.

These theorems give you tools for simplifying quotient ring expressions and relating different quotient constructions to each other. They parallel the isomorphism theorems for groups.

Applications of ring theory

Cryptography

Ring structures underlie several modern cryptographic systems. Lattice-based cryptography relies on hard computational problems in polynomial rings, and the Ring Learning with Errors (Ring-LWE) problem is a foundation for post-quantum cryptography. Schemes like NTRU use polynomial rings over Z/qZ\mathbb{Z}/q\mathbb{Z} for encryption.

Coding theory

Error-correcting codes frequently use polynomial rings over finite fields. Reed-Solomon codes, used in everything from CDs to deep-space communication, exploit properties of polynomial evaluation and interpolation over finite fields. Cyclic codes correspond directly to ideals in quotient polynomial rings.

Algebraic geometry

Algebraic geometry studies geometric objects (curves, surfaces, varieties) defined by polynomial equations. The connection to ring theory runs deep: points on a variety correspond to maximal ideals in a polynomial ring, and Hilbert's Nullstellensatz makes this correspondence precise. Commutative ring theory is the algebraic engine behind modern algebraic geometry.