Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132924 views
License: OTHER
Kernel:
%%html <link href="http://mathbook.pugetsound.edu/beta/mathbook-content.css" rel="stylesheet" type="text/css" /> <link href="https://aimath.org/mathbook/mathbook-add-on.css" rel="stylesheet" type="text/css" /> <style>.subtitle {font-size:medium; display:block}</style> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic" rel="stylesheet" type="text/css" /> <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700&subset=latin,latin-ext" rel="stylesheet" type="text/css" /><!-- Hide this cell. --> <script> var cell = $(".container .cell").eq(0), ia = cell.find(".input_area") if (cell.find(".toggle-button").length == 0) { ia.after( $('<button class="toggle-button">Toggle hidden code</button>').click( function (){ ia.toggle() } ) ) ia.hide() } </script>

Important: to view this notebook properly you will need to execute the cell above, which assumes you have an Internet connection. It should already be selected, or place your cursor anywhere above to select. Then press the "Run" button in the menu bar above (the right-pointing arrowhead), or press Shift-Enter on your keyboard.

ParseError: KaTeX parse error: \newcommand{\lt} attempting to redefine \lt; use \renewcommand

Section18.2Factorization in Integral Domains

The building blocks of the integers are the prime numbers. If FF is a field, then irreducible polynomials in F[x]F[x] play a role that is very similar to that of the prime numbers in the ring of integers. Given an arbitrary integral domain, we are led to the following series of definitions.

Let RR be a commutative ring with identity, and let aa and bb be elements in R.R\text{.} We say that aa b,b\text{,} and write ab,a \mid b\text{,} if there exists an element cRc \in R such that b=ac.b = ac\text{.} A in RR is an element that has a multiplicative inverse. Two elements aa and bb in RR are said to be if there exists a unit uu in RR such that a=ub.a = ub\text{.}

Let DD be an integral domain. A nonzero element pDp \in D that is not a unit is said to be provided that whenever p=ab,p = ab\text{,} either aa or bb is a unit. Furthermore, pp is if whenever pabp \mid ab either pap \mid a or pb.p \mid b\text{.}

Example18.8

It is important to notice that prime and irreducible elements do not always coincide. Let RR be the subring (with identity) of Q[x,y]{\mathbb Q}[x, y] generated by x2,x^2\text{,} y2,y^2\text{,} and xy.xy\text{.} Each of these elements is irreducible in R;R\text{;} however, xyxy is not prime, since xyxy divides x2y2x^2 y^2 but does not divide either x2x^2 or y2.y^2\text{.}

The Fundamental Theorem of Arithmetic states that every positive integer n>1n \gt 1 can be factored into a product of prime numbers p1pk,p_1 \cdots p_k\text{,} where the pip_i's are not necessarily distinct. We also know that such factorizations are unique up to the order of the pip_i's. We can easily extend this result to the integers. The question arises of whether or not such factorizations are possible in other rings. Generalizing this definition, we say an integral domain DD is a , or , if DD satisfies the following criteria.

  1. Let aDa \in D such that a0a \neq 0 and aa is not a unit. Then aa can be written as the product of irreducible elements in D.D\text{.}

  2. Let a=p1pr=q1qs,a = p_1 \cdots p_r = q_1 \cdots q_s\text{,} where the pip_i's and the qiq_i's are irreducible. Then r=sr=s and there is a πSr\pi \in S_r such that pip_i and qπ(j)q_{\pi(j)} are associates for j=1,,r.j = 1, \ldots, r\text{.}

Example18.9

The integers are a unique factorization domain by the Fundamental Theorem of Arithmetic.

Example18.10

Not every integral domain is a unique factorization domain. The subring Z[3i]={a+b3i}{\mathbb Z}[ \sqrt{3}\, i ] = \{ a + b \sqrt{3}\, i\} of the complex numbers is an integral domain (Exercise 16.6.12, Chapter 16). Let z=a+b3iz = a + b \sqrt{3}\, i and define ν:Z[3i]N{0}\nu : {\mathbb Z}[ \sqrt{3}\, i ] \rightarrow {\mathbb N} \cup \{ 0 \} by ν(z)=z2=a2+3b2.\nu( z) = |z|^2 = a^2 + 3 b^2\text{.} It is clear that ν(z)0\nu(z) \geq 0 with equality when z=0.z = 0\text{.} Also, from our knowledge of complex numbers we know that ν(zw)=ν(z)ν(w).\nu(z w) = \nu(z) \nu(w)\text{.} It is easy to show that if ν(z)=1,\nu(z) = 1\text{,} then zz is a unit, and that the only units of Z[3i]{\mathbb Z}[ \sqrt{3}\, i ] are 1 and 1.-1\text{.}

We claim that 4 has two distinct factorizations into irreducible elements:

4=22=(13i)(1+3i).\begin{equation*} 4 = 2 \cdot 2 = (1 - \sqrt{3}\, i) (1 + \sqrt{3}\, i). \end{equation*}

We must show that each of these factors is an irreducible element in Z[3i].{\mathbb Z}[ \sqrt{3}\, i ]\text{.} If 2 is not irreducible, then 2=zw2 = z w for elements z,wz, w in Z[3i]{\mathbb Z}[ \sqrt{3}\, i ] where ν(z)=ν(w)=2.\nu( z) = \nu(w) = 2\text{.} However, there does not exist an element in zz in Z[3i]{\mathbb Z}[\sqrt{3}\, i ] such that ν(z)=2\nu(z) = 2 because the equation a2+3b2=2a^2 + 3 b^2 = 2 has no integer solutions. Therefore, 2 must be irreducible. A similar argument shows that both 13i1 - \sqrt{3}\, i and 1+3i1 + \sqrt{3}\, i are irreducible. Since 2 is not a unit multiple of either 13i1 - \sqrt{3}\, i or 1+3i,1 + \sqrt{3}\, i\text{,} 4 has at least two distinct factorizations into irreducible elements.

SubsectionPrincipal Ideal Domains

Let RR be a commutative ring with identity. Recall that a principal ideal generated by aRa \in R is an ideal of the form a={ra:rR}.\langle a \rangle = \{ ra : r \in R \}\text{.} An integral domain in which every ideal is principal is called a , or .

Lemma18.11

Let DD be an integral domain and let a,bD.a, b \in D\text{.} Then

  1. aba \mid b if and only if ba.\langle b \rangle \subset \langle a \rangle\text{.}

  2. aa and bb are associates if and only if b=a.\langle b \rangle = \langle a \rangle\text{.}

  3. aa is a unit in DD if and only if a=D.\langle a \rangle = D\text{.}

Proof

(1) Suppose that ab.a \mid b\text{.} Then b=axb = ax for some xD.x \in D\text{.} Hence, for every rr in D,D\text{,} br=(ax)r=a(xr)br =(ax)r = a(xr) and ba.\langle b \rangle \subset \langle a \rangle\text{.} Conversely, suppose that ba.\langle b \rangle \subset \langle a \rangle\text{.} Then ba.b \in \langle a \rangle\text{.} Consequently, b=axb =a x for some xD.x \in D\text{.} Thus, ab.a \mid b\text{.}

(2) Since aa and bb are associates, there exists a unit uu such that a=ub.a = u b\text{.} Therefore, bab \mid a and ab.\langle a \rangle \subset \langle b \rangle\text{.} Similarly, ba.\langle b \rangle \subset \langle a \rangle\text{.} It follows that a=b.\langle a \rangle = \langle b \rangle\text{.} Conversely, suppose that a=b.\langle a \rangle = \langle b \rangle\text{.} By part (1), aba \mid b and ba.b \mid a\text{.} Then a=bxa = bx and b=ayb = ay for some x,yD.x, y \in D\text{.} Therefore, a=bx=ayx.a = bx = ayx\text{.} Since DD is an integral domain, xy=1;x y =1\text{;} that is, xx and yy are units and aa and bb are associates.

(3) An element aDa \in D is a unit if and only if aa is an associate of 1. However, aa is an associate of 1 if and only if a=1=D.\langle a \rangle = \langle 1 \rangle = D\text{.}

Theorem18.12

Let DD be a PID and p\langle p \rangle be a nonzero ideal in D.D\text{.} Then p\langle p \rangle is a maximal ideal if and only if pp is irreducible.

Proof

Suppose that p\langle p \rangle is a maximal ideal. If some element aa in DD divides p,p\text{,} then pa.\langle p \rangle \subset \langle a \rangle\text{.} Since p\langle p \rangle is maximal, either D=aD = \langle a \rangle or p=a.\langle p \rangle = \langle a \rangle\text{.} Consequently, either aa and pp are associates or aa is a unit. Therefore, pp is irreducible.

Conversely, let pp be irreducible. If a\langle a \rangle is an ideal in DD such that paD,\langle p \rangle \subset \langle a \rangle \subset D\text{,} then ap.a \mid p\text{.} Since pp is irreducible, either aa must be a unit or aa and pp are associates. Therefore, either D=aD = \langle a \rangle or p=a.\langle p \rangle = \langle a \rangle\text{.} Thus, p\langle p \rangle is a maximal ideal.

Corollary18.13

Let DD be a PID. If pp is irreducible, then pp is prime.

Proof

Let pp be irreducible and suppose that pab.p \mid ab\text{.} Then abp.\langle ab \rangle \subset \langle p \rangle\text{.} By Corollary 16.40, since p\langle p \rangle is a maximal ideal, p\langle p \rangle must also be a prime ideal. Thus, either apa \in \langle p \rangle or bp.b \in \langle p \rangle\text{.} Hence, either pap \mid a or pb.p \mid b\text{.}

Lemma18.14

Let DD be a PID. Let I1,I2,I_1, I_2, \ldots be a set of ideals such that I1I2.I_1 \subset I_2 \subset \cdots\text{.} Then there exists an integer NN such that In=INI_n = I_N for all nN.n \geq N\text{.}

Proof

We claim that I=i=1IiI= \bigcup_{i=1}^\infty I_i is an ideal of D.D\text{.} Certainly II is not empty, since I1II_1 \subset I and 0I.0 \in I\text{.} If a,bI,a, b \in I\text{,} then aIia \in I_i and bIjb \in I_j for some ii and jj in N.{\mathbb N}\text{.} Without loss of generality we can assume that ij.i \leq j\text{.} Hence, aa and bb are both in IjI_j and so aba - b is also in Ij.I_j\text{.} Now let rDr \in D and aI.a \in I\text{.} Again, we note that aIia \in I_i for some positive integer i.i\text{.} Since IiI_i is an ideal, raIira \in I_i and hence must be in I.I\text{.} Therefore, we have shown that II is an ideal in D.D\text{.}

Since DD is a principal ideal domain, there exists an element aD\overline{a} \in D that generates I.I\text{.} Since a\overline{a} is in INI_N for some NN,N \in {\mathbb N}\text{,} we know that IN=I=a.I_N = I = \langle \overline{a} \rangle\text{.} Consequently, In=INI_n = I_N for nN.n \geq N\text{.}

Any commutative ring satisfying the condition in Lemma 18.14 is said to satisfy the , or . Such rings are called , after Emmy Noether.

Theorem18.15

Every PID is a UFD.

Proof

Existence of a factorization. Let DD be a PID and aa be a nonzero element in DD that is not a unit. If aa is irreducible, then we are done. If not, then there exists a factorization a=a1b1,a = a_1 b_1\text{,} where neither a1a_1 nor b1b_1 is a unit. Hence, aa1.\langle a \rangle \subset \langle a_1 \rangle\text{.} By Lemma 18.11, we know that aa1;\langle a \rangle \neq \langle a_1 \rangle\text{;} otherwise, aa and a1a_1 would be associates and b1b_1 would be a unit, which would contradict our assumption. Now suppose that a1=a2b2,a_1 = a_2 b_2\text{,} where neither a2a_2 nor b2b_2 is a unit. By the same argument as before, a1a2.\langle a_1 \rangle \subset \langle a_2 \rangle\text{.} We can continue with this construction to obtain an ascending chain of ideals

aa1a2.\begin{equation*} \langle a \rangle \subset \langle a_1 \rangle \subset \langle a_2 \rangle \subset \cdots. \end{equation*}

By Lemma 18.14, there exists a positive integer NN such that an=aN\langle a_n \rangle = \langle a_N \rangle for all nN.n \geq N\text{.} Consequently, aNa_N must be irreducible. We have now shown that aa is the product of two elements, one of which must be irreducible.

Now suppose that a=c1p1,a = c_1 p_1\text{,} where p1p_1 is irreducible. If c1c_1 is not a unit, we can repeat the preceding argument to conclude that ac1.\langle a \rangle \subset \langle c_1 \rangle\text{.} Either c1c_1 is irreducible or c1=c2p2,c_1 = c_2 p_2\text{,} where p2p_2 is irreducible and c2c_2 is not a unit. Continuing in this manner, we obtain another chain of ideals

ac1c2.\begin{equation*} \langle a \rangle \subset \langle c_1 \rangle \subset \langle c_2 \rangle \subset \cdots. \end{equation*}

This chain must satisfy the ascending chain condition; therefore,

a=p1p2pr\begin{equation*} a = p_1 p_2 \cdots p_r \end{equation*}

for irreducible elements p1,,pr.p_1, \ldots, p_r\text{.}

Uniqueness of the factorization. To show uniqueness, let

a=p1p2pr=q1q2qs,\begin{equation*} a = p_1 p_2 \cdots p_r = q_1 q_2 \cdots q_s, \end{equation*}

where each pip_i and each qiq_i is irreducible. Without loss of generality, we can assume that r<s.r \lt s\text{.} Since p1p_1 divides q1q2qs,q_1 q_2 \cdots q_s\text{,} by Corollary 18.13 it must divide some qi.q_i\text{.} By rearranging the qiq_i's, we can assume that p1q1;p_1 \mid q_1\text{;} hence, q1=u1p1q_1 = u_1 p_1 for some unit u1u_1 in D.D\text{.} Therefore,

a=p1p2pr=u1p1q2qs\begin{equation*} a = p_1 p_2 \cdots p_r = u_1 p_1 q_2 \cdots q_s \end{equation*}

or

p2pr=u1q2qs.\begin{equation*} p_2 \cdots p_r = u_1 q_2 \cdots q_s. \end{equation*}

Continuing in this manner, we can arrange the qiq_i's such that p2=q2,p3=q3,,pr=qr,p_2 = q_2, p_3 = q_3, \ldots, p_r = q_r\text{,} to obtain

u1u2urqr+1qs=1.\begin{equation*} u_1 u_2 \cdots u_r q_{r+1} \cdots q_s = 1. \end{equation*}

In this case qr+1qsq_{r + 1} \cdots q_s is a unit, which contradicts the fact that qr+1,,qsq_{r + 1}, \ldots, q_s are irreducibles. Therefore, r=sr = s and the factorization of aa is unique.

Corollary18.16

Let FF be a field. Then F[x]F[x] is a UFD.

Example18.17

Every PID is a UFD, but it is not the case that every UFD is a PID. In Corollary 18.31, we will prove that Z[x]{\mathbb Z}[x] is a UFD. However, Z[x]{\mathbb Z}[x] is not a PID. Let I={5f(x)+xg(x):f(x),g(x)Z[x]}.I = \{ 5 f(x) + x g(x) : f(x), g(x) \in {\mathbb Z}[x] \}\text{.} We can easily show that II is an ideal of Z[x].{\mathbb Z}[x]\text{.} Suppose that I=p(x).I = \langle p(x) \rangle\text{.} Since 5I,5 \in I\text{,} 5=f(x)p(x).5 = f(x) p(x)\text{.} In this case p(x)=pp(x) = p must be a constant. Since xI,x \in I\text{,} x=pg(x);x = p g(x)\text{;} consequently, p=±1.p = \pm 1\text{.} However, it follows from this fact that p(x)=Z[x].\langle p(x) \rangle = {\mathbb Z}[x]\text{.} But this would mean that 3 is in I.I\text{.} Therefore, we can write 3=5f(x)+xg(x)3 = 5 f(x) + x g(x) for some f(x)f(x) and g(x)g(x) in Z[x].{\mathbb Z}[x]\text{.} Examining the constant term of this polynomial, we see that 3=5f(x),3 = 5 f(x)\text{,} which is impossible.

SubsectionEuclidean Domains

We have repeatedly used the division algorithm when proving results about either Z{\mathbb Z} or F[x],F[x]\text{,} where FF is a field. We should now ask when a division algorithm is available for an integral domain.

Let DD be an integral domain such that for each aDa \in D there is a nonnegative integer ν(a)\nu(a) satisfying the following conditions.

  1. If aa and bb are nonzero elements in D,D\text{,} then ν(a)ν(ab).\nu(a) \leq \nu(ab)\text{.}

  2. Let a,bDa, b \in D and suppose that b0.b \neq 0\text{.} Then there exist elements q,rDq, r \in D such that a=bq+ra = bq + r and either r=0r=0 or ν(r)<ν(b).\nu(r) \lt \nu(b)\text{.}

Then DD is called a and ν\nu is called a .

Example18.18

Absolute value on Z{\mathbb Z} is a Euclidean valuation.

Example18.19

Let FF be a field. Then the degree of a polynomial in F[x]F[x] is a Euclidean valuation.

Example18.20

Recall that the Gaussian integers in Example 16.12 of Chapter 16 are defined by

Z[i]={a+bi:a,bZ}.\begin{equation*} {\mathbb Z}[i] = \{ a + b i : a, b \in {\mathbb Z} \}. \end{equation*}

We usually measure the size of a complex number a+bia + bi by its absolute value, a+bi=a2+b2;|a + bi| = \sqrt{ a^2 + b^2}\text{;} however, a2+b2\sqrt{a^2 + b^2} may not be an integer. For our valuation we will let ν(a+bi)=a2+b2\nu(a + bi) = a^2 + b^2 to ensure that we have an integer.

We claim that ν(a+bi)=a2+b2\nu( a+ bi) = a^2 + b^2 is a Euclidean valuation on Z[i].{\mathbb Z}[i]\text{.} Let z,wZ[i].z, w \in {\mathbb Z}[i]\text{.} Then ν(zw)=zw2=z2w2=ν(z)ν(w).\nu( zw) = |zw|^2 = |z|^2 |w|^2 = \nu(z) \nu(w)\text{.} Since ν(z)1\nu(z) \geq 1 for every nonzero zZ[i],z \in {\mathbb Z}[i]\text{,} ν(z)ν(z)ν(w).\nu( z) \leq \nu(z) \nu(w)\text{.}

Next, we must show that for any z=a+biz= a+bi and w=c+diw = c+di in Z[i]{\mathbb Z}[i] with w0,w \neq 0\text{,} there exist elements qq and rr in Z[i]{\mathbb Z}[i] such that z=qw+rz = qw + r with either r=0r=0 or ν(r)<ν(w).\nu(r) \lt \nu(w)\text{.} We can view zz and ww as elements in Q(i)={p+qi:p,qQ},{\mathbb Q}(i) = \{ p + qi : p, q \in {\mathbb Q} \}\text{,} the field of fractions of Z[i].{\mathbb Z}[i]\text{.} Observe that

zw1=(a+bi)cdic2+d2=ac+bdc2+d2+bcadc2+d2i=(m1+n1c2+d2)+(m2+n2c2+d2)i=(m1+m2i)+(n1c2+d2+n2c2+d2i)=(m1+m2i)+(s+ti)\begin{align*} z w^{-1} & = (a +b i) \frac{c -d i}{c^2 + d^2}\\ & = \frac{ac + b d}{c^2 + d^2} + \frac{b c -ad}{c^2 + d^2}i\\ & = \left( m_1 + \frac{n_1}{c^2 + d^2} \right) + \left( m_2 + \frac{n_2}{c^2 + d^2} \right) i\\ & = (m_1 + m_2 i) + \left( \frac{n_1}{c^2 + d^2} + \frac{n_2}{c^2 + d^2}i \right)\\ & = (m_1 + m_2 i) + (s + ti) \end{align*}

in Q(i).{\mathbb Q}(i)\text{.} In the last steps we are writing the real and imaginary parts as an integer plus a proper fraction. That is, we take the closest integer mim_i such that the fractional part satisfies ni/(a2+b2)1/2.|n_i / (a^2 + b^2)| \leq 1/2\text{.} For example, we write

98=1+18158=218.\begin{align*} \frac{9}{8} & = 1 + \frac{1}{8}\\ \frac{15}{8} & = 2 - \frac{1}{8}. \end{align*}

Thus, ss and tt are the “fractional parts” of zw1=(m1+m2i)+(s+ti).z w^{-1} = (m_1 + m_2 i) + (s + ti)\text{.} We also know that s2+t21/4+1/4=1/2.s^2 + t^2 \leq 1/4 + 1/4 = 1/2\text{.} Multiplying by w,w\text{,} we have

z=zw1w=w(m1+m2i)+w(s+ti)=qw+r,\begin{equation*} z = z w^{-1} w = w (m_1 + m_2 i) + w (s + ti) = q w + r, \end{equation*}

where q=m1+m2iq = m_1 + m_2 i and r=w(s+ti).r = w (s + ti)\text{.} Since zz and qwqw are in Z[i],{\mathbb Z}[i]\text{,} rr must be in Z[i].{\mathbb Z}[i]\text{.} Finally, we need to show that either r=0r = 0 or ν(r)<ν(w).\nu(r) \lt \nu(w)\text{.} However,

ν(r)=ν(w)ν(s+ti)12ν(w)<ν(w).\begin{equation*} \nu(r) = \nu(w) \nu(s + ti) \leq \frac{1}{2} \nu(w) \lt \nu(w). \end{equation*}
Theorem18.21

Every Euclidean domain is a principal ideal domain.

Proof

Let DD be a Euclidean domain and let ν\nu be a Euclidean valuation on D.D\text{.} Suppose II is a nontrivial ideal in DD and choose a nonzero element bIb \in I such that ν(b)\nu(b) is minimal for all aI.a \in I\text{.} Since DD is a Euclidean domain, there exist elements qq and rr in DD such that a=bq+ra = bq +r and either r=0r=0 or ν(r)<ν(b).\nu(r) \lt \nu(b)\text{.} But r=abqr = a - bq is in II since II is an ideal; therefore, r=0r = 0 by the minimality of b.b\text{.} It follows that a=bqa = bq and I=b.I = \langle b \rangle\text{.}

Corollary18.22

Every Euclidean domain is a unique factorization domain.

SubsectionFactorization in D[x]D\lbrack x \rbrack

One of the most important polynomial rings is Z[x].{\mathbb Z}[x]\text{.} One of the first questions that come to mind about Z[x]{\mathbb Z}[x] is whether or not it is a UFD. We will prove a more general statement here. Our first task is to obtain a more general version of Gauss's Lemma (Theorem 17.14).

Let DD be a unique factorization domain and suppose that

p(x)=anxn++a1x+a0\begin{equation*} p(x) = a_n x^n + \cdots + a_1 x + a_0 \end{equation*}

in D[x].D[x]\text{.} Then the of p(x)p(x) is the greatest common divisor of a0,,an.a_0, \ldots, a_n\text{.} We say that p(x)p(x) is if gcd(a0,,an)=1.\gcd(a_0, \ldots, a_n ) = 1\text{.}

Example18.23

In Z[x]{\mathbb Z}[x] the polynomial p(x)=5x43x3+x4p(x)= 5 x^4 - 3 x^3 + x -4 is a primitive polynomial since the greatest common divisor of the coefficients is 1; however, the polynomial q(x)=4x26x+8q(x) = 4 x^2 - 6 x + 8 is not primitive since the content of q(x)q(x) is 2.

Theorem18.24Gauss's Lemma

Let DD be a UFD and let f(x)f(x) and g(x)g(x) be primitive polynomials in D[x].D[x]\text{.} Then f(x)g(x)f(x) g(x) is primitive.

Proof

Let f(x)=i=0maixif(x) = \sum_{i=0}^{m} a_i x^i and g(x)=i=0nbixi.g(x) = \sum_{i=0}^{n} b_i x^i\text{.} Suppose that pp is a prime dividing the coefficients of f(x)g(x).f(x) g(x)\text{.} Let rr be the smallest integer such that parp \notdivide a_r and ss be the smallest integer such that pbs.p \notdivide b_s\text{.} The coefficient of xr+sx^{r+s} in f(x)g(x)f(x) g(x) is

cr+s=a0br+s+a1br+s1++ar+s1b1+ar+sb0.\begin{equation*} c_{r + s} = a_0 b_{r + s} + a_1 b_{r + s - 1} + \cdots + a_{r + s - 1} b_1 + a_{r + s} b_0. \end{equation*}

Since pp divides a0,,ar1a_0, \ldots, a_{r-1} and b0,,bs1,b_0, \ldots, b_{s-1}\text{,} pp divides every term of cr+sc_{r+s} except for the term arbs.a_r b_s\text{.} However, since pcr+s,p \mid c_{r+s}\text{,} either pp divides ara_r or pp divides bs.b_s\text{.} But this is impossible.

Lemma18.25

Let DD be a UFD, and let p(x)p(x) and q(x)q(x) be in D[x].D[x]\text{.} Then the content of p(x)q(x)p(x) q(x) is equal to the product of the contents of p(x)p(x) and q(x).q(x)\text{.}

Proof

Let p(x)=cp1(x)p(x) = c p_1(x) and q(x)=dq1(x),q(x) = d q_1(x)\text{,} where cc and dd are the contents of p(x)p(x) and q(x),q(x)\text{,} respectively. Then p1(x)p_1(x) and q1(x)q_1(x) are primitive. We can now write p(x)q(x)=cdp1(x)q1(x).p(x) q(x) = c d p_1(x) q_1(x)\text{.} Since p1(x)q1(x)p_1(x) q_1(x) is primitive, the content of p(x)q(x)p(x) q(x) must be cd.cd\text{.}

Lemma18.26

Let DD be a UFD and FF its field of fractions. Suppose that p(x)D[x]p(x) \in D[x] and p(x)=f(x)g(x),p(x) = f(x) g(x)\text{,} where f(x)f(x) and g(x)g(x) are in F[x].F[x]\text{.} Then p(x)=f1(x)g1(x),p(x) = f_1(x) g_1(x)\text{,} where f1(x)f_1(x) and g1(x)g_1(x) are in D[x].D[x]\text{.} Furthermore, degf(x)=degf1(x)\deg f(x) = \deg f_1(x) and degg(x)=degg1(x).\deg g(x) = \deg g_1(x)\text{.}

Proof

Let aa and bb be nonzero elements of DD such that af(x),bg(x)a f(x), b g(x) are in D[x].D[x]\text{.} We can find a1,b2Da_1, b_2 \in D such that af(x)=a1f1(x)a f(x) = a_1 f_1(x) and bg(x)=b1g1(x),b g(x) = b_1 g_1(x)\text{,} where f1(x)f_1(x) and g1(x)g_1(x) are primitive polynomials in D[x].D[x]\text{.} Therefore, abp(x)=(a1f1(x))(b1g1(x)).a b p(x) = (a_1 f_1(x))( b_1 g_1(x))\text{.} Since f1(x)f_1(x) and g1(x)g_1(x) are primitive polynomials, it must be the case that aba1b1ab \mid a_1 b_1 by Gauss's Lemma. Thus there exists a cDc \in D such that p(x)=cf1(x)g1(x).p(x) = c f_1(x) g_1(x)\text{.} Clearly, degf(x)=degf1(x)\deg f(x) = \deg f_1(x) and degg(x)=degg1(x).\deg g(x) = \deg g_1(x)\text{.}

The following corollaries are direct consequences of Lemma 18.26.

Corollary18.27

Let DD be a UFD and FF its field of fractions. A primitive polynomial p(x)p(x) in D[x]D[x] is irreducible in F[x]F[x] if and only if it is irreducible in D[x].D[x]\text{.}

Corollary18.28

Let DD be a UFD and FF its field of fractions. If p(x)p(x) is a monic polynomial in D[x]D[x] with p(x)=f(x)g(x)p(x) = f(x) g(x) in F[x],F[x]\text{,} then p(x)=f1(x)g1(x),p(x) = f_1(x) g_1(x)\text{,} where f1(x)f_1(x) and g1(x)g_1(x) are in D[x].D[x]\text{.} Furthermore, degf(x)=degf1(x)\deg f(x) = \deg f_1(x) and degg(x)=degg1(x).\deg g(x) = \deg g_1(x)\text{.}

Theorem18.29

If DD is a UFD, then D[x]D[x] is a UFD.

Proof

Let p(x)p(x) be a nonzero polynomial in D[x].D[x]\text{.} If p(x)p(x) is a constant polynomial, then it must have a unique factorization since DD is a UFD. Now suppose that p(x)p(x) is a polynomial of positive degree in D[x].D[x]\text{.} Let FF be the field of fractions of D,D\text{,} and let p(x)=f1(x)f2(x)fn(x)p(x) = f_1(x) f_2(x) \cdots f_n(x) by a factorization of p(x),p(x)\text{,} where each fi(x)f_i(x) is irreducible. Choose aiDa_i \in D such that aifi(x)a_i f_i(x) is in D[x].D[x]\text{.} There exist b1,,bnDb_1, \ldots, b_n \in D such that aifi(x)=bigi(x),a_i f_i(x) = b_i g_i(x)\text{,} where gi(x)g_i(x) is a primitive polynomial in D[x].D[x]\text{.} By Corollary 18.27, each gi(x)g_i(x) is irreducible in D[x].D[x]\text{.} Consequently, we can write

a1anp(x)=b1bng1(x)gn(x).\begin{equation*} a_1 \cdots a_n p(x) = b_1 \cdots b_n g_1(x) \cdots g_n(x). \end{equation*}

Let b=b1bn.b = b_1 \cdots b_n\text{.} Since g1(x)gn(x)g_1(x) \cdots g_n(x) is primitive, a1ana_1 \cdots a_n divides b.b\text{.} Therefore, p(x)=ag1(x)gn(x),p(x) = a g_1(x) \cdots g_n(x)\text{,} where aD.a \in D\text{.} Since DD is a UFD, we can factor aa as uc1ck,u c_1 \cdots c_k\text{,} where uu is a unit and each of the cic_i's is irreducible in D.D\text{.}

We will now show the uniqueness of this factorization. Let

p(x)=a1amf1(x)fn(x)=b1brg1(x)gs(x)\begin{equation*} p(x) = a_1 \cdots a_m f_1(x) \cdots f_n(x) = b_1 \cdots b_r g_1(x) \cdots g_s(x) \end{equation*}

be two factorizations of p(x),p(x)\text{,} where all of the factors are irreducible in D[x].D[x]\text{.} By Corollary 18.27, each of the fif_i's and gig_i's is irreducible in F[x].F[x]\text{.} The aia_i's and the bib_i's are units in F.F\text{.} Since F[x]F[x] is a PID, it is a UFD; therefore, n=s.n=s\text{.} Now rearrange the gi(x)g_i(x)'s so that fi(x)f_i(x) and gi(x)g_i(x) are associates for i=1,,n.i = 1, \ldots, n\text{.} Then there exist c1,,cnc_1, \ldots, c_n and d1,,dnd_1, \ldots, d_n in DD such that (ci/di)fi(x)=gi(x)(c_i / d_i) f_i(x) = g_i(x) or cifi(x)=digi(x).c_i f_i(x) = d_i g_i(x)\text{.} The polynomials fi(x)f_i(x) and gi(x)g_i(x) are primitive; hence, cic_i and did_i are associates in D.D\text{.} Thus, a1am=ub1bra_1 \cdots a_m = u b_1 \cdots b_r in D,D\text{,} where uu is a unit in D.D\text{.} Since DD is a unique factorization domain, m=s.m = s\text{.} Finally, we can reorder the bib_i's so that aia_i and bib_i are associates for each i.i\text{.} This completes the uniqueness part of the proof.

The theorem that we have just proven has several obvious but important corollaries.

Corollary18.30

Let FF be a field. Then F[x]F[x] is a UFD.

Corollary18.31

The ring of polynomials over the integers, Z[x],{\mathbb Z}[x]\text{,} is a UFD.

Corollary18.32

Let DD be a UFD. Then D[x1,,xn]D[x_1, \ldots, x_n] is a UFD.

Remark18.33

It is important to notice that every Euclidean domain is a PID and every PID is a UFD. However, as demonstrated by our examples, the converse of each of these statements fails. There are principal ideal domains that are not Euclidean domains, and there are unique factorization domains that are not principal ideal domains (Z[x]{\mathbb Z}[x]).

SubsectionHistorical Note

Karl Friedrich Gauss, born in Brunswick, Germany on April 30, 1777, is considered to be one of the greatest mathematicians who ever lived. Gauss was truly a child prodigy. At the age of three he was able to detect errors in the books of his father's business. Gauss entered college at the age of 15. Before the age of 20, Gauss was able to construct a regular 17-sided polygon with a ruler and compass. This was the first new construction of a regular nn-sided polygon since the time of the ancient Greeks. Gauss succeeded in showing that if N=22n+1N= 2^{2^n} + 1 was prime, then it was possible to construct a regular NN-sided polygon.

Gauss obtained his Ph.D. in 1799 under the direction of Pfaff at the University of Helmstedt. In his dissertation he gave the first complete proof of the Fundamental Theorem of Algebra, which states that every polynomial with real coefficients can be factored into linear factors over the complex numbers. The acceptance of complex numbers was brought about by Gauss, who was the first person to use the notation of ii for 1.\sqrt{-1}\text{.}

Gauss then turned his attention toward number theory; in 1801, he published his famous book on number theory, Disquisitiones Arithmeticae. Throughout his life Gauss was intrigued with this branch of mathematics. He once wrote, “Mathematics is the queen of the sciences, and the theory of numbers is the queen of mathematics.”

In 1807, Gauss was appointed director of the Observatory at the University of Göttingen, a position he held until his death. This position required him to study applications of mathematics to the sciences. He succeeded in making contributions to fields such as astronomy, mechanics, optics, geodesy, and magnetism. Along with Wilhelm Weber, he coinvented the first practical electric telegraph some years before a better version was invented by Samuel F. B. Morse.

Gauss was clearly the most prominent mathematician in the world in the early nineteenth century. His status naturally made his discoveries subject to intense scrutiny. Gauss's cold and distant personality many times led him to ignore the work of his contemporaries, making him many enemies. He did not enjoy teaching very much, and young mathematicians who sought him out for encouragement were often rebuffed. Nevertheless, he had many outstanding students, including Eisenstein, Riemann, Kummer, Dirichlet, and Dedekind. Gauss also offered a great deal of encouragement to Sophie Germain (1776–1831), who overcame the many obstacles facing women in her day to become a very prominent mathematician. Gauss died at the age of 78 in Göttingen on February 23, 1855.