Introduction to Modern Algebra

Contents › Chapter 11. Polynomial rings

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.