Introduction to Modern Algebra

Z[x]\mathbb{Z}[x] is not a PID (Example 12.3.5), so Theorem 12.4.3 says nothing about whether its factorizations are unique. A polynomial with integer coefficients can be factored in Q[x]\mathbb{Q}[x], where factorization is unique (Theorem 12.4.4), and the question is whether the factors can be brought back to Z[x]\mathbb{Z}[x]. Two tools do this for any UFD RR in place of Z\mathbb{Z}: a field containing RR, as Q\mathbb{Q} contains Z\mathbb{Z}, and Gauss’s lemma.

The field of fractions

The rational numbers are fractions a/ba/b of integers, with 1/2=2/41/2 = 2/4 because 1⋅4=2⋅21 \cdot 4 = 2 \cdot 2. The same construction works over any integral domain.

Definition 12.5.1 (Field of fractions).Not yet reviewed

Let RR be an integral domain. Call two pairs (a,b)(a, b) and (c,d)(c, d) of elements of RR, with b≠0b \neq 0 and d≠0d \neq 0, equivalent when ad=bcad = bc. This is an equivalence relation; write a/ba/b for the class of (a,b)(a, b). The field of fractions Frac⁡(R)\Frac(R) is the set of these classes, with

ab+cd=ad+bcbd,ab⋅cd=acbd.\begin{aligned} \frac{a}{b} + \frac{c}{d} &= \frac{ad + bc}{bd}, \\ \frac{a}{b} \cdot \frac{c}{d} &= \frac{ac}{bd}. \end{aligned}

These operations are well defined and make Frac⁡(R)\Frac(R) a field. The map a↦a/1a \mapsto a/1 is an injective ring homomorphism R→Frac⁡(R)R \to \Frac(R), and aa is identified with a/1a/1, so that RR is a subring of Frac⁡(R)\Frac(R).

Why the field of fractions is a field.

Idea. Every claim is an identity between elements of RR, after cross-multiplying. Two facts about integral domains do the work: a product of non-zero elements is non-zero, and a non-zero factor can be canceled.

  1. The relation is an equivalence relation.

    It is reflexive, since ab=baab = ba, and symmetric, since ad=bcad = bc gives cb=dacb = da. For transitivity, suppose ad=bcad = bc and cf=decf = de, with b,d,fb, d, f non-zero. Then adf=bcf=bdeadf = bcf = bde, so d(af−be)=0d(af - be) = 0, and since d≠0d \neq 0, af=beaf = be.

  2. The operations are well defined.

    They make sense: bd≠0bd \neq 0, since bb and dd are non-zero and RR has no zero divisors. The result must not depend on the pairs chosen, as for residue classes. Suppose ab′=a′bab' = a'b. Then

    (ad+bc) b′d=ab′d2+bb′cd=a′bd2+bb′cd=(a′d+b′c) bd,\begin{aligned} (ad + bc)\,b'd &= ab'd^2 + bb'cd \\ &= a'bd^2 + bb'cd \\ &= (a'd + b'c)\,bd, \end{aligned}

    so (ad+bc)/bd=(a′d+b′c)/b′d(ad + bc)/bd = (a'd + b'c)/b'd; and ac⋅b′d=a′c⋅bdac \cdot b'd = a'c \cdot bd, so ac/bd=a′c/b′dac/bd = a'c/b'd. Changing the second pair is the same computation, since both formulas are symmetric in the two fractions.

  3. The ring axioms hold.

    One rule helps: ae/be=a/bae/be = a/b whenever e≠0e \neq 0, since ae⋅b=be⋅aae \cdot b = be \cdot a. Both operations are commutative, because the formulas are symmetric. Multiplication is associative, with both bracketings giving ace/bdface/bdf, and so is addition, with both giving (adf+bcf+bde)/bdf(adf + bcf + bde)/bdf. The zero is 0/10/1, the negative of a/ba/b is (−a)/b(-a)/b, since their sum 0/b20/b^2 equals 0/10/1, and the one is 1/11/1. For distributivity,

    acbd+aebf=acbf+bdaeb2df=b(acf+ade)b(bdf)=a(cf+de)bdf,\begin{aligned} \frac{ac}{bd} + \frac{ae}{bf} &= \frac{acbf + bdae}{b^2df} \\ &= \frac{b(acf + ade)}{b(bdf)} \\ &= \frac{a(cf + de)}{bdf}, \end{aligned}

    which is ab(cd+ef)\frac{a}{b}\bigl(\frac{c}{d} + \frac{e}{f}\bigr).

  4. Frac⁡(R)\Frac(R) is a field.

    1/1≠0/11/1 \neq 0/1, since 1⋅1≠1⋅01 \cdot 1 \neq 1 \cdot 0. A fraction a/ba/b equals 0/10/1 exactly when a=0a = 0; if a≠0a \neq 0, then b/ab/a is a fraction and ab⋅ba=abab=11\frac{a}{b} \cdot \frac{b}{a} = \frac{ab}{ab} = \frac{1}{1}.

  5. The map a↦a/1a \mapsto a/1 is an injective ring homomorphism.

    a/1+c/1=(a+c)/1a/1 + c/1 = (a + c)/1, (a/1)(c/1)=ac/1(a/1)(c/1) = ac/1, and 1↦1/11 \mapsto 1/1; and a/1=c/1a/1 = c/1 means a=ca = c.

□

For a field FF, the elements of Frac⁡(F[x])\Frac(F[x]) are the rational functions over FF, and this field is written F(x)F(x).

In Frac⁡(R)\Frac(R) a fraction is a quotient in the field: a/b=(a/1)(1/b)a/b = (a/1)(1/b), and 1/b1/b is the inverse of b/1b/1. So from now on a/ba/b means ab−1ab^{-1}, and an element of Frac⁡(R)[x]\Frac(R)[x] can be given a common denominator: if the coefficients are a0/b0,…,an/bna_0/b_0, \dots, a_n/b_n, multiplying by b=b0⋯bnb = b_0 \cdots b_n gives a polynomial with coefficients in RR.

Primitive polynomials

Over a UFD, the common factor of the coefficients of a polynomial can be split off, as 6x+46x + 4 is 2(3x+2)2(3x + 2).

Definition 12.5.2 (Primitive polynomial; content).

Let RR be a UFD. A non-zero polynomial f∈R[x]f \in R[x] is primitive if no irreducible element of RR divides all of its coefficients.

Every non-zero f∈R[x]f \in R[x] can be written as f=cf1f = cf_1 with c∈Rc \in R and f1∈R[x]f_1 \in R[x] primitive. Such an element cc is a content of ff, written c(f)c(f).

Why every polynomial has a content.

Idea. Divide out irreducible common factors one at a time; the leading coefficient loses an irreducible factor each time, so this stops. The argument is an induction on the number of irreducible factors of the leading coefficient aa of ff.

  1. For a non-zero a∈Ra \in R, the number ℓ(a)\ell(a) of irreducible factors of aa is well defined.

    It is 00 if aa is a unit, and otherwise the rr in a factorization a=p1⋯pra = p_1 \cdots p_r, which is the same for every factorization, by uniqueness.

  2. If no irreducible divides all the coefficients of ff, then f=1⋅ff = 1 \cdot f is the required form.

    ff is then primitive, by the definition.

  3. When ℓ(a)=0\ell(a) = 0, no irreducible divides all the coefficients of ff.

    An irreducible pp dividing the unit aa, say a=pea = pe, would itself be a unit, since p(ea−1)=1p(ea^{-1}) = 1.

  4. If some irreducible pp divides every coefficient, then f=pgf = pg, and the leading coefficient a′a' of gg has ℓ(a′)=ℓ(a)−1\ell(a') = \ell(a) - 1.

    Dividing each coefficient by pp gives f=pgf = pg with g∈R[x]g \in R[x], and a=pa′a = pa'. Appending pp to a factorization of a′a' gives one of aa (and if a′a' is a unit, a=pa′a = pa' is irreducible).

  5. So ff has a content.

    By induction, g=c′g1g = c'g_1 with g1g_1 primitive, so f=(pc′)g1f = (pc')g_1.

□

Gauss’s lemma

Theorem 12.5.3 (Gauss’s lemma).Not yet reviewed

Let RR be a UFD and K=Frac⁡(R)K = \Frac(R).

  • (i) A product of primitive polynomials in R[x]R[x] is primitive.
  • (ii) If cf1=dg1cf_1 = dg_1 with c,d∈Rc, d \in R non-zero and f1,g1∈R[x]f_1, g_1 \in R[x] primitive, then c∼dc \sim d. So any two contents of a polynomial are associates; and a content of ff divides every coefficient of ff, and every common divisor of the coefficients divides it.
  • (iii) If a primitive f∈R[x]f \in R[x] is a product f=ghf = gh with g,h∈K[x]g, h \in K[x], then f=g1h1f = g_1h_1 with g1,h1∈R[x]g_1, h_1 \in R[x] primitive, g1=λgg_1 = \lambda g and h1=λ−1hh_1 = \lambda^{-1}h for some non-zero λ∈K\lambda \in K. In particular deg⁡g1=deg⁡g\deg g_1 = \deg g and deg⁡h1=deg⁡h\deg h_1 = \deg h.
Proof.

Idea. An irreducible element of a UFD is prime (Theorem 12.2.3), so it can be followed through products of coefficients; (iii) then clears denominators and uses (i) and (ii) to show that nothing was lost.

  1. (i) A product fgfg of primitive polynomials is primitive.

    Let f=∑aixif = \sum a_ix^i and g=∑bjxjg = \sum b_jx^j be primitive, and let pp be irreducible, so prime. Let i0i_0 be the least index with p∤ai0p \nmid a_{i_0}, and j0j_0 the least with p∤bj0p \nmid b_{j_0}; they exist because ff and gg are primitive. The coefficient of xi0+j0x^{i_0 + j_0} in fgfg is the sum of the aibja_ib_j with i+j=i0+j0i + j = i_0 + j_0. Every term other than ai0bj0a_{i_0}b_{j_0} has i<i0i < i_0 or j<j0j < j_0, so pp divides it. And p∤ai0bj0p \nmid a_{i_0}b_{j_0}, because pp is prime and divides neither factor (Definition 12.2.2). So pp does not divide this coefficient of fgfg. As pp was any irreducible, fgfg is primitive.

  2. (ii) If cf1=dg1cf_1 = dg_1 as in (ii) and cc is a unit, then c∼dc \sim d.

    Part (ii) is proved by induction on ℓ(c)\ell(c), the number of irreducible factors of cc, as in the definition of content; this is the case ℓ(c)=0\ell(c) = 0. Write aja_j for the coefficients of f1f_1 and bjb_j for those of g1g_1. Suppose dd is not a unit; then it has an irreducible factor pp. Since pp divides every coefficient of dg1=cf1dg_1 = cf_1, p∣cajp \mid ca_j for every jj. Since pp is prime and does not divide the unit cc, pp divides every aja_j, which is impossible for a primitive f1f_1. So dd is a unit, and c∼dc \sim d.

  3. (ii) If ℓ(c)≥1\ell(c) \ge 1, then c∼dc \sim d.

    Let pp be an irreducible factor of cc. Then pp divides every coefficient of cf1=dg1cf_1 = dg_1, so p∣dbjp \mid db_j for every jj. Some bjb_j is not divisible by pp, as g1g_1 is primitive, so p∣dp \mid d. Write c=pc′c = pc' and d=pd′d = pd'. Then p(c′f1−d′g1)=0p(c'f_1 - d'g_1) = 0, and since R[x]R[x] is an integral domain (Theorem 11.1.2), c′f1=d′g1c'f_1 = d'g_1. As ℓ(c′)=ℓ(c)−1\ell(c') = \ell(c) - 1, induction gives c′∼d′c' \sim d', and so c∼dc \sim d.

  4. (ii) A content cc of ff divides every coefficient of ff, and every common divisor of the coefficients divides cc.

    If f=cf1f = cf_1, then cc divides each coefficient of ff. If ee divides every coefficient, then f=egf = eg with g∈R[x]g \in R[x]; writing g=c′g1g = c'g_1 with g1g_1 primitive gives f=(ec′)g1f = (ec')g_1, so c∼ec′c \sim ec' by the previous steps, and e∣ce \mid c.

  5. (iii) After clearing denominators, f=(ug2)h1f = (ug_2)h_1 with g2,h1∈R[x]g_2, h_1 \in R[x] primitive and uu a unit of RR.

    Since f≠0f \neq 0, gg and hh are non-zero. Clearing denominators, choose non-zero a,b∈Ra, b \in R with agag and bhbh in R[x]R[x], and write ag=cg2ag = cg_2 and bh=dh1bh = dh_1 with g2,h1g_2, h_1 primitive. Then

    ab f=cd g2h1.ab\,f = cd\,g_2h_1.

    By (i), g2h1g_2h_1 is primitive, and ff is primitive, so by (ii), cd=u abcd = u\,ab for a unit uu of RR. Canceling abab gives f=(ug2)h1f = (ug_2)h_1.

  6. (iii) g1=ug2g_1 = ug_2 is primitive, g1=λgg_1 = \lambda g and h1=λ−1hh_1 = \lambda^{-1}h with λ=ua/c\lambda = ua/c, and the degrees are unchanged.

    An irreducible dividing every coefficient of ug2ug_2 would divide every coefficient of g2=u−1(ug2)g_2 = u^{-1}(ug_2). Then g1=(ua/c) g=λgg_1 = (ua/c)\,g = \lambda g, and h1=(b/d) hh_1 = (b/d)\,h with λ⋅b/d=uab/cd=1\lambda \cdot b/d = uab/cd = 1. Multiplying by a non-zero constant does not change the degree.

□

A polynomial is primitive exactly when its content is a unit: if ff is primitive, 11 is a content, and by (ii) every content is an associate of 11. Conversely, if f=uf1f = uf_1 with uu a unit and f1f_1 primitive, then ff is primitive, since an irreducible dividing every coefficient of ff would divide every coefficient of f1=u−1ff_1 = u^{-1}f. So (iii) says that a primitive polynomial which factors in K[x]K[x] into factors of smaller degree already factors that way in R[x]R[x].