In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a ring is an
algebraic structure consisting of a set with two
binary operation
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, a binary operation ...
s called ''addition'' and ''multiplication'', which obey the same basic laws as
addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
and
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
of integers, except that multiplication in a ring does not need to be
commutative. Ring
elements may be numbers such as integers or
complex numbers, but they may also be non-numerical objects such as
polynomials,
square matrices,
functions, and
power series.
A ''ring'' may be defined as a set that is endowed with two binary operations called ''addition'' and ''multiplication'' such that the ring is an
abelian group with respect to the addition operator, and the multiplication operator is
associative, is
distributive over the addition operation, and has a multiplicative
identity element. (Some authors apply the term ''ring'' to a further generalization, often called a ''
rng'', that omits the requirement for a multiplicative identity, and instead call the structure defined above a ''ring with identity''. See '.)
Whether a ring is
commutative (that is, its multiplication is a
commutative operation) has profound implications on its properties.
Commutative algebra, the theory of commutative rings, is a major branch of
ring theory. Its development has been greatly influenced by problems and ideas of
algebraic number theory
Algebraic number theory is a branch of number theory that uses the techniques of abstract algebra to study the integers, rational numbers, and their generalizations. Number-theoretic questions are expressed in terms of properties of algebraic ob ...
and
algebraic geometry
Algebraic geometry is a branch of mathematics which uses abstract algebraic techniques, mainly from commutative algebra, to solve geometry, geometrical problems. Classically, it studies zero of a function, zeros of multivariate polynomials; th ...
.
Examples of commutative rings include every
field, the integers, the polynomials in one or several variables with coefficients in another ring, the
coordinate ring of an
affine algebraic variety, and the
ring of integers of a number field. Examples of noncommutative rings include the ring of real
square matrices with ,
group rings in
representation theory,
operator algebras in
functional analysis
Functional analysis is a branch of mathematical analysis, the core of which is formed by the study of vector spaces endowed with some kind of limit-related structure (for example, Inner product space#Definition, inner product, Norm (mathematics ...
,
rings of differential operators, and
cohomology rings in
topology.
The conceptualization of rings spanned the 1870s to the 1920s, with key contributions by
Dedekind,
Hilbert,
Fraenkel, and
Noether. Rings were first formalized as a generalization of
Dedekind domains that occur in
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, and of
polynomial rings and rings of invariants that occur in
algebraic geometry
Algebraic geometry is a branch of mathematics which uses abstract algebraic techniques, mainly from commutative algebra, to solve geometry, geometrical problems. Classically, it studies zero of a function, zeros of multivariate polynomials; th ...
and
invariant theory. They later proved useful in other branches of mathematics such as
geometry
Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
and
analysis.
Rings appear in the following chain of
class inclusions:
Definition
A ring is a
set equipped with two binary operations + (addition) and â‹… (multiplication) satisfying the following three sets of axioms, called the ring axioms:
# is an
abelian group under addition, meaning that:
#* for all in (that is, is
associative).
#* for all in (that is, is
commutative).
#* There is an element in such that for all in (that is, is the
additive identity).
#* For each in there exists in such that (that is, is the
additive inverse of ).
# is a
monoid under multiplication, meaning that:
#* for all in (that is, is associative).
#* There is an element in such that and for all in (that is, is the
multiplicative identity).
# Multiplication is
distributive with respect to addition, meaning that:
#* for all in (left distributivity).
#* for all in (right distributivity).
In notation, the multiplication symbol is often omitted, in which case is written as .
Variations on terminology
In the terminology of this article, a ring is defined to have a multiplicative identity, while a structure with the same axiomatic definition but without the requirement for a multiplicative identity is instead called a "
" (IPA: ) with a missing "i". For example, the set of
even integers with the usual + and â‹… is a rng, but not a ring. As explained in ' below, many authors apply the term "ring" without requiring a multiplicative identity.
Although ring addition is
commutative, ring multiplication is not required to be commutative: need not necessarily equal . Rings that also satisfy commutativity for multiplication (such as the ring of integers) are called ''
commutative rings''. Books on commutative algebra or algebraic geometry often adopt the convention that ''ring'' means ''commutative ring'', to simplify terminology.
In a ring, multiplicative inverses are not required to exist. A non
zero commutative ring in which every nonzero element has a
multiplicative inverse is called a
field.
The additive group of a ring is the underlying set equipped with only the operation of addition. Although the definition requires that the additive group be abelian, this can be inferred from the other ring axioms. The proof makes use of the "", and does not work in a rng. (For a rng, omitting the axiom of commutativity of addition leaves it inferable from the remaining rng assumptions only for elements that are products: .)
There are a few authors who use the term "ring" to refer to structures in which there is no requirement for multiplication to be associative. For these authors, every
algebra is a "ring".
Illustration

The most familiar example of a ring is the set of all integers consisting of the
numbers
:
The axioms of a ring were elaborated as a generalization of familiar properties of addition and multiplication of integers.
Some properties
Some basic properties of a ring follow immediately from the axioms:
* The additive identity is unique.
* The additive inverse of each element is unique.
* The multiplicative identity is unique.
* For any element in a ring , one has (zero is an
absorbing element with respect to multiplication) and .
* If in a ring (or more generally, is a unit element), then has only one element, and is called the
zero ring.
* If a ring contains the zero ring as a subring, then itself is the zero ring.
* The
binomial formula holds for any and satisfying .
Example: Integers modulo 4
Equip the set
with the following operations:
* The sum
in is the remainder when the integer is divided by (as is always smaller than , this remainder is either or ). For example,
and
* The product
in is the remainder when the integer is divided by . For example,
and
Then is a ring: each axiom follows from the corresponding axiom for If is an integer, the remainder of when divided by may be considered as an element of and this element is often denoted by "" or
which is consistent with the notation for . The additive inverse of any
in is
For example,
Example: 2-by-2 matrices
The set of 2-by-2
square matrices with entries in a
field is
:
With the operations of matrix addition and
matrix multiplication,
satisfies the above ring axioms. The element
is the multiplicative identity of the ring. If
and
then
while
this example shows that the ring is noncommutative.
More generally, for any ring , commutative or not, and any nonnegative integer , the square matrices with entries in form a ring; see ''
Matrix ring''.
History
Dedekind
The study of rings originated from the theory of
polynomial rings and the theory of
algebraic integers.
In 1871,
Richard Dedekind defined the concept of the ring of integers of a number field. In this context, he introduced the terms "ideal" (inspired by
Ernst Kummer's notion of ideal number) and "module" and studied their properties. Dedekind did not use the term "ring" and did not define the concept of a ring in a general setting.
Hilbert
The term "Zahlring" (number ring) was coined by
David Hilbert in 1892 and published in 1897. In 19th century German, the word "Ring" could mean "association", which is still used today in English in a limited sense (for example, spy ring), so if that were the etymology then it would be similar to the way "group" entered mathematics by being a non-technical word for "collection of related things". According to Harvey Cohn, Hilbert used the term for a ring that had the property of "circling directly back" to an element of itself (in the sense of an
equivalence). Specifically, in a ring of algebraic integers, all high powers of an algebraic integer can be written as an integral combination of a fixed set of lower powers, and thus the powers "cycle back". For instance, if then:
:
and so on; in general, is going to be an integral linear combination of , , and .
Fraenkel and Noether
The first axiomatic definition of a ring was given by
Adolf Fraenkel in 1915, but his axioms were stricter than those in the modern definition. For instance, he required every
non-zero-divisor to have a
multiplicative inverse. In 1921,
Emmy Noether
Amalie Emmy Noether (23 March 1882 – 14 April 1935) was a German mathematician who made many important contributions to abstract algebra. She also proved Noether's theorem, Noether's first and Noether's second theorem, second theorems, which ...
gave a modern axiomatic definition of commutative rings (with and without 1) and developed the foundations of commutative ring theory in her paper ''Idealtheorie in Ringbereichen''.
Multiplicative identity and the term "ring"
Fraenkel applied the term "ring" to structures with axioms that included a multiplicative identity, whereas Noether applied it to structures that did not.
Most or all books on algebra up to around 1960 followed Noether's convention of not requiring a for a "ring". Starting in the 1960s, it became increasingly common to see books including the existence of in the definition of "ring", especially in advanced books by notable authors such as Artin, Bourbaki, Eisenbud, and Lang. There are also books published as late as 2022 that use the term without the requirement for a . Likewise, the
Encyclopedia of Mathematics does not require unit elements in rings. In a research article, the authors often specify which definition of ring they use in the beginning of that article.
Gardner and Wiegandt assert that, when dealing with several objects in the category of rings (as opposed to working with a fixed ring), if one requires all rings to have a , then some consequences include the lack of existence of infinite direct sums of rings, and that proper direct summands of rings are not subrings. They conclude that "in many, maybe most, branches of ring theory the requirement of the existence of a unity element is not sensible, and therefore unacceptable."
Poonen makes the counterargument that the natural notion for rings would be the
direct product rather than the direct sum. However, his main argument is that rings without a multiplicative identity are not totally associative, in the sense that they do not contain the product of any finite sequence of ring elements, including the empty sequence.
Authors who follow either convention for the use of the term "ring" may use one of the following terms to refer to objects satisfying the other convention:
* to include a requirement for a multiplicative identity: "unital ring", "unitary ring", "unit ring", "ring with unity", "ring with identity", "ring with a unit", or "ring with 1".
* to omit a requirement for a multiplicative identity: "rng" or "pseudo-ring", although the latter may be confusing because it also has other meanings.
Basic examples
Commutative rings
* The prototypical example is the ring of integers with the two operations of addition and multiplication.
* The rational, real and complex numbers are commutative rings of a type called
fields.
* A unital associative
algebra over a commutative ring is itself a ring as well as an
-module. Some examples:
** The algebra of
polynomials with coefficients in .
** The algebra
of
formal power series with coefficients in .
** The set of all
continuous real-valued
functions defined on the real line forms a commutative -algebra. The operations are
pointwise addition and multiplication of functions.
** Let be a set, and let be a ring. Then the set of all functions from to forms a ring, which is commutative if is commutative.
* The ring of
quadratic integers, the integral closure of in a quadratic extension of It is a subring of the ring of all
algebraic integers.
* The ring of
profinite integers the (infinite) product of the rings of -adic integers over all prime numbers .
* The
Hecke ring, the ring generated by Hecke operators.
* If is a set, then the
power set of becomes a ring if we define addition to be the
symmetric difference of sets and multiplication to be
intersection. This is an example of a
Boolean ring.
Noncommutative rings
* For any ring and any natural number , the set of all square -by-
matrices with entries from , forms a ring with matrix addition and matrix multiplication as operations. For , this matrix ring is isomorphic to itself. For (and not the zero ring), this matrix ring is noncommutative.
* If is an
abelian group, then the
endomorphisms of form a ring, the
endomorphism ring of . The operations in this ring are addition and composition of endomorphisms. More generally, if is a
left module over a ring , then the set of all -linear maps forms a ring, also called the endomorphism ring and denoted by .
*The
endomorphism ring of an elliptic curve. It is a commutative ring if the elliptic curve is defined over a field of characteristic zero.
* If is a
group and is a ring, the
group ring of over is a
free module over having as basis. Multiplication is defined by the rules that the elements of commute with the elements of and multiply together as they do in the group .
* The
ring of differential operators (depending on the context). In fact, many rings that appear in analysis are noncommutative. For example, most
Banach algebras are noncommutative.
Non-rings
* The set of
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s with the usual operations is not a ring, since is not even a
group (not all the elements are
invertible with respect to addition – for instance, there is no natural number which can be added to to get as a result). There is a natural way to enlarge it to a ring, by including negative numbers to produce the ring of integers The natural numbers (including ) form an algebraic structure known as a
semiring (which has all of the axioms of a ring excluding that of an additive inverse).
* Let be the set of all continuous functions on the real line that vanish outside a bounded interval that depends on the function, with addition as usual but with multiplication defined as
convolution:
Then is a rng, but not a ring: the
Dirac delta function has the property of a multiplicative identity, but it is not a function and hence is not an element of .
Basic concepts
Products and powers
For each nonnegative integer , given a sequence of elements of , one can define the product recursively: let and let for .
As a special case, one can define nonnegative integer powers of an element of a ring: and for . Then for all .
Elements in a ring
A left
zero divisor of a ring is an element in the ring such that there exists a nonzero element of such that . A right zero divisor is defined similarly.
A
nilpotent element is an element such that for some . One example of a nilpotent element is a
nilpotent matrix. A nilpotent element in a
nonzero ring is necessarily a zero divisor.
An
idempotent is an element such that . One example of an idempotent element is a
projection in linear algebra.
A
unit is an element having a
multiplicative inverse; in this case the inverse is unique, and is denoted by . The set of units of a ring is a
group under ring multiplication; this group is denoted by or or . For example, if is the ring of all square matrices of size over a field, then consists of the set of all invertible matrices of size , and is called the
general linear group
In mathematics, the general linear group of degree n is the set of n\times n invertible matrices, together with the operation of ordinary matrix multiplication. This forms a group, because the product of two invertible matrices is again inve ...
.
Subring
A subset of is called a
subring if any one of the following equivalent conditions holds:
* the addition and multiplication of
restrict to give operations making a ring with the same multiplicative identity as .
* ; and for all in , the elements , , and are in .
* can be equipped with operations making it a ring such that the inclusion map is a ring homomorphism.
For example, the ring of integers is a subring of the
field of real numbers and also a subring of the ring of
polynomials (in both cases, contains 1, which is the multiplicative identity of the larger rings). On the other hand, the subset of even integers does not contain the identity element and thus does not qualify as a subring of one could call a
subrng, however.
An intersection of subrings is a subring. Given a subset of , the smallest subring of containing is the intersection of all subrings of containing , and it is called ''the subring generated by ''.
For a ring , the smallest subring of is called the ''characteristic subring'' of . It can be generated through addition of copies of and . It is possible that ( times) can be zero. If is the smallest positive integer such that this occurs, then is called the ''
characteristic'' of . In some rings, is never zero for any positive integer , and those rings are said to have ''characteristic zero''.
Given a ring , let denote the set of all elements in such that commutes with every element in : for any in . Then is a subring of , called the
center of . More generally, given a subset of , let be the set of all elements in that commute with every element in . Then is a subring of , called the
centralizer (or commutant) of . The center is the centralizer of the entire ring . Elements or subsets of the center are said to be ''central'' in ; they (each individually) generate a subring of the center.
Ideal
Let be a ring. A left ideal of is a nonempty subset of such that for any in and in , the elements and are in . If denotes the -span of , that is, the set of finite sums
:
then is a left ideal if . Similarly, a right ideal is a subset such that . A subset is said to be a two-sided ideal or simply ideal if it is both a left ideal and right ideal. A one-sided or two-sided ideal is then an additive subgroup of . If is a subset of , then is a left ideal, called the left ideal generated by ; it is the smallest left ideal containing . Similarly, one can consider the right ideal or the two-sided ideal generated by a subset of .
If is in , then and are left ideals and right ideals, respectively; they are called the
principal left ideals and right ideals generated by . The principal ideal is written as . For example, the set of all positive and negative multiples of along with form an ideal of the integers, and this ideal is generated by the integer . In fact, every ideal of the ring of integers is principal.
Like a group, a ring is said to be
simple if it is nonzero and it has no proper nonzero two-sided ideals. A commutative simple ring is precisely a field.
Rings are often studied with special conditions set upon their ideals. For example, a ring in which there is no strictly increasing infinite
chain of left ideals is called a left
Noetherian ring. A ring in which there is no strictly decreasing infinite chain of left ideals is called a left
Artinian ring. It is a somewhat surprising fact that a left Artinian ring is left Noetherian (the
Hopkins–Levitzki theorem). The integers, however, form a Noetherian ring which is not Artinian.
For commutative rings, the ideals generalize the classical notion of divisibility and decomposition of an integer into prime numbers in algebra. A proper ideal of is called a
prime ideal if for any elements
we have that
implies either
or
Equivalently, is prime if for any ideals , we have that implies either or . This latter formulation illustrates the idea of ideals as generalizations of elements.
Homomorphism
A
homomorphism from a ring to a ring is a function from to that preserves the ring operations; namely, such that, for all , in the following identities hold:
:
If one is working with , then the third condition is dropped.
A ring homomorphism is said to be an
isomorphism if there exists an inverse homomorphism to (that is, a ring homomorphism that is an
inverse function), or equivalently if it is
bijective.
Examples:
* The function that maps each integer to its remainder modulo (a number in ) is a homomorphism from the ring to the quotient ring ("quotient ring" is defined below).
* If is a unit element in a ring , then
is a ring homomorphism, called an
inner automorphism of .
* Let be a commutative ring of prime characteristic . Then is a ring endomorphism of called the
Frobenius homomorphism.
* The
Galois group of a field extension is the set of all automorphisms of whose restrictions to are the identity.
* For any ring , there are a unique ring homomorphism and a unique ring homomorphism .
* An
epimorphism (that is, right-cancelable morphism) of rings need not be surjective. For example, the unique map is an epimorphism.
* An algebra homomorphism from a -algebra to the
endomorphism algebra of a vector space over is called a
representation of the algebra.
Given a ring homomorphism , the set of all elements mapped to 0 by is called the
kernel of . The kernel is a two-sided ideal of . The image of , on the other hand, is not always an ideal, but it is always a subring of .
To give a ring homomorphism from a commutative ring to a ring with image contained in the center of is the same as to give a structure of an
algebra over to (which in particular gives a structure of an -module).
Quotient ring
The notion of
quotient ring is analogous to the notion of a
quotient group. Given a ring and a two-sided
ideal of , view as subgroup of ; then the quotient ring is the set of
cosets of together with the operations
:
for all in . The ring is also called a factor ring.
As with a quotient group, there is a canonical homomorphism , given by . It is surjective and satisfies the following universal property:
* If is a ring homomorphism such that , then there is a unique homomorphism
such that
For any ring homomorphism , invoking the universal property with produces a homomorphism
that gives an isomorphism from to the image of .
Modules
The concept of a ''module over a ring'' generalizes the concept of a
vector space (over a
field) by generalizing from multiplication of vectors with elements of a field (
scalar multiplication) to multiplication with elements of a ring. More precisely, given a ring , an -module is an
abelian group equipped with an
operation (associating an element of to every pair of an element of and an element of ) that satisfies certain
axioms. This operation is commonly denoted by juxtaposition and called multiplication. The axioms of modules are the following: for all , in and all , in ,
: is an abelian group under addition.
:
When the ring is
noncommutative these axioms define ''left modules''; ''right modules'' are defined similarly by writing instead of . This is not only a change of notation, as the last axiom of right modules (that is ) becomes , if left multiplication (by ring elements) is used for a right module.
Basic examples of modules are ideals, including the ring itself.
Although similarly defined, the theory of modules is much more complicated than that of vector space, mainly, because, unlike vector spaces, modules are not characterized (up to an isomorphism) by a single invariant (the
dimension of a vector space). In particular, not all modules have a
basis.
The axioms of modules imply that , where the first minus denotes the
additive inverse in the ring and the second minus the additive inverse in the module. Using this and denoting repeated addition by a multiplication by a positive integer allows identifying abelian groups with modules over the ring of integers.
Any ring homomorphism induces a structure of a module: if is a ring homomorphism, then is a left module over by the multiplication: . If is commutative or if is contained in the
center of , the ring is called a -
algebra. In particular, every ring is an algebra over the integers.
Constructions
Direct product
Let and be rings. Then the
product can be equipped with the following natural ring structure:
:
for all in and in . The ring with the above operations of addition and multiplication and the multiplicative identity is called the
direct product of with . The same construction also works for an arbitrary family of rings: if are rings indexed by a set , then
is a ring with componentwise addition and multiplication.
Let be a commutative ring and
be ideals such that
whenever . Then the
Chinese remainder theorem says there is a canonical ring isomorphism:
A "finite" direct product may also be viewed as a direct sum of ideals. Namely, let
be rings,
the inclusions with the images
(in particular
are rings though not subrings). Then
are ideals of and
as a direct sum of abelian groups (because for abelian groups finite products are the same as direct sums). Clearly the direct sum of such ideals also defines a product of rings that is isomorphic to . Equivalently, the above can be done through
central idempotents. Assume that has the above decomposition. Then we can write
By the conditions on
one has that are central idempotents and , (orthogonal). Again, one can reverse the construction. Namely, if one is given a partition of 1 in orthogonal central idempotents, then let
which are two-sided ideals. If each is not a sum of orthogonal central idempotents, then their direct sum is isomorphic to .
An important application of an infinite direct product is the construction of a
projective limit of rings (see below). Another application is a
restricted product of a family of rings (cf.
adele ring).
Polynomial ring
Given a symbol (called a variable) and a commutative ring , the set of polynomials
:
forms a commutative ring with the usual addition and multiplication, containing as a subring. It is called the
polynomial ring over . More generally, the set