Introduction to Modern Algebra
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. □