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. History. 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. 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. 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. Definitions. Given a ring , a left ideal is a subset of that is a subgroup of the additive group of formula_1 that "absorbs multiplication from the left by elements of "; that is, formula_2 is a left ideal if it satisfies the following two conditions: In other words, a left ideal is a left submodule of , considered as a left module over itself. A right ideal is defined similarly, with the condition formula_6 replaced by . A two-sided ideal is a left ideal that is also a right ideal. If the ring is commutative, the three definitions are the same, and one talks simply of an ideal. In the non-commutative case, "ideal" is often used instead of "two-sided ideal". If is a left, right or two-sided ideal, the relation formula_7 if and only if formula_8 is an equivalence relation on , and the set of equivalence classes forms a left, right or bi module denoted formula_9 and called the "quotient" of by . (It is an instance of a congruence relation and is a generalization of modular arithmetic.) If the ideal is two-sided, formula_9 is a ring, and the function formula_11 that associates to each element of its equivalence class is a surjective ring homomorphism that has the ideal as its kernel. Conversely, the kernel of a ring homomorphism is a two-sided ideal. Therefore, "the two-sided ideals are exactly the kernels of ring homomorphisms." Notes on convention. By convention, a ring has the multiplicative identity. But some authors do not require a ring to have the multiplicative identity; i.e., for them, a ring is a rng. For a rng , a left ideal is a with the additional property that formula_12 is in for every formula_4 and every formula_14. (Right and two-sided ideals are defined similarly.) For a ring, an ideal (say a left ideal) is rarely a subring; since a subring shares the same multiplicative identity with the ambient ring , if were a subring, for every formula_4, we have formula_16 i.e., formula_17. The notion of an ideal does not involve associativity; thus, an ideal is also defined for non-associative rings (often without the multiplicative identity) such as a Lie algebra. Traditionally, ideals are denoted using Fraktur lower-case letters, generally the first few letters (formula_18, etc.) for generic ideals, formula_19 for maximal ideals, and formula_20 (and sometimes formula_21) for prime ideals. In modern texts, capital letters, like formula_2 or formula_23 (or formula_24 and formula_25 for maximal and prime ideals, respectively) are also commonly used. Types of ideals. "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. Two other important terms using "ideal" are not always ideals of their ring. See their respective articles for details: Ideal operations. The sum and product of ideals are defined as follows. For formula_28 and , left (resp. right) ideals of a ring "R", their sum is formula_126, which is a left (resp. right) ideal, and, if formula_76 are two-sided, formula_128 i.e. the product is the ideal generated by all products of the form "ab" with "a" in formula_28 and "b" in . Note formula_130 is the smallest left (resp. right) ideal containing both formula_28 and formula_79 (or the union ), while the product formula_133 is contained in the intersection of formula_28 and . The distributive law holds for two-sided ideals , If a product is replaced by an intersection, a partial distributive law holds: formula_135 where the equality holds if formula_28 contains formula_79 or formula_138. 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 formula_76 are ideals of a commutative ring "R", then formula_140 in the following two cases (at least) An integral domain is called a Dedekind domain if for each pair of ideals formula_143, there is an ideal formula_138 such that . 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. Examples of ideal operations. In formula_40 we have formula_146 since formula_147 is the set of integers that are divisible by both formula_41 and . Let formula_149 and let . Then, 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. 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 formula_156 of "R" is the intersection of all primitive ideals. Equivalently, formula_157 Indeed, if formula_24 is a simple module and "x" is a nonzero element in "M", then formula_159 and formula_160, meaning formula_161 is a maximal ideal. Conversely, if formula_19 is a maximal ideal, then formula_19 is the annihilator of the simple "R"-module . There is also another characterization (the proof is not hard): formula_164 For a not-necessarily-commutative ring, it is a general fact that formula_165 is a unit element if and only if formula_166 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 , formula_167 and so , a contradiction. Since a nonzero finitely generated module admits a maximal submodule, in particular, one has: If formula_168 and "M" is finitely generated, then . A maximal ideal is a prime ideal and so one has formula_169 where the intersection on the left is called the nilradical of "R". As it turns out, formula_170 is also the set of nilpotent elements of "R". If "R" is an Artinian ring, then formula_171 is nilpotent and . (Proof: first note the DCC implies formula_172 for some "n". If (DCC) formula_173 is an ideal properly minimal over the latter, then formula_174. That is, , a contradiction.) Extension and contraction of an ideal. Let "A" and "B" be two commutative rings, and let "f" : "A" → "B" be a ring homomorphism. If formula_28 is an ideal in "A", then formula_176 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 formula_177 of formula_28 in "B" is defined to be the ideal in "B" generated by . Explicitly, formula_179 If formula_79 is an ideal of "B", then formula_181 is always an ideal of "A", called the contraction formula_182 of formula_79 to "A". Assuming "f" : "A" → "B" is a ring homomorphism, formula_28 is an ideal in "A", formula_79 is an ideal in "B", then: It is false, in general, that formula_28 being prime (or maximal) in "A" implies that formula_177 is prime (or maximal) in "B". Many classic examples of this stem from algebraic number theory. For example, embedding . In formula_193, the element 2 factors as formula_194 where (one can show) neither of formula_195 are units in "B". So formula_196 is not prime in "B" (and therefore not maximal, as well). Indeed, formula_197 shows that , , and therefore . On the other hand, if "f" is surjective and formula_198 then: 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 formula_206 of "A" under extension is one of the central problems of algebraic number theory. The following is sometimes useful: a prime ideal formula_20 is a contraction of a prime ideal if and only if . (Proof: Assuming the latter, note formula_208 intersects , a contradiction. Now, the prime ideals of formula_209 correspond to those in "B" that are disjoint from . Hence, there is a prime ideal formula_21 of "B", disjoint from , such that formula_211 is a maximal ideal containing . One then checks that formula_21 lies over . The converse is obvious.) Generalizations. Ideals can be generalized to any monoid object , where formula_1 is the object where the monoid structure has been forgotten. A left ideal of formula_1 is a subobject formula_2 that "absorbs multiplication from the left by elements of "; that is, formula_2 is a left ideal if it satisfies the following two conditions: 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 formula_1 is a commutative monoid object respectively, the definitions of left, right, and two-sided ideal coincide, and the term ideal is used alone.