From high school algebra we realize that to solve a polynomial equation means to find its roots (or, equivalently, to find the zeros of the polynomials). From Example 16.3.14 and Example 16.3.17 we know that the zeros may not lie in the given ground field. Hence, to solve a polynomial really involves two steps: first, find the zeros, and second, find the field in which the zeros lie. For economy's sake we would like this field to be the smallest field that contains all the zeros of the given polynomial. To illustrate this concept, let us reconsider the examples from the previous section..

##### Example16.4.1Extending the Rational Numbers

Let $f(x)=x^2 - 2 \in \mathbb{Q}[x]$. It is important to remember that we are considering $x^2-2$ over $\mathbb{Q}\text{,}$ no other field. We would like to find all zeros of $f(x)$ and the smallest field, call it $S$ for now, that contains them. The zeros are $x= \pm \sqrt{2}$, neither of which is an element of $\mathbb{Q}\text{.}$ The set $S$ we are looking for must satisfy the conditions:

1. $S$ must be a field.

2. $S$ must contain $\mathbb{Q}$ as a subfield,

3. $S$ must contain all zeros of $f(x)=x^2 - 2$

By the last condition $\sqrt{2}$ must be an element of $S\text{,}$ and, if $S$ is to be a field, the sum, product, difference, and quotient of elements in $S$ must be in $S\text{.}$ So operations involving this number, such as $\sqrt{2}$, $\left(\sqrt{2}\right)^2$, $\left(\sqrt{2}\right)^3$, $\sqrt{2}+\sqrt{2}$, $\sqrt{2}-\sqrt{2}$, and $\frac{1}{\sqrt{2}}$ must all be elements of $S\text{.}$ Further, since $S$ contains $\mathbb{Q}$ as a subset, any element of $\mathbb{Q}$ combined with $\sqrt{2}$ under any field operation must be an element of $S\text{.}$ Hence, every element of the form $a + b \sqrt{2}$, where $a$ and $b$ can be any elements in $\mathbb{Q}\text{,}$ is an element of $S\text{.}$ We leave to the reader to show that $S =\{a + b \sqrt{2} \mid a, b \in \mathbb{Q}\}$ is a field (see Exercise 1 of this section). We note that the second zero of $x^2 - 2$, namely $-\sqrt{2}$, is an element of this set. To see this, simply take $a = 0$ and $b = -1$. The field $S$ is frequently denoted as $\mathbb{Q}\left(\sqrt{2}\right)$, and it is referred to as an extension field of $\mathbb{Q}\text{.}$ Note that the polynomial $x^2-2=\left(x-\sqrt{2}\right)\left(x+\sqrt{2}\right)$ factors into linear factors, or splits, in $\mathbb{Q}\left(\sqrt{2}\right)[x]$; that is, all coefficients of both factors are elements of the field $\mathbb{Q}\left(\sqrt{2}\right)$.

##### Example16.4.2Extending $\mathbb{Z}_2$

Consider the polynomial $g(x) = x^2 + x + 1 \in \mathbb{Z}_2[x]$. Let's repeat the steps from the previous example to factor $g(x)$. First, $g(0) = 1$ and $g(1) = 1$, so none of the elements of $\mathbb{Z}_2$ are zeros of $g(x)$. Hence, the zeros of $g(x)$ must lie in an extension field of $\mathbb{Z}_2$. By Theorem 16.3.13, $g(x) = x^2 + x + 1$ can have at most two zeros. Let $a$ be a zero of $g(x)$. Then the extension field $S$ of $\mathbb{Z}_2$ must contain, besides $a$, $a \cdot a = a^2$, $a^3$, $a + a$, $a+1$, and so on. But, since $g(a) = 0$, we have $a^2 + a + 1 = 0$, or equivalently, $a^2= -(a+1)=a+1$ (remember, we are working in an extension of $\mathbb{Z}_2$). We can use this recurrence relation to reduce powers of $a\text{.}$ So far our extension field, $S$, of $\mathbb{Z}_2$ must contain the set $\{0, 1, a, a + 1\}$, and we claim that this the complete extension. For $S$ to be a field, all possible sums, products, and differences of elements in $S$ must be in $S\text{.}$ Let's try a few: $a + a = a\left(1 +_2 1\right)=a\cdot 0=0\in S$ Since $a+a=0$, $-a = a$, which is in $S$. Adding three $a$'s together doesn't give us anything new: $a + a + a = a\in S$ In fact, $n a$ is in $S$ for all possible positive integers $n\text{.}$ Next, \begin{equation*} \begin{split} a^3 & = a^2 \cdot a \\ & = (a +1)\cdot a \\ & = a^2+ a\\ & = (a+1)+a\\ & =1 \\ \end{split} \end{equation*} Therefore, $a^{-1}= a+1 = a^2$ and $(a+1)^{-1}=a$.

It is not difficult to see that $a^n$ is in $S$ for all positive $n\text{.}$ Does $S$ contain all zeros of $x^2 + x + 1$? Remember, $g(x)$ can have at most two distinct zeros and we called one of them $a\text{,}$ so if there is a second, it must be $a + 1$. To see if $a + 1$ is indeed a zero of $g(x)$, simply compute $f(a + 1)$: \begin{equation*} \begin{split} f(a+1) & = (a + 1)^2 + (a+1) + 1\\ &= a ^2 +1 + a+1+ 1 \\ & =a^2+a + 1\\ & =0\\ \end{split} \end{equation*}

Therefore, $a + 1$ is also a zero of $x^2 + x + 1$. Hence, $S = \{0, 1, a, a + 1\}$ is the smallest field that contains $\mathbb{Z}_2 = \{0, 1\}$ as a subfield and contains all zeros of $x^2 + x + 1$. This extension field is denoted by $\mathbb{Z}_2(a)$. Note that $x^2 + x + 1$ splits in $\mathbb{Z}_2(a)$; that is, it factors into linear factors in $\mathbb{Z}_2(a)$. We also observe that $\mathbb{Z}_2(a)$ is a field containing exactly four elements. By Theorem 16.2.10, we expected that $\mathbb{Z}_2(a)$ would be of order $p^2$ for some prime $p$ and positive integer $n\text{.}$ Also recall that all fields of order $p^n$ are isomorphic. Hence, we have described all fields of order $2^2 =4$ by finding the extension field of a polynomial that is irreducible over $\mathbb{Z}_2$.

The reader might feel somewhat uncomfortable with the results obtained in Example 16.4.2. In particular, what is $a\text{?}$ Can we describe it through a known quantity? All we know about $a$ is that it is a zero of $g(x)$ and that $a^2= a + 1$. We could also say that $a(a + 1) = 1$, but we really expected more. However, should we expect more? In Example 16.4.1, $\sqrt{2}$ is a number we are more comfortable with, but all we really know about it is that $\alpha =\sqrt{2}$ is the number such that $\alpha ^2= 2$. Similarly, the zero that the reader will obtain in Exercise 2 of this section is the imaginary number $i$. Here again, this is simply a symbol, and all we know about it is that $i^2=-1$. Hence, the result obtained in Example 16.4.2 is not really that strange.

The reader should be aware that we have just scratched the surface in the development of topics in polynomial rings. One area of significant applications is in coding theory.

##### Example16.4.3An Error Correcting Polynomial Code

An important observation regarding the previous example is that the nonzero elements of $GF(4)$ can be represented two ways. First as a linear combination of 1 and $a$. There are four such linear combinations, one of which is zero. Second, as powers of $a$. There are three distinct powers and the each match up with a nonzero linear combination: \begin{equation*} \begin{array}{c} a^0 = 1\cdot 1 + 0 \cdot a\\ a^1 = 0\cdot 1 + 1 \cdot a\\ a^2 = 1\cdot 1 + 1 \cdot a\\ \end{array} \end{equation*} Here, we briefly describe the field $GF(8)$ and how an error correcting code can be build on a the same observation about that field.

First, we start with the irreducible polynomial $p(x)=x^3 + x + 1$ over $\mathbb{Z}_2$. There is another such cubic polynomial, but its choice produces essentially the same result. Just as we did in the previous example, we assume we have a zero of $p(x)$ and call it $\beta$. Since we have assumed that $p(\beta)= \beta^3+\beta + 1=0$, we get the recurrence relation for powers $\beta^3=\beta + 1$ that lets us reduce the seven powers $\beta^k$, $0 \leq k \leq 6$, to linear combinations of 1, $\beta$, and $\beta^2$. Higher powers will reduce to these seven, which make up the elements of a field with $2^3=8$ elements when we add zero to the set. We leave as an exercise for you to set up a table relating powers of $\beta$ with the linear combinations.

With this information we are now in a position to take blocks of four bits and encode them with three parity bits to create an error correcting code. If the bits are $b_3b_4b_5b_6$, then we reduce the expression $B_m= b_3\cdot \beta^3 +b_4\cdot \beta^4 +b_5\cdot \beta^5 +b_6\cdot \beta^6$ using the recurrence relation to an expression $B_p=b_0\cdot 1 +b_1\cdot \beta +b_2\cdot \beta^2$. Since we are equating equals within $GF(8)$ with the recurrence, we have $B_p=B_m$, or $B_p+B_m=0$. The encoded message is $b_0b_1b_2b_3b_4b_5b_6$, which is a representation of 0 in $GF(8)$. If the transmitted sequence of bits is received as $c_0c_1c_2c_3c_4c_5c_6$ we reduce $C=c_0\cdot 1 +c_1\cdot \beta +c_2\cdot \beta^2 +c_3\cdot \beta^3 +c_4\cdot \beta^4 +c_5\cdot \beta^5 +c_6\cdot \beta^6$ using the recurrence. If there was no transmission error, the result is zero. If the reduced result is zero it is most likely that the original message was $c_3c_4c_5c_6$. If bit $k$ is switched in the transmission, then \begin{equation*} C = B_p+B_m+ \beta^k= \beta^k \end{equation*} Therefore if we reduce $C$ with the recurrence, we get the linear combination of 1, $\beta$, and $\beta^2$ that is equal to $\beta^k$ and so we can identify the location of the error and correct it.

# Subsection16.4.1Exercises for Section 16.4¶ permalink

##### 1

1. Use the definition of a field to show that $\mathbb{Q}$(\textrm{ $\sqrt{2}$}) is a field.

2. Use the definition of vector space to show that $\mathbb{Q}\left(\sqrt{2}\right)$ is a vector space over $\mathbb{Q}\text{.}$

3. Prove that $\left\{1,\sqrt{2}\right\}$ is a basis for the vector space $\mathbb{Q}\left(\sqrt{2}\right)$ over $\mathbb{Q}\text{,}$ and, therefore, the dimension of $\mathbb{Q}$(\textrm{ $\sqrt{2}$}) over $\mathbb{Q}$ is 2.

##### 2

1. Determine the splitting field of $f(x) = x^2+ 1$ over $\mathbb{R}\text{.}$ This means consider the polynomial $f(x) = x^2+1 \in \mathbb{R}[x]$ and find the smallest field that contains $\mathbb{R}$ and all the zeros of $f(x)$. Denote this field by $\mathbb{R}(i)$.

2. $\mathbb{R}$(i) is more commonly referred to by a different name. What is it?

3. Show that $\{1, i\}$ is a basis for the vector space $\mathbb{R}(i)$ over $\mathbb{R}\text{.}$ What is the dimension of this vector space (over $\mathbb{R}$)?

##### 3

Determine the splitting field of $x^4 - 5x^2 + 6$ over $\mathbb{Q}\text{.}$

##### 4

1. Factor $x^2 + x + 1$ into linear factors in $\mathbb{Z}_2(a)$.

2. Write out the field tables for the field $\mathbb{Z}_2(a)$ and compare the results to the tables of Example 16.2.2.

3. Cite a theorem and use it to show why the results of part b were to be expected.

##### 5

1. Show that $x^3+ x + 1$ is irreducible over $\mathbb{Z}_2$.

2. Determine the splitting field of $x^3+ x + 1$ over $\mathbb{Z}_2$.

3. By Theorem 16.2.10, you have described all fields of order $2^3$.

1. List all polynomials of degree 1, 2, 3, and 4 over $\mathbb{Z}_2 = GF(2)$.