Rings: Definition and Examples

The definition of a ring, abstracted from the arithmetic of the integers and the integers modulo n. The eight ring axioms and what they leave out, commutative rings and rings with identity, and a catalog of examples (number systems, multiples of n, the Gaussian integers, polynomials, 2 x 2 matrices with a rotation and a reflection that do not commute, and functions under pointwise operations), with systems that fail to be rings and the axiom each one breaks. Worked problems from the course's assignment close the article.

A ring is a nonempty set with an addition and a multiplication that satisfy eight axioms: closure, associativity and commutativity of addition, a zero, additive inverses, closure and associativity of multiplication, and the two distributive laws. Commutativity of multiplication and an identity $1$ are not required, following the course text (many books require the identity), and division is never promised. The integers, $\mathbb{Z}_n$, the Gaussian integers, polynomials, $2 \times 2$ matrices and real functions under pointwise operations are all rings. Each law left out fails in a natural ring: a rotation and a reflection of the plane do not commute, the even integers have no identity, and in $\mathbb{Z}_6[x]$, $(2x)(3x) = 0$. Subsets under union and intersection, and $\mathbb{R}^3$ with the cross product, each break one axiom.

In the integers modulo 21, $20 + 1 = 0$ and $20 \cdot 20 = 1$, and yet addition and multiplication there obey the same laws as in the integers. Five familiar systems share those laws. The integers $\mathbb{Z}$ are the model, and $\mathbb{Z}_n$ is a finite copy of them. Polynomials are added and multiplied by collecting terms. Square matrices are added entry by entry and multiplied by the row-times-column rule. Real-valued functions are added and multiplied point by point, so that the product of $x^2$ and $x + 1$ is $x^3 + x^2$. The elements are numbers, classes of integers, formal expressions, arrays and functions. What the five systems have in common is a short list of laws.

That list becomes a definition. A ring is a set with an addition and a multiplication that obey a fixed list of laws. The list contains the laws that the arguments of the first two units actually used, and nothing else. A theorem derived from the list then holds in all five systems at once, and in every other ring. This article is the canonical home of the definition: later articles in the course build on it and link here rather than restating it.

First we state the eight axioms and the two laws they leave out, commutativity of multiplication and an identity. Then we work through a catalog of examples. The running ones for this unit are $\mathbb{Z}_{21}$, the Gaussian integers, and a rotation and a reflection of the plane that do not commute. Finally we look at systems that fail to be rings, to see what each axiom contributes.

This is the first article of Rings. It covers the definition and examples in §3.1 of the course text (Hungerford, 2014); the subrings and products at the end of that section are in Subrings and Direct Products of Rings. It assumes the integers modulo $n$ and the laws of arithmetic proved there.

The definition

Definition. A ring is a nonempty set $R$ with two operations, called addition and multiplication and written $a + b$ and $ab$, that satisfy the following axioms for all $a$, $b$, $c$ in $R$.

Addition.

  1. $a + b \in R$ (closure under addition).
  2. $(a + b) + c = a + (b + c)$ (associativity of addition).
  3. $a + b = b + a$ (commutativity of addition).
  4. There is an element $0_R$ in $R$ with $a + 0_R = a$ for every $a$ in $R$ (a zero element).
  5. For each $a$ in $R$ there is an element $x$ in $R$ with $a + x = 0_R$ (additive inverses).

Multiplication.

  1. $ab \in R$ (closure under multiplication).
  2. $(ab)c = a(bc)$ (associativity of multiplication).

Both operations.

  1. $a(b + c) = ab + ac$ and $(a + b)c = ac + bc$ (the distributive laws).

An operation on $R$ is a rule that assigns to each ordered pair of elements of $R$ exactly one result. The closure axioms say that the result lies in $R$ again. The sum of two even integers is even. The sum of two primes need not be prime ($3 + 5 = 8$), so addition is not an operation on the set of primes. The zero element is written $0_R$, or just $0$ when the ring is clear. It need not be the number zero: in a ring of matrices it is the zero matrix.

Axioms 1 to 5 concern addition alone. They say that $R$ with its addition behaves like the integers with theirs. Axioms 6 and 7 ask very little of multiplication. The distributive laws are the only axioms that connect the two operations. They are stated on both sides because multiplication need not be commutative. As the next article shows, every rule linking the two operations, such as $a \cdot 0 = 0$, has to be derived from them.

The axioms are the laws that the theorem on the laws of arithmetic in $\mathbb{Z}_n$ established for the integers modulo $n$, with two of those laws dropped: commutativity of multiplication and the existence of an identity $1$. Neither list says anything about division. Each dropped law fails in some important system, and rings that keep it are given special names.

Commutative rings and rings with identity

Definition. A ring $R$ is commutative if $ab = ba$ for all $a$ and $b$ in $R$. A ring $R$ is a ring with identity if it contains an element $1_R$ with

$$a \, 1_R = a = 1_R \, a \quad \text{for every } a \in R.$$

The element $1_R$ is the identity (or unity) of $R$. Both equations are needed in the definition when $R$ is not commutative. The two properties are independent, and all four combinations occur:

With identity Without identity
Commutative $\mathbb{Z}$, $\mathbb{Z}_n$, $\mathbb{Q}$, $\mathbb{R}$, $\mathbb{C}$, polynomials, functions the even integers $2\mathbb{Z}$
Not commutative $2 \times 2$ real matrices $2 \times 2$ matrices with even integer entries

The examples are described below. Most theorems in the later units of the course assume both properties.

Conventions differ between textbooks. The course text, like Judson (2026, §16.1), does not require a ring to have an identity, and that is the convention here. Many other books build an identity into the definition of a ring. Readers moving between books should check which convention is in force.

A single element with $0 + 0 = 0$ and $0 \cdot 0 = 0$ satisfies every axiom, with $0$ serving as the identity too. This zero ring is the ring $\mathbb{Z}_1$. It is the only ring in which $1_R = 0_R$, as the next article proves, and definitions that need to exclude it require $1_R \neq 0_R$. The empty set is not a ring, because axiom 4 requires a zero element.

A common first reading is that a ring is a system in which "the usual algebra" works. That is too generous. The axioms promise associativity and distributivity, but not that $ab = ba$, not that there is a 1, and not that anything can be divided. The examples below show each of these failing in a natural ring.

Examples

The systems below satisfy the eight axioms. Each example checks them, usually by inheriting them from a larger system where they are already known.

Number systems

The integers, the rational numbers, the real numbers and the complex numbers, $\mathbb{Z}$, $\mathbb{Q}$, $\mathbb{R}$ and $\mathbb{C}$, are commutative rings with identity under their usual operations. Each is contained in the next. The operations of the larger system, restricted to the smaller one, are its own operations, a relation studied in Subrings and Direct Products of Rings. For example $\frac{2}{3} \cdot \frac{9}{4} = \frac{3}{2}$ and $\frac{2}{3} + \frac{9}{4} = \frac{35}{12}$ in $\mathbb{Q}$. The laws for these systems are taken as known, from the construction of the number systems.

The integers modulo $n$

For every positive integer $n$, the set $\mathbb{Z}_n$ of congruence classes modulo $n$ is a commutative ring with identity $[1]$ and zero $[0]$. That is precisely the theorem on the laws of arithmetic in $\mathbb{Z}_n$. Its proof showed that each law is inherited from the same law in $\mathbb{Z}$. The script for this article also checks every axiom exhaustively for $n \le 12$. For $n = 1$ the ring is the zero ring.

Multiples of $n$

For an integer $n \ge 2$, let $n\mathbb{Z} = \{\ldots, -2n, -n, 0, n, 2n, \ldots\}$ be the set of multiples of $n$. It is closed under addition and multiplication, since $na + nb = n(a + b)$ and $(na)(nb) = n(nab)$. It contains $0 = n \cdot 0$ and the negative $-(na) = n(-a)$ of each of its elements. The remaining axioms hold because they hold for all integers. So $n\mathbb{Z}$ is a commutative ring. It has no identity. An identity $e$ would be an integer with $e \cdot n = n$. Then $(e - 1)n = 0$ with $n \neq 0$, which forces $e = 1$, and 1 is not a multiple of $n$ when $n \ge 2$. For $2\mathbb{Z}$: $e \cdot 2 = 2$ forces $e = 1$, and 1 is not even.

The Gaussian integers

The Gaussian integers are the complex numbers whose real and imaginary parts are both integers:

$$\mathbb{Z}[i] = \{\, a + bi : a, b \in \mathbb{Z} \,\}, \qquad i^2 = -1.$$

Adding and multiplying as complex numbers gives

$$(a + bi) + (c + di) = (a + c) + (b + d)i, \qquad (a + bi)(c + di) = (ac - bd) + (ad + bc)i.$$

Both results again have integer parts, so the operations of $\mathbb{C}$ are operations on $\mathbb{Z}[i]$. For example $(2 + 3i)(4 - i) = 8 - 2i + 12i - 3i^2 = 11 + 10i$. The associative, commutative and distributive laws hold in $\mathbb{Z}[i]$ because they hold for all complex numbers. The zero $0 = 0 + 0i$, the identity $1 = 1 + 0i$ and the negative $-a - bi$ of each element are Gaussian integers. So $\mathbb{Z}[i]$ is a commutative ring with identity (Judson, 2026, Example 16.2.1).

It is a running example in this unit. Its units are found in Basic Properties of Rings, and its finite cousins $\mathbb{Z}_n[i]$ decide which small rings are fields.

Polynomials

For a ring $R$, the polynomials $a_0 + a_1 x + \cdots + a_m x^m$ with coefficients $a_k$ in $R$ form a ring $R[x]$. The rules are the usual ones: add coefficients of like powers, and multiply by distributing and collecting powers of $x$. That these rules satisfy the ring axioms is the first theorem of Polynomial Rings, where polynomials are defined precisely. In $\mathbb{Z}[x]$,

$$(1 + 2x)(3 - x + x^2) = 3 + 5x - x^2 + 2x^3.$$

When the coefficients come from a ring other than the integers, familiar facts can fail. In $\mathbb{Z}_6[x]$, $(2x)(3x) = 6x^2 = 0$. Two polynomials of degree 1 have the zero polynomial as their product, because $2 \cdot 3 = 0$ in $\mathbb{Z}_6$. Polynomial rings are the subject of the polynomial unit.

Matrices

Let $M_2(\mathbb{R})$ be the set of $2 \times 2$ matrices with real entries, with the usual matrix addition and multiplication:

$$\begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} e & f \\ g & h \end{pmatrix} = \begin{pmatrix} ae + bg & af + bh \\ ce + dg & cf + dh \end{pmatrix}.$$

The zero element is the zero matrix, and the negative of a matrix has the negatives of its entries. The identity is $I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}$: putting $a = d = 1$ and $b = c = 0$ in the product formula gives $IX = X$, and putting $e = h = 1$ and $f = g = 0$ gives $XI = X$. Addition is entrywise, so its associative and commutative laws are those of $\mathbb{R}$, applied in each entry.

Associativity of multiplication can be checked directly. Write $a_{ik}$ for the entry of $A$ in row $i$ and column $k$, $b_{kl}$ for the entries of $B$ and $c_{lj}$ for those of $C$. By the product formula, the entry of $AB$ in row $i$ and column $l$ is $\sum_k a_{ik} b_{kl}$, and the entry of $BC$ in row $k$ and column $j$ is $\sum_l b_{kl} c_{lj}$. So the entries in row $i$ and column $j$ of $(AB)C$ and of $A(BC)$ are

$$\sum_{l} \Big( \sum_{k} a_{ik} \, b_{kl} \Big) c_{lj} \qquad \text{and} \qquad \sum_{k} a_{ik} \Big( \sum_{l} b_{kl} \, c_{lj} \Big).$$

By the distributive and associative laws of $\mathbb{R}$, both equal

$$\sum_{k} \sum_{l} a_{ik} \, b_{kl} \, c_{lj},$$

summed over $k$ and $l$ from 1 to 2. For the distributive laws, the entries in row $i$ and column $j$ of $A(B + C)$ and of $(A + B)C$ are

$$\sum_k a_{ik}(b_{kj} + c_{kj}) = \sum_k a_{ik} b_{kj} + \sum_k a_{ik} c_{kj}, \qquad \sum_k (a_{ik} + b_{ik}) c_{kj} = \sum_k a_{ik} c_{kj} + \sum_k b_{ik} c_{kj},$$

which are the entries of $AB + AC$ and of $AC + BC$. So $M_2(\mathbb{R})$ is a ring with identity.

These verifications used only the ring laws of the entries and, for the identity matrix, the elements 0 and 1. So the same construction works with entries from any commutative ring with identity, such as $\mathbb{Z}$ or $\mathbb{Z}_n$, and gives a ring $M_2(\mathbb{Z})$ or $M_2(\mathbb{Z}_n)$. With the sums running from 1 to $n$ instead of from 1 to 2, the computations above show that the $n \times n$ matrices form a ring for every $n$.

Matrix multiplication is not commutative. A $2 \times 2$ matrix describes a linear transformation of the plane, and the product $AB$ describes doing $B$ first and then $A$. Take

$$A = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}, \qquad B = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix},$$

the rotation by 90 degrees counterclockwise and the reflection in the horizontal axis. Then

$$AB = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad BA = \begin{pmatrix} 0 & -1 \\ -1 & 0 \end{pmatrix}.$$

The first is the reflection in the line $y = x$, which sends $(1, 0)$ to $(0, 1)$. The second is the reflection in the line $y = -x$, which sends $(1, 0)$ to $(0, -1)$. Reflecting and then rotating is a different motion from rotating and then reflecting.

A letter F (left) moved by the matrix products AB (middle) and BA (right), where A rotates the plane by 90 degrees and B reflects it in the horizontal axis. The dashed outline is the original F. Notice that both images are mirror images of the F, flipped across different lines (y = x for AB, y = -x for BA), so AB and BA are different matrices: multiplication in the ring of 2 x 2 matrices is not commutative.
A letter F (left) moved by the matrix products AB (middle) and BA (right), where A rotates the plane by 90 degrees and B reflects it in the horizontal axis. The dashed outline is the original F. Notice that both images are mirror images of the F, flipped across different lines (y = x for AB, y = -x for BA), so AB and BA are different matrices: multiplication in the ring of 2 x 2 matrices is not commutative.

Example (powers of one element commute). The rotation $A$ does not commute with $B$, but it commutes with $A^2$. Associativity gives $A \cdot A^2 = A(AA) = (AA)A = A^2 \cdot A$. Any two powers of one element commute, in every ring, by the rule $a^k a^l = a^{k + l}$ proved in Basic Properties of Rings. Here $A^2 = -I$, the rotation by 180 degrees, and the script confirms that $A \cdot A^2 = A^2 \cdot A = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}$. Noncommutativity is a property of particular pairs, not of every pair.

Restricting the entries to even integers gives a ring without identity, the fourth corner of the table above. Each entry of a sum of two such matrices is a sum of two even integers, and each entry of a product is a sum of products of even integers. So sums and products of matrices with even entries have even entries, and the set is closed under both operations. It contains the zero matrix and the negative of each of its elements, and the remaining axioms hold because they hold for all real matrices. It is not commutative: with $P = \begin{pmatrix} 0 & 2 \\ 0 & 0 \end{pmatrix}$ and $Q = \begin{pmatrix} 0 & 0 \\ 2 & 0 \end{pmatrix}$, $PQ = \begin{pmatrix} 4 & 0 \\ 0 & 0 \end{pmatrix}$ while $QP = \begin{pmatrix} 0 & 0 \\ 0 & 4 \end{pmatrix}$. An identity $E$ would have to satisfy $E(2I) = 2I$. Since $E(2I) = 2E$, this forces $E = I$, whose entries are odd.

Functions

Let $F(\mathbb{R})$ be the set of all functions from $\mathbb{R}$ to $\mathbb{R}$, with the pointwise operations

$$(f + g)(x) = f(x) + g(x), \qquad (fg)(x) = f(x)\, g(x).$$

To check an axiom, evaluate both sides at an arbitrary real number $x$. For associativity of multiplication, $((fg)h)(x) = (f(x) g(x)) h(x)$ and $(f(gh))(x) = f(x) (g(x) h(x))$. These are equal by associativity in $\mathbb{R}$, and two functions that agree at every $x$ are equal. Every other axiom is inherited from $\mathbb{R}$ by evaluating at $x$. The zero element is the constant function $0$, the negative of $f$ is the function $x \mapsto -f(x)$, and the identity is the constant function $1$. At every real number $x$:

  • $(f + g)(x) = f(x) + g(x)$ and $(fg)(x) = f(x)\,g(x)$ are real numbers, so $f + g$ and $fg$ are again functions from $\mathbb{R}$ to $\mathbb{R}$ (closure);
  • $((f + g) + h)(x) = (f(x) + g(x)) + h(x) = f(x) + (g(x) + h(x)) = (f + (g + h))(x)$;
  • $(f + g)(x) = f(x) + g(x) = g(x) + f(x) = (g + f)(x)$;
  • $(f + 0)(x) = f(x) + 0 = f(x)$;
  • $(f + (-f))(x) = f(x) + (-f(x)) = 0$;
  • $(f(g + h))(x) = f(x)(g(x) + h(x)) = f(x)g(x) + f(x)h(x) = (fg + fh)(x)$, and $((f + g)h)(x) = (f(x) + g(x))h(x) = f(x)h(x) + g(x)h(x) = (fh + gh)(x)$;
  • $(fg)(x) = f(x)g(x) = g(x)f(x) = (gf)(x)$, and $(f \cdot 1)(x) = f(x) \cdot 1 = f(x)$.

So $F(\mathbb{R})$ is a commutative ring with identity. More generally, the functions from any nonempty set $X$ into any ring $R$ form a ring under the pointwise operations. The first six lines above and the associativity of multiplication used only the ring axioms for the values, so they hold with $R$ in place of $\mathbb{R}$. By the last line, the ring of functions is commutative when $R$ is. When $R$ has an identity, the constant function $1_R$ is an identity, since $(f \cdot 1_R)(x) = f(x) 1_R = f(x)$ and $(1_R \cdot f)(x) = 1_R f(x) = f(x)$.

With $f(x) = x^2$ and $g(x) = x + 1$:

$x$ $(f + g)(x)$ $(fg)(x)$ $f(g(x))$
$-1$ 1 0 0
0 1 0 1
2 7 12 9

The last column is the composition $f \circ g$, which is a different operation. Composition is associative and has an identity (the function $x \mapsto x$), but it does not distribute over pointwise addition. With $f(x) = x^2$ and $g(x) = h(x) = x$, $f(g(x) + h(x)) = 4x^2$ while $f(g(x)) + f(h(x)) = 2x^2$; at $x = 3$ these are 36 and 18. So composition cannot serve as the multiplication of a ring with pointwise addition, and the ring product of functions is always the pointwise one. The difference matters for inverses, as the next article shows: the inverse of $f$ in the ring $F(\mathbb{R})$ is the reciprocal $1/f$, not the inverse function.

The continuous functions, the differentiable functions and the polynomial functions are rings inside $F(\mathbb{R})$ with the same operations. Sums and products of such functions are again of the same kind (Subrings and Direct Products of Rings). Judson (2026, Example 16.1.5) uses the continuous functions on an interval as a basic example of a ring.

Systems that are not rings

Seeing an axiom fail shows what it contributes.

  • The subsets of a set, with union as addition and intersection as multiplication, satisfy every axiom except additive inverses (axiom 5). Union and intersection are associative, union is commutative, and the empty set plays the part of 0, since $X \cup \varnothing = X$. Intersection distributes over union. An element lies in $X \cap (Y \cup Z)$ exactly when it lies in $X$ and in at least one of $Y$ and $Z$. That is exactly when it lies in $X \cap Y$ or in $X \cap Z$, that is, in $(X \cap Y) \cup (X \cap Z)$. The law on the other side follows because intersection is commutative. But a union can only grow: $\{1\} \cup Y$ contains 1 for every $Y$, so no $Y$ gives $\{1\} \cup Y = \varnothing$. For the eight subsets of $\{1, 2, 3\}$ the script checks every law and finds that only the empty set has an additive inverse.
  • Vectors in $\mathbb{R}^3$ with the cross product satisfy every axiom except associativity of multiplication (axiom 7). The cross product distributes over vector addition, because each coordinate of $u \times v$ is a difference of products of one coordinate of $u$ with one coordinate of $v$; the first is $u_2 v_3 - u_3 v_2$. But with the standard basis vectors $e_1$, $e_2$, $e_3$,

$$(e_1 \times e_1) \times e_2 = 0 \times e_2 = 0, \qquad e_1 \times (e_1 \times e_2) = e_1 \times e_3 = -e_2.$$

$\mathbb{R}^3$ with the cross product is an example of a Lie algebra, a kind of system with a nonassociative multiplication that is studied separately. It is not a ring in the sense of this course.

Example (matrices with determinant 1). The $2 \times 2$ real matrices with determinant 1, under the usual operations, fail axioms 1 and 4, while the two axioms about multiplication alone, 6 and 7, hold. Addition leads out of the set: $I$ has determinant 1, but $I + I = 2I$ has determinant 4, as the script confirms (axiom 1). There is no zero element (axiom 4): a zero element $Z$ would satisfy $I + Z = I$, and comparing entries shows that $Z$ would be the zero matrix, which has determinant 0. Multiplication behaves well. Write $\det X = ad - bc$ for the first matrix in the product formula above and $\det Y = eh - fg$ for the second. Expanding the determinant of the product gives

$$(ae + bg)(cf + dh) - (af + bh)(ce + dg) = adeh + bcfg - adfg - bceh = (ad - bc)(eh - fg),$$

that is, $\det(XY) = \det X \det Y$. So products stay in the set, and they are associative because all matrix products are. The identity $I$ belongs to the set. A set closed under one operation but not the other is not a ring; it is, however, a group under multiplication, a structure the course defines later.

Why abstract

What does the definition buy? It turns a large number of separate verifications into one. The next article proves that $a \cdot 0 = 0$, that $(-a)(-b) = ab$, and that identities and inverses are unique, each from the axioms alone. Those results then hold in $\mathbb{Z}_{1729}$, in $\mathbb{Z}[i]$, for matrices and for functions, without a separate check in each.

The argument also runs in reverse. When a familiar rule fails in some ring, as commutativity fails for matrices, it cannot be a consequence of the axioms. No proof that uses only the axioms can depend on it.

The axiomatic point of view is relatively recent. From 1922 onward, Emmy Noether used axiomatic methods to develop an abstract theory of rings and their ideals (Judson, 2026, §16.4.1). Ideals, the main tool of her theory, appear in this course in the unit on Ideals and Quotient Rings.

Worked problems

These problems are from the course's assignment on §3.1. Each is solved in full from the results of this unit.

Both problems concern one system. Let $L$ be the set $\mathbb{Z}$ of integers with the two operations

$$a \oplus b = a + b - 1, \qquad a \otimes b = ab - (a + b) + 2,$$

where the right sides use ordinary integer arithmetic. For example $5 \oplus 3 = 7$ and $5 \otimes 3 = 15 - 8 + 2 = 9$. The second formula can be rewritten. Since $(a - 1)(b - 1) = ab - a - b + 1$,

$$a \otimes b = (a - 1)(b - 1) + 1.$$

Problem 1. Find the zero element $0_L$ and the identity $1_L$ of $L$, and show that no other elements play those parts.

The zero element is $0_L = 1$ and the identity is $1_L = 2$.

An integer $z$ is a zero element of $L$ when $a \oplus z = a$ for every integer $a$. Since $a \oplus z = a + z - 1$, that holds exactly when $z - 1 = 0$, that is, when $z = 1$. The check is one line: $a \oplus 1 = a + 1 - 1 = a$.

An integer $e$ is an identity of $L$ when $a \otimes e = a = e \otimes a$ for every $a$. The formula for $\otimes$ is unchanged when $a$ and $b$ are exchanged, so $\otimes$ is commutative and one of the two equations is enough. By the rewritten formula,

$$a \otimes e - a = (a - 1)(e - 1) + 1 - a = (a - 1)(e - 1) - (a - 1) = (a - 1)(e - 2).$$

If $e = 2$ this is 0 for every $a$. If it is 0 for every $a$, then taking $a = 0$ gives $-(e - 2) = 0$, so $e = 2$. The check: $a \otimes 2 = 2a - (a + 2) + 2 = a$.

So the zero of $L$ is the integer 1 and its identity is the integer 2. The symbols $0_R$ and $1_R$ in the axioms name the parts that elements play, not particular numbers.

Problem 2. Prove the left distributive law $a \otimes (b \oplus c) = (a \otimes b) \oplus (a \otimes c)$ in $L$, and verify the remaining axioms, so that $L$ is a commutative ring with identity.

Proof. Use the rewritten formula for $\otimes$. On the left,

$$a \otimes (b \oplus c) = (a - 1)\big((b + c - 1) - 1\big) + 1 = (a - 1)(b + c - 2) + 1.$$

On the right,

$$(a \otimes b) \oplus (a \otimes c) = \big((a - 1)(b - 1) + 1\big) + \big((a - 1)(c - 1) + 1\big) - 1 = (a - 1)(b + c - 2) + 1.$$

The two sides agree; multiplied out, both are $ab + ac - 2a - b - c + 3$. That is the left distributive law.

The other axioms, with the numbering of the definition:

  • Axioms 1 and 6. $a + b - 1$ and $ab - (a + b) + 2$ are integers, so $L$ is closed under both operations.
  • Axiom 2. $(a \oplus b) \oplus c = (a + b - 1) + c - 1 = a + b + c - 2$, and $a \oplus (b \oplus c) = a + (b + c - 1) - 1 = a + b + c - 2$.
  • Axiom 3. $a \oplus b = a + b - 1 = b + a - 1 = b \oplus a$.
  • Axiom 4. The zero element is 1, by Problem 1.
  • Axiom 5. $a \oplus (2 - a) = a + (2 - a) - 1 = 1 = 0_L$, so $2 - a$ is an additive inverse of $a$. For example the additive inverse of 5 is $-3$.
  • Axiom 7. $(a \otimes b) \otimes c = \big((a - 1)(b - 1) + 1 - 1\big)(c - 1) + 1 = (a - 1)(b - 1)(c - 1) + 1$, and $a \otimes (b \otimes c) = (a - 1)\big((b - 1)(c - 1) + 1 - 1\big) + 1 = (a - 1)(b - 1)(c - 1) + 1$.
  • Axiom 8. The left law is proved above. The right law follows from it because $\otimes$ is commutative: $(a \oplus b) \otimes c = c \otimes (a \oplus b) = (c \otimes a) \oplus (c \otimes b) = (a \otimes c) \oplus (b \otimes c)$.

So $L$ is a ring. It is commutative, and it has the identity 2, by Problem 1. $\blacksquare$

The rewritten formulas explain why everything works. Subtracting 1 from each element turns the new operations into the ordinary ones:

$$(a \oplus b) - 1 = (a - 1) + (b - 1), \qquad (a \otimes b) - 1 = (a - 1)(b - 1).$$

So $L$ is the ring of integers with every element $n$ renamed $n + 1$. The zero 0 is renamed 1 and the identity 1 is renamed 2. The article on ring homomorphisms makes renamings of this kind precise: $n \mapsto n + 1$ is an isomorphism from $\mathbb{Z}$ to $L$.

Where it leads

What we have learned

A ring is a set with an addition and a multiplication that satisfy eight axioms: the laws of $\mathbb{Z}_n$ without commutativity of multiplication and without an identity. The integers, $\mathbb{Z}_n$, the Gaussian integers, polynomials, matrices and functions all satisfy them. The rotation and reflection showed that a ring need not be commutative, the even integers that it need not have a 1, and $\mathbb{Z}_6[x]$ that nonzero elements can multiply to zero.

The axioms say nothing directly about $a \cdot 0$ or about $(-1)(-1)$. The familiar answers follow from them: $a \cdot 0 = 0$ in every ring, and $(-1)(-1) = 1$ in every ring with identity. The next article, Basic Properties of Rings, proves both, and finds familiar rules that do not follow.

References

  • Hungerford, T. W. (2014). Abstract Algebra: An Introduction (3rd ed.), §3.1. Brooks/Cole, Cengage Learning. The course text: the definition of a ring by axioms for closure, associativity, commutativity of addition, a zero element, additive inverses and distributivity; commutative rings and rings with identity; the condition $1_R \neq 0_R$ in later definitions, to exclude the zero ring. record · 44 pages
  • Judson, T. W. (2026). Abstract Algebra: Theory and Applications (annual edition, August 2026). Free online at judsonbooks.org. §16.1 (definition of a ring, with identity not required; continuous functions on an interval as a commutative ring, Example 16.1.5; $2 \times 2$ matrices as a noncommutative ring, Example 16.1.6); Example 16.2.1 (the Gaussian integers); §16.4.1, historical note on Emmy Noether. record · 44 pages

Reviewed: verified, 16 Nov 2026 · editorial review, 23 Nov 2026 · 7 revisions