6 of

Recall that if D is an , D[x]isanintegraldomainandU(D[x]) = U(D). Both of them are consequences of deg f(x)g(x)=degf(x)+degg(x). Definition 6.1 Let D be an integral domain. A f(x) D[x]thatisneither the zero polynomial nor a in D[x]issaidtobeirreducible over D∈ if, whenever f(x)is expresses as a product f(x)=g(x)h(x), g(x)andh(x)arefromD[x], then g(x)orh(x) is a unit in D[x]. A nonzero nonunit element of D[x]thatisnotirreducibleoverD is called reducible over D. If F is a field, f(x) F [x]isanon-zeronon-unitpolynomialifandonlyifdegf(x) 1. Hence a non-constant∈ polynomial f(x) F [x]isirreducibleiff(x)cannotbeexpressed≥ as a product of two polynomials of lower∈ degree. Example 6.1 1. f(x)=2x2 +4isirreducibleoverQ but reducible over Z. 2. f(x)=2x2 +4isirreducibleoverR but reducible over C. 3. Let F be a field. A polynomial f(x) F [x]ofdegreeatmostthreeisreducibleif and only if there is a F such that f∈(a)=0. ∈ 2 n 1 Definition 6.2 The content of a nonzero polynomial f(x)=anx + an 1x − + + − ··· a1x+a0 Z[x]isthegreatestcommondivisorofan,an 1,...,a0 and denoted by c(f(x)). − A primitive∈ polynomial is an element of Z[x]withcontent1.

1. Every polynomial f(x) Z[x]canbewrittenasf(x)=c(f(x))f0(x), where f0(x) Z[x]isprimitive.Sincethegreatestcommondivisorisuniquelydetermined,∈ c(f(x))∈ is uniquely determined.

2. Every polynomial f(x) Q[x]canbewrittenasf(x)=cf0(x), where c Q and f (x) Z[x]isprimitive.If∈ f(x)=dg (x)forsomeconstantd Q and a primitive∈ 0 ∈ 0 ∈ polynomial g0(x), then c = d.Soifbothc and d are nonnegative, c = d,and c Z if and only if f(x) Z±[x]. ∈ ∈ Proposition 6.1 (Gauss’ Lemma) Let f(x) and g(x) be primitive polynomials in Z[x]. Then f(x)g(x) is also primitive. Proof. Suppose f(x)g(x)isnotprimitive.Letp be a prime factor of c(f(x)g(x)). Then f¯(x)¯g(x)=f(x)g(x)=0 Z [x]. Since Z [x]isanintegraldomain,f¯(x)=0or¯g(x)=0 ∈ p p in Zp[x]. This is absurd. Proposition 6.2 (Theorem 17.2) Let f(x) Z[x] be a primitive polynomial, then f(x) is irreducible over Z if and only if it is irreducible∈ over Q. Proof. We may assume that f(x)isprimitive.Supposef(x)=g(x)h(x)inQ[x]. Let a and b be the least common multiple of the denominators of g(x)andh(x)respectively. Then ab f(x)=(a g(x))(b h(x)) = c(a g(x))g (x)c(b h(x))h (x), · · · · 0 · 0 where g0(x)andh0(x)areprimitivepolynomialsinZ[x]. Now ab = c(a g(x))c(b h(x)) and f(x)= g (x)h (x)bythepreviousproposition.Sincedeg± g (x)=deg· g(x·)and ± 0 0 0 deg h0(x)=degh(x), f(x)isreducibleoverZ.

35 Proposition 6.3 (Theorem 17.3) Let p be a prime and suppose that f(x) Z[x] be a primitive polynomial with degree f(x) 1. Let f¯(x) be the polynomial in Z [∈x] obtained ≥ p from f(x) by reducing all the coefficients of f(x) modulo p.Iff¯(x) is irreducible over Zp, i.e., in Zp[x], and deg f¯(x)=degf(x), then f(x) is irreducible over Q. Proof. Suppose f(x)=g(x)h(x)withg(x),h(x) Z[x]. Then f¯(x)=¯g(x)h¯(x). Since ∈ Zp[x]isanintegraldomainanddegf(x)=degf¯(x)byassumption,wehave deg g(x)+degh(x)=degf(x)=degf¯(x)=deg¯g(x)+degh¯(x) deg g(x)+degh(x). ≤ Hence deg g(x)=deg¯g(x)anddegh(x)=degh¯(x). Since f¯(x)isirreducible,theonly possibility is either deg g(x)=0ordegh(x)=0,saydegg(x)=0.Sincef(x)isprimitive, g(x) U(Z)= 1 and f(x)isirreducibleoverZ,andhenceitisirreducibleoverQ by Proposition∈ 6.2.{± } 3 2 3 2 Example 6.2 1. Let f(x)=21x 3x +2x +9.Thenf¯(x)=x + x +1 Z2[x]is irreducible as f(0) =0= f(1). So− f(x)isirreducibleoverQ by Example∈ 6.2–3. ̸ ̸ 5 5 2. Let g(x)=x +2x +4.Then¯g(x)=x x +1 Z3[x]. Irreducible polynomial of degree at most 2 are x, x +1,x2 +1,x2−+ x +2and∈ x2 x 1inZ [x]. − − 3 4 3. h(x)=x +1 Q[x]isirreduciblebutitisreducibleoverZp for every prime p. (Exercise 29). ∈ Proposition 6.4 (Theorem 17.4 Eisenstein’s Criterion (1850)) Let n n 1 f(x)=anx + an 1x − + + a0 Z[x]. − ··· ∈ 2 If there is a prime p such that p a0, p a1,...,p an 1, but p ! an and p ! a0. Then f − is irreducible over Q. | | | Proof. We may assume that f(x)isprimitive.Supposethatf(x)isreducibleoverZ and f(x)=(b + b x + + b xr)(c + c x + + c xs) 0 1 ··· r 0 1 ··· s where b , c Z, r, s < n,andr + s = n.Then i j ∈ ai = b0ci + b1ci 1 + + bic0. − ··· 2 Now by hypothesis p a0 = b0c0 but p ! a0;thusp must divide exactly one of b0 | and c0,sayp b0 and p ! c0. Also p cannot divide every bi since otherwise it would divide a = b c| + + b c .Therefore,thereisasmallestpositiveintegerk such that n 0 n ··· n 0 p ! bk. Now p divides each of b0,b1,...,bk 1 and also p ak since k r

36 Proposition 6.5 (Theorem 17.5) Let F be a field and let p(x) F [x]. Then p(x) is a maximal in F [x] if and only if p(x) is irreducible over F . ∈ ⟨ ⟩ Proof. By Theorem 5.3, F [x]isaprincipalidealdomain.SoifA is an ideal with p(x) A F [x], then A = q(x) for some polynomial q(x) F [x]. p(x) q(x) if and⟨ only⟩⊆ if q⊆(x) p(x), and q(x⟨) =⟩F [x]ifandonlyifq(x)isanonzeroconstant.∈ ∈⟨ ⟩ | ⟨ ⟩ Corollary 6.6 Let F be a field and p(x),a(x),b(x) F [x].Ifp(x) is irreducible over F and p(x) a(x)b(x), then p(x) a(x) or p(x) b(x). ∈ | | | Proof. p(x) is a . ⟨ ⟩ Example 6.4 1. xn p is irreducible over Q for a positive n and a prime p. − 2. Recall that f(x)=21x3 3x2 +2x+9 isirreducibleover Q and f¯(x)=x3 +x2 +1 − ∈ Z2[x]isirreducibleoverZ2 by Example 6.2. Hence Q[x]/ f(x) is a field with infinitely many elements and Z [x]/ f¯(x) is a field with 23 elements.⟨ ⟩ 2 ⟨ ⟩ 3. Similarly, g(x)=x5 +2x +4isirreducibleoverQ andg ¯(x)=x5 x +1 Z [x] − ∈ 3 is irreducible over Z3 by Example 6.2. Hence Q[x]/ g(x) is a field with infinitely many elements and Z [x]/ g¯(x) is a field with 35 elements.⟨ ⟩ 3 ⟨ ⟩ Theorem 6.7 (Theorem 17.6 (Unique Factorization in Z[x])) Every polynomial in Z[x] that is not the zero polynomial or a unit in Z[x] can be written in the form b1b2 bs 13 ··· p1(x)p2(c) pm(x) where bi’s are irreducible polynomial of degree 0 and pi(x)’s are irreducible··· polynomials of positive degree. Furthermore such decomposition is unique, i.e., b b b p (x)p (x) p (x)=c c c q (x)q (x) q (x) 1 2 ··· s 1 2 ··· m 1 2 ··· t 1 2 ··· n implies, s = t, m = n and, after renumbering the c’s and q(x)’s, we have bi = ci for i =1, 2,...,s, and p (x)= q (x). for i =1, 2,...,m. ± i ± i Proof. (a) Any non-constant polynomial f(x)inZ[x]isexpressibleasaproductof irreducible elements of Z and primitive irreducible polynomials over Z.

Proof of (a). First of all write f(x)=c(f(x))f0(x)wheref0(x) Z[x]isprimitiveusing Lemma 7.9. Hence c(f(x)) is either a unit, i.e., 1 in this case, or∈ a product of irreducibles of Z,i.e., p,wherep is a prime. So we can assume that f(x)isprimitive.Iff(x) is irreducible,± we are done. So assume f(x)=g(x)h(x)whereg(x),h(x)arenon-unit polynomials Z[x]. Since f(x)isprimitive,g(x)andh(x)areprimitivepolynomialsof degree at least 1. Hence by induction on degree, f(x)canbewrittenasaproductof irreducible primitive polynomials of positive degree. (b) The uniqueness of expression. Proof of (b). Suppose b b b p (x)p (c) p (x)=c c c q (x)q (c) q (x) 1 2 ··· s 1 2 ··· m 1 2 ··· t 1 2 ··· n Then c(f(x)) = b1b2 bs = c1c2 ct. Hence by the uniqueness of factorization in Z,thisdecompositionisunique.Thuswehave± ··· ± ··· p (x)p (c) p (x)=q (x)q (c) q (x). 1 2 ··· m 1 2 ··· n Since p1(x) is a maximal ideal in Q[x], there exists qi(x)suchthatqi(x)=h(x)p1(x). Since both⟨ q⟩(x)andp(x)areprimitiveandirreducible,h(x)=h /h with h ,h Z and i 1 2 1 2 ∈ h2qi(x)=h1p(x)impliesthath2 = h1.Therefore,qi(x)= p(x). Now the uniqueness follows by induction. ± ± 13b is an irreducible polynomial of degree 0 if and only if b or b is a in Z. − 37