Ring Theory

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 (R,+,⋅)(R,+,\cdot) simply as the ring RR. In the ring RR, the additive identity is also called the zero element and denoted by 00; the multiplicative identity is also called the unit element and denoted by 11.

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 (R,+,⋅)(R,+,\cdot) and its subset SS, if (S,+,⋅)(S,+,\cdot) is also a ring, then SS is called a subring of RR (subring).

Example: The Ring of Integers Z\mathbf Z

For every integer nn, nZ={nk:k∈Z}n\mathbf Z=\{nk:k\in\mathbf Z\} is a subring of Z\mathbf Z.

Ring Homomorphism

For rings (R,+,⋅)(R,+,\cdot) and (S,⊕,⊙)(S,\oplus,\odot), if π\pi preserves the ring's addition and multiplication, that is, if for all r1,r2∈Rr_1,r_2\in R we have π(r1+r2)=π(r1)⊕π(r2)\pi(r_1+r_2)=\pi(r_1)\oplus\pi(r_2) and π(r1⋅r2)=π(r1)⊙π(r2)\pi(r_1\cdot r_2)=\pi(r_1)\odot\pi(r_2), then the map π:R→S\pi:R\rightarrow S from RR to SS 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 Z\mathbf Z (Continued)

For any nonzero integer nn, the reduction modulo n map π:Z→Z/nZ\pi:\mathbf Z\rightarrow\mathbf Z/n\mathbf Z, where π(a)=aˉ\pi(a)=\bar a, 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 RR to a ring SS, π:R→S\pi:R\rightarrow S, is {r∈R:π(r)=0}\{r\in R:\pi(r)=0\}, denoted by ker⁡π\ker\pi, where 00 is the additive identity of SS.

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 RR and its subring II, II is called an ideal of RR

  • left ideal (left ideal) if, for every r∈Rr\in R, rI⊆IrI\subseteq I, where rI={ra:a∈I}rI=\{ra:a\in I\};
  • right ideal (left ideal) if, for every r∈Rr\in R, Ir⊆IIr\subseteq I, where Ir={ar:a∈I}Ir=\{ar:a\in I\};
  • ideal (ideal) if II is a left ideal of RR and also a right ideal of RR.

The ideal II is required to be closed under left and right multiplication by elements of RR. 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 Z\mathbf Z (Continued)

As an example, the subring nZn\mathbf Z mentioned above is actually an ideal of Z\mathbf Z. It is the set of all multiples of nn. Multiplying a multiple of nn by any integer again gives a multiple of nn. In fact, all ideals of Z\mathbf Z 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

R/I={a+I:a∈R},R/I=\{a+I:a\in R\},

where the coset a+I={a+b:b∈I}a+I=\{a+b:b\in I\}. It can be proved that II is an ideal if and only if the operations

(a+I)+(b+I)=(a+b)+I,(a+I)(b+I)=(ab)+I\begin{aligned} (a+I)+(b+I)&=(a+b)+I,\\ (a+I)(b+I)&=(ab)+I \end{aligned}

are well-defined; that is, their results do not depend on the choice of representatives in the cosets. Under these operations, R/IR/I 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 π:R→S\pi:R\rightarrow S be a homomorphism from a ring RR to a ring SS. Then ker⁡π\ker\pi is an ideal of RR, and R/ker⁡π≅π(R)R/\ker\pi\cong\pi(R) is a subring of SS.

Natural Homomorphism

For a ring RR and its ideal II, the map given by π(r)=r+I\pi(r)=r+I, namely π:R→R/I\pi:R\rightarrow R/I, is a surjective homomorphism from RR to R/IR/I, called the natural homomorphism (natural homomorphism) from the ring RR to the quotient ring R/IR/I.

Example: The Ring of Integers Z\mathbf Z (Continued)

For example, the congruence classes of integers modulo nn form the quotient ring Z/nZ\mathbf Z/n\mathbf Z, obtained from Z\mathbf Z by its ideal nZn\mathbf Z. This also explains the meaning of the notation Z/nZ\mathbf Z/n\mathbf Z. The reduction modulo nn map π:Z→Z/nZ\pi:\mathbf Z\rightarrow\mathbf Z/n\mathbf Z mentioned above is the natural map here, and its kernel is exactly the ideal nZn\mathbf Z.

Other isomorphism theorems also hold for rings.

Second Isomorphism Theorem

Suppose a ring RR has a subring AA and an ideal BB. Then A+B={a+b:a∈A,b∈B}A+B=\{a+b:a\in A,b\in B\} is also a subring of RR, A∩BA\cap B is an ideal of AA, BB is an ideal of A+BA+B, and (A+B)/B≅A/(A∩B)(A+B)/B\cong A/(A\cap B).

Third Isomorphism Theorem

Suppose a ring RR has ideals I,JI,J with I⊆JI\subseteq J. Then J/IJ/I is also an ideal of R/IR/I, and (R/I)/(J/I)≅R/J(R/I)/(J/I)\cong R/J.

Correspondence Theorem

Suppose a ring RR has an ideal II. Then there is a bijection between all subrings containing II of the ring RR, S={S:I⊆S⊆R}\mathcal S=\{S:I\subseteq S\subseteq R\}, and all subgroups of the quotient group R/IR/I, T={T:T≤R/I}\mathcal T=\{T:T\le R/I\}, given by φ:S→T\varphi:\mathcal S\rightarrow\mathcal T, which maps S∈SS\in\mathcal S to S/I∈TS/I\in\mathcal T. This bijection preserves the inclusion relation between subrings, and ideals of RR always map to ideals of R/IR/I.

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 RR has ideals I,JI,J. We can define the following operations:

  • Sum of ideals (sum): I+J={a+b:a∈I,b∈J}I+J=\{a+b:a\in I,b\in J\};
  • Product of ideals (product): IJ={∑i=1naibi:ai∈I,bi∈J}IJ=\{\sum_{i=1}^na_ib_i:a_i\in I,b_i\in J\}, the set consisting of all finite sums of products of the form abab;
  • Intersection of ideals (intersection): I∩JI\cap J.

It is easy to verify that the results of these operations are still ideals of the ring.

Example: The Ring of Integers Z\mathbf Z (Continued)

Consider the ring of integers Z\mathbf Z. For the ideals nZn\mathbf Z and mZm\mathbf Z, we obtain

nZ+mZ=gcd⁡(m,n)Z,(nZ)(mZ)=(mn)Z,(nZ)∩(mZ)=lcm(m,n)Z.\begin{aligned} n\mathbf Z+m\mathbf Z&=\gcd(m,n)\mathbf Z,\\ (n\mathbf Z)(m\mathbf Z)&=(mn)\mathbf Z,\\ (n\mathbf Z)\cap(m\mathbf Z)&=\mathrm{lcm}(m,n)\mathbf Z. \end{aligned}

In general, for a ring RR and its ideals II and JJ, we always have

IJ⊆I∩J⊆I,J⊆I+J.IJ\subseteq I\cap J\subseteq I,J\subseteq I+J.

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 RR always has two trivial ideals, namely {0}\{0\} and RR. If RR is also commutative, a ring with only these two ideals can only be a field2.

Theorem

Let RR be a commutative nonzero unital ring. Then RR is a field if and only if RR has only the trivial ideals {0}\{0\} and RR.

Proof

If RR is a field, then for any nonzero ideal II, choose any nonzero element a∈Ia\in I. For every element r∈Rr\in R of the field, we have r=(ra−1)a∈(ra−1)I⊆Ir=(ra^{-1})a\in (ra^{-1})I\subseteq I, so I=RI=R. Conversely, for any a∈Ra\in R with a≠0a\neq 0, one can verify that aR={ar:r∈R}aR=\{ar:r\in R\} is an ideal. It must equal RR, so there exists b∈Rb\in R with ab=1ab=1. Thus aa has an inverse, and RR 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 R/IR/I is a field precisely when the quotient ring R/IR/I has only the trivial ideals. By the correspondence theorem, this means that the original ring RR has no ideal strictly between the ideal II being quotiented out and the original ring RR. Such an ideal II is called a maximal ideal.

Maximal Ideal

For a ring RR and its ideal MM, if M≠RM\neq R and the only ideals containing MM in RR are MM and RR, then MM is called a maximal ideal (maximal ideal).

Theorem

Let a commutative nonzero unital ring RR have an ideal MM. Then the quotient ring R/MR/M is a field if and only if MM is a maximal ideal.

Example: The Ring of Integers Z\mathbf Z (Continued)

For example, in the ring of integers Z\mathbf Z, the ideal nZn\mathbf Z is a maximal ideal if and only if nn is prime. For a prime pp, the quotient ring Z/pZ\mathbf Z/p\mathbf Z is a field, also denoted by Fp\mathbf F_p.

Not every ring has maximal ideals, but every nonzero unital ring has a maximal ideal.

Theorem (Krull)

For a nonzero unital ring RR, any ideal I≠RI\neq R of RR has a maximal ideal MM such that I⊆MI\subseteq M.

Proof

The idea is to use Zorn's lemma. Consider all ideals containing II in RR that are proper (that is, ideals not equal to RR); let the set of these ideals be S\mathcal S. Since I∈SI\in\mathcal S, it is nonempty, and it is partially ordered by inclusion. For any chain J0⊆J1⊆⋯⊆Jn⊆⋯J_0\subseteq J_1\subseteq\cdots\subseteq J_n\subseteq\cdots in it, let JJ be their union. It is easy to verify that this is also an ideal. Moreover, J≠RJ\neq R; otherwise 1∈J1\in J, so there would be an nn with 1∈Jn1\in J_n, contradicting that JnJ_n is proper. Hence, by Zorn's lemma, there exists a maximal ideal M⊇IM\supseteq I.

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 RR and its ideal PP, if P≠RP\neq R and for any elements a,b∈Ra,b\in R, ab∈Pab\in P always implies a∈Pa\in P or b∈Pb\in P, then PP 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 RR have an ideal PP. Then the quotient ring R/PR/P is an integral domain if and only if PP is a prime ideal.

Proof

For a commutative nonzero unital ring RR, the quotient ring R/PR/P is an integral domain if and only if R/PR/P has no zero divisors. Write the coset a+Pa+P as aˉ\bar a. The absence of zero divisors in R/PR/P is equivalent to aˉbˉ=0ˉ\bar a\bar b=\bar 0 always implying aˉ=0ˉ\bar a=\bar 0 or bˉ=0ˉ\bar b=\bar 0. By the correspondence theorem, this is equivalent to ab∈Pab\in P always implying a∈Pa\in P or b∈Pb\in P.

In the ring of integers Z\mathbf Z, nZn\mathbf Z is a maximal ideal and a prime ideal if and only if nn 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 RR, 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 RR and its nonempty subset A⊆RA\subseteq R, if II is the smallest (under inclusion) ideal containing AA among the ideals of RR, then II is called the ideal generated by the subset AA (ideal generated by a subset), denoted by (A)(A). In this case, AA is called a generating set (generating set) of (A)(A).

Principal Ideal

The ideal generated by a single element a∈Ra\in R is called a principal ideal (principal ideal), denoted by (a)(a). In this case, aa is called a generator of (a)(a) (generator).

For a set AA, we can construct the ideal it generates. First, define

RA={r1a1+⋯+rnan:ri∈R,ai∈A,n∈Z},AR={a1r1+⋯+anrn:ri∈R,ai∈A,n∈Z}.\begin{aligned} RA&=\{r_1a_1+\cdots+r_na_n:r_i\in R,a_i\in A,n\in\mathbf Z\},\\ AR&=\{a_1r_1+\cdots+a_nr_n:r_i\in R,a_i\in A,n\in\mathbf Z\}. \end{aligned}

These are in fact the left ideal and right ideal generated by AA, respectively. The ideal generated by the subset AA is then RARRAR. For a commutative ring, all these structures are the same.

All ideals nZn\mathbf Z in the ring of integers are principal ideals, and below they are often denoted by (n)(n).

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 RR have elements a,b∈Ra,b\in R. If there exists x∈Rx\in R such that a=bxa=bx, then bb is said to divide (divide) aa, denoted by b∣ab\mid a. In this case, bb is called a divisor (divisor) of aa.

Associates

Let a commutative ring RR have elements a,b∈Ra,b\in R. If they differ only by a unit, that is, if there exists a unit u∈Ru\in R such that a=bua=bu, then aa and bb 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, a∣ba\mid b is equivalent to (b)⊆(a)(b)\subseteq (a), and aa and bb being associates is equivalent to (a)=(b)(a)=(b). 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 aa and bb in a commutative ring is defined as the infimum of {a,b}\{a,b\}.

Greatest Common Divisor

For a commutative ring RR and elements a,b∈Ra,b\in R, if there exists a nonzero element d∈Rd\in R such that d∣ad\mid a and d∣bd\mid b, and, for any element satisfying d′∣ad'\mid a and d′∣bd'\mid b, the element d′d' also satisfies d′∣dd'\mid d, then dd is called a greatest common divisor (greatest common divisor) of aa and bb, denoted by gcd⁡(a,b)\gcd(a,b).

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 RR have a nonzero element p∈Rp\in R. If (p)(p) is a prime ideal, that is, if pp is not a unit and p∣abp\mid ab always implies p∣ap\mid a or p∣bp\mid b, then pp is called a prime element (prime).

Irreducible Element

Let an integral domain RR have a nonzero element r∈Rr\in R. If rr is not a unit and, for any a,b∈Ra,b\in R with r=abr=ab, either aa or bb is a unit, then rr is called an irreducible element (irreducible), or rr is simply called irreducible. Conversely, if r=abr=ab and a,b∈Ra,b\in R are both not units, then rr is called reducible.

One can show that an irreducible element rr corresponds to the principal ideal (r)(r), 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 RR be an integral domain. If a∈Ra\in R is a prime element, then aa is also an irreducible element.

Proof

Let r∈Rr\in R be a prime element, and let a,b∈Ra,b\in R satisfy r=abr=ab. Since rr is prime, assume without loss of generality that r∣ar\mid a. Then a=cr=cbaa=cr=cba. Since the cancellation law holds in an integral domain, 1=bc1=bc, so bb has the inverse cc. This shows that rr is irreducible.

The converse does not hold.

Counterexample

In the quadratic integer ring Z[−5]\mathbf Z[\sqrt{-5}], 33 is irreducible, but 9=3⋅3=(2+−5)(2−−5)9=3\cdot 3=(2+\sqrt{-5})(2-\sqrt{-5}), 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 N(⋅)N(\cdot) be the norm on the quadratic integer ring. For every factorization 3=ab3=ab, we have N(a)N(b)=N(3)=9N(a)N(b)=N(3)=9. If a,ba,b are not units, then N(a)N(a) and N(b)N(b) are both greater than 11, so necessarily N(a)=N(b)=3N(a)=N(b)=3. But there is no such element in Z[−5]\mathbf Z[\sqrt{-5}]; equivalently, x2+5y2=3x^2+5y^2=3 has no integer solution. This shows that 33 is irreducible. To show that 33 is not prime, it remains to prove that 33 does not divide 2±−52\pm\sqrt{-5}, 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 RR, if there exists a map N:R∖{0}→NN:R\setminus\{0\}\rightarrow\mathbf N such that for every a,b∈Ra,b\in R with b≠0b\neq 0, there exist q,r∈Rq,r\in R satisfying a=qb+ra=qb+r and either r=0r=0 or N(r)<N(b)N(r)<N(b), then RR is called a Euclidean domain (Euclidean domain, ED). The map NN 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 N(0)=0N(0)=0; however, the value of N(0)N(0) 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 NN to satisfy the property that for every nonzero a,b∈Ra,b\in R, N(a)≤N(ab)N(a)\le N(ab). However, it is easy to verify that if a Euclidean domain RR has a norm N(⋅)N(\cdot) satisfying the properties required by the definition here, we can define a norm N′(a)=min⁡b∈R∖{0}N(ab)N'(a)=\min_{b\in R\setminus\{0\}} N(ab) satisfying the additional property N′(a)≤N′(ab)N'(a)\le N'(ab). 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 r=0r=0. 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 RR and elements a,b∈Ra,b\in R, applying the Euclidean algorithm to aa and bb yields dd, which is a greatest common divisor of aa and bb, and there exist x,y∈Rx,y\in R such that d=ax+byd=ax+by; conversely, every element of the form ax+byax+by is a multiple of dd.

In the language of ring theory, all elements of the form ax+byax+by are precisely the elements of the ideal (a,b)(a,b), and this theorem says that (a,b)(a,b) is necessarily the principal ideal (d)(d).

In fact, every ideal in a Euclidean domain is principal.

Theorem

Every ideal in a Euclidean domain is principal.

Proof

Let RR be a Euclidean domain and let II be one of its ideals. If I={0}I=\{0\}, it is clearly principal. Suppose II is nonzero. By definition, the ring RR has a norm N(⋅)N(\cdot), so choose a nonzero element in II, denoted by dd, of minimum norm. Then for any a∈Ia\in I, we have a=qd+ra=qd+r with r=0r=0 or N(r)<N(d)N(r)< N(d). Since r=a−qd∈Ir=a-qd\in I, the choice of dd implies r=0r=0, so a=qd∈(d)a=qd\in (d). Hence II 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 RR, 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 RR have a nonzero ideal II. Then II is a prime ideal if and only if II is a maximal ideal.

Proof

It suffices to prove that every prime ideal is maximal. Suppose a principal ideal domain RR has a nonzero prime ideal (p)(p) and an ideal (a)(a) with (p)⊆(a)⊆R(p)\subseteq(a)\subseteq R. This means a∣pa\mid p, so there exists b∈Rb\in R with p=abp=ab. But since (p)(p) is a prime ideal, ab∈(p)ab\in(p) implies a∈(p)a\in(p) or b∈(p)b\in(p). If a∈(p)a\in(p), then (a)⊆(p)(a)\subseteq (p), so (a)=(p)(a)=(p). If b∈(p)b\in(p), then b=cpb=cp, so p=acpp=acp; since p≠0p\neq 0, we have 1=ac1=ac, meaning that aa has inverse cc, and hence (a)=R(a)=R. Thus (p)(p) is a maximal ideal.

Corollary

Let a principal ideal domain RR have a nonzero element rr. Then rr is a prime element if and only if rr is an irreducible element.

The analysis of Bézout's identity in the previous section carries over to principal ideal domains.

Theorem

Let RR be a principal ideal domain and let a,b∈Ra,b\in R be nonzero elements. Let d∈Rd\in R be a generator of the ideal (a,b)(a,b). Then aa and bb have greatest common divisor dd, unique up to associates; moreover, there exist x,y∈Rx,y\in R such that ax+by=dax+by=d.

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 RR, if every nonzero nonunit element rr can be written in the form r=p1⋯pnr=p_1\cdots p_n, where p1,⋯ ,pnp_1,\cdots,p_n are irreducible elements that may repeat, and this factorization is unique up to associates and reordering, then RR is called a unique factorization domain (unique factorization domain, UFD).

The fundamental theorem of arithmetic says that the ring of integers Z\mathbf Z is a unique factorization domain.

The counterexample above, in which an irreducible element is not prime, involved the integral domain Z[−5]\mathbf Z[\sqrt{-5}], 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 RR and its nonzero element a∈Ra\in R, aa is a prime element if and only if aa is an irreducible element.

Proof

It suffices to prove that every irreducible element is prime. For an irreducible element rr, if r∣abr\mid ab, then there exists c∈Rc\in R such that ab=rcab=rc. Since RR is a unique factorization domain, we can factor a,b,c∈Ra,b,c\in R into products of irreducible elements. Comparing the two sides and using uniqueness of factorization, rr must be associate to an irreducible factor of either aa or bb, so rr divides one of aa and bb. Thus rr is also prime.

Every principal ideal domain is a unique factorization domain.

Theorem

Every principal ideal domain is a unique factorization domain.

Proof

Let RR be a principal ideal domain and let r∈Rr\in R be neither zero nor a unit. To show that rr 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 rr is already irreducible, no further factorization is needed. Otherwise, there must be r1r2r_1r_2 such that r=r1r2r=r_1r_2 and r1,r2r_1,r_2 are not units. If both r1r_1 and r2r_2 are irreducible, no further factorization is needed; otherwise, factor whichever of r1r_1 and r2r_2 is not irreducible further, and rr 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 RR, {r(i)}i=0∞\{r_{(i)}\}_{i=0}^\infty, satisfying r(0)=rr_{(0)}=r and r(i+1)∣r(i)r_{(i+1)}\mid r_{(i)} for all i∈Ni\in\mathbf N, 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: I0⊂I1⊂⋯⊂Ii⊂⋯⊂RI_{0}\subset I_{1}\subset \cdots\subset I_{i}\subset\cdots\subset R, where Ii=(r(i))I_i=(r_{(i)}). It is easy to verify that their union I=⋃i=0∞IiI=\bigcup_{i=0}^\infty I_i is also an ideal, and hence must be principal. Let aa be a generator of the principal ideal II, so there exists n∈Nn\in\mathbf N with a∈Ina\in I_n. Therefore, I=(a)⊆InI=(a)\subseteq I_n. 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 r=p1p2⋯pn=q1q2⋯qmr=p_1p_2\cdots p_n=q_1q_2\cdots q_m and n≤mn\le m, then p1p_1 must be associate to some qjq_j. This uses the earlier result that irreducible elements in a principal ideal domain are prime. Since p1p_1 is an irreducible element in RR, it is also prime, so by induction on the product on the right, there must be an element qjq_j such that p1∣qjp_1\mid q_j. Thus there is a c∈Rc\in R with qj=p1cq_j=p_1c. Since qjq_j and p1p_1 are both irreducible, the definition forces cc to be a unit, so p1p_1 and qjq_j are associates. We can then use cancellation to cancel p1p_1 and qjq_j from the two sides, and multiply the associate relating them into any one of the remaining elements. By the induction hypothesis, p2⋯pnp_2\cdots p_n and q1⋯qj−1qj+1⋯qmq_1\cdots q_{j-1}q_{j+1}\cdots q_m 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 RR have nonzero elements a,b∈Ra,b\in R, with factorizations a=up1r1⋯pnrna=up_1^{r_1}\cdots p_n^{r_n} and b=vp1s1⋯pnsnb=vp_1^{s_1}\cdots p_n^{s_n}, where u,vu,v are units, p1,⋯ ,pnp_1,\cdots,p_n are distinct irreducible elements, and ri,sir_i,s_i are natural numbers. Then one greatest common divisor is d=p1min⁡{r1,s1}⋯pnmin⁡{rn,sn}d=p_1^{\min\{r_1,s_1\}}\cdots p_n^{\min\{r_n,s_n\}}.

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 α2+bα+c=0\alpha^2+b\alpha+c=0 whose coefficient of the quadratic term is one. Every quadratic integer has the form

α=a+bω, (a,b∈Z)\alpha=a+b\omega,~(a,b\in\mathbf Z)

where

ω={1+D2,D≡1(mod4),D,D≡2,3(mod4),\omega=\begin{cases} \dfrac{1+\sqrt{D}}{2},& D\equiv 1\pmod 4,\\ \sqrt D,& D\equiv 2,3\pmod 4, \end{cases}

where DD is squarefree.

Analysis

By the quadratic formula, the roots of this equation can be written as

α=−b±b2−4c2.\alpha=\frac{-b\pm\sqrt{b^2-4c}}{2}.

When b=2k+1b=2k+1 is odd, this root can be written as

α=−k−1±4(k2+k−c)+12.\alpha=-k-\frac{1\pm\sqrt{4(k^2+k-c)+1}}{2}.

Otherwise, when b=2kb=2k is even, this root can be written as

α=−k±k2−c.\alpha=-k\pm\sqrt{k^2-c}.

Thus, we can conclude inductively that every quadratic integer has the form above.

It is easy to verify that for such an ω\omega, the set Z[ω]={a+bω:a,b∈Z}\mathbf Z[\omega]=\{a+b\omega:a,b\in\mathbf Z\} forms a ring. This is called a quadratic integer ring (quadratic integer ring), and its field of fractions is the quadratic field Q(D)\mathbf Q(\sqrt D). When D>0D>0, all quadratic integers are real, so it is also called a real quadratic integer ring; when D<0D<0, all quadratic integers other than the integers are complex, so it is also called an imaginary quadratic integer ring.

All quadratic integer rings Z[ω]\mathbf Z[\omega] are integral domains. When D=−1D=-1, Z[−1]\mathbf Z[\sqrt{-1}] (also written Z[i]\mathbf Z[\mathrm{i}]) is called the ring of Gaussian integers; when D=−3D=-3, Z[1+−32]\mathbf Z\left[\dfrac{1+\sqrt{-3}}{2}\right] is called the ring of Eisenstein integers.

For a quadratic integer a+bωa+b\omega, define its conjugate (conjugate) to be a+bωˉa+b\bar\omega, where

ωˉ={1−D2,D≡1(mod4),−D,D≡2,3(mod4),\bar\omega=\begin{cases} \dfrac{1-\sqrt{D}}{2},& D\equiv 1\pmod 4,\\ -\sqrt D,& D\equiv 2,3\pmod 4, \end{cases}

Note that when D>0D>0, 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:

N(a+bω)=(a+bω)(a+bωˉ)={a2+ab+1−D4b2,D≡1(mod4),a2−Db2,D≡2,3(mod4).\begin{aligned} N(a+b\omega)&=(a+b\omega)(a+b\bar\omega)\\ &=\begin{cases} a^2+ab+\dfrac{1-D}{4}b^2,& D\equiv 1\pmod 4,\\ a^2-Db^2,& D\equiv 2,3\pmod 4. \end{cases} \end{aligned}

The norm of a quadratic integer is always an integer. In particular, when D<0D<0, the norm is always a natural number. The norm preserves multiplication: N(ab)=N(a)N(b)N(ab)=N(a)N(b).

The units in a quadratic integer ring are precisely the elements whose norms are ±1\pm1. When D>0D>0, this is equivalent to considering the solutions of the Pell equations x2−Dy2=±1x^2-Dy^2=\pm1 or x2−Dy2=±4x^2-Dy^2=\pm4. When D<0D<0, it is easy to verify that, except for the two special cases in which the units in the ring of Gaussian integers Z[i]\mathbf Z[\rm{i}] are {±1,±i}\{\pm1,\pm\rm{i}\} and the units in the ring of Eisenstein integers Z[ω]\mathbf Z[\omega] are {±1,±ω,±ω2}\{\pm1,\pm\omega,\pm\omega^2\}, all other units are just {±1}\{\pm1\}.

The norm N(α)N(\alpha) defined on a quadratic integer ring can be used to prove that it is a Euclidean domain. When D>0D>0, its absolute value ∣N(α)∣|N(\alpha)| must be used as the norm in the definition of a Euclidean domain. Using this norm, one can prove that when D<0D<0,

D=−1,−2,−3,−7,−11D=-1,-2,-3,-7,-11

or when D>0D>0,

D=2,3,5,6,7,11,13,17,19,21,29,33,37,41,57,73D=2, 3, 5, 6, 7, 11, 13, 17, 19, 21, 29, 33, 37, 41, 57, 73

the corresponding quadratic integer rings are Euclidean domains under the norm ∣N(⋅)∣|N(\cdot)|. However, the norm in the definition of a Euclidean domain need not be the norm defined above. For example, when D=14,69D=14,69, the corresponding quadratic integer rings are also Euclidean domains, but a different norm is needed. For D<0D<0, 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 D<0D<0, only

D=−1,−2,−3,−7,−11,−19,−43,−67,−163D=-1,-2,-3,-7,-11,-19,-43,-67,-163

give quadratic integer rings that are principal ideal domains. Comparing the results above, we see that the case D=−19D=-19, for example, provides an example of a principal ideal domain that is not a Euclidean domain. When D>0D>0, 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 Z[−5]\mathbf Z[\sqrt{-5}] 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:

9=3×3=(2+−5)×(2−−5).9=3\times3=(2+\sqrt{-5})\times(2-\sqrt{-5}).

Using the same example, one can show that the ideal (3,2+5)(3,2+\sqrt 5) 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 Z[x]\mathbf Z[x].

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 RR, a polynomial (polynomial) over RR is a formal sum

∑k=0nakxk=a0+a1x+⋯+an−1xn−1+anxn,\sum_{k=0}^{n}a_kx^k = a_0+a_1x+\cdots+a_{n-1}x^{n-1}+a_nx^n,

where n∈Nn\in\mathbf N and, for every kk, ak∈Ra_k\in R. These aka_k are called the coefficients (coefficient) of the polynomial, and the corresponding akxka_kx^k is called a term (term) of the polynomial; the term akxka_kx^k has kk 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 00. For any other polynomial, assume without loss of generality that an≠0a_n\neq 0, so anxna_nx^n is the term of greatest degree among the nonzero-coefficient terms. The natural number nn is then called the degree (degree) of the polynomial, and the term anxna_nx^n is called the leading term (leading term); ana_n 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 −∞-\infty.

The xx 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 RR:

(a0,a1,...,an−1,an,0,0,⋯ ).(a_0,a_1,...,a_{n-1},a_n,0,0,\cdots).

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 f(x)f(x) is a polynomial over RR and a∈Ra\in R, then the result of substituting aa into f(x)f(x) is f(a)f(a). This means replacing xx with aa in the formal sum of the polynomial, obtaining an arithmetic expression in RR, whose value is f(a)f(a) after evaluation in RR.

“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, f(x)=xp−xf(x)=x^p-x as a polynomial over the field Fp\mathbf F_p is clearly not the zero polynomial; but f(x)f(x), as a polynomial function Fp→Fp\mathbf F_p\rightarrow \mathbf F_p, 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

f(x)=a0+a1x+⋯+an−1xn−1+anxn,g(x)=b0+b1x+⋯+bn−1xn−1+bnxn,\begin{aligned} f(x)&=a_0+a_1x+\cdots+a_{n-1}x^{n-1}+a_nx^n,\\ g(x)&=b_0+b_1x+\cdots+b_{n-1}x^{n-1}+b_nx^n, \end{aligned}

define polynomial addition by

f(x)+g(x)=(a0+b0)+(a1+b1)x+⋯+(an−1+bn−1)xn−1+(an+bn)xn,f(x)+g(x) = (a_0+b_0)+(a_1+b_1)x+\cdots+(a_{n-1}+b_{n-1})x^{n-1}+(a_n+b_n)x^n,

and define polynomial multiplication by

f(x)g(x)=a0b0+(a1b0+a0b1)x+(a2b0+a1b1+a0b2)x2+⋯ ,f(x)g(x) = a_0b_0+(a_1b_0+a_0b_1)x+(a_2b_0+a_1b_1+a_0b_2)x^2+\cdots,

where the coefficient of the xkx^k term is ∑i=0kak−ibi\sum_{i=0}^ka_{k-i}b_i. Under these definitions of addition and multiplication, it can be proved that all polynomials over RR form a ring, denoted by R[x]R[x].

The degree of a polynomial f(x)f(x) is denoted by deg⁡f(x)\deg f(x). Polynomials of degree zero are constant polynomials, and they, together with the zero polynomial, correspond to the embedding of RR into R[x]R[x]. Clearly, RR has zero divisors if and only if R[x]R[x] has zero divisors.

Theorem

The polynomial ring R[x]R[x] is an integral domain if and only if RR is an integral domain.

In an integral domain RR, the results of addition and multiplication in the polynomial ring R[x]R[x] satisfy

deg⁡(f(x)+g(x))≤max⁡{deg⁡f(x),deg⁡g(x)},deg⁡(f(x)g(x))=deg⁡f(x)+deg⁡g(x).\begin{aligned} \deg(f(x)+g(x)) &\le \max\{\deg f(x),\deg g(x)\},\\ \deg(f(x)g(x)) &= \deg f(x) + \deg g(x). \end{aligned}

Here we set deg⁡0=−∞\deg 0 = -\infty. 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 RR” and “polynomial in the polynomial ring R[x]R[x]” interchangeably. For example, a polynomial being irreducible over the ring RR means that it is irreducible in the ring R[x]R[x]. Moreover, if RR is a subring of SS, then a polynomial over RR automatically becomes a polynomial over SS; 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 FF, namely F[x]F[x]. Since coefficients can be divided, division with remainder can be defined. For a nonzero polynomial f(x)f(x), let its norm be N(f(x))=deg⁡f(x)N(f(x))=\deg f(x). Then, in F[x]F[x], for a polynomial f(x)f(x) and a nonzero polynomial g(x)g(x), we can clearly perform division with remainder:

f(x)=g(x)q(x)+r(x),f(x)=g(x)q(x)+r(x),

where q(x),r(x)∈F[x]q(x),r(x)\in F[x] and r(x)=0r(x)=0 or deg⁡r(x)<deg⁡g(x)\deg r(x)<\deg g(x). This shows that every polynomial ring over a field is a Euclidean domain.

Theorem

For a field FF, the polynomial ring F[x]F[x] is a Euclidean domain, a principal ideal domain, and a unique factorization domain.

In algorithmic contests, because of numerical precision, the polynomial ring Fp[x]=(Z/pZ)[x]\mathbf F_p[x]=(\mathbf Z/p\mathbf Z)[x] is often used, where the modulus pp is required to be prime. Such a ring permits operations such as the Euclidean algorithm. However, for an arbitrary modulus nn, the corresponding polynomial ring (Z/nZ)[x](\mathbf Z/n\mathbf Z)[x] 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 f(x)f(x) is an element for which f(ξ)=0f(\xi)=0, with ξ∈F\xi\in F.

Theorem

For a field FF and a polynomial f(x)f(x) over it, if ξ∈F\xi\in F, then ξ\xi is a root of f(x)f(x) if and only if f(x)f(x) has the linear factor (x−ξ)(x-\xi).

Proof

Division with remainder gives q(x),r(x)q(x),r(x) such that f(x)=q(x)(x−ξ)+r(x)f(x)=q(x)(x-\xi)+r(x) and deg⁡r(x)<deg⁡(x−ξ)=1\deg r(x)<\deg(x-\xi)=1. Hence, r(x)r(x) is a constant polynomial or the zero polynomial. Let r(x)=cr(x)=c; then f(x)=q(x)(x−ξ)+cf(x)=q(x)(x-\xi)+c. Substituting x=ξx=\xi gives 0=a(ξ)=c0=a(\xi)=c, so f(x)=q(x)(x−ξ)f(x)=q(x)(x-\xi).

The concept of a root can be extended to multiple roots.

Multiple Root

If a polynomial f(x)f(x) has a factor (x−ξ)k(x-\xi)^k, and (x−ξ)k+1(x-\xi)^{k+1} does not divide f(x)f(x), then ξ\xi is called a root of f(x)f(x) with multiplicity kk (root of multiplicity kk). If k>1k>1, the root ξ\xi is called a multiple root (multiple root) of f(x)f(x); if k=1k=1, the root ξ\xi is called a simple root (simple root) of f(x)f(x).

Theorem

If, over a field FF, a polynomial f(x)f(x) has roots ξ1,⋯ ,ξk\xi_1,\cdots,\xi_k, possibly with repetitions, then it must have the factor (x−ξ1)⋯(x−ξk)(x-\xi_1)\cdots(x-\xi_k). Consequently, over the field FF, a polynomial f(x)f(x) of degree nn has at most nn roots, counted with multiplicity.

Proof

This follows immediately from the fact that F[x]F[x] 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 C\mathbf C is one such example. Over the real field R\mathbf R, there are irreducible quadratic polynomials; over the rational field Q\mathbf Q, 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 RR and its polynomial ring R[x]R[x]. Direct computation in R[x]R[x] is restricted because coefficients often cannot be divided. We can instead extend RR to its field of fractions FF and then, in R[x]R[x], consider a polynomial f(x)f(x) and factor it in F[x]F[x]. Since F[x]F[x] is a unique factorization domain, the factorization in F[x]F[x] of f(x)f(x) yields a factorization in R[x]R[x]. Fortunately, this idea always works.

Gauss's Lemma

Let RR be a unique factorization domain and FF its field of fractions. If f(x)∈R[x]f(x)\in R[x], then in F[x]F[x] we have f(x)=A(x)B(x)f(x)=A(x)B(x), and there exist s,t∈Fs,t\in F such that a(x)=sA(x)∈R[x]a(x)=sA(x)\in R[x], b(x)=tB(x)∈R[x]b(x)=tB(x)\in R[x], and f(x)=a(x)b(x)f(x)=a(x)b(x). Therefore, if f(x)f(x) is irreducible in R[x]R[x], then it is irreducible in F[x]F[x].

Proof

Suppose f(x)∈R[x]f(x)\in R[x] is reducible in F[x]F[x], with f(x)=A(x)B(x)f(x)=A(x)B(x). Let rar_a and rbr_b be the least common multiples of the denominators of all coefficients in A(x)A(x) and B(x)B(x), respectively. Then a~(x)=raA(x)\tilde a(x)=r_aA(x) and b~(x)=rbB(x)\tilde b(x)=r_bB(x) are both polynomials over RR. Let r=rarbr=r_ar_b; then rf(x)=a~(x)b~(x)rf(x)=\tilde a(x)\tilde b(x). If rr is a unit in RR, we can use the factorization f(x)=(r−1a~(x))b~(x)f(x)=(r^{-1}\tilde a(x))\tilde b(x), which clearly satisfies the lemma.

Otherwise, if rr has an irreducible factor pp, we need to show that this factor can be canceled from both sides while keeping all coefficients in the integral domain RR. Note that pp must also be prime, so (p)(p) is a prime ideal. Reducing both sides of the equation modulo pp gives the polynomial equation in (R/(p))[x](R/(p))[x], namely 0=aˉ(x)bˉ(x)0=\bar a(x)\bar b(x), where aˉ\bar a and bˉ\bar b are the reduced polynomials. Since R/(p)R/(p) is an integral domain, (R/(p))[x](R/(p))[x] is also an integral domain, so we may assume aˉ(x)=0\bar a(x)=0. This means that all coefficients of a~(x)\tilde a(x) are divisible by pp. Hence, the factor pp can be canceled directly from both sides of the equation.

By the definition of a unique factorization domain, rr has at most finitely many such irreducible factors. After canceling them finitely many times, we reach the case where rr is a unit in RR. The lemma follows.

Corollary

Let RR be a unique factorization domain and FF its field of fractions. If f(x)∈R[x]f(x)\in R[x] and all nonzero coefficients of f(x)f(x) are coprime (that is, their greatest common divisor is a unit in RR), then f(x)f(x) is irreducible in R[x]R[x] if and only if f(x)f(x) is irreducible in F[x]F[x].

In other words, irreducible elements of the integer-coefficient polynomial ring Z[x]\mathbf Z[x] are irreducible elements of Q[x]\mathbf Q[x]. 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 nn-th-degree integer-coefficient polynomial be f(x)=a0+a1x+⋯+an−1xn−1+anxnf(x)=a_0+a_1x+\cdots+a_{n-1}x^{n-1}+a_nx^n. If there exists a prime pp such that p∣aip\mid a_i for every i=0,1,⋯ ,n−1i=0,1,\cdots,n-1, but pp does not divide ana_n and p2p^2 does not divide a0a_0, then f(x)f(x) is irreducible over the rational field Q\mathbf Q. If gcd⁡(a0,a1,⋯ ,an)=1\gcd(a_0,a_1,\cdots,a_n)=1, then f(x)f(x) is also irreducible over the ring of integers Z\mathbf Z.

Proof

Gauss's lemma shows that if a polynomial f(x)f(x) is reducible over the field of rational numbers Q\mathbf Q, then it is also reducible over the integer ring Z\mathbf Z. Suppose that f(x)=b(x)c(x)f(x)=b(x)c(x) is its factorization in Z[x]\mathbf Z[x]. Reducing both sides of the equation modulo the prime pp gives the factorization f‾(x)=b‾(x)c‾(x)\overline{f}(x)=\overline{b}(x)\overline{c}(x) in Fp[x]\mathbf F_p[x]. However, the conditions of the theorem state that f‾(x)=xn\overline{f}(x)=x^n, so there must be an integer mm such that b‾(x)=xm\overline b(x)=x^m and c‾(x)=xn−m\overline c(x)=x^{n-m}, where 0<m<n0<m<n. Thus, the constant terms b0b_0 and c0c_0 of the factors b(x)b(x) and c(x)c(x) are both multiples of pp. Consequently, the constant term a0=b0c0a_0=b_0c_0 of f(x)f(x) must be a multiple of p2p^2. This contradicts the given conditions.

Example
  1. The polynomial x3−2x^3-2 is irreducible in Q[x]\mathbf Q[x]. This follows immediately by applying the Eisenstein criterion with p=2p=2.
  2. The polynomial x4+1x^4+1 is irreducible in Q[x]\mathbf Q[x]. Otherwise, (x+1)4+1=x4+4x3+6x2+4x+2(x+1)^4+1=x^4+4x^3+6x^2+4x+2 would also be reducible. However, applying the Eisenstein criterion with p=2p=2 shows that the latter is irreducible.

For a unique factorization domain RR, the polynomial ring over its corresponding field of fractions FF is a unique factorization domain, and Gauss's lemma says that factorizations of polynomials over the field of fractions FF correspond to factorizations of polynomials over the original domain RR. Therefore, R[x]R[x] is also a unique factorization domain. Thus we have the following theorem:

Theorem

The polynomial ring R[x]R[x] is a unique factorization domain if and only if RR is a unique factorization domain.

Here Z[x]\mathbf Z[x] provides an example showing that a unique factorization domain need not be a principal ideal domain. For example, (2,x)(2,x) is not a principal ideal in Z[x]\mathbf Z[x].

There are many ways to extend a polynomial ring to a larger set. For example, for a polynomial ring R[x]R[x] over an integral domain, we can extend it to its field of fractions, denoted by R(x)R(x). This field of fractions is often called the field of rational fractions, whose elements have the basic form f(x)g(x)\dfrac{f(x)}{g(x)}, where f(x)f(x) and g(x)g(x) are polynomials.

Multivariable polynomial rings

Polynomial rings can be generalized to the case of several indeterminates. For a commutative ring with unity RR, define the polynomial ring over RR, namely the univariate polynomial ring R[x]R[x]. We can then define the polynomial ring over R[x]R[x], R[x][y]R[x][y], which can be viewed as the bivariate polynomial ring R[x,y]R[x,y] over RR. In this way, the kk-variable polynomial ring R[x1,⋯ ,xk]R[x_1,\cdots,x_k] over RR can be defined inductively. When RR 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 RR is defined by

∑k=0∞akxk=a0+a1x+a2x2+⋯ .\sum_{k=0}^\infty a_kx^k=a_0+a_1x+a_2x^2+\cdots.

Addition and multiplication of power series can be defined in the same way as for the polynomial ring R[x]R[x]. The formal power series then also form a ring, denoted by R[[x]]R[[x]]. 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

(1−x)−1=∑k=0∞xk=1+x+x2+⋯ .(1-x)^{-1}=\sum_{k=0}^\infty x^k=1+x+x^2+\cdots.

This phenomenon is general. As long as the constant term a0a_0 of a formal power series is a unit in RR, the formal power series ∑k=0∞akxk\sum_{k=0}^\infty a_kx^k is also invertible. Indeed, if we suppose that

(∑k=0∞akxk)(∑k=0∞bkxk)=1,\left(\sum_{k=0}^\infty a_kx^k\right)\left(\sum_{k=0}^\infty b_kx^k\right)=1,

then, by writing down the system of equations that the coefficients must satisfy, we can recursively obtain expressions for bkb_k, involving only the inverse of a0a_0.

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 RR is defined by

∑k=N∞akxk,\sum_{k=N}^\infty a_kx^k,

where N∈ZN\in\mathbf Z. 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 R((x))R((x)). If FF is a field, then F((x))F((x)) 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 RR and its ideals I1,⋯ ,InI_1,\cdots,I_n, consider the ring homomorphism φ:R→R/I1×⋯R/In\varphi:R\rightarrow R/I_1\times \cdots R/I_n, which maps rr to (r+I1,⋯ ,r+In)(r+I_1,\cdots,r+I_n). Here, r+Iir+I_i is a coset, while ×\times denotes the direct product of rings:

Direct product

For rings R1R_1 and R2R_2, define multiplication on the direct product R1×R2R_1\times R_2 of their additive groups by multiplying the corresponding components. Then R1×R2R_1\times R_2 becomes a ring, called the direct product (direct prodcut) of the rings R1R_1 and R2R_2, still denoted by R1×R2R_1\times R_2.

The kernel of the homomorphism φ\varphi is ker⁡φ=I1∩⋯∩In\ker\varphi=I_1\cap\cdots\cap I_n. 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 RR be a ring with ideals II and JJ. If I+J=RI+J=R, then II and JJ are called comaximal (comaximal).

For a ring with unity, if we consider the principal ideals (a)(a) and (b)(b), this condition is equivalent to the existence of x,y∈Rx,y\in R such that ax+by=1ax+by=1, 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 RR have ideals I1,⋯ ,InI_1,\cdots,I_n. If they are pairwise comaximal, then the ring homomorphism φ\varphi defined above is surjective, and its kernel is the product of these ideals, ker⁡φ=I1∩⋯∩In=I1⋯In\ker\varphi=I_1\cap\cdots\cap I_n=I_1\cdots I_n, and hence

R/(I1⋯In)=R/(I1∩⋯∩In)≅R/I1×⋯×R/In.R/(I_1\cdots I_n)=R/(I_1\cap\cdots\cap I_n)\cong R/I_1\times\cdots\times R/I_n.
Proof

The theorem contains substantial information, but only two conclusions need to be proved: φ\varphi is surjective and I1∩⋯∩In=I1⋯InI_1\cap\cdots\cap I_n=I_1\cdots I_n. The key is to make good use of the comaximality condition.

First consider the case n=2n=2. Since the ideals I1I_1 and I2I_2 are comaximal, namely I1+I2=RI_1+I_2=R, the unity 11 of RR can be written as a1+a2a_1+a_2, where ai∈Iia_i\in I_i. Since a1∈I1a_1\in I_1 and a1=1−a2∈1+I2a_1=1-a_2\in 1+I_2, we have φ(a1)=(I1,1+I2)\varphi(a_1)=(I_1,1+I_2); similarly, φ(a2)=(1+I1,I2)\varphi(a_2)=(1+I_1,I_2). Thus (φ(a2),φ(a1))(\varphi(a_2),\varphi(a_1)) plays a role analogous to a basis in a vector space. Therefore, for any target image (r1+I1,r2+I2)(r_1+I_1,r_2+I_2), we can find its preimage under φ\varphi, namely r1a2+r2a1r_1a_2+r_2a_1. This shows that φ\varphi is surjective.

We still need to prove I1∩I2=I1I2I_1\cap I_2=I_1I_2. For a general ring, I1I2⊆I1∩I2I_1I_2\subseteq I_1\cap I_2 always holds; the key is the converse. For any r∈I1∩I2r\in I_1\cap I_2, we have r=r(a1+a2)=ra1+ra2∈I1I2r=r(a_1+a_2)=ra_1+ra_2\in I_1I_2. Hence I1∩I2⊆I1I2I_1\cap I_2\subseteq I_1I_2 also holds. This proves the claim.

For n>2n>2, mathematical induction is needed. The key inductive step is to prove that for pairwise comaximal ideals I1,⋯ ,InI_1,\cdots,I_n, the ideals I1I_1 and I2⋯InI_2\cdots I_n are always comaximal. Since I1I_1 is comaximal with each of I2,⋯ ,InI_2,\cdots,I_n, for every i=2,⋯ ,ni=2,\cdots,n there exist ai∈I1a_i\in I_1 and bi∈Iib_i\in I_i such that 1=ai+bi1=a_i+b_i. Therefore, 1=(a2+b2)⋯(an+bn)1=(a_2+b_2)\cdots(a_n+b_n). Hence 1∈(b2⋯bn)+I1⊆I1+(I2⋯In)1\in (b_2\cdots b_n)+I_1\subseteq I_1+(I_2\cdots I_n). This shows that I1I_1 and I2⋯InI_2\cdots I_n are comaximal.

Application: Lagrange interpolation formula

Related reading: Lagrange interpolation, Fast polynomial interpolation

The interpolation problem asks, given a collection of point values {(xi,yi)}i=1n\{(x_i,y_i)\}_{i=1}^n, for a polynomial f(x)f(x) over a field FF satisfying f(xi)=yif(x_i)=y_i for every i=1,⋯ ,ni=1,\cdots,n. We of course assume that all xix_i are distinct. The Lagrange interpolation formula gives the general solution to this type of problem.

For a polynomial f(x)f(x) over a field FF, the condition f(xi)=yif(x_i)=y_i is equivalent to xix_i being a root of the polynomial f(x)−yif(x)-y_i, and hence equivalent to (x−xi)∣(f(x)−yi)(x-x_i)\mid(f(x)-y_i), or f(x)≡yi(modx−xi)f(x)\equiv y_i\pmod{x-x_i}. Thus the interpolation problem is equivalent to solving the system of congruences

{f(x)≡y1(modx−x1),f(x)≡y2(modx−x2),⋯f(x)≡yn(modx−xn).\begin{cases} f(x)\equiv y_1&\pmod{x-x_1},\\ f(x)\equiv y_2&\pmod{x-x_2},\\ \cdots\\ f(x)\equiv y_n&\pmod{x-x_n}. \end{cases}

These linear polynomials {x−xi}i=1n\{x-x_i\}_{i=1}^n are pairwise coprime. According to the Chinese remainder theorem, the solution must have the form

f(x)=∑i=1nyiMi(x),f(x)=\sum_{i=1}^ny_iM_i(x),

where Mi(x)=mi(x)∏j≠i(x−xj)M_i(x)=m_i(x)\prod_{j\neq i}(x-x_j) and Mi(x)≡1(modx−xi)M_i(x)\equiv 1\pmod{x-x_i}. By the equivalence derived above, this is equivalent to Mi(xi)=1M_i(x_i)=1, namely

mi(xi)∏j≠i(xi−xj)=1.m_i(x_i)\prod_{j\neq i}(x_i-x_j) = 1.

We may take mi(x)m_i(x) to be a constant polynomial, namely

mi(x)=1∏j≠i(xi−xj).m_i(x) = \frac{1}{\prod_{j\neq i}(x_i-x_j)}.

This gives the Lagrange interpolation formula

f(x)=∑i=1nyi∏j≠i(x−xj)∏j≠i(xi−xj).f(x)=\sum_{i=1}^ny_i\frac{\prod_{j\neq i}(x-x_j)}{\prod_{j\neq i}(x_i-x_j)}.

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 nn. We omit the overline notation for residue classes in this section.

The multiplicative group of integers modulo nn (multiplicative group of integers modulo nn) is (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times, namely the multiplicative group of units (also called the unit group) in the quotient ring Z/nZ\mathbf Z/n\mathbf Z. The order of the group (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times is φ(n)\varphi(n), because having an inverse is equivalent to being coprime to nn. Here φ(n)\varphi(n) is the Euler totient function. Moreover, the group (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times is always Abelian.

By the fundamental theorem of arithmetic, the modulus nn can be decomposed as a product of powers of distinct primes:

n=p1α1⋯psαs.n=p_1^{\alpha_1}\cdots p_s^{\alpha_s}.

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

Z/nZ≅Z/p1α1Z×⋯×Z/psαsZ.\mathbf Z/n\mathbf Z\cong\mathbf Z/p_1^{\alpha_1}\mathbf Z\times\cdots\times\mathbf Z/p_s^{\alpha_s}\mathbf Z.

An isomorphism of rings implies an isomorphism of the corresponding multiplicative structures, so

(Z/nZ)×≅(Z/p1α1Z)××⋯×(Z/psαsZ)×.(\mathbf Z/n\mathbf Z)^\times\cong(\mathbf Z/p_1^{\alpha_1}\mathbf Z)^\times\times\cdots\times(\mathbf Z/p_s^{\alpha_s}\mathbf Z)^\times.

This shows that φ(n)=φ(p1α1)⋯φ(pnαn)\varphi(n)=\varphi(p_1^{\alpha_1})\cdots\varphi(p_n^{\alpha_n}), 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 pkp^k is the modulus. For prime powers, we need to consider separately the cases p=2p=2 and pp an odd prime:

  • For p=2p=2, direct verification gives (Z/2Z)×≅C1(\mathbf Z/2\mathbf Z)^\times\cong C_1 and (Z/4Z)×≅C2(\mathbf Z/4\mathbf Z)^\times\cong C_2. For k≥3k\ge3, we have (Z/2kZ)×≅C2×C2k−2(\mathbf Z/2^k\mathbf Z)^\times\cong C_2\times C_{2^{k-2}}.

    ??? 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 pp, one can prove that (Z/pkZ)×(\mathbf Z/p^k\mathbf Z)^\times is isomorphic to the cyclic group Cφ(pk)C_{\varphi(p^k)}.

    ??? note "Proof" To prove that (Z/pkZ)×(\mathbf Z/p^k\mathbf Z)^\times is cyclic, the fundamental theorem of finite Abelian groups shows that it suffices to prove that each of its Sylow qq-subgroups is cyclic. First, for the Sylow pp-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 nn is cyclic if and only if the modulus nn is one of

1,2,4,pk,2pk1,2,4,p^k,2p^k

where pp is an odd prime; otherwise, the multiplicative group of integers modulo nn necessarily has a subgroup C2×C2C_2\times C_2 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 (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times, an element xx satisfying xk=1x^k=1, that is, a solution of the congruence xk≡1(modn)x^k\equiv 1\pmod n, is called a kk-th root of unity modulo nn (kk-th root of unity modulo nn); an element whose order is exactly kk is called a primitive kk-th root of unity modulo nn (primitive kk-th root of unity modulo nn). 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 (Z/nZ)×(\mathbf Z/n\mathbf Z)^\times, namely the smallest positive integer kk such that xk=1x^k=1 for every x∈(Z/nZ)×x\in (\mathbf Z/n\mathbf Z)^\times, regarded as a function of nn, is the Carmichael function. Its many properties can all be obtained from the structure of the multiplicative group.

References and notes

Footnotes

  1. https://en.wikipedia.org/wiki/Ideal_(ring_theory)#History ↩

  2. 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. ↩

  3. An integral domain in which greatest common divisors exist is called a greatest common divisor domain. ↩

  4. A brief history of ring theory can be found here. ↩

This content comes from OI Wiki: Ring Theory. See the original for authors and revision history. AIOJ has adapted the formatting, in-site links, and resource paths.

Content is shared under CC BY-SA 4.0 and SATA license; additional terms are governed by the original notice. Thanks to the OI Wiki authors and contributors; per the SATA terms, please visit the OI Wiki repository and star it to show your support.