Content
Fields
🚧

under construction

Fields

We continue our discussion of Rings, but now we require every non-zero element to have an inverse in the multiplicative group and define an algebra fulfilling this new requirement and commutativity a Field (expressed more precisely F{0}=FF \setminus \{0\} = F^*). We can directly show that a field must also be an integral domain. Why are fields interesting? Well, we can sort of compute normally inside a field (division is defined for all non-zero elements), we could for example execute Gaussian Elimination over arbitrary fields. Next, we continue the discussion of Polynomials. This time over a field: F[x]F[x]. They are super interesting for many reasons, we will investigate (more precisely they can basically be thought of as an analogon to Z\mathbb{Z} we have many analog properties (like divisibility, or some notion of primality/irreducibility).

Theory

Fields

Definition 5.26 A field is a nontrivial ring FF in which every nonzero element is a unit i.e. F=F{0}F^* = F\setminus \{0\}.

Note that this gives us the possibility to invert every element except for 00 in the multiplicative group. This means we can sort of divide by every element. Why is this useful? This notion of invertibility gives us powerful tools for example from Linear Algebra. We could for example do Gaussian Elimination over arbitrary fields. Think about why this is not possible over Rings.

Theorem 5.23 Zp\mathbb{Z}_p is a field if and only if pp is prime.

This is what we already know from earlier chapters. If pp is prime, all elements (except for 00) are coprime and therefore have an inverse. This is quite interesting because we now have a significant class of fields. Often these are also denoted by GF(p)GF(p) (Galois Field).

Theorem 5.24 Every field is an integral domain

This should be quite intuitive and the proof is quite fast: assume that uv=0uv = 0, then v=u1uv=u10=0v = u^{-1}uv = u^{-1} 0 = 0. What we are doing here is, because of the invertibility, we can simply solve uv=0uv = 0 for uu or vv and obtain that at least one of them must be 00.


What is the takeaway here? Remember Fields are special commutative Rings (people often forget commutativity here), in which we can sort of divide by every non-zero element. Also, think about why it does not make sense to require 00 to be invertible and what would follow in this case. So we are actually sort of requiring the maximal number of nice things (invertible elements), we could possibly have.

Polynomials over Fields

In the last chapter, we considered polynomials over Rings. Now we want to combine this with our new notion of a field. Namely, we consider Polynomials over Fields: F[x]F[x] (where FF is a field). Intuitively, think about what this gives us. We can now invert all the non-zero coefficients of the polynomials. Actually, this property is super strong, we will see that we can now define many things we know from the Integers Z\mathbb{Z} (division, gcd, etc...). Note however, F[x]F[x] is still a ring, because it is impossible to invert any element that is non-constant (we can only increase the degree by multiplying with another polynomial). From the last chapter we classified elements as zero-divisor, units, zero (this worked for finite integral domains: we know that in a finite integral domain, every element belongs to one of the three classes). However, now we are in infinite integral domains (why is F[x]F[x] an integral domain?), therefore this classification will not work anymore. We will come back to it later though.

For the infinite case (i.e. Z\mathbb{Z}) we were able to classify the elements as a unit, zero, composite, and prime. We can actually do the same thing for the infinite case F[x]F[x]. Really just think about F[x]F[x] in the same way you think about Z\mathbb{Z}.

Definition 5.27 A polynomial a(x)F[x]a(x) \in F[x] is called monic if the leading coefficient is 11.

Why do we care about this definition? Well, because of the invertibility of the field elements, we obtain that if a(x)a(x) divides b(x)b(x) (i.e. a(x)c(x)=b(x)a(x) \cdot c(x) = b(x)) then also va(x)v a(x) divides b(x)b(x) for any vFv \in F (because va(x)v1c(x)=b(x)v a(x) \cdot v^{-1} c(x) = b(x)). So if one polynomial divides another then sort of F|F^*| polynomials (all multiples of this polynomial) will also divide the other. We had a similar problem in Z\mathbb{Z}. If 242 \mid 4, then we could multiply the divisor with 1-1 or 11 and 24-2 \mid 4 and 242 \mid 4. We just discovered something very interesting. In Z\mathbb{Z} the only invertible elements were 1-1 and 11. In F[x]F[x] the only invertible elements are all the constant non-zero polynomials. For example:

GF(5)[x]={1,2,3,4}GF(5)[x]^* = \{1,2,3,4\}

So for a divisor, we can sort of think of an equivalence class of divisors with respect the multiplying it by a unit (in Z\mathbb{Z} the units were 1-1 and 11, so we had equivalence classes of size 22, now we have equivalence classes of size F|F^*|). We always picked one element from the equivalence class as some distinguished element (for example when saying gcd(4,6)=2\gcd(4,6) = 2, we picked 22 and not 2-2). We want to do the same thing for our polynomials. To establish this notion, we always pick the monic polynomial from the equivalence class (note that the leading coefficient is different for every unit with which we multiply the divisor, so there is only one monic polynomial in every equivalence class of divisors).


We just made major observations about the similarities of Z\mathbb{Z} and F[x]F[x]. I would like to go into more detail about it (see Euclidean Domains (opens in a new tab)). We will later see that what we did for Z\mathbb{Z} to generate Rings and fields using modular arithmetic, works exactly the same way for F[x]F[x] (we were able to generate fields with Zp\mathbb{Z}_p, where pp is prime, how are we able to generate fields with F[x]m(x)F[x]_{m(x)}?). This is what we will explore next.

Division & Irreducibility

As we already discussed the similarity between Z\mathbb{Z} and F[x]F[x], it should not come as a surprise to you, that we can also have some notion of primality.

Definition 5.28 A polynomial a(x)F[x]a(x) \in F[x] with degree at least 11 is called irreducible if it is divisible only by constant polynomials and by constant multiples of a(x)a(x).

So here we are introducing the definition of primality of polynomials. We can now classify all the elements of F[x]F[x]. Either zero (only 0F[x]0 \in F[x]), unit (only all non-zero constant polynomials), reducible and irreducible polynomials.

Note that every polynomial of degree one is irreducible directly by definition.

Definition 5.29 The monic polynomial g(x)g(x) of largest degree such that g(x)a(x)g(x) \mid a(x) and g(x)b(x)g(x) \mid b(x) is called the greatest common divisor of a(x)a(x) and b(x)b(x) and is denoted by gcd(a(x),b(x))\gcd(a(x),b(x))

Just the same as in Z\mathbb{Z}. We can now also think about how we would compute this. Just apply the Euclidean algorithm!

Theorem 5.25 Let FF be a field. For any a(x)a(x) and b(x)0b(x) \neq 0 in F[x]F[x] there exists a unique q(x)q(x) and a unique r(x)r(x) (with degr(x)<degb(x)\deg r(x) < \deg b(x)) such that

a(x)=b(x)q(x)+r(x)a(x) = b(x) \cdot q(x) + r(x)

See the later section on polynomial division. I think the best thing to get intuition here is to practice polynomial division. Intuitively, it is the same as for Z\mathbb{Z}. We cannot pull anymore b(x)b(x)'s out of r(x)r(x) if degr(x)<degb(x)\deg r(x) < \deg b(x).

Now, as we introduced this, we could introduce everything we know about modular arithmetic to F[x]m(x)F[x]_{m(x)} which now means modulo the polynomial m(x)m(x). We can think about the remainders and stuff :).

Polynomials as Functions

Before, we considered polynomials as abstract objects. Basically, we didn't care about the xx in the polynomial it was just some symbol to simplify the operations we can perform. We could also just treat the polynomials as lists of numbers and some special operation (this would be a discrete convolution (opens in a new tab) between the two lists instead of multiplication and elementwise addition for addition). However, now we want to combine the real notion of polynomials (by reconsidering what we can do with the xx and what we couldn't do with a list of numbers - well we could just think of the list of numbers as a polynomial).

Definition 5.33 Let a(x)R[x]a(x) \in R[x]. An element αR\alpha \in R for which a(α)=0a(\alpha) = 0 is called a root of a(x)a(x).

The following Lemma is probably the most important in this section. It combines the previous way we thought about divisibility and stuff (considering the similarity of F[x]F[x] and Z\mathbb{Z}) with the things we can do when evaluating polynomials.

Lemma 5.29 For a field FF, αF\alpha \in F is a root of a(x)a(x) if and only if xαx-\alpha divides a(x)a(x)

Corollary 5.20 A polynomial a(x)a(x) of degree 22 or 33 over a field FF is irreducible if and only if it has no root.

The above Corollary will be one of the most important irreducibility checks you will use.

Polynomial Interpolation

Finite Fields

So we discussed different properties of Fields and Polynomials over Fields. What stood out is that Z\mathbb{Z} and F[x]F[x] are very similar Rings. We were able to create Fields Zp\mathbb{Z}_p for pp prime and now we are interested in creating so-called extension fields (which is just a special term, it is nothing else but a field) from F[x]m(x)F[x]_{m(x)} (we actually haven't defined this notation yet):

Lemma 5.33 Congruence modulo m(x)m(x) is an equivalence relation on F[x]F[x] and each equivalence class has a unique representation of degree less than deg(m(x))\deg(m(x))

Definition 5.34 Let m(x)m(x) be a polynomial of degree dd over FF. Then

F[x]m(x)={a(x)F[x]deg(a(x))<d}F[x]_{m(x)} = \{a(x) \in F[x] \mid \deg(a(x)) < d\}

The degree will always be kept smaller than dd because otherwise, we could divide by m(x)m(x).

Lemma 5.34 Let FF be a finite field with qq elements and let m(x)m(x) be a polynomial of degree dd over FF. Then F[x]m(x)=qd|F[x]_{m(x)}| = q^d.

We can think of the polynomials again of lists of numbers, because are compute modulo m(x)m(x) every list has dd entries (for terms from order 00 to d1d-1). For each of the entries, we have qq choices of elements from the field, so overall qdq^d different dd-Tuples.

Lemma 5.35 F[x]m(x)F[x]_{m(x)} is a ring with respect to addition and multiplication modulo m(x)m(x).

This should not come as a surprise as Zm\mathbb{Z}_m were also Rings.

Lemma 5.36 The congruence equation:

a(x)b(x)m(x)1a(x)b(x) \equiv_{m(x)} 1

has a solution if and only if gcd(a(x),b(x))=1\gcd(a(x),b(x)) = 1. We define:

F[x]m(x)={a(x)F[x]m(x)gcd(a(x),m(x))=1}F[x]_{m(x)}^* = \{a(x) \in F[x]_{m(x)} \mid \gcd(a(x), m(x)) = 1\}

This is exactly what we did for Zm\mathbb{Z}_m^*.

How can we classify the elements from F[x]m(x)F[x]_{m(x)}? We can do the same as for Z\mathbb{Z}: zero, zero-divisors, units.

There is more to come here...

Tips and Tricks

How to check irreducibility of a polynomial?

Intuitively, this is the same problem as checking whether an integer is a prime number.

We cite the part of the script here, as this explanation is perfect:

It follows immediately from the definition (and from the fact that the degrees are added when polynomials are multiplied) that every polynomial of degree 11 is irreducible. Moreover, a polynomial of degree 22 is either irreducible or the product of two polynomials of degree 11. A polynomial of degree 33 is either irreducible or has at least one factor of degree 11 (which is equivalent to being a root). Similarly, a polynomial of degree 44 is either irreducible, has a factor of degree 11, or has an irreducible factor of degree 22. Irreducibility of a polynomial of degree dd can be checked by testing all irreducible polynomials of degree d/2\leq d/2 as possible divisors. Actually, it suffices to test only the monic polynomials because one could always multiply a divisor by a constant, for example, the inverse of the highest coefficient. This irreducibility test is very similar to the primality test which checks all divisors up to the square root of the number to be tested.

Really try to understand every claim in the paragraph above!

In most cases, you will have to verify the irreducibility of degree 2 or 3. In this case, just plug in all the elements from your field and try to find roots (verify by showing that they indeed evaluate to 00).

For degree d>3d > 3, it is often more work as stated above. Here, really think about the analogy to Z\mathbb{Z}. You want to check for some number whether it is prime or not. What you do is try all prime numbers up to n\sqrt{n} to divide the number. The same applies to polynomials.

There are some tricks to quickly deduce the non-irreducibility of a polynomial over GF(2)GF(2). Namely, the following two:

  1. Let p(x)GF(2)[x]p(x) \in GF(2)[x] such that deg(p)2\deg(p) \geq 2 if there is no constant term, then the polynomial is reducible. This is simply because we obtain quickly that 00 is a root, thus the polynomial is divisible by xx. This is actually true for polynomials over any field.

  2. Let p(x)GF(2)[x]p(x) \in GF(2)[x] such that deg(p)2\deg(p) \geq 2, if there is an even number of terms overall, then the polynomial is reducible. This is simply because we directly obtain 00 when plugging in 11, because all the terms will evaluate to 11 and there is an even number of terms, so we obtain that 11 is a root.

How to prove that something is a field?

To prove that FF we technically have to go by definition, i.e. show that it is a commutative nontrivial Ring with F{0}=FF \setminus \{0\} = F^*. This would be very annoying because we would have to verify a big list of requirements and then even show that every non-zero element is a unit. This is why you will probably most often use one of the following theorems:

  1. Thm. 5.23. Zp\mathbb{Z}_p is a field if and only if pp is prime (because this is a rather trivial task, it will probably not be an exercise, however, it might be an important first step to notice this for other proofs)
  2. Thm. 5.37. F[x]m(x)F[x]_{m(x)} is a field if and only if m(x)m(x) is irreducible. Here we have to check irreducibility of m(x)m(x) (see above).

Example

Proving that something is a Field (old bonus)Difficulty: 1/5Relevance: 🎓🎓🎓🎓Source:  Tobias Steinbrecher

Prove that GF(5)[x]x2+4x+1GF(5)[x]_{x^2 + 4x + 1} is a field.

Proving that something is a Generator (old bonus)Difficulty: 1/5Relevance: 🎓🎓🎓🎓Source:  Tobias Steinbrecher

Prove that x+3=GF(5)[x]x2+4x+1\langle x+3 \rangle = GF(5)[x]_{x^2 + 4x + 1}^* (given that F=GF(5)[x]x2+4x+1F = GF(5)[x]_{x^2 + 4x + 1} is a field).

Exercises

MGODifficulty: 3/5Relevance: 🎓🎓🎓Source:  Philipp Barski, Yannick Funke

Let mN{0}m \in \mathbb{N} \setminus \{0\} and pp be a prime power. What is the order of GF(p)[x]xm\mathrm{GF}(p)[x]_{x^m}^*? Prove your answer.