This article reads like a textbook. Please improve this article to make it neutral in tone and meet Wikipedia's quality standards. (March 2023)

Algebraic structure → Ring theory Ring theory |
---|

In mathematics, and more specifically in ring theory, an **ideal** of a ring is a special subset of its elements. Ideals generalize certain subsets of the integers, such as the even numbers or the multiples of 3. Addition and subtraction of even numbers preserves evenness, and multiplying an even number by any integer (even or odd) results in an even number; these closure and absorption properties are the defining properties of an ideal. An ideal can be used to construct a quotient ring in a way similar to how, in group theory, a normal subgroup can be used to construct a quotient group.

Among the integers, the ideals correspond one-for-one with the non-negative integers: in this ring, every ideal is a principal ideal consisting of the multiples of a single non-negative number. However, in other rings, the ideals may not correspond directly to the ring elements, and certain properties of integers, when generalized to rings, attach more naturally to the ideals than to the elements of the ring. For instance, the prime ideals of a ring are analogous to prime numbers, and the Chinese remainder theorem can be generalized to ideals. There is a version of unique prime factorization for the ideals of a Dedekind domain (a type of ring important in number theory).

The related, but distinct, concept of an ideal in order theory is derived from the notion of ideal in ring theory. A fractional ideal is a generalization of an ideal, and the usual ideals are sometimes called **integral ideals** for clarity.

Ernst Kummer invented the concept of ideal numbers to serve as the "missing" factors in number rings in which unique factorization fails; here the word "ideal" is in the sense of existing in imagination only, in analogy with "ideal" objects in geometry such as points at infinity.^{[1]}
In 1876, Richard Dedekind replaced Kummer's undefined concept by concrete sets of numbers, sets that he called ideals, in the third edition of Dirichlet's book *Vorlesungen über Zahlentheorie*, to which Dedekind had added many supplements.^{[1]}^{[2]}^{[3]}
Later the notion was extended beyond number rings to the setting of polynomial rings and other commutative rings by David Hilbert and especially Emmy Noether.

For an arbitrary ring , let be its additive group. A subset I is called a **left ideal** of if it is an additive subgroup of that "absorbs multiplication from the left by elements of "; that is, is a left ideal if it satisfies the following two conditions:

- is a subgroup of
- For every and every , the product is in .

A **right ideal** is defined with the condition replaced by . A **two-sided ideal** is a left ideal that is also a right ideal, and is sometimes simply called an ideal. In the language of modules, the definitions mean that a left (resp. right, two-sided) ideal of is an -submodule of when is viewed as a left (resp. right, bi-) -module. When is a commutative ring, the definitions of left, right, and two-sided ideal coincide, and the term **ideal** is used alone.

To understand the concept of an ideal, consider how ideals arise in the construction of rings of "elements modulo". For concreteness, let us look at the ring of integers modulo given an integer ( is a commutative ring). The key observation here is that we obtain by taking the integer line and wrapping it around itself so that various integers get identified. In doing so, we must satisfy 2 requirements:

1) must be identified with 0 since is congruent to 0 modulo .

2) the resulting structure must again be a ring.

The second requirement forces us to make additional identifications (i.e., it determines the precise way in which we must wrap around itself). The notion of an ideal arises when we ask the question:

What is the exact set of integers that we are forced to identify with 0?

The answer is, unsurprisingly, the set of all integers congruent to 0 modulo . That is, we must wrap around itself infinitely many times so that the integers will all align with 0. If we look at what properties this set must satisfy in order to ensure that is a ring, then we arrive at the definition of an ideal. Indeed, one can directly verify that is an ideal of .

**Remark.** Identifications with elements other than 0 also need to be made. For example, the elements in must be identified with 1, the elements in must be identified with 2, and so on. Those, however, are uniquely determined by since is an additive group.

We can make a similar construction in any commutative ring : start with an arbitrary , and then identify with 0 all elements of the ideal . It turns out that the ideal is the smallest ideal that contains , called the ideal **generated** by . More generally, we can start with an arbitrary subset , and then identify with 0 all the elements in the ideal generated by : the smallest ideal such that . The ring that we obtain after the identification depends only on the ideal and not on the set that we started with. That is, if , then the resulting rings will be the same.

Therefore, an ideal of a commutative ring captures canonically the information needed to obtain the ring of elements of modulo a given subset . The elements of , by definition, are those that are congruent to zero, that is, identified with zero in the resulting ring. The resulting ring is called the **quotient** of by and is denoted . Intuitively, the definition of an ideal postulates two natural conditions necessary for to contain all elements designated as "zeros" by :

- is an additive subgroup of : the zero 0 of is a "zero" , and if and are "zeros", then is a "zero" too.
- Any multiplied by a "zero" is a "zero" .

It turns out that the above conditions are also sufficient for to contain all the necessary "zeros": no other elements have to be designated as "zero" in order to form . (In fact, no other elements should be designated as "zero" if we want to make the fewest identifications.)

**Remark.** The above construction still works using two-sided ideals even if is not necessarily commutative.

(For the sake of brevity, some results are stated only for left ideals but are usually also true for right ideals with appropriate notation changes.)

- In a ring
*R*, the set*R*itself forms a two-sided ideal of*R*called the**unit ideal**. It is often also denoted by since it is precisely the two-sided ideal generated (see below) by the unity . Also, the set consisting of only the additive identity 0_{R}forms a two-sided ideal called the**zero ideal**and is denoted by .^{[note 1]}Every (left, right or two-sided) ideal contains the zero ideal and is contained in the unit ideal.^{[4]} - An (left, right or two-sided) ideal that is not the unit ideal is called a
**proper ideal**(as it is a proper subset).^{[5]}Note: a left ideal is proper if and only if it does not contain a unit element, since if is a unit element, then for every . Typically there are plenty of proper ideals. In fact, if*R*is a skew-field, then are its only ideals and conversely: that is, a nonzero ring*R*is a skew-field if are the only left (or right) ideals. (Proof: if is a nonzero element, then the principal left ideal (see below) is nonzero and thus ; i.e., for some nonzero . Likewise, for some nonzero . Then .) - The even integers form an ideal in the ring of all integers, since the sum of any two even integers is even, and the product of any integer with an even integer is also even; this ideal is usually denoted by . More generally, the set of all integers divisible by a fixed integer is an ideal denoted . In fact, every non-zero ideal of the ring is generated by its smallest positive element, as a consequence of Euclidean division, so is a principal ideal domain.
^{[4]} - The set of all polynomials with real coefficients which are divisible by the polynomial is an ideal in the ring of all real-coefficient polynomials .
- Take a ring and positive integer . For each , the set of all matrices with entries in whose -th row is zero is a right ideal in the ring of all matrices with entries in . It is not a left ideal. Similarly, for each , the set of all matrices whose -th
*column*is zero is a left ideal but not a right ideal. - The ring of all continuous functions from to under pointwise multiplication contains the ideal of all continuous functions such that .
^{[6]}Another ideal in is given by those functions which vanish for large enough arguments, i.e. those continuous functions for which there exists a number such that whenever . - A ring is called a simple ring if it is nonzero and has no two-sided ideals other than . Thus, a skew-field is simple and a simple commutative ring is a field. The matrix ring over a skew-field is a simple ring.
- If is a ring homomorphism, then the kernel is a two-sided ideal of .
^{[4]}By definition, , and thus if is not the zero ring (so ), then is a proper ideal. More generally, for each left ideal*I*of*S*, the pre-image is a left ideal. If*I*is a left ideal of*R*, then is a left ideal of the subring of*S*: unless*f*is surjective, need not be an ideal of*S*; see also #Extension and contraction of an ideal below. **Ideal correspondence**: Given a surjective ring homomorphism , there is a bijective order-preserving correspondence between the left (resp. right, two-sided) ideals of containing the kernel of and the left (resp. right, two-sided) ideals of : the correspondence is given by and the pre-image . Moreover, for commutative rings, this bijective correspondence restricts to prime ideals, maximal ideals, and radical ideals (see the Types of ideals section for the definitions of these ideals).- (For those who know modules) If
*M*is a left*R*-module and a subset, then the annihilator of*S*is a left ideal. Given ideals of a commutative ring*R*, the*R*-annihilator of is an ideal of*R*called the ideal quotient of by and is denoted by ; it is an instance of idealizer in commutative algebra. - Let be an
**ascending chain of left ideals**in a ring*R*; i.e., is a totally ordered set and for each . Then the union is a left ideal of*R*. (Note: this fact remains true even if*R*is without the unity 1.) - The above fact together with Zorn's lemma proves the following: if is a possibly empty subset and is a left ideal that is disjoint from
*E*, then there is an ideal that is maximal among the ideals containing and disjoint from*E*. (Again this is still valid if the ring*R*lacks the unity 1.) When , taking and , in particular, there exists a left ideal that is maximal among proper left ideals (often simply called a maximal left ideal); see Krull's theorem for more. - An arbitrary union of ideals need not be an ideal, but the following is still true: given a possibly empty subset
*X*of*R*, there is the smallest left ideal containing*X*, called the left ideal generated by*X*and is denoted by . Such an ideal exists since it is the intersection of all left ideals containing*X*. Equivalently, is the set of all the (finite) left*R*-linear combinations of elements of*X*over*R*:

- (since such a span is the smallest left ideal containing
*X*.)^{[note 2]}A right (resp. two-sided) ideal generated by*X*is defined in the similar way. For "two-sided", one has to use linear combinations from both sides; i.e.,

- A left (resp. right, two-sided) ideal generated by a single element
*x*is called the principal left (resp. right, two-sided) ideal generated by*x*and is denoted by (resp. ). The principal two-sided ideal is often also denoted by . If is a finite set, then is also written as . - There is a bijective correspondence between ideals and congruence relations (equivalence relations that respect the ring structure) on the ring: Given an ideal of a ring , let if . Then is a congruence relation on . Conversely, given a congruence relation on , let . Then is an ideal of .

*To simplify the description all rings are assumed to be commutative. The non-commutative case is discussed in detail in the respective articles.*

Ideals are important because they appear as kernels of ring homomorphisms and allow one to define factor rings. Different types of ideals are studied because they can be used to construct different types of factor rings.

**Maximal ideal**: A proper ideal I is called a**maximal ideal**if there exists no other proper ideal*J*with I a proper subset of*J*. The factor ring of a maximal ideal is a simple ring in general and is a field for commutative rings.^{[7]}**Minimal ideal**: A nonzero ideal is called minimal if it contains no other nonzero ideal.**Prime ideal**: A proper ideal is called a**prime ideal**if for any and in , if is in , then at least one of and is in . The factor ring of a prime ideal is a prime ring in general and is an integral domain for commutative rings.^{[8]}**Radical ideal**or semiprime ideal: A proper ideal I is called**radical**or**semiprime**if for any*a*in*R*, if*a*^{n}is in I for some*n*, then*a*is in I. The factor ring of a radical ideal is a semiprime ring for general rings, and is a reduced ring for commutative rings.**Primary ideal**: An ideal I is called a**primary ideal**if for all*a*and*b*in*R*, if*ab*is in I, then at least one of*a*and*b*^{n}is in I for some natural number*n*. Every prime ideal is primary, but not conversely. A semiprime primary ideal is prime.**Principal ideal**: An ideal generated by*one*element.^{[9]}**Finitely generated ideal**: This type of ideal is finitely generated as a module.**Primitive ideal**: A left primitive ideal is the annihilator of a simple left module.**Irreducible ideal**: An ideal is said to be irreducible if it cannot be written as an intersection of ideals which properly contain it.**Comaximal ideals**: Two ideals I, J are said to be**comaximal**if for some and .**Regular ideal**: This term has multiple uses. See the article for a list.**Nil ideal**: An ideal is a nil ideal if each of its elements is nilpotent.**Nilpotent ideal**: Some power of it is zero.**Parameter ideal**: an ideal generated by a system of parameters.**Perfect ideal**: A proper ideal I in a Noetherian ring is called a**perfect ideal**if its grade equals the projective dimension of the associated quotient ring,^{[10]}. A perfect ideal is unmixed.**Unmixed ideal**: A proper ideal I in a Noetherian ring is called an**unmixed ideal**(in height) if the height of*I*is equal to the height of every associated prime*P*of*R*/*I*. (This is stronger than saying that*R*/*I*is equidimensional. See also equidimensional ring.

Two other important terms using "ideal" are not always ideals of their ring. See their respective articles for details:

**Fractional ideal**: This is usually defined when*R*is a commutative domain with quotient field*K*. Despite their names, fractional ideals are*R*submodules of*K*with a special property. If the fractional ideal is contained entirely in*R*, then it is truly an ideal of*R*.**Invertible ideal**: Usually an invertible ideal*A*is defined as a fractional ideal for which there is another fractional ideal*B*such that*AB*=*BA*=*R*. Some authors may also apply "invertible ideal" to ordinary ring ideals*A*and*B*with*AB*=*BA*=*R*in rings other than domains.

The sum and product of ideals are defined as follows. For and , left (resp. right) ideals of a ring *R*, their sum is

- ,

which is a left (resp. right) ideal, and, if are two-sided,

i.e. the product is the ideal generated by all products of the form *ab* with *a* in and *b* in .

Note is the smallest left (resp. right) ideal containing both and (or the union ), while the product is contained in the intersection of and .

The distributive law holds for two-sided ideals ,

- ,
- .

If a product is replaced by an intersection, a partial distributive law holds:

where the equality holds if contains or .

**Remark**: The sum and the intersection of ideals is again an ideal; with these two operations as join and meet, the set of all ideals of a given ring forms a complete modular lattice. The lattice is not, in general, a distributive lattice. The three operations of intersection, sum (or join), and product make the set of ideals of a commutative ring into a quantale.

If are ideals of a commutative ring *R*, then in the following two cases (at least)

- is generated by elements that form a regular sequence modulo .

(More generally, the difference between a product and an intersection of ideals is measured by the Tor functor: ^{[11]})

An integral domain is called a Dedekind domain if for each pair of ideals , there is an ideal such that .^{[12]} It can then be shown that every nonzero ideal of a Dedekind domain can be uniquely written as a product of maximal ideals, a generalization of the fundamental theorem of arithmetic.

In we have

since is the set of integers which are divisible by both and .

Let and let . Then,

- and
- while

In the first computation, we see the general pattern for taking the sum of two finitely generated ideals, it is the ideal generated by the union of their generators. In the last three we observe that products and intersections agree whenever the two ideals intersect in the zero ideal. These computations can be checked using Macaulay2.^{[13]}^{[14]}^{[15]}

Main article: Radical of a ring |

Ideals appear naturally in the study of modules, especially in the form of a radical.

*For simplicity, we work with commutative rings but, with some changes, the results are also true for non-commutative rings.*

Let *R* be a commutative ring. By definition, a primitive ideal of *R* is the annihilator of a (nonzero) simple *R*-module. The Jacobson radical of *R* is the intersection of all primitive ideals. Equivalently,

Indeed, if is a simple module and *x* is a nonzero element in *M*, then and , meaning is a maximal ideal. Conversely, if is a maximal ideal, then is the annihilator of the simple *R*-module . There is also another characterization (the proof is not hard):

For a not-necessarily-commutative ring, it is a general fact that is a unit element if and only if is (see the link) and so this last characterization shows that the radical can be defined both in terms of left and right primitive ideals.

The following simple but important fact (Nakayama's lemma) is built-in to the definition of a Jacobson radical: if *M* is a module such that , then *M* does not admit a maximal submodule, since if there is a maximal submodule , and so , a contradiction. Since a nonzero finitely generated module admits a maximal submodule, in particular, one has:

- If and
*M*is finitely generated, then

A maximal ideal is a prime ideal and so one has

where the intersection on the left is called the nilradical of *R*. As it turns out, is also the set of nilpotent elements of *R*.

If *R* is an Artinian ring, then is nilpotent and . (Proof: first note the DCC implies for some *n*. If (DCC) is an ideal properly minimal over the latter, then . That is, , a contradiction.)

Let *A* and *B* be two commutative rings, and let *f* : *A* → *B* be a ring homomorphism. If is an ideal in *A*, then need not be an ideal in *B* (e.g. take *f* to be the inclusion of the ring of integers **Z** into the field of rationals **Q**). The **extension** of in *B* is defined to be the ideal in *B* generated by . Explicitly,

If is an ideal of *B*, then is always an ideal of *A*, called the **contraction** of to *A*.

Assuming *f* : *A* → *B* is a ring homomorphism, is an ideal in *A*, is an ideal in *B*, then:

- is prime in
*B*is prime in*A*.

It is false, in general, that being prime (or maximal) in *A* implies that is prime (or maximal) in *B*. Many classic examples of this stem from algebraic number theory. For example, embedding . In , the element 2 factors as where (one can show) neither of are units in *B*. So is not prime in *B* (and therefore not maximal, as well). Indeed, shows that , , and therefore .

On the other hand, if *f* is surjective and then:

- and .
- is a prime ideal in
*A*is a prime ideal in*B*. - is a maximal ideal in
*A*is a maximal ideal in*B*.

**Remark**: Let *K* be a field extension of *L*, and let *B* and *A* be the rings of integers of *K* and *L*, respectively. Then *B* is an integral extension of *A*, and we let *f* be the inclusion map from *A* to *B*. The behaviour of a prime ideal of *A* under extension is one of the central problems of algebraic number theory.

The following is sometimes useful:^{[16]} a prime ideal is a contraction of a prime ideal if and only if . (Proof: Assuming the latter, note intersects , a contradiction. Now, the prime ideals of correspond to those in *B* that are disjoint from . Hence, there is a prime ideal of *B*, disjoint from , such that is a maximal ideal containing . One then checks that lies over . The converse is obvious.)

Ideals can be generalized to any monoid object , where is the object where the monoid structure has been forgotten. A **left ideal** of is a subobject that "absorbs multiplication from the left by elements of "; that is, is a **left ideal** if it satisfies the following two conditions:

- is a subobject of
- For every and every , the product is in .

A **right ideal** is defined with the condition "" replaced by "'". A **two-sided ideal** is a left ideal that is also a right ideal, and is sometimes simply called an ideal. When is a commutative monoid object respectively, the definitions of left, right, and two-sided ideal coincide, and the term **ideal** is used alone.

An ideal can also be thought of as a specific type of *R*-module. If we consider as a left -module (by left multiplication), then a left ideal is really just a left sub-module of . In other words, is a left (right) ideal of if and only if it is a left (right) -module which is a subset of . is a two-sided ideal if it is a sub--bimodule of .

Example: If we let , an ideal of is an abelian group which is a subset of , i.e. for some . So these give all the ideals of .