Prerequisites: Basic Concepts of Abstract Algebra and Group Theory
Introduction
Ring theory studies rings of many kinds.
The ring-theoretic topics covered in this article are inseparable from the theory of divisibility in number theory. First, analogous to normal subgroups in group theory, we introduce the kernel of a ring homomorphism, called an ideal of a ring; this is in fact a generalization of the notion of numbers from number theory to general rings. Then, by extending the notions of primes, the Euclidean algorithm, and prime factorization from the ring of integers to general rings, we obtain different types of integral domains.
Many conclusions from number theory still hold in other common rings. In one sense, part of the work of ring theory is to ask whether these number-theoretic conclusions continue to hold in general rings; if not, what restrictions must be imposed on a ring to make them hold.
Notation
When there is no risk of ambiguity, this article may omit the multiplication symbol for a ring and write the ring simply as the ring . In the ring , the additive identity is also called the zero element and denoted by ; the multiplicative identity is also called the unit element and denoted by .
The Definition of a Ring Here Does Not Require a Unit
Note that the definition of a ring in this article does not require a unit. Some texts require rings to have a unit, in which case the statements of some conclusions here need slight adjustment. For example, ideals here can be defined in terms of subrings, whereas other texts may need to define them in terms of additive subgroups.
Ideals
As in the case of groups, we can define subrings and ring homomorphisms.
Subring
For a ring and its subset , if is also a ring, then is called a subring of (subring).
Example: The Ring of Integers
For every integer , is a subring of .
Ring Homomorphism
For rings and , if preserves the ring's addition and multiplication, that is, if for all we have and , then the map from to is called a homomorphism (homomorphism).
The Case Where the Definition of a Ring Requires a Unit
If the definition of a ring requires a unit, the definition of a ring homomorphism often also requires that the unit map to the unit. For a homomorphism between nonzero unital rings, this additional requirement only ensures that the homomorphism does not map the entire unital ring to the zero element.
Example: The Ring of Integers (Continued)
For any nonzero integer , the reduction modulo n map , where , is a ring homomorphism.
The discussion of kernels and images of group homomorphisms carries over here almost verbatim. The relative size of the image of a homomorphism determines whether it is surjective, while whether its kernel is trivial determines whether it is injective. The kernel of a ring homomorphism is defined as follows:
Kernel of a Homomorphism
The kernel (kernel) of a homomorphism from a ring to a ring , , is , denoted by , where is the additive identity of .
Clearly, the kernel and image of a ring homomorphism are both subrings. Conversely, not every subring can be the kernel of a ring homomorphism. A subring that can be the kernel of a ring homomorphism is called an ideal of the ring.
Ideal
For a ring and its subring , is called an ideal of
- left ideal (left ideal) if, for every , , where ;
- right ideal (left ideal) if, for every , , where ;
- ideal (ideal) if is a left ideal of and also a right ideal of .
The ideal is required to be closed under left and right multiplication by elements of . This condition is natural: elements of an ideal map to the zero element under a ring homomorphism, and multiplying zero on either the left or the right by any number should give zero, which is exactly the required closure. Moreover, because the additive structure of a ring is an Abelian group, every subgroup is a normal subgroup; and the multiplicative structure of a ring is very primitive, so it imposes no additional restrictions on substructures. This shows that closure under left and right multiplication is also sufficient.
Example: The Ring of Integers (Continued)
As an example, the subring mentioned above is actually an ideal of . It is the set of all multiples of . Multiplying a multiple of by any integer again gives a multiple of . In fact, all ideals of have this form; such a ring is called a principal ideal domain. For general rings, some ideals are not sets of multiples of a single element; the existence of such general rings was the original motivation for studying ideals (rather than simply multiples)1.
Quotient Ring
As with groups, ideals of a ring allow us to define a quotient ring (quotient ring) on the set of all cosets (in the sense of the additive group). Consider the set
where the coset . It can be proved that is an ideal if and only if the operations
are well-defined; that is, their results do not depend on the choice of representatives in the cosets. Under these operations, forms a ring. As in the case of groups, we can establish the first isomorphism theorem (first isomorphism theorem) for rings, and there is a natural homomorphism from a ring to its quotient ring. These proofs show that ideals of rings and normal subgroups of groups play the same role in homomorphisms of the corresponding structures.
First Isomorphism Theorem
Let be a homomorphism from a ring to a ring . Then is an ideal of , and is a subring of .
Natural Homomorphism
For a ring and its ideal , the map given by , namely , is a surjective homomorphism from to , called the natural homomorphism (natural homomorphism) from the ring to the quotient ring .
Example: The Ring of Integers (Continued)
For example, the congruence classes of integers modulo form the quotient ring , obtained from by its ideal . This also explains the meaning of the notation . The reduction modulo map mentioned above is the natural map here, and its kernel is exactly the ideal .
Other isomorphism theorems also hold for rings.
Second Isomorphism Theorem
Suppose a ring has a subring and an ideal . Then is also a subring of , is an ideal of , is an ideal of , and .
Third Isomorphism Theorem
Suppose a ring has ideals with . Then is also an ideal of , and .
Correspondence Theorem
Suppose a ring has an ideal . Then there is a bijection between all subrings containing of the ring , , and all subgroups of the quotient group , , given by , which maps to . This bijection preserves the inclusion relation between subrings, and ideals of always map to ideals of .
These theorems will serve as a foundation for the discussion of the structures of rings and ideals later in the article.
Operations on Ideals
Various operations can be defined on ideals of a ring. This is analogous to defining notions such as greatest common divisors and least common multiples on the divisibility structure of the integers.
Operations on Ideals
Suppose a ring has ideals . We can define the following operations:
- Sum of ideals (sum): ;
- Product of ideals (product): , the set consisting of all finite sums of products of the form ;
- Intersection of ideals (intersection): .
It is easy to verify that the results of these operations are still ideals of the ring.
Example: The Ring of Integers (Continued)
Consider the ring of integers . For the ideals and , we obtain
In general, for a ring and its ideals and , we always have
Using these definitions, the Chinese remainder theorem for the integers can be generalized to general rings. Before that, however, notions such as primes and coprimality must also be generalized to general rings.
Maximal Ideals
The properties of a ring can be understood through the structure of its ideals.
A nonzero ring always has two trivial ideals, namely and . If is also commutative, a ring with only these two ideals can only be a field2.
Theorem
Let be a commutative nonzero unital ring. Then is a field if and only if has only the trivial ideals and .
Proof
If is a field, then for any nonzero ideal , choose any nonzero element . For every element of the field, we have , so . Conversely, for any with , one can verify that is an ideal. It must equal , so there exists with . Thus has an inverse, and is a field.
The commutativity condition is necessary here. Otherwise, both the left ideals and the right ideals would need to be restricted to the trivial ones to guarantee that the ring is a division ring.
This conclusion can be generalized to the case where the ring itself is not a field. We then consider quotient rings instead and ask when the quotient ring of a commutative nonzero unital ring is a field. The quotient ring is a field precisely when the quotient ring has only the trivial ideals. By the correspondence theorem, this means that the original ring has no ideal strictly between the ideal being quotiented out and the original ring . Such an ideal is called a maximal ideal.
Maximal Ideal
For a ring and its ideal , if and the only ideals containing in are and , then is called a maximal ideal (maximal ideal).
Theorem
Let a commutative nonzero unital ring have an ideal . Then the quotient ring is a field if and only if is a maximal ideal.
Example: The Ring of Integers (Continued)
For example, in the ring of integers , the ideal is a maximal ideal if and only if is prime. For a prime , the quotient ring is a field, also denoted by .
Not every ring has maximal ideals, but every nonzero unital ring has a maximal ideal.
Theorem (Krull)
For a nonzero unital ring , any ideal of has a maximal ideal such that .
Proof
The idea is to use Zorn's lemma. Consider all ideals containing in that are proper (that is, ideals not equal to ); let the set of these ideals be . Since , it is nonempty, and it is partially ordered by inclusion. For any chain in it, let be their union. It is easy to verify that this is also an ideal. Moreover, ; otherwise , so there would be an with , contradicting that is proper. Hence, by Zorn's lemma, there exists a maximal ideal .
Maximal ideals are analogous to irreducible elements in divisibility theory. This is because inclusion of ideals corresponds to divisibility of integers: having no ideal as a proper superset is analogous to having no factor that divides it further. However, the concept of a maximal ideal is broader than that of an irreducible element, because not every ideal is principal.
Prime Ideals
The condition for a field is more stringent than that for an integral domain. An ideal that ensures the quotient ring is an integral domain is called a prime ideal, analogous to the notion of a prime number in divisibility theory.
Prime Ideal
For a commutative ring and its ideal , if and for any elements , always implies or , then is called a prime ideal (prime ideal).
This definition may look somewhat unmotivated, but in comparison with the definition of a prime number, it is also natural.
Theorem
Let a commutative nonzero unital ring have an ideal . Then the quotient ring is an integral domain if and only if is a prime ideal.
Proof
For a commutative nonzero unital ring , the quotient ring is an integral domain if and only if has no zero divisors. Write the coset as . The absence of zero divisors in is equivalent to always implying or . By the correspondence theorem, this is equivalent to always implying or .
In the ring of integers , is a maximal ideal and a prime ideal if and only if is prime. In a general commutative ring, a maximal ideal always implies a prime ideal, but the converse need not hold; this can be seen from the properties of their corresponding quotient rings.
Theorem
For a commutative nonzero unital ring , every maximal ideal is necessarily a prime ideal.
We will see later that the converse holds only in rings with good properties, sufficiently similar to the ring of integers.
Principal Ideals
As with the notion of subgroups, in discussions of rings it is often necessary to consider ideals generated by a subset.
Ideal Generated by a Subset
For a nonzero unital ring and its nonempty subset , if is the smallest (under inclusion) ideal containing among the ideals of , then is called the ideal generated by the subset (ideal generated by a subset), denoted by . In this case, is called a generating set (generating set) of .
Principal Ideal
The ideal generated by a single element is called a principal ideal (principal ideal), denoted by . In this case, is called a generator of (generator).
For a set , we can construct the ideal it generates. First, define
These are in fact the left ideal and right ideal generated by , respectively. The ideal generated by the subset is then . For a commutative ring, all these structures are the same.
All ideals in the ring of integers are principal ideals, and below they are often denoted by .
Integral Domains
An integral domain is a nonzero commutative unital ring with no zero divisors. This concept is precisely a generalization of the ring of integers. However, the properties of the resulting ring may not be good enough to allow every conclusion from the divisibility theory of integers to be copied verbatim. To generalize conclusions from number theory, we can impose further restrictions on integral domains. The three most common types are Euclidean domains, principal ideal domains, and unique factorization domains; each preceding concept is strictly contained in the following one.
Divisibility
We first generalize the relevant concepts from the divisibility theory of integers to general commutative rings.
Divisibility
Let a commutative ring have elements . If there exists such that , then is said to divide (divide) , denoted by . In this case, is called a divisor (divisor) of .
Associates
Let a commutative ring have elements . If they differ only by a unit, that is, if there exists a unit such that , then and are called associates (associate).
Divisibility is a partial order on a ring, while being associates is an equivalence relation on a ring. From the perspective of ideals, is equivalent to , and and being associates is equivalent to . Therefore, when discussing elements of a ring, we usually do not distinguish between associates. As in the case of integers, the greatest common divisor of and in a commutative ring is defined as the infimum of .
Greatest Common Divisor
For a commutative ring and elements , if there exists a nonzero element such that and , and, for any element satisfying and , the element also satisfies , then is called a greatest common divisor (greatest common divisor) of and , denoted by .
In an integral domain, the greatest common divisor is unique up to associates. The discussion below is restricted to integral domains.
Integral domains also admit a notion analogous to primes. In integer theory, primes have two equivalent definitions, but in a general integral domain these two definitions correspond to different concepts:
Prime Element
Let an integral domain have a nonzero element . If is a prime ideal, that is, if is not a unit and always implies or , then is called a prime element (prime).
Irreducible Element
Let an integral domain have a nonzero element . If is not a unit and, for any with , either or is a unit, then is called an irreducible element (irreducible), or is simply called irreducible. Conversely, if and are both not units, then is called reducible.
One can show that an irreducible element corresponds to the principal ideal , which is maximal among all principal ideals of the ring. However, in a general integral domain not every ideal is principal, so the concepts of irreducible elements and maximal ideals are not equivalent.
Analogous to the proof that a prime ideal in a principal ideal domain is maximal, we can generally prove the following result:
Theorem
Let be an integral domain. If is a prime element, then is also an irreducible element.
Proof
Let be a prime element, and let satisfy . Since is prime, assume without loss of generality that . Then . Since the cancellation law holds in an integral domain, , so has the inverse . This shows that is irreducible.
The converse does not hold.
Counterexample
In the quadratic integer ring , is irreducible, but , so it is not prime.
Here we prove this counterexample. Readers unfamiliar with quadratic integer rings should first read the section on quadratic integer rings. Let be the norm on the quadratic integer ring. For every factorization , we have . If are not units, then and are both greater than , so necessarily . But there is no such element in ; equivalently, has no integer solution. This shows that is irreducible. To show that is not prime, it remains to prove that does not divide , which is clear.
Euclidean Domains
Further reading: (Extended) Euclidean Algorithm, Bézout's identity
A Euclidean domain is an integral domain in which the Euclidean algorithm can be performed.
Euclidean Domain
For an integral domain , if there exists a map such that for every with , there exist satisfying and either or , then is called a Euclidean domain (Euclidean domain, ED). The map is called the norm of elements in the Euclidean domain (norm).
Other Equivalent Definitions
The definition used in this article defines the norm only for nonzero elements. Different texts may handle the definition of a Euclidean domain differently. For example, some texts may additionally define ; however, the value of is not used in the division algorithm with remainder that follows, so this is immaterial. As another example, the definition on Wikipedia also requires the norm to satisfy the property that for every nonzero , . However, it is easy to verify that if a Euclidean domain has a norm satisfying the properties required by the definition here, we can define a norm satisfying the additional property . Thus, these different definitions are equivalent.
This definition is in fact a generalization of division with remainder over the integers. The existence of a norm makes it possible to measure the relative sizes of the remainder and divisor. Thus, during the Euclidean algorithm, the norms of the successive remainders keep decreasing; because the norm takes values in the natural numbers, the process must eventually end with . This yields the Euclidean algorithm in a Euclidean domain.
The ability to perform the Euclidean algorithm means that greatest common divisors can be computed efficiently in a Euclidean domain. Completely analogously to the divisibility theory of integers, we can prove that the result of the Euclidean algorithm is a greatest common divisor and that Bézout's identity holds, with the coefficients determined by the extended Euclidean algorithm.
Theorem
For a Euclidean domain and elements , applying the Euclidean algorithm to and yields , which is a greatest common divisor of and , and there exist such that ; conversely, every element of the form is a multiple of .
In the language of ring theory, all elements of the form are precisely the elements of the ideal , and this theorem says that is necessarily the principal ideal .
In fact, every ideal in a Euclidean domain is principal.
Theorem
Every ideal in a Euclidean domain is principal.
Proof
Let be a Euclidean domain and let be one of its ideals. If , it is clearly principal. Suppose is nonzero. By definition, the ring has a norm , so choose a nonzero element in , denoted by , of minimum norm. Then for any , we have with or . Since , the choice of implies , so . Hence is necessarily principal.
Principal Ideal Domains
An integral domain in which every ideal is principal is called a principal ideal domain. This is a class of integral domains with very good properties and one that occurs frequently. In such domains, the concept of an ideal is equivalent to the concept of a multiple among the integers.
Principal Ideal Domain
For an integral domain , if every ideal is principal, then it is called a principal ideal domain (principal idel domain, PID).
Therefore, the last theorem of the previous section can be restated as follows:
Theorem
Every Euclidean domain is a principal ideal domain.
In a principal ideal domain, maximal ideals are equivalent to ideals generated by irreducible elements. Just as primes and irreducible elements are equivalent among the integers, these two concepts are also equivalent in a principal ideal domain. Hence maximal ideals and prime ideals are completely equivalent as well.
Theorem
Let a principal ideal domain have a nonzero ideal . Then is a prime ideal if and only if is a maximal ideal.
Proof
It suffices to prove that every prime ideal is maximal. Suppose a principal ideal domain has a nonzero prime ideal and an ideal with . This means , so there exists with . But since is a prime ideal, implies or . If , then , so . If , then , so ; since , we have , meaning that has inverse , and hence . Thus is a maximal ideal.
Corollary
Let a principal ideal domain have a nonzero element . Then is a prime element if and only if is an irreducible element.
The analysis of Bézout's identity in the previous section carries over to principal ideal domains.
Theorem
Let be a principal ideal domain and let be nonzero elements. Let be a generator of the ideal . Then and have greatest common divisor , unique up to associates; moreover, there exist such that .
In other words, Bézout's identity still holds in a principal ideal domain. Although both types of domains have greatest common divisors, the main difference is that in a Euclidean domain the greatest common divisor can be computed efficiently by the Euclidean algorithm, whereas a principal ideal domain generally has no such efficient algorithm.
Unique Factorization Domains
A more general concept than a principal ideal domain is a unique factorization domain. The unique factorization theorem for integers is the fundamental theorem of arithmetic. A similar unique factorization theorem continues to hold in some integral domains that are not principal ideal domains. Such domains are called unique factorization domains.
Unique Factorization Domain
For an integral domain , if every nonzero nonunit element can be written in the form , where are irreducible elements that may repeat, and this factorization is unique up to associates and reordering, then is called a unique factorization domain (unique factorization domain, UFD).
The fundamental theorem of arithmetic says that the ring of integers is a unique factorization domain.
The counterexample above, in which an irreducible element is not prime, involved the integral domain , where unique factorization no longer holds. However, in every unique factorization domain, irreducible elements and prime elements are equivalent.
Theorem
For a unique factorization domain and its nonzero element , is a prime element if and only if is an irreducible element.
Proof
It suffices to prove that every irreducible element is prime. For an irreducible element , if , then there exists such that . Since is a unique factorization domain, we can factor into products of irreducible elements. Comparing the two sides and using uniqueness of factorization, must be associate to an irreducible factor of either or , so divides one of and . Thus is also prime.
Every principal ideal domain is a unique factorization domain.
Theorem
Every principal ideal domain is a unique factorization domain.
Proof
Let be a principal ideal domain and let be neither zero nor a unit. To show that can be uniquely factored into a product of irreducible elements, we proceed in two steps: first prove existence, then prove uniqueness.
The existence of a factorization is fairly natural. If is already irreducible, no further factorization is needed. Otherwise, there must be such that and are not units. If both and are irreducible, no further factorization is needed; otherwise, factor whichever of and is not irreducible further, and can be written as a product of more elements. Thus, as long as not all factors in the product are irreducible, the factorization process can continue. It must terminate after finitely many steps. Otherwise, the axiom of choice would guarantee an infinite chain of elements from , , satisfying and for all , with all these divisibility relations strict, meaning that no two elements in the chain are associates. In the language of ideals, this corresponds to a strictly increasing infinite chain of ideals: , where . It is easy to verify that their union is also an ideal, and hence must be principal. Let be a generator of the principal ideal , so there exists with . Therefore, . This shows that such a strictly increasing infinite chain of ideals cannot exist, so the factorization process above must terminate in finitely many steps.
Then prove uniqueness of the factorization. We can induct on the number of factors in a factorization. The key step is to verify that if and , then must be associate to some . This uses the earlier result that irreducible elements in a principal ideal domain are prime. Since is an irreducible element in , it is also prime, so by induction on the product on the right, there must be an element such that . Thus there is a with . Since and are both irreducible, the definition forces to be a unit, so and are associates. We can then use cancellation to cancel and from the two sides, and multiply the associate relating them into any one of the remaining elements. By the induction hypothesis, and have the same number of irreducible elements and are the same up to associates. The theorem follows.
Finally, greatest common divisors still exist in a unique factorization domain.
Theorem
Let a unique factorization domain have nonzero elements , with factorizations and , where are units, are distinct irreducible elements, and are natural numbers. Then one greatest common divisor is .
This actually shows that the property of having greatest common divisors is weaker than the unique factorization theorem3.
Example: Quadratic Integer Rings
Further reading: Quadratic Fields
Understanding abstract algebra cannot be separated from examples. It was the need to study the properties of a class of algebraic integers in the course of research on Fermat's Last Theorem that gradually led to the ring theory we have today4. Here we discuss the simplest algebraic integers, namely quadratic integers. Proofs of many conclusions in this section require advanced knowledge of algebraic number theory, so they are omitted.
A quadratic integer (quadratic integer) is a complex root of an integer-coefficient quadratic equation whose coefficient of the quadratic term is one. Every quadratic integer has the form
where
where is squarefree.
Analysis
By the quadratic formula, the roots of this equation can be written as
When is odd, this root can be written as
Otherwise, when is even, this root can be written as
Thus, we can conclude inductively that every quadratic integer has the form above.
It is easy to verify that for such an , the set forms a ring. This is called a quadratic integer ring (quadratic integer ring), and its field of fractions is the quadratic field . When , all quadratic integers are real, so it is also called a real quadratic integer ring; when , all quadratic integers other than the integers are complex, so it is also called an imaginary quadratic integer ring.
All quadratic integer rings are integral domains. When , (also written ) is called the ring of Gaussian integers; when , is called the ring of Eisenstein integers.
For a quadratic integer , define its conjugate (conjugate) to be , where
Note that when , quadratic integers are real, so this notion of conjugation is not exactly the same as conjugation of complex numbers; however, both are special cases of conjugation of algebraic elements in field theory. The conjugate quadratic integers are roots of the same integer-coefficient quadratic equation.
The norm can be defined on a quadratic integer ring:
The norm of a quadratic integer is always an integer. In particular, when , the norm is always a natural number. The norm preserves multiplication: .
The units in a quadratic integer ring are precisely the elements whose norms are . When , this is equivalent to considering the solutions of the Pell equations or . When , it is easy to verify that, except for the two special cases in which the units in the ring of Gaussian integers are and the units in the ring of Eisenstein integers are , all other units are just .
The norm defined on a quadratic integer ring can be used to prove that it is a Euclidean domain. When , its absolute value must be used as the norm in the definition of a Euclidean domain. Using this norm, one can prove that when ,
or when ,
the corresponding quadratic integer rings are Euclidean domains under the norm . However, the norm in the definition of a Euclidean domain need not be the norm defined above. For example, when , the corresponding quadratic integer rings are also Euclidean domains, but a different norm is needed. For , it can be proved that the cases listed above are all the Euclidean domains among quadratic integer rings.
More complicated methods can also determine whether a quadratic integer ring is a principal ideal domain. It can be proved that when , only
give quadratic integer rings that are principal ideal domains. Comparing the results above, we see that the case , for example, provides an example of a principal ideal domain that is not a Euclidean domain. When , no complete result is currently known.
However, in quadratic integer rings, unique factorization domains and principal ideal domains are equivalent. The results above show, for example, that is not a principal ideal domain, and therefore is not a unique factorization domain. We have already demonstrated through an example that unique factorization fails there:
Using the same example, one can show that the ideal is also not principal. We will see later that a simple example of a unique factorization domain that is not a principal ideal domain is the polynomial ring .
Although many quadratic integer rings are not unique factorization domains, they are all Dedekind domains. This means that every nontrivial ideal in a quadratic integer ring can be uniquely factored into a product of prime ideals. But if the quadratic integer ring itself is not a principal ideal domain, these prime ideal factors do not necessarily correspond to prime elements, so unique factorization (that is, factoring numbers into products of primes) no longer holds. This was also the original motivation for studying ideals rather than numbers.
Polynomial Rings
Further reading: Introduction to Polynomial Techniques
In algorithmic contests, various polynomial operations are frequently encountered. Multiplication, inversion, and remainder operations on polynomials can be regarded as generalizations of operations on numbers to polynomial rings. The language of abstract algebra makes it possible to understand the properties of these operations on polynomial rings more quickly.
Polynomial
For a nonzero commutative unital ring , a polynomial (polynomial) over is a formal sum
where and, for every , . These are called the coefficients (coefficient) of the polynomial, and the corresponding is called a term (term) of the polynomial; the term has as its degree (degree).
A polynomial whose coefficients are all zero (that is, the zero element) is called the zero polynomial (zero polynomial), denoted by . For any other polynomial, assume without loss of generality that , so is the term of greatest degree among the nonzero-coefficient terms. The natural number is then called the degree (degree) of the polynomial, and the term is called the leading term (leading term); is also called the leading coefficient (leading coefficient). A polynomial whose leading coefficient is equal to one (the unit) is called a monic (monic) polynomial. The degree of the zero polynomial is unspecified, or is defined to be .
The appearing in polynomial notation is called the indeterminate (indeterminate) of the polynomial. It has no intrinsic meaning or range of values. Its only role is to mark the position of a coefficient through its exponent. Thus, a polynomial can also be written as a sequence over :
However, such a sequence can have only finitely many nonzero terms. If two polynomials correspond to the same sequence of coefficients, the two polynomials are called equal. This is equivalent to filling in the missing zero coefficients so that their formal sums are exactly the same. Below, we do not distinguish between the formal-sum notations of equal polynomials; when necessary, the reader can fill in the omitted zero coefficients.
Sometimes it is necessary to substitute an element of the ring for the indeterminate in a polynomial. For example, if is a polynomial over and , then the result of substituting into is . This means replacing with in the formal sum of the polynomial, obtaining an arithmetic expression in , whose value is after evaluation in .
“Polynomial” and “Polynomial Function”
These two concepts should not be confused. A polynomial is only a finite sequence of coefficients; it does not automatically become a function. Although substituting an element of the ring for the indeterminate does map a polynomial to a polynomial function, this map need not be injective. For example, as a polynomial over the field is clearly not the zero polynomial; but , as a polynomial function , is identically zero (that is, Fermat's little theorem). Although the two concepts are different, many notions for polynomial functions can be generalized to polynomials, such as defining formal derivatives, indefinite integrals, and composition of polynomials by analogy with polynomial functions. These formal operations do not depend on any topological structure, but many operation laws still hold.
For the polynomials
define polynomial addition by
and define polynomial multiplication by
where the coefficient of the term is . Under these definitions of addition and multiplication, it can be proved that all polynomials over form a ring, denoted by .
The degree of a polynomial is denoted by . Polynomials of degree zero are constant polynomials, and they, together with the zero polynomial, correspond to the embedding of into . Clearly, has zero divisors if and only if has zero divisors.
Theorem
The polynomial ring is an integral domain if and only if is an integral domain.
In an integral domain , the results of addition and multiplication in the polynomial ring satisfy
Here we set . Therefore, the units in a polynomial ring must be the units among its constant polynomials. No polynomial of degree one or higher is a unit.
The discussion below is restricted to polynomials over integral domains.
Convention
Below, we use the expressions “polynomial over the ring ” and “polynomial in the polynomial ring ” interchangeably. For example, a polynomial being irreducible over the ring means that it is irreducible in the ring . Moreover, if is a subring of , then a polynomial over automatically becomes a polynomial over ; this will not be explained separately.
Polynomial Rings over Fields
Among polynomial rings over integral domains, the simplest properties are found in those over a field , namely . Since coefficients can be divided, division with remainder can be defined. For a nonzero polynomial , let its norm be . Then, in , for a polynomial and a nonzero polynomial , we can clearly perform division with remainder:
where and or . This shows that every polynomial ring over a field is a Euclidean domain.
Theorem
For a field , the polynomial ring is a Euclidean domain, a principal ideal domain, and a unique factorization domain.
In algorithmic contests, because of numerical precision, the polynomial ring is often used, where the modulus is required to be prime. Such a ring permits operations such as the Euclidean algorithm. However, for an arbitrary modulus , the corresponding polynomial ring is not even an integral domain.
The existence of division with remainder means that every root of a polynomial corresponds to one of its linear factors.
Root
A root (root) of a polynomial is an element for which , with .
Theorem
For a field and a polynomial over it, if , then is a root of if and only if has the linear factor .
Proof
Division with remainder gives such that and . Hence, is a constant polynomial or the zero polynomial. Let ; then . Substituting gives , so .
The concept of a root can be extended to multiple roots.
Multiple Root
If a polynomial has a factor , and does not divide , then is called a root of with multiplicity (root of multiplicity ). If , the root is called a multiple root (multiple root) of ; if , the root is called a simple root (simple root) of .
Theorem
If, over a field , a polynomial has roots , possibly with repetitions, then it must have the factor . Consequently, over the field , a polynomial of degree has at most roots, counted with multiplicity.
Proof
This follows immediately from the fact that is a unique factorization domain.
Although the unique factorization theorem holds for polynomials over a field, there is no general method for determining whether a given polynomial is reducible. The case of relatively small degree is easier. For example, every linear polynomial is irreducible. Over certain fields, every irreducible polynomial is linear. Such fields are called algebraically closed fields. In such a field, every polynomial that is not identically a nonzero constant has a root, so every polynomial of degree greater than one can be factored further. The complex field is one such example. Over the real field , there are irreducible quadratic polynomials; over the rational field , the structure of irreducible polynomials is more complicated. The page on field theory contains more discussion of polynomials over the rational and finite fields.
All of the conclusions above concern polynomials over fields. More generally, polynomials over integral domains can often be reduced to this case.
Now consider a unique factorization domain and its polynomial ring . Direct computation in is restricted because coefficients often cannot be divided. We can instead extend to its field of fractions and then, in , consider a polynomial and factor it in . Since is a unique factorization domain, the factorization in of yields a factorization in . Fortunately, this idea always works.
Gauss's Lemma
Let be a unique factorization domain and its field of fractions. If , then in we have , and there exist such that , , and . Therefore, if is irreducible in , then it is irreducible in .
Proof
Suppose is reducible in , with . Let and be the least common multiples of the denominators of all coefficients in and , respectively. Then and are both polynomials over . Let ; then . If is a unit in , we can use the factorization , which clearly satisfies the lemma.
Otherwise, if has an irreducible factor , we need to show that this factor can be canceled from both sides while keeping all coefficients in the integral domain . Note that must also be prime, so is a prime ideal. Reducing both sides of the equation modulo gives the polynomial equation in , namely , where and are the reduced polynomials. Since is an integral domain, is also an integral domain, so we may assume . This means that all coefficients of are divisible by . Hence, the factor can be canceled directly from both sides of the equation.
By the definition of a unique factorization domain, has at most finitely many such irreducible factors. After canceling them finitely many times, we reach the case where is a unit in . The lemma follows.
Corollary
Let be a unique factorization domain and its field of fractions. If and all nonzero coefficients of are coprime (that is, their greatest common divisor is a unit in ), then is irreducible in if and only if is irreducible in .
In other words, irreducible elements of the integer-coefficient polynomial ring are irreducible elements of . An effective method for determining whether an integer-coefficient polynomial is irreducible is the Eisenstein criterion. By Gauss's lemma, it also provides a method for determining whether a rational-coefficient polynomial is irreducible.
Eisenstein Criterion
Let an -th-degree integer-coefficient polynomial be . If there exists a prime such that for every , but does not divide and does not divide , then is irreducible over the rational field . If , then is also irreducible over the ring of integers .
Proof
Gauss's lemma shows that if a polynomial is reducible over the field of rational numbers , then it is also reducible over the integer ring . Suppose that is its factorization in . Reducing both sides of the equation modulo the prime gives the factorization in . However, the conditions of the theorem state that , so there must be an integer such that and , where . Thus, the constant terms and of the factors and are both multiples of . Consequently, the constant term of must be a multiple of . This contradicts the given conditions.
Example
- The polynomial is irreducible in . This follows immediately by applying the Eisenstein criterion with .
- The polynomial is irreducible in . Otherwise, would also be reducible. However, applying the Eisenstein criterion with shows that the latter is irreducible.
For a unique factorization domain , the polynomial ring over its corresponding field of fractions is a unique factorization domain, and Gauss's lemma says that factorizations of polynomials over the field of fractions correspond to factorizations of polynomials over the original domain . Therefore, is also a unique factorization domain. Thus we have the following theorem:
Theorem
The polynomial ring is a unique factorization domain if and only if is a unique factorization domain.
Here provides an example showing that a unique factorization domain need not be a principal ideal domain. For example, is not a principal ideal in .
There are many ways to extend a polynomial ring to a larger set. For example, for a polynomial ring over an integral domain, we can extend it to its field of fractions, denoted by . This field of fractions is often called the field of rational fractions, whose elements have the basic form , where and are polynomials.
Multivariable polynomial rings
Polynomial rings can be generalized to the case of several indeterminates. For a commutative ring with unity , define the polynomial ring over , namely the univariate polynomial ring . We can then define the polynomial ring over , , which can be viewed as the bivariate polynomial ring over . In this way, the -variable polynomial ring over can be defined inductively. When is an integral domain, every multivariable polynomial ring over it is an integral domain; similarly, the unique factorization domain property is inherited by every multivariable polynomial ring.
Formal power series rings
We may also consider the case where a formal sum can contain arbitrarily many nonzero coefficients. A formal power series (formal power series) over a commutative ring with unity is defined by
Addition and multiplication of power series can be defined in the same way as for the polynomial ring . The formal power series then also form a ring, denoted by . The convergence of formal power series need not be considered here, because in fact each formal power series is merely a sequence of coefficients, without any additional topological structure.
The structure of the formal power series ring is interesting. In a polynomial ring over an integral domain, the only invertible elements are constants. In a formal power series ring, however, we can have
This phenomenon is general. As long as the constant term of a formal power series is a unit in , the formal power series is also invertible. Indeed, if we suppose that
then, by writing down the system of equations that the coefficients must satisfy, we can recursively obtain expressions for , involving only the inverse of .
Various operations can be defined on the formal power series ring, such as inversion, division, compositional inversion, formal differentiation, and elementary functions; see An Introduction to Polynomial Techniques for details.
Formal Laurent series rings
The formal power series ring can be extended further to allow terms with negative degrees. A formal Laurent series (formal laurent series) over a commutative ring with unity is defined by
where . Thus a formal Laurent series can have finitely many terms of negative degree. Extending the preceding addition and multiplication to formal Laurent series gives the formal Laurent series ring, denoted by . If is a field, then is also a field.
The formal Laurent series ring has applications in Lagrange inversion.
Chinese remainder theorem
Related reading: Chinese remainder theorem
In number theory, the Chinese remainder theorem is often used to solve systems of Diophantine congruences. A Chinese remainder theorem can likewise be established for general commutative rings with unity. Each congruence equation amounts to specifying the image of an unknown in some quotient ring; thus, the Chinese remainder theorem for a commutative ring with unity determines an element of the ring from its images in these quotient rings.
This discussion can be translated into formal language. For a nonzero commutative ring with unity and its ideals , consider the ring homomorphism , which maps to . Here, is a coset, while denotes the direct product of rings:
Direct product
For rings and , define multiplication on the direct product of their additive groups by multiplying the corresponding components. Then becomes a ring, called the direct product (direct prodcut) of the rings and , still denoted by .
The kernel of the homomorphism is . The question answered by the Chinese remainder theorem is under what conditions this map is surjective.
In the number-theoretic case, the theorem requires the moduli to be coprime. This condition generalizes to the ring-theoretic setting.
Comaximal ideals
Let be a ring with ideals and . If , then and are called comaximal (comaximal).
For a ring with unity, if we consider the principal ideals and , this condition is equivalent to the existence of such that , analogous to Bézout's identity for coprime integers. Using this definition, we can establish the Chinese remainder theorem (Chinese remainder theorem) for commutative rings with unity exactly as in the case of the integer ring.
Chinese remainder theorem
Let a nonzero commutative ring with unity have ideals . If they are pairwise comaximal, then the ring homomorphism defined above is surjective, and its kernel is the product of these ideals, , and hence
Proof
The theorem contains substantial information, but only two conclusions need to be proved: is surjective and . The key is to make good use of the comaximality condition.
First consider the case . Since the ideals and are comaximal, namely , the unity of can be written as , where . Since and , we have ; similarly, . Thus plays a role analogous to a basis in a vector space. Therefore, for any target image , we can find its preimage under , namely . This shows that is surjective.
We still need to prove . For a general ring, always holds; the key is the converse. For any , we have . Hence also holds. This proves the claim.
For , mathematical induction is needed. The key inductive step is to prove that for pairwise comaximal ideals , the ideals and are always comaximal. Since is comaximal with each of , for every there exist and such that . Therefore, . Hence . This shows that and are comaximal.
Application: Lagrange interpolation formula
Related reading: Lagrange interpolation, Fast polynomial interpolation
The interpolation problem asks, given a collection of point values , for a polynomial over a field satisfying for every . We of course assume that all are distinct. The Lagrange interpolation formula gives the general solution to this type of problem.
For a polynomial over a field , the condition is equivalent to being a root of the polynomial , and hence equivalent to , or . Thus the interpolation problem is equivalent to solving the system of congruences
These linear polynomials are pairwise coprime. According to the Chinese remainder theorem, the solution must have the form
where and . By the equivalence derived above, this is equivalent to , namely
We may take to be a constant polynomial, namely
This gives the Lagrange interpolation formula
In general, extending this method also yields the Hermite interpolation formula, which allows prescribed values for several derivatives of the polynomial at each point.
Application: the multiplicative group of residue classes modulo integers
Related reading: Primitive roots, Fundamental theorem of finitely generated Abelian groups
As an application of the Chinese remainder theorem and related group-theoretic material, we discuss here the structure of the multiplicative group of integers modulo . We omit the overline notation for residue classes in this section.
The multiplicative group of integers modulo (multiplicative group of integers modulo ) is , namely the multiplicative group of units (also called the unit group) in the quotient ring . The order of the group is , because having an inverse is equivalent to being coprime to . Here is the Euler totient function. Moreover, the group is always Abelian.
By the fundamental theorem of arithmetic, the modulus can be decomposed as a product of powers of distinct primes:
It is easy to verify that for ideals in the integer ring, the condition that ideals be comaximal is equivalent to their generators being coprime. Thus, applying the Chinese remainder theorem gives
An isomorphism of rings implies an isomorphism of the corresponding multiplicative structures, so
This shows that , that is, the Euler totient function is multiplicative.
Therefore, to study the general case of a modulus, it suffices to consider the case where a prime power is the modulus. For prime powers, we need to consider separately the cases and an odd prime:
-
For , direct verification gives and . For , we have .
??? note "Proof" Direct calculation using the binomial theorem gives
$$ \begin{aligned} 5^{2^{k-2}}=(1+2^2)^{2^{k-2}}&\equiv 1\pmod {2^k},\\ 5^{2^{k-3}}=(1+2^2)^{2^{k-3}}&\equiv 1+2^{k-1}\pmod {2^k}. \end{aligned} $$ Thus $5$ is an element of order $2^{k-2}$ in $(\mathbf Z/2^k\mathbf Z)^\times$. At the same time, $-1$ and $5^{2^{k-3}}$ are two distinct elements of order two, so $-1\notin\langle 5\rangle$. Therefore, the intersection of $\langle-1\rangle$ and $\langle 5\rangle$ is trivial, and by the second isomorphism theorem $$ (\mathbf Z/2^k\mathbf Z)^\times\cong\langle-1\rangle\times\langle 5\rangle\cong C_2\times C_{2^{k-2}}. $$ -
For odd , one can prove that is isomorphic to the cyclic group .
??? note "Proof" To prove that is cyclic, the fundamental theorem of finite Abelian groups shows that it suffices to prove that each of its Sylow -subgroups is cyclic. First, for the Sylow -subgroup, direct calculation gives
$$ \begin{aligned} (1+p)^{p^{k-1}} &\equiv 1\pmod{p^k},\\ (1+p)^{p^{k-2}} &\equiv 1+p^{k-1}\pmod{p^k}. \end{aligned} $$ Hence, $(1+p)$ is an element of order $p^{k-1}$. In other words, the unique Sylow $p$-subgroup of $(\mathbf Z/p^k\mathbf Z)^\times$ is the cyclic group $\langle 1+p\rangle$. For the other Sylow $q$-subgroups ($q\neq p$), we can reduce to the case $k=1$ using a group homomorphism. Consider the group homomorphism $\varphi:(\mathbf Z/p^k\mathbf Z)^\times\rightarrow(\mathbf Z/p\mathbf Z)^\times$ that maps the coset $r+p^k\mathbf Z$ to the coset $r+p\mathbf Z$. The kernel of this map has size $p^{k-1}$. Therefore, when $\varphi$ is restricted to a Sylow $q$-subgroup ($q\neq p$) of $(\mathbf Z/p^k\mathbf Z)^\times$, the restricted map has trivial kernel, so this Sylow $q$-subgroup is isomorphic to the image, namely the Sylow $q$-subgroup of $(\mathbf Z/p\mathbf Z)^\times$. Thus it is enough to prove that every Sylow $q$-subgroup of $(\mathbf Z/p\mathbf Z)^\times$ is cyclic. Finally, prove that every Sylow $q$-subgroup of $(\mathbf Z/p\mathbf Z)^\times$ is cyclic. Since $(\mathbf Z/p\mathbf Z)^\times$ is a finite Abelian group, decompose it into invariant factors as $$ C_{n_1}\times\cdots\times C_{n_r}. $$ Here, $n_1\mid n_2\mid \cdots \mid n_r$. Thus each direct-product factor has $n_1$ elements whose orders divide $n_1$. If $r>1$, then strictly more than $n_1$ elements must satisfy the equation $x^{n_1}=1$. But $\mathbf Z/p\mathbf Z$ is a field, and a polynomial of degree $n_1$ over a field has at most $n_1$ roots, so $r=1$. That is, $(\mathbf Z/p\mathbf Z)^\times\cong C_{p-1}$. This proves $(\mathbf Z/p^k\mathbf Z)^\times\cong C_{p^{k-1}}\times C_{p-1}=C_{\varphi(p^{k})}$.
The structure of the multiplicative group in the general modulus case follows as well. The results above show that the multiplicative group of integers modulo is cyclic if and only if the modulus is one of
where is an odd prime; otherwise, the multiplicative group of integers modulo necessarily has a subgroup and cannot be cyclic. When the multiplicative group is cyclic, its generators are called primitive roots (primitive root) of the modulus. Thus, this theorem gives precisely the necessary and sufficient condition for primitive roots to exist.
Of course, the analysis of the multiplicative-group structure contains more information than the condition for primitive roots to exist. It clearly reflects the orders of different elements in the multiplicative group. In the group , an element satisfying , that is, a solution of the congruence , is called a -th root of unity modulo (-th root of unity modulo ); an element whose order is exactly is called a primitive -th root of unity modulo (primitive -th root of unity modulo ). Using the structure of the multiplicative group, the existence and number of these roots of unity can be computed precisely. Finally, the least common multiple of the orders of all elements in , namely the smallest positive integer such that for every , regarded as a function of , is the Carmichael function. Its many properties can all be obtained from the structure of the multiplicative group.
References and notes
- Dummitt, D.S. and Foote, R.M. (2004) Abstract Algebra. 3rd Edition, John Wiley & Sons, Inc.
- Quadratic integer - Wikipedia
- Formal power series - Wikipedia
- Multiplicative group of integers modulo - Wikipedia
Footnotes
-
As in the case of groups, such a ring is called a simple ring (simple ring). A commutative simple ring can only be a field; the noncommutative case is much more complicated. ↩
-
An integral domain in which greatest common divisors exist is called a greatest common divisor domain. ↩