Introduction to Modern Algebra

Contents › Chapter 11

Chapter 11. Polynomial rings

11.1 Polynomials

Whole numbers can be divided with a remainder, they have greatest common divisors and primes, and modulo a prime pp they give the field Fp\mathbb{F}_p (Theorem 10.2.6). Polynomials can be added, multiplied and divided with a remainder too.

A polynomial needs a precise meaning that works with coefficients in any ring, including rings such as Fp\mathbb{F}_p, where a polynomial and the function it defines can come apart. From here on, every ring is commutative.

Polynomials

Definition 11.1.1 (Polynomial ring).

Let RR be a ring. A polynomial in xx with coefficients in RR is an expression

f=a0+a1x+a2x2+⋯+anxnf = a_0 + a_1x + a_2x^2 + \dots + a_nx^n

with n≥0n \ge 0 and a0,…,an∈Ra_0, \dots, a_n \in R. Two polynomials are equal when they have the same coefficient for each power of xx, a missing power counting as coefficient 00. Polynomials are added coefficient by coefficient. They are multiplied by expanding with xixj=xi+jx^ix^j = x^{i+j}: if f=∑iaixif = \sum_i a_ix^i and g=∑jbjxjg = \sum_j b_jx^j, the coefficient of xkx^k in fgfg is

ck=∑i+j=kaibj.c_k = \sum_{i + j = k} a_ib_j.

With these operations the polynomials form a ring R[x]R[x], the polynomial ring over RR.

If f≠0f \neq 0, the largest nn with an≠0a_n \neq 0 is the degree deg⁡f\deg f of ff, and ana_n is its leading coefficient. A polynomial is monic if its leading coefficient is 11, and constant if it is 00 or has degree 00.

The ring axioms for R[x]R[x] come from those of RR. Addition is addition of coefficient lists, so it inherits commutativity, associativity, the zero polynomial 00 and negatives from RR. Multiplication is commutative because the formula for ckc_k is symmetric in ff and gg. It is associative because in both (fg)h(fg)h and f(gh)f(gh) the coefficient of xmx^m is the sum of aibjcla_ib_jc_l over all i+j+l=mi + j + l = m, where h=∑lclxlh = \sum_l c_lx^l. The constant polynomial 11 is the identity, and the distributive law holds coefficient by coefficient.

The constant polynomials are a copy of RR inside R[x]R[x], and they add and multiply as in RR. The zero polynomial has no degree, so a statement about deg⁡f\deg f assumes f≠0f \neq 0.

In Fp[x]\mathbb{F}_p[x] the coefficients are classes [0],[1],…,[p−1][0], [1], \dots, [p - 1], and they are written 0,1,…,p−10, 1, \dots, p - 1, as in x2+2x+1x^2 + 2x + 1 for x2+[2]x+[1]x^2 + [2]x + [1].

The degree of a product

Over Z/6Z\mathbb{Z}/6\mathbb{Z} a product can lose degree: (2x+1)(3x+1)=5x+1(2x + 1)(3x + 1) = 5x + 1, because 2⋅3=02 \cdot 3 = 0. Over an integral domain this cannot happen.

Theorem 11.1.2 (Degree of a product).

Let RR be an integral domain, and let ff and gg be non-zero polynomials in R[x]R[x]. Then fg≠0fg \neq 0,

deg⁡(fg)=deg⁡f+deg⁡g,\deg(fg) = \deg f + \deg g,

and the leading coefficient of fgfg is the product of the leading coefficients of ff and gg. Consequently:

  • (i) R[x]R[x] is an integral domain.
  • (ii) The units of R[x]R[x] are the constant polynomials aa with aa a unit of RR: R[x]×=R×R[x]^\times = R^\times.
Proof.

Idea. Look only at the top coefficient of fgfg: it is the product of the two leading coefficients, which an integral domain does not allow to be 00. Parts (i) and (ii) then follow from the degrees.

  1. Write f=a0+⋯+amxmf = a_0 + \dots + a_mx^m and g=b0+⋯+bnxng = b_0 + \dots + b_nx^n with am≠0a_m \neq 0 and bn≠0b_n \neq 0. Then ck=0c_k = 0 for k>m+nk > m + n, and cm+n=ambnc_{m+n} = a_mb_n.

    In the formula ck=∑i+j=kaibjc_k = \sum_{i + j = k} a_ib_j, a product aibja_ib_j can be non-zero only when i≤mi \le m and j≤nj \le n, so only when i+j≤m+ni + j \le m + n. For k=m+nk = m + n, the only such pair is i=mi = m, j=nj = n.

  2. fg≠0fg \neq 0, its degree is m+nm + n, and its leading coefficient is ambna_mb_n.

    Since RR has no zero divisors, ambn≠0a_mb_n \neq 0, and by the first step no coefficient of fgfg above cm+n=ambnc_{m+n} = a_mb_n is non-zero.

  3. (i) R[x]R[x] is an integral domain.

    R[x]R[x] is commutative, and 1≠01 \neq 0 in R[x]R[x] because 1≠01 \neq 0 in RR. A product of two non-zero polynomials is non-zero, by the second step.

  4. (ii) The units of R[x]R[x] are the constants aa with aa a unit of RR.

    Suppose fg=1fg = 1. Then f,g≠0f, g \neq 0 and, by the second step, deg⁡f+deg⁡g=deg⁡1=0\deg f + \deg g = \deg 1 = 0, so both have degree 00: f=af = a and g=bg = b are constants with ab=1ab = 1 in RR, and aa is a unit of RR. Conversely, a unit aa of RR is a unit of R[x]R[x], with inverse the constant polynomial a−1a^{-1}.

□

A field is an integral domain (Theorem 10.2.4), so for a field FF the ring F[x]F[x] is an integral domain whose units are the non-zero constants.

Evaluating a polynomial

A polynomial is not a function, but each polynomial gives one. To evaluate f=∑iaixif = \sum_i a_ix^i at an element aa, replace xx by aa: f(a)=∑iaiaif(a) = \sum_i a_ia^i. The element aa may lie in RR or in a bigger ring, as when a polynomial with rational coefficients is evaluated at 2\sqrt{2}.

Theorem 11.1.3 (Evaluation).

Let RR be a subring of a commutative ring SS (for example S=RS = R), and let a∈Sa \in S. For f=a0+a1x+⋯+anxnf = a_0 + a_1x + \dots + a_nx^n in R[x]R[x], put

f(a)=a0+a1a+⋯+anan∈S.f(a) = a_0 + a_1a + \dots + a_na^n \in S.

Then the map R[x]→SR[x] \to S, f↦f(a)f \mapsto f(a), is a ring homomorphism: (f+g)(a)=f(a)+g(a)(f + g)(a) = f(a) + g(a), (fg)(a)=f(a)g(a)(fg)(a) = f(a)g(a), and the constant polynomial 11 goes to 11.

Proof.

Idea. The rule for multiplying polynomials is exactly what expanding a product of two sums of powers of aa in SS gives. Sums and the constant 11 are direct checks.

  1. (f+g)(a)=f(a)+g(a)(f + g)(a) = f(a) + g(a).

    The coefficient of xix^i in f+gf + g is ai+bia_i + b_i, where g=∑ibixig = \sum_i b_ix^i, and ∑i(ai+bi)ai=∑iaiai+∑ibiai\sum_i (a_i + b_i)a^i = \sum_i a_ia^i + \sum_i b_ia^i by the distributive law in SS.

  2. (fg)(a)=f(a)g(a)(fg)(a) = f(a)g(a).

    By the distributive law, f(a)g(a)f(a)g(a) is the sum of the products (aiai)(bjaj)(a_ia^i)(b_ja^j) over all pairs (i,j)(i, j). Since SS is commutative, each product equals aibj ai+ja_ib_j\,a^{i+j}. Collecting the pairs with i+j=ki + j = k,

    f(a)g(a)=∑k(∑i+j=kaibj)ak,f(a)g(a) = \sum_k \Bigl(\sum_{i + j = k} a_ib_j\Bigr)a^k,

    which is (fg)(a)(fg)(a) by the definition of the product fgfg.

  3. The constant polynomial 11 goes to 11.

    It has a0=1a_0 = 1 and no other terms, so its value is 11.

□

An element aa with f(a)=0f(a) = 0 is a root of ff. So 2\sqrt{2} is a root of x2−2x^2 - 2, and ii is a root of x2+1x^2 + 1.

A polynomial is not its function

Over R\mathbb{R}, a polynomial and the function it defines are usually not told apart. Over a finite field they must be: there are only ppp^p functions from Fp\mathbb{F}_p to itself, but infinitely many polynomials in Fp[x]\mathbb{F}_p[x].

Example 11.1.4 (A non-zero polynomial with every element as a root).

Let pp be a prime. The polynomial xp−xx^p - x in Fp[x]\mathbb{F}_p[x] is not zero, since its coefficient of xpx^p is 11. Yet ap−a=0a^p - a = 0 for every a∈Fpa \in \mathbb{F}_p. So xp−xx^p - x and 00 are different polynomials that define the same function on Fp\mathbb{F}_p.

Why every element of Fp\mathbb{F}_p is a root.

Recall Fermat’s little theorem: np≡n(modp)n^p \equiv n \pmod p for every integer nn. Each element of Fp\mathbb{F}_p is a class [n][n], and classes are multiplied through representatives, so [n]p=[np]=[n][n]^p = [n^p] = [n]. So ap−a=0a^p - a = 0 for every a∈Fpa \in \mathbb{F}_p. □

For p=2p = 2 this says that x2+xx^2 + x vanishes at 00 and at 11, although it has degree 22. So in Fp[x]\mathbb{F}_p[x], statements about polynomials are about coefficients, never only about values.

11.2 Division and roots

An integer aa can be divided by a positive integer nn with a remainder: a=qn+ra = qn + r with 0≤r<n0 \le r < n. The remainder is smaller than the divisor, and that one fact built clock arithmetic. For polynomials the degree plays the part of size: divide ff by gg and the remainder has smaller degree than gg. Division by x−ax - a then ties roots to factors, and limits how many roots a polynomial can have.

Division with remainder

Theorem 11.2.1 (Division with remainder for polynomials).

Let RR be a ring, and let g∈R[x]g \in R[x] be a non-zero polynomial of degree nn whose leading coefficient is a unit of RR. Then for every f∈R[x]f \in R[x] there are unique polynomials q,r∈R[x]q, r \in R[x] with

f=qg+r,r=0 or deg⁡r<n.f = qg + r, \quad r = 0 \text{ or } \deg r < n.

This applies to every non-zero gg when R=FR = F is a field, and to every monic gg over any ring.

Proof.

Idea. Long division: subtract a multiple of gg that cancels the leading term of ff, so that the degree drops, and repeat until the degree is below nn. Uniqueness follows by comparing degrees.

  1. Multiplying by gg adds nn to the degree: for every non-zero h∈R[x]h \in R[x], the product hghg is non-zero and deg⁡(hg)=deg⁡h+n\deg(hg) = \deg h + n.

    Let bb be the leading coefficient of gg, a unit of RR. As in the proof of Theorem 11.1.2, the top coefficient of hghg is cbcb, where c≠0c \neq 0 is the leading coefficient of hh; and cb≠0cb \neq 0, since cb=0cb = 0 would give c=(cb)b−1=0c = (cb)b^{-1} = 0.

  2. Existence: f=qg+rf = qg + r for some q,r∈R[x]q, r \in R[x] with r=0r = 0 or deg⁡r<n\deg r < n.

    By strong induction on the degree of ff. If f=0f = 0 or deg⁡f<n\deg f < n, take q=0q = 0 and r=fr = f. Otherwise deg⁡f=m≥n\deg f = m \ge n; let aa be the leading coefficient of ff. The polynomial ab−1xm−ngab^{-1}x^{m-n}g has degree mm and leading coefficient ab−1b=aab^{-1}b = a, the same as ff. So in

    f1=f−ab−1xm−ngf_1 = f - ab^{-1}x^{m-n}g

    the terms in xmx^m cancel, and f1=0f_1 = 0 or deg⁡f1<m\deg f_1 < m. By induction (or directly, if f1=0f_1 = 0), f1=q1g+rf_1 = q_1g + r with r=0r = 0 or deg⁡r<n\deg r < n. Then f=(q1+ab−1xm−n)g+rf = (q_1 + ab^{-1}x^{m-n})g + r.

  3. Uniqueness: if qg+r=q′g+r′qg + r = q'g + r', with rr and r′r' each 00 or of degree less than nn, then q=q′q = q' and r=r′r = r'.

    Here (q−q′)g=r′−r(q - q')g = r' - r. If q≠q′q \neq q', the left side has degree at least nn by the first step, while the right side is 00 or has degree less than nn. So q=q′q = q', and then r=r′r = r'.

Over a field every non-zero element is a unit, and a monic polynomial has leading coefficient 11, so both cases at the end of the statement are covered. □

Roots and factors

A polynomial gg divides ff in R[x]R[x] if f=ghf = gh for some h∈R[x]h \in R[x]. Dividing by the monic polynomial x−ax - a always works, and the remainder is a value of ff.

Theorem 11.2.2 (Factor theorem).

Let RR be a ring, f∈R[x]f \in R[x] and a∈Ra \in R. Then

f=(x−a)q+f(a)f = (x - a)q + f(a)

for some q∈R[x]q \in R[x]. In particular, aa is a root of ff exactly when x−ax - a divides ff.

Proof.

Idea. Divide by x−ax - a and then evaluate at aa, which kills the multiple of x−ax - a and leaves the remainder.

  1. f=(x−a)q+cf = (x - a)q + c for some q∈R[x]q \in R[x] and some constant c∈Rc \in R.

    The polynomial x−ax - a is monic of degree 11, so by Theorem 11.2.1 there are qq and rr in R[x]R[x] with f=(x−a)q+rf = (x - a)q + r and r=0r = 0 or deg⁡r=0\deg r = 0. Either way rr is a constant c∈Rc \in R.

  2. The constant is c=f(a)c = f(a).

    Evaluation at aa is a ring homomorphism (Theorem 11.1.3), so

    f(a)=(a−a)q(a)+c=c.f(a) = (a - a)q(a) + c = c.
  3. aa is a root of ff exactly when x−ax - a divides ff.

    If f(a)=0f(a) = 0, then f=(x−a)qf = (x - a)q by the first two steps. Conversely, if f=(x−a)hf = (x - a)h, then f(a)=(a−a)h(a)=0f(a) = (a - a)h(a) = 0.

□

How many roots

Theorem 11.2.3 (At most nn roots).

Let RR be an integral domain, and let f∈R[x]f \in R[x] be a non-zero polynomial of degree nn. Then ff has at most nn roots in RR.

Proof.

Idea. Split off a factor x−ax - a for one root aa and show that every other root is a root of the quotient, which has degree n−1n - 1. Induction on nn then counts the roots.

  1. If n=0n = 0, then ff has no roots.

    ff is a non-zero constant, so its value at every element is that non-zero constant.

  2. Let n≥1n \ge 1. If aa is a root of ff, then f=(x−a)qf = (x - a)q with q∈R[x]q \in R[x] of degree n−1n - 1.

    By the factor theorem, f=(x−a)qf = (x - a)q for some q∈R[x]q \in R[x]. Here q≠0q \neq 0, and by Theorem 11.1.2 (which needs RR to be an integral domain), deg⁡q=n−1\deg q = n - 1.

  3. Every root b≠ab \neq a of ff is a root of qq.

    Evaluating at bb gives 0=f(b)=(b−a)q(b)0 = f(b) = (b - a)q(b). Since b−a≠0b - a \neq 0 and RR has no zero divisors, q(b)=0q(b) = 0.

  4. So ff has at most nn roots.

    If ff has no root, there is nothing to prove. Otherwise take a root aa and qq as in the second step. By induction qq has at most n−1n - 1 roots, and by the third step every root of ff other than aa is one of them. So ff has at most 1+(n−1)=n1 + (n - 1) = n roots.

□

So over an infinite integral domain, such as Z\mathbb{Z}, Q\mathbb{Q}, R\mathbb{R} or C\mathbb{C}, a polynomial is determined by its function after all. If ff and gg take the same value at every element, then f−gf - g has infinitely many roots, so it cannot have a degree, and f−g=0f - g = 0. Over a finite field there is no such escape: xp−xx^p - x and 00 define the same function on Fp\mathbb{F}_p.

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.

11.4 Irreducible polynomials

Every whole number greater than 11 is a product of primes, the numbers that cannot be split into smaller factors. In F[x]F[x] the degree measures size, so the polynomials that play the part of primes are those that cannot be split into factors of smaller degree. Which polynomials these are depends on the field the coefficients may come from.

Irreducible polynomials

Definition 11.4.1 (Irreducible polynomial).

Let FF be a field. A polynomial p∈F[x]p \in F[x] is irreducible over FF if:

  • (i) Non-constant: deg⁡p≥1\deg p \ge 1.
  • (ii) No smaller factors: pp is not a product ghgh of polynomials g,h∈F[x]g, h \in F[x] with deg⁡g<deg⁡p\deg g < \deg p and deg⁡h<deg⁡p\deg h < \deg p.

A non-constant polynomial that is not irreducible is reducible over FF.

Condition (ii) can be read through the degree. If p=ghp = gh, then deg⁡g+deg⁡h=deg⁡p\deg g + \deg h = \deg p (Theorem 11.1.2), so both factors have smaller degree than pp exactly when neither is a constant. So an irreducible pp factors only as a non-zero constant times a constant multiple of pp.

Polynomials of degree 2 and 3

For small degrees, irreducibility comes down to roots.

Proposition 11.4.2 (Irreducibility in degree 2 and 3).

Let FF be a field and let f∈F[x]f \in F[x] have degree 22 or 33. Then ff is irreducible over FF if and only if ff has no root in FF.

Proof.

Idea. A factor of degree 11 and a root are the same thing, and in degree 22 or 33 every factorization into smaller pieces has a piece of degree 11.

  1. If ff has a root a∈Fa \in F, then ff is reducible.

    By the factor theorem, f=(x−a)qf = (x - a)q for some q∈F[x]q \in F[x], and deg⁡q=deg⁡f−1≥1\deg q = \deg f - 1 \ge 1 by Theorem 11.1.2. Both factors have degree less than deg⁡f\deg f. (This direction works for every degree at least 22.)

  2. Conversely, suppose f=ghf = gh with deg⁡g<deg⁡f\deg g < \deg f and deg⁡h<deg⁡f\deg h < \deg f. Then gg and hh are non-constant.

    Their degrees add up to deg⁡f\deg f (Theorem 11.1.2), so neither can be 00.

  3. One of the factors, say gg, has degree 11.

    Two degrees of at least 11 that add up to 22 or 33 cannot both be 22 or more.

  4. So ff has a root in FF.

    Write g=bx+cg = bx + c with b≠0b \neq 0. Then a=−c/ba = -c/b is a root of gg, and f(a)=g(a)h(a)=0f(a) = g(a)h(a) = 0.

□

Over F2\mathbb{F}_2 this settles the small degrees completely. The polynomials of degree 11, xx and x+1x + 1, are irreducible. In degree 22, the only one with no root is x2+x+1x^2 + x + 1, since x2x^2, x2+1=(x+1)2x^2 + 1 = (x + 1)^2 and x2+x=x(x+1)x^2 + x = x(x + 1) all have roots. In degree 33 the irreducible ones are x3+x+1x^3 + x + 1 and x3+x2+1x^3 + x^2 + 1.

11.5 Building fields from polynomials

Clock arithmetic modulo nn is the quotient ring Z/(n)\mathbb{Z}/(n), and it is a field exactly when nn is prime (Theorem 10.2.6). Polynomials have a clock arithmetic of their own: the quotient ring F[x]/(p)F[x]/(p), whose elements are cosets f+(p)f + (p), added and multiplied through representatives. For which pp is it a field, and what new fields does it build?

When the quotient is a field

Theorem 11.5.1 (Quotients of F[x]F\lbrack x\rbrack that are fields).

Let FF be a field and let p∈F[x]p \in F[x] be non-constant, of degree nn.

  • (i) Every element of F[x]/(p)F[x]/(p) is r+(p)r + (p) for exactly one r∈F[x]r \in F[x] that is 00 or has degree less than nn: the remainder of any representative on division by pp. So, with α=x+(p)\alpha = x + (p), the elements are the sums a0+a1α+⋯+an−1αn−1a_0 + a_1\alpha + \dots + a_{n-1}\alpha^{n-1}, each for exactly one choice of a0,…,an−1∈Fa_0, \dots, a_{n-1} \in F, and p(α)=0p(\alpha) = 0.
  • (ii) F[x]/(p)F[x]/(p) is a field if and only if pp is irreducible over FF.
Proof.

Idea. Division by pp cuts every representative down to a remainder of degree less than nn. A class f+(p)f + (p) has an inverse when uf+vp=1uf + vp = 1 for some uu and vv; the gcd supplies these when pp is irreducible, while a factorization p=ghp = gh makes two non-zero classes multiply to 00.

  1. Every class is the class of a remainder.

    Let f∈F[x]f \in F[x]. By Theorem 11.2.1, f=qp+rf = qp + r with r=0r = 0 or deg⁡r<n\deg r < n. Then f−r=qp∈(p)f - r = qp \in (p), so f+(p)=r+(p)f + (p) = r + (p).

  2. Two different remainders give different classes.

    If r+(p)=r′+(p)r + (p) = r' + (p), then r−r′=hpr - r' = hp for some hh. If h≠0h \neq 0, then hphp has degree at least nn (Theorem 11.1.2), while r−r′r - r' is 00 or has degree less than nn. So h=0h = 0 and r=r′r = r'. In particular 00 and 11 are different remainders, so 1+(p)≠0+(p)1 + (p) \neq 0 + (p).

  3. The class of f=∑iaixif = \sum_i a_ix^i is f(α)f(\alpha).

    Classes are added and multiplied through representatives, so f+(p)=∑i(ai+(p))(x+(p))if + (p) = \sum_i (a_i + (p))(x + (p))^i. Writing aa for the class a+(p)a + (p) of a constant, which the previous step shows is a faithful copy of FF, this is ∑iaiαi=f(α)\sum_i a_i\alpha^i = f(\alpha).

  4. p(α)=0p(\alpha) = 0.

    By the previous step, p(α)p(\alpha) is the class p+(p)p + (p), which is 00 because p∈(p)p \in (p).

  5. The elements of F[x]/(p)F[x]/(p) are the sums a0+a1α+⋯+an−1αn−1a_0 + a_1\alpha + \dots + a_{n-1}\alpha^{n-1}, each for exactly one choice of a0,…,an−1∈Fa_0, \dots, a_{n-1} \in F.

    By the first two steps, each class is r+(p)r + (p) for exactly one remainder r=a0+a1x+⋯+an−1xn−1r = a_0 + a_1x + \dots + a_{n-1}x^{n-1}, and by the third, r+(p)=r(α)r + (p) = r(\alpha). This proves (i).

  6. If pp is irreducible, every non-zero class has an inverse.

    Let f+(p)≠0f + (p) \neq 0, so pp does not divide ff. The gcd dd of ff and pp divides pp (Theorem 11.3.2), so p=dep = de for some ee, and since pp is irreducible, dd or ee is a constant. If ee were a constant, pp would be a constant multiple of dd, and so would divide ff. So dd is a monic constant: d=1d = 1. Then 1=uf+vp1 = uf + vp for some u,vu, v, and (u+(p))(f+(p))=1−vp+(p)=1+(p)(u + (p))(f + (p)) = 1 - vp + (p) = 1 + (p).

  7. So if pp is irreducible, F[x]/(p)F[x]/(p) is a field.

    It is a commutative ring, as F[x]F[x] is; 1≠01 \neq 0 in it by the second step; and every non-zero element is a unit by the previous step.

  8. If pp is reducible, F[x]/(p)F[x]/(p) is not a field.

    Write p=ghp = gh with deg⁡g<n\deg g < n and deg⁡h<n\deg h < n; both are non-constant (Theorem 11.1.2). The classes g+(p)g + (p) and h+(p)h + (p) are not 00, by the second step, since gg and hh are non-zero remainders. Their product is p+(p)=0{p + (p)} = 0. If g+(p)g + (p) had an inverse u+(p)u + (p), then h+(p)=(u+(p))(g+(p))(h+(p))=0{h + (p)} = {(u + (p))(g + (p))(h + (p))} = 0, which is false. This proves (ii).

□

In the language of ideals, (ii) says that (p)(p) is a maximal ideal of F[x]F[x] exactly when pp is irreducible (Theorem 10.6.4). When FF is finite with qq elements, (i) counts F[x]/(p)F[x]/(p): it has qnq^n elements, one for each choice of a0,…,an−1a_0, \dots, a_{n-1}, and it is a field when pp is irreducible.

Computing in F[x]/(p)F[x]/(p) needs two moves. To multiply, multiply representatives and reduce the product by pp, using p(α)=0p(\alpha) = 0 to rewrite αn\alpha^n and higher powers. To invert f+(p)f + (p), run the Euclidean algorithm on pp and ff until it gives uf+vp=1uf + vp = 1; then u+(p)u + (p) is the inverse.

Two fields built from polynomials

Example 11.5.2 (The complex numbers as a quotient).

The map R[x]/(x2+1)→C\mathbb{R}[x]/(x^2 + 1) \to \mathbb{C} sending f+(x2+1)f + (x^2 + 1) to f(i)f(i) is an isomorphism of rings. It sends a+bαa + b\alpha to a+bia + bi, so the class α\alpha of xx behaves exactly like ii: α2=−1\alpha^2 = -1, and

(a+bα)(c+dα)=(ac−bd)+(ad+bc)α.\begin{aligned} &(a + b\alpha)(c + d\alpha) \\ &\quad = (ac - bd) + (ad + bc)\alpha. \end{aligned}
Why the map is an isomorphism.

Idea. Evaluation at ii is a surjective ring homomorphism whose kernel is (x2+1)(x^2 + 1), so the first isomorphism theorem identifies the quotient with C\mathbb{C}.

  1. Evaluation at ii is a surjective ring homomorphism R[x]→C\mathbb{R}[x] \to \mathbb{C}.

    It is a ring homomorphism by Theorem 11.1.3. It is surjective, since a+bia + bi is the value of a+bxa + bx.

  2. Its kernel is (x2+1)(x^2 + 1).

    A multiple q(x2+1)q(x^2 + 1) goes to q(i)(i2+1)=0q(i)(i^2 + 1) = 0. Conversely, let f(i)=0f(i) = 0. By Theorem 11.5.1 (i), f+(x2+1)=(a+bx)+(x2+1)f + (x^2 + 1) = (a + bx) + (x^2 + 1) for some real a,ba, b, so f=q(x2+1)+a+bxf = q(x^2 + 1) + a + bx for some qq. Evaluating at ii gives 0=a+bi0 = a + bi, so a=b=0a = b = 0 and ff is a multiple of x2+1x^2 + 1.

  3. So f+(x2+1)↦f(i)f + (x^2 + 1) \mapsto f(i) is an isomorphism from R[x]/(x2+1)\mathbb{R}[x]/(x^2 + 1) onto C\mathbb{C}.

    This is the first isomorphism theorem for rings, applied to the first two steps. It sends a+bαa + b\alpha to a+bia + bi, and α2=−1\alpha^2 = -1 because i2=−1i^2 = -1.

□

So C\mathbb{C} can be built from R\mathbb{R} without ever assuming a square root of −1-1: take polynomials and agree that x2+1x^2 + 1 counts as 00. The same construction works over any field FF, with any irreducible p∈F[x]p \in F[x] in place of x2+1x^2 + 1: F[x]/(p)F[x]/(p) is a field in which the class of xx is a root of pp.

Example 11.5.3 (A field with four elements).

The polynomial x2+x+1x^2 + x + 1 is irreducible over F2\mathbb{F}_2 (Example in Definition 11.4.1), so F2[x]/(x2+x+1)\mathbb{F}_2[x]/(x^2 + x + 1) is a field. Its four elements are 00, 11, α\alpha and α+1\alpha + 1, where α2=α+1\alpha^2 = \alpha + 1. Every element is its own negative, and the non-zero elements multiply by this table:

⋅1αα+111αα+1ααα+11α+1α+11α\begin{array}{c|ccc} \cdot & 1 & \alpha & \alpha + 1 \\ \hline 1 & 1 & \alpha & \alpha + 1 \\ \alpha & \alpha & \alpha + 1 & 1 \\ \alpha + 1 & \alpha + 1 & 1 & \alpha \end{array}

The table follows from α2=−α−1=α+1\alpha^2 = -\alpha - 1 = \alpha + 1: so α(α+1)=α2+α=1\alpha(\alpha + 1) = \alpha^2 + \alpha = 1 and (α+1)2=α2+1=α(\alpha + 1)^2 = \alpha^2 + 1 = \alpha. This field is not Z/4Z\mathbb{Z}/4\mathbb{Z}, which is not even an integral domain, since 2⋅2=02 \cdot 2 = 0 there. Under addition its four elements form a copy of V4V_4 (Example 4.2.2), since y+y=0y + y = 0 for every yy, and under multiplication its three non-zero elements form a cyclic group generated by α\alpha.

Polynomial rings: Exercises

Exercise 11.1.

In F5[x]\mathbb{F}_5[x], divide f=x4+3x+1f = x^4 + 3x + 1 by g=2x2+1g = 2x^2 + 1: find qq and rr with f=qg+rf = qg + r and r=0r = 0 or deg⁡r<2\deg r < 2.

Solution.

Each step cancels the leading term of what is left, which means dividing by the leading coefficient 22 of gg. In F5\mathbb{F}_5, 2⋅3=6=12 \cdot 3 = 6 = 1, so 2−1=32^{-1} = 3.

First step: the leading term of ff is x4x^4, and x4=3x2⋅2x2x^4 = 3x^2 \cdot 2x^2. Subtract 3x2g=6x4+3x2=x4+3x23x^2 g = 6x^4 + 3x^2 = x^4 + 3x^2:

f−3x2g=−3x2+3x+1=2x2+3x+1.\begin{aligned} f - 3x^2g &= -3x^2 + 3x + 1 \\ &= 2x^2 + 3x + 1. \end{aligned}

Second step: the leading term is now 2x2=1⋅2x22x^2 = 1 \cdot 2x^2. Subtract 1⋅g=2x2+11 \cdot g = 2x^2 + 1, which leaves 3x3x, of degree 1<21 < 2.

So q=3x2+1q = 3x^2 + 1 and r=3xr = 3x. Check: (3x2+1)(2x2+1)=6x4+5x2+1=x4+1(3x^2 + 1)(2x^2 + 1) = 6x^4 + 5x^2 + 1 = x^4 + 1, and adding 3x3x gives ff. □

Exercise 11.2.

In Q[x]\mathbb{Q}[x], let f=x4+x3+2x2+x+1f = x^4 + x^3 + 2x^2 + x + 1 and g=x3−1g = x^3 - 1. Find gcd⁡(f,g)\gcd(f, g) by the Euclidean algorithm, and write it as uf+vguf + vg with u,v∈Q[x]u, v \in \mathbb{Q}[x].

Solution.

Divide ff by gg: subtracting xg=x4−xxg = x^4 - x leaves x3+2x2+2x+1x^3 + 2x^2 + 2x + 1, and subtracting 1⋅g1 \cdot g leaves 2x2+2x+22x^2 + 2x + 2. So

f=(x+1)g+(2x2+2x+2).f = (x + 1)g + (2x^2 + 2x + 2).

Divide gg by 2x2+2x+2=2(x2+x+1)2x^2 + 2x + 2 = 2(x^2 + x + 1): since x3−1=(x−1)(x2+x+1)x^3 - 1 = (x - 1)(x^2 + x + 1),

g=(12x−12)(2x2+2x+2),g = (\tfrac{1}{2}x - \tfrac{1}{2})(2x^2 + 2x + 2),

with remainder 00. The last non-zero remainder is 2x2+2x+22x^2 + 2x + 2, and the gcd is its monic multiple: gcd⁡(f,g)=x2+x+1\gcd(f, g) = x^2 + x + 1 (Theorem 11.3.2).

From the first division, 2x2+2x+2=f−(x+1)g2x^2 + 2x + 2 = f - (x + 1)g, so

x2+x+1=12f−12(x+1)g,x^2 + x + 1 = \tfrac{1}{2}f - \tfrac{1}{2}(x + 1)g,

that is, u=12u = \tfrac{1}{2} and v=−12(x+1)v = -\tfrac{1}{2}(x + 1). (Indeed f=(x2+1)(x2+x+1)f = (x^2 + 1)(x^2 + x + 1).) □

Exercise 11.3.

Decide whether each polynomial is irreducible over F3\mathbb{F}_3. Factor the reducible ones into irreducible factors.

  • (a) x3+2x+1x^3 + 2x + 1
  • (b) x3+x+1x^3 + x + 1
Solution.

Both have degree 33, so each is irreducible over F3\mathbb{F}_3 exactly when it has no root there (Proposition 11.4.2). There are only three elements to try.

(a) The values at 00, 11, 22 are 11, 1+2+1=4=11 + 2 + 1 = 4 = 1 and 8+4+1=13=18 + 4 + 1 = 13 = 1. There is no root, so x3+2x+1x^3 + 2x + 1 is irreducible over F3\mathbb{F}_3.

(b) The value at 11 is 1+1+1=3=01 + 1 + 1 = 3 = 0, so 11 is a root, and by the factor theorem x−1x - 1 is a factor. Dividing,

x3+x+1=(x−1)(x2+x+2),x^3 + x + 1 = (x - 1)(x^2 + x + 2),

as (x−1)(x2+x+2)=x3+x−2(x - 1)(x^2 + x + 2) = x^3 + x - 2 and −2=1-2 = 1 in F3\mathbb{F}_3. The quadratic factor has values 22, 4=14 = 1 and 8=28 = 2 at 00, 11, 22, so no root, and it is irreducible. So x3+x+1=(x+2)(x2+x+2)x^3 + x + 1 = (x + 2)(x^2 + x + 2) is the factorization into irreducibles, writing −1-1 as 22. □

Exercise 11.4.

In (Z/4Z)[x](\mathbb{Z}/4\mathbb{Z})[x], let g=2x+1g = 2x + 1. Find two different pairs (q,r)(q, r) with 1=qg+r1 = qg + r and r=0r = 0 or deg⁡r<1\deg r < 1. Which hypothesis of division with remainder fails, and where does its proof of uniqueness break?

Hint.

Square 2x+12x + 1.

Solution.

One pair is q=0q = 0, r=1r = 1. For another, (2x+1)2=4x2+4x+1=1(2x + 1)^2 = 4x^2 + 4x + 1 = 1 in (Z/4Z)[x](\mathbb{Z}/4\mathbb{Z})[x], so q=2x+1q = 2x + 1, r=0r = 0 also works. Both remainders are 00 or of degree 0<10 < 1, so the quotient and remainder are not unique.

The theorem asks for the leading coefficient of gg to be a unit, and 22 is not a unit of Z/4Z\mathbb{Z}/4\mathbb{Z}: 2b2b is 00 or 22 for every bb, never 11.

The uniqueness proof compares (q−q′)g(q - q')g with r′−rr' - r, and claims that (q−q′)g(q - q')g has degree at least deg⁡g\deg g when q≠q′q \neq q'. Here q−q′=2x+1q - q' = 2x + 1, and (2x+1)g=1(2x + 1)g = 1 has degree 00: the leading coefficients multiply to 2⋅2=02 \cdot 2 = 0, so the degree drops, which a unit leading coefficient would prevent. □

Exercise 11.5.

Let FF be a field and a∈Fa \in F. Show that the kernel of evaluation at aa, the homomorphism F[x]→FF[x] \to F sending ff to f(a)f(a), is the ideal (x−a)(x - a), and that F[x]/(x−a)≅FF[x]/(x - a) \cong F.

Hint.

The factor theorem describes the kernel; then look for a theorem that turns a surjective homomorphism into an isomorphism.

Solution.

Evaluation at aa is a ring homomorphism F[x]→FF[x] \to F (Theorem 11.1.3).

Its kernel is (x−a)(x - a). By the factor theorem, f(a)=0f(a) = 0 exactly when x−ax - a divides ff, that is, exactly when f∈(x−a)f \in (x - a).

It is surjective: a constant polynomial cc goes to cc, so every element of FF is a value.

By the first isomorphism theorem for rings, f+(x−a)↦f(a)f + (x - a) \mapsto f(a) is an isomorphism from F[x]/(x−a)F[x]/(x - a) onto FF. (This agrees with Theorem 11.5.1: x−ax - a has degree 11, so it is irreducible, and the quotient is a field whose elements are the classes of the constants.) □

Exercise 11.6.

Let FF be a field and f,g,h∈F[x]f, g, h \in F[x].

  • (a) Show that if gcd⁡(f,g)=1\gcd(f, g) = 1 and ff divides ghgh, then ff divides hh.
  • (b) Deduce that if pp is irreducible over FF and pp divides ghgh, then pp divides gg or pp divides hh.
Hint.

Write 11 as a combination of ff and gg and multiply by hh.

Solution.

(a) By Theorem 11.3.2, 1=uf+vg1 = uf + vg for some u,v∈F[x]u, v \in F[x]. Multiplying by hh gives h=ufh+vghh = ufh + vgh. The first term is a multiple of ff, and so is the second, since ff divides ghgh. So ff divides hh.

(b) Suppose pp does not divide gg; we show pp divides hh. Let d=gcd⁡(p,g)d = \gcd(p, g). It divides pp, so p=dep = de for some ee, and since pp is irreducible, dd or ee is a constant. If ee were a constant, then d=e−1pd = e^{-1}p, and pp would divide gg, since dd does. So dd is a monic constant, d=1d = 1, and part (a) with f=pf = p shows that pp divides hh.

This is the polynomial form of Euclid’s lemma, proved in the same way from a Bézout identity. □

Exercise 11.7.

Let pp be a prime with p≡3(mod4)p \equiv 3 \pmod 4. Show that x2+1x^2 + 1 is irreducible over Fp\mathbb{F}_p, and deduce that Fp[x]/(x2+1)\mathbb{F}_p[x]/(x^2 + 1) is a field with p2p^2 elements.

Hint.

A root aa would satisfy a4=1a^4 = 1 in the group of non-zero elements of Fp\mathbb{F}_p. What can its order be?

Solution.

Since x2+1x^2 + 1 has degree 22, it is irreducible over Fp\mathbb{F}_p exactly when it has no root there (Proposition 11.4.2). Suppose, for a contradiction, that a∈Fpa \in \mathbb{F}_p satisfies a2=−1a^2 = -1.

Then a≠0a \neq 0, so aa lies in the group (Z/pZ)×(\mathbb{Z}/p\mathbb{Z})^\times of units, which has p−1p - 1 elements: every class [k][k] with p∤kp \nmid k is a unit, since gcd⁡(k,p)=1\gcd(k, p) = 1 (Theorem 2.3.4). Now a4=(a2)2=1a^4 = (a^2)^2 = 1, while a2=−1≠1a^2 = -1 \neq 1, because pp is odd. So the order of aa divides 44 but not 22: ord⁡(a)=4\ord(a) = 4. By Theorem 5.2.2, 44 divides p−1p - 1, so p≡1(mod4)p \equiv 1 \pmod 4, which contradicts p≡3(mod4)p \equiv 3 \pmod 4.

So x2+1x^2 + 1 is irreducible over Fp\mathbb{F}_p, and by Theorem 11.5.1 Fp[x]/(x2+1)\mathbb{F}_p[x]/(x^2 + 1) is a field. Its elements are a0+a1αa_0 + a_1\alpha with a0,a1∈Fpa_0, a_1 \in \mathbb{F}_p, each written in exactly one way, so it has p2p^2 elements. □

Exercise 11.8.Not yet reviewed

Let pp be a prime.

  • (a) Show that in Fp[x]\mathbb{F}_p[x],

    xp−x=∏a∈Fp(x−a).x^p - x = \prod_{a \in \mathbb{F}_p} (x - a).
  • (b) Deduce Wilson’s theorem: (p−1)!≡−1(modp)(p - 1)! \equiv -1 \pmod p.

Hint.

For (a), every element of Fp\mathbb{F}_p is a root of xp−xx^p - x; what does each root give? For (b), look at the constant terms.

Solution.

(a) First, a claim: if a1,…,aka_1, \dots, a_k are distinct roots of a polynomial ff over an integral domain RR, then (x−a1)⋯(x−ak)(x - a_1)\cdots(x - a_k) divides ff. By induction on kk: for k=1k = 1 this is the factor theorem. If f=(x−a1)⋯(x−ak−1)gf = (x - a_1)\cdots(x - a_{k-1})g, evaluate at aka_k: 0=(ak−a1)⋯(ak−ak−1)g(ak)0 = (a_k - a_1)\cdots(a_k - a_{k-1})g(a_k). The factors ak−aia_k - a_i are non-zero and RR has no zero divisors, so g(ak)=0g(a_k) = 0, and g=(x−ak)hg = (x - a_k)h by the factor theorem. So f=(x−a1)⋯(x−ak)hf = (x - a_1)\cdots(x - a_k)h.

By Example 11.1.4, every element of Fp\mathbb{F}_p is a root of xp−xx^p - x, and Fp\mathbb{F}_p is a field, so an integral domain. By the claim, xp−x=Phx^p - x = Ph, where P=∏a∈Fp(x−a)P = \prod_{a \in \mathbb{F}_p}(x - a) is monic of degree pp. By Theorem 11.1.2, p=p+deg⁡hp = p + \deg h, so hh is a constant, and comparing leading coefficients (1=1⋅h1 = 1 \cdot h) gives h=1h = 1.

(b) Take out the factor for a=0a = 0: by (a),

x (xp−1−1)=x∏a≠0(x−a).x\,(x^{p-1} - 1) = x \prod_{a \neq 0} (x - a).

Fp[x]\mathbb{F}_p[x] is an integral domain (Theorem 11.1.2), so the non-zero factor xx can be canceled: xp−1−1=∏a≠0(x−a)x^{p-1} - 1 = \prod_{a \neq 0}(x - a). The constant term on the left is −1-1. On the right it is the product of the −a-a, that is, (−1)p−1∏a≠0a=(−1)p−1 [(p−1)!](-1)^{p-1}\prod_{a \neq 0} a = (-1)^{p-1}\,[(p - 1)!], since the non-zero elements are the classes of 1,2,…,p−11, 2, \dots, p - 1. If pp is odd, (−1)p−1=1(-1)^{p-1} = 1; if p=2p = 2, then −1=1-1 = 1 in F2\mathbb{F}_2. Either way [(p−1)!]=−1[(p - 1)!] = -1, that is, (p−1)!≡−1(modp)(p - 1)! \equiv -1 \pmod p. □

Exercise 11.9.

Let K=F3[x]/(x2+1)K = \mathbb{F}_3[x]/(x^2 + 1) and α=x+(x2+1)\alpha = x + (x^2 + 1). Show that KK is a field with 99 elements, that α\alpha has order 44 in the group K×K^\times of non-zero elements, and that 1+α1 + \alpha has order 88, so that every non-zero element of KK is a power of 1+α1 + \alpha.

Hint.

What can the order of an element of K×K^\times be?

Solution.

The approach is to compute only a few powers and let Lagrange’s theorem rule out the rest.

x2+1x^2 + 1 has no root in F3\mathbb{F}_3: its values at 00, 11, 22 are 11, 22 and 5=25 = 2. In degree 22 that makes it irreducible (Proposition 11.4.2), so KK is a field, whose elements are a+bαa + b\alpha with a,b∈F3a, b \in \mathbb{F}_3 (Theorem 11.5.1): 99 elements. So K×K^\times is a group of order 88.

The order of α\alpha: α2=−1≠1\alpha^2 = -1 \neq 1, and α4=(−1)2=1\alpha^4 = (-1)^2 = 1. So ord⁡(α)\ord(\alpha) divides 44 but not 22, and ord⁡(α)=4\ord(\alpha) = 4.

The order of 1+α1 + \alpha: it divides ∣K×∣=8\lvert K^\times \rvert = 8 by Theorem 5.2.2, so it is 11, 22, 44 or 88, and it is 88 unless (1+α)4=1(1 + \alpha)^4 = 1. Now

(1+α)2=1+2α+α2=2α,(1 + \alpha)^2 = 1 + 2\alpha + \alpha^2 = 2\alpha,

using α2=−1\alpha^2 = -1, and so (1+α)4=(2α)2=4α2=−4=−1≠1(1 + \alpha)^4 = (2\alpha)^2 = 4\alpha^2 = -4 = -1 \neq 1. So ord⁡(1+α)=8\ord(1 + \alpha) = 8, and its powers (1+α)0,…,(1+α)7(1 + \alpha)^0, \dots, (1 + \alpha)^7 are eight different elements of K×K^\times (Theorem 2.2.3), which has only eight. So every non-zero element of KK is a power of 1+α1 + \alpha. □