Introduction to Modern Algebra

Contents › Chapter 11. Polynomial rings

11.3 Every ideal of F[x]F[x] is principal

Every ideal of Z\mathbb{Z} is principal (Theorem 10.5.2): it consists of the multiples of its least positive element, because dividing by that element leaves a remainder that is in the ideal and too small to be anything but 00. Division with remainder in F[x]F[x] makes the same argument work for polynomials, with the degree in place of size. The payoff is a greatest common divisor for polynomials, found by the Euclidean algorithm.

Principal ideals

Theorem 11.3.1 (Ideals of F[x]F\lbrack x\rbrack).

Let FF be a field, and let II be an ideal of F[x]F[x] with I≠{0}I \neq \{0\}. Let gg be a non-zero polynomial of least degree in II. Then:

  • (i) I=(g)I = (g): the elements of II are exactly the multiples of gg.
  • (ii) The polynomials hh with (h)=I(h) = I are exactly the products cgcg with c∈Fc \in F, c≠0c \neq 0. Exactly one of them is monic.

Since also {0}=(0)\{0\} = (0), every ideal of F[x]F[x] is principal.

Proof.

Idea. Divide any f∈If \in I by gg. The remainder f−qgf - qg lies in II and, if non-zero, has smaller degree than gg, so it can only be 00. That makes every element of II a multiple of gg.

  1. A non-zero polynomial of least degree in II exists.

    II has a non-zero element, and the degrees of its non-zero elements are non-negative integers, so one of them is least.

  2. (g)⊆I(g) \subseteq I.

    g∈Ig \in I, and an ideal absorbs multiplication, so hg∈Ihg \in I for every h∈F[x]h \in F[x].

  3. I⊆(g)I \subseteq (g).

    Let f∈If \in I. Since FF is a field, Theorem 11.2.1 gives f=qg+rf = qg + r with r=0r = 0 or deg⁡r<deg⁡g\deg r < \deg g. Here r=f−qgr = f - qg lies in II, because f∈If \in I, qg∈Iqg \in I and II is closed under subtraction. A non-zero rr would be an element of II of smaller degree than gg, so r=0r = 0 and f=qgf = qg. This proves (i).

  4. If (h)=I(h) = I, then h=cgh = cg for a non-zero constant cc.

    Since h∈I=(g)h \in I = (g) and g∈I=(h)g \in I = (h), we have h=agh = ag and g=bhg = bh for some a,b∈F[x]a, b \in F[x]. Then g=abgg = abg, so (1−ab)g=0(1 - ab)g = 0. Since FF is a field, it is an integral domain (Theorem 10.2.4), so F[x]F[x] is an integral domain (Theorem 11.1.2); as g≠0g \neq 0, ab=1ab = 1. So aa is a unit of F[x]F[x], which by Theorem 11.1.2 is a non-zero constant cc.

  5. Conversely, (cg)=(g)(cg) = (g) for every non-zero c∈Fc \in F.

    Each multiple of cgcg is a multiple of gg, and g=c−1(cg)g = c^{-1}(cg) is a multiple of cgcg, so the two ideals are equal.

  6. Exactly one cgcg is monic.

    If bb is the leading coefficient of gg, the leading coefficient of cgcg is cbcb, which is 11 exactly when c=b−1c = b^{-1}. This proves (ii).

□

Greatest common divisors

For integers, collecting the combinations ax+byax + by into one set gave the greatest common divisor and Bézout’s identity (Theorem 2.3.2). For polynomials the set of combinations uf+vguf + vg is the ideal (f,g)(f, g), and the theorem above hands over its generator.

Theorem 11.3.2 (Greatest common divisor of polynomials).

Let FF be a field, and let f,g∈F[x]f, g \in F[x], not both 00. Let dd be the monic generator of the ideal (f,g)(f, g). Then:

  • (i) dd divides ff and gg;
  • (ii) d=uf+vgd = uf + vg for some u,v∈F[x]u, v \in F[x];
  • (iii) every common divisor of ff and gg divides dd;
  • (iv) dd does not change when FF is replaced by a bigger field KK: the monic generator of the ideal generated by ff and gg in K[x]K[x] is again dd.

This dd is the greatest common divisor gcd⁡(f,g)\gcd(f, g).

Proof.

Idea. Each property is a property of the ideal (f,g)=(d)(f, g) = (d), which Theorem 11.3.1 provides. For (iv), the generators over FF and over KK divide each other and are both monic, so they are equal.

  1. The ideal (f,g)={uf+vg:u,v∈F[x]}(f, g) = \{uf + vg : u, v \in F[x]\} has exactly one monic generator dd.

    The ideal is not {0}\{0\}, since it contains ff and gg, so Theorem 11.3.1 applies.

  2. (i) dd divides ff and gg.

    ff and gg lie in (f,g)=(d)(f, g) = (d), so they are multiples of dd.

  3. (ii) d=uf+vgd = uf + vg for some u,v∈F[x]u, v \in F[x].

    dd lies in (d)=(f,g)(d) = (f, g), so it is a combination uf+vguf + vg.

  4. (iii) Every common divisor of ff and gg divides dd.

    If f=ahf = ah and g=bhg = bh, then d=uf+vg=(ua+vb)hd = uf + vg = (ua + vb)h.

  5. Let d′d' be the monic generator of the ideal generated by ff and gg in K[x]K[x]. Then dd and d′d' divide each other in K[x]K[x].

    By (i) to (iii) applied over KK, d′d' is a common divisor of ff and gg in K[x]K[x] that every common divisor in K[x]K[x] divides. Now dd is a common divisor of ff and gg in K[x]K[x] as well, by (i), so dd divides d′d'. And d=uf+vgd = uf + vg with u,v∈F[x]⊆K[x]u, v \in F[x] \subseteq K[x], so d′d' divides dd, by the argument of (iii).

  6. (iv) d′=dd' = d.

    By the previous step, d′=add' = ad and d=bd′d = bd' in K[x]K[x]; then deg⁡d=deg⁡d′\deg d = \deg d', so aa is a non-zero constant (Theorem 11.1.2), and comparing leading coefficients of the monic polynomials d′=add' = ad gives a=1a = 1.

□

The Euclidean algorithm computes the gcd. With g≠0g \neq 0, divide ff by gg, then gg by the remainder, then each remainder by the next. Each division a=qb+ra = qb + r leaves the ideal unchanged, (a,b)=(b,r)(a, b) = (b, r), since r=a−qbr = a - qb and a=qb+ra = qb + r. The remainders fall in degree, so one of them is 00. If bb is the last divisor, the one that leaves remainder 00, then (f,g)=(b,0)=(b)(f, g) = (b, 0) = (b), and gcd⁡(f,g)\gcd(f, g) is bb divided by its leading coefficient (Theorem 11.3.1(ii)).

Every common divisor hh of ff and gg divides dd, so deg⁡h≤deg⁡d\deg h \le \deg d: the gcd is greatest in degree. In 1585, in L’Arithmétique, Simon Stevin found the greatest common divisor of two polynomials by repeated division, applying to polynomials the method Euclid had used for numbers.