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 together with two binary operations, addition and multiplication , satisfying these axioms:
- is an abelian group: addition is closed, associative, commutative, has an identity element , and every element has an additive inverse.
- Multiplication is associative: for all .
- Distributive laws connect the two operations:
- Left:
- Right:
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 under standard addition and multiplication. This is the most natural example of a ring.
- Real numbers and complex numbers with their usual operations. These are actually fields (a stronger structure), but every field is a ring.
- Polynomial rings like , , . You add and multiply polynomials using the standard rules, and all the ring axioms hold.
- Matrix rings of 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 with identity element . This means addition satisfies closure, associativity, commutativity, and every element has an additive inverse .
Subtraction is defined through additive inverses: just means . 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, 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 .
Distributive law
The distributive law is what ties addition and multiplication together. Without it, the two operations would just coexist without interacting.
- Left:
- Right:
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 for all . 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 where . The order of multiplication matters, so you have to be careful when rearranging expressions.
The classic examples are matrix rings ( matrices over , 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 satisfying for all .
Most rings you'll encounter have unity: , , polynomial rings, matrix rings. Having a 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 of a ring is a subring if forms a ring using the same addition and multiplication from . For example, the even integers form a subring of , and is a subring of .
Criteria for subrings
To verify that is a subring of , check three things:
-
Non-empty: (typically you show ).
-
Closed under subtraction: For all , .
-
Closed under multiplication: For all , .
That's it. Closure under subtraction automatically gives you closure under addition, the additive identity, and additive inverses. If has unity and you want to be a subring with unity, you also need .

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 is a ring homomorphism if it satisfies:
- for all (preserves addition)
- for all (preserves multiplication)
If and are rings with unity, you typically also require .
A concrete example: the inclusion map that sends each integer to itself inside the rationals. It preserves both addition and multiplication.
Kernel and image
Every homomorphism gives you two important subsets:
- Kernel: . These are the elements that get "collapsed" to zero. The kernel is always an ideal of (not just a subring).
- Image: . This is the subring of that actually hits.
The kernel measures how far is from being injective. If , then 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 satisfies: for all and , .
- A right ideal satisfies: for all and , .
- A two-sided ideal (usually just called an "ideal") is both a left and right ideal.
In commutative rings, the distinction disappears since . The left/right distinction only matters in non-commutative rings.
Two-sided ideals
A two-sided ideal absorbs multiplication from both sides: and for all , . Two-sided ideals are used to construct quotient rings.
A key example: the even integers form an ideal in . Multiply any integer by an even integer and you get an even integer.
Principal ideals
A principal ideal is generated by a single element :
In , every ideal is principal. For instance, the ideal of all multiples of 3 is . 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 is formed by partitioning a ring into cosets of an ideal , then defining operations on those cosets. This is the ring-theory analog of quotient groups.
Construction of quotient rings
Given a ring and an ideal :
- The elements of are cosets of the form , where .
- Addition:
- Multiplication:
- The natural projection is defined by .
The ideal is what makes these operations well-defined. If were just a subring (not an ideal), multiplication of cosets wouldn't be consistent.
Properties of quotient rings
- is a ring with well-defined addition and multiplication.
- If is commutative, so is .
- If has unity, then is the unity of .
- The kernel of the natural projection is exactly .
A powerful example: for a prime gives you a field with elements. This is how finite fields are constructed.
Special elements in rings
Units and invertible elements
A unit is an element that has a multiplicative inverse: there exists with . The set of all units in , often written or , forms a group under multiplication.
In , the only units are and . In a field, every non-zero element is a unit. In the ring of real matrices, the units are exactly the invertible matrices (those with non-zero determinant).
Zero divisors
A zero divisor is a non-zero element for which there exists a non-zero with . Zero divisors are "pathological" in the sense that they break the cancellation law.
For example, in : , so and 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.

Nilpotent elements
An element is nilpotent if for some positive integer . The smallest such is the nilpotency index.
Every nilpotent element (other than itself) is a zero divisor. To see why: if and is the smallest such power, then with both and .
A concrete example: strictly upper triangular matrices. In the ring of matrices, a strictly upper triangular matrix satisfies .
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 with such that for all , if then or .
The cancellation law follows directly: if and , then , which forces , so .
Every field is an integral domain (if and , multiply both sides by to get ). 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 : the prototypical example.
- Polynomial rings over integral domains: , .
- Gaussian integers : 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 , this gives . For , 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 is a commutative ring with such that for every non-zero , there exists with .
The familiar examples are , , and . But there are also finite fields: is a field whenever is prime.
Relationship to rings
Here's how the hierarchy works:
Rings Commutative rings with unity Integral domains Fields
Each level adds a requirement:
- Commutative ring with unity: add commutativity of multiplication and a .
- 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 for prime 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 is a ring homomorphism, then
This says the quotient of by the kernel of is isomorphic to the image of . 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: (same as above).
- Second Isomorphism Theorem: For a subring and ideal of , .
- Third Isomorphism Theorem: For ideals of , .
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 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.