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 ). 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: . They are super interesting for many reasons, we will investigate (more precisely they can basically be thought of as an analogon to we have many analog properties (like divisibility, or some notion of primality/irreducibility).
Theory
Fields
Definition 5.26 A field is a nontrivial ring in which every nonzero element is a unit i.e. .
Note that this gives us the possibility to invert every element except for 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 is a field if and only if is prime.
This is what we already know from earlier chapters. If is prime, all elements (except for ) 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 (Galois Field).
Theorem 5.24 Every field is an integral domain
This should be quite intuitive and the proof is quite fast: assume that , then . What we are doing here is, because of the invertibility, we can simply solve for or and obtain that at least one of them must be .
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 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: (where 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 (division, gcd, etc...). Note however, 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 an integral domain?), therefore this classification will not work anymore. We will come back to it later though.
For the infinite case (i.e. ) 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 . Really just think about in the same way you think about .
Definition 5.27 A polynomial is called monic if the leading coefficient is .
Why do we care about this definition? Well, because of the invertibility of the field elements, we obtain that if divides (i.e. ) then also divides for any (because ). So if one polynomial divides another then sort of polynomials (all multiples of this polynomial) will also divide the other. We had a similar problem in . If , then we could multiply the divisor with or and and . We just discovered something very interesting. In the only invertible elements were and . In the only invertible elements are all the constant non-zero polynomials. For example:
So for a divisor, we can sort of think of an equivalence class of divisors with respect the multiplying it by a unit (in the units were and , so we had equivalence classes of size , now we have equivalence classes of size ). We always picked one element from the equivalence class as some distinguished element (for example when saying , we picked and not ). 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 and . 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 to generate Rings and fields using modular arithmetic, works exactly the same way for (we were able to generate fields with , where is prime, how are we able to generate fields with ?). This is what we will explore next.
Division & Irreducibility
As we already discussed the similarity between and , it should not come as a surprise to you, that we can also have some notion of primality.
Definition 5.28 A polynomial with degree at least is called irreducible if it is divisible only by constant polynomials and by constant multiples of .
So here we are introducing the definition of primality of polynomials. We can now classify all the elements of . Either zero (only ), 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 of largest degree such that and is called the greatest common divisor of and and is denoted by
Just the same as in . We can now also think about how we would compute this. Just apply the Euclidean algorithm!
Theorem 5.25 Let be a field. For any and in there exists a unique and a unique (with ) such that
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 . We cannot pull anymore 's out of if .
Now, as we introduced this, we could introduce everything we know about modular arithmetic to which now means modulo the polynomial . 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 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 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 . An element for which is called a root of .
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 and ) with the things we can do when evaluating polynomials.
Lemma 5.29 For a field , is a root of if and only if divides
Corollary 5.20 A polynomial of degree or over a field 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 and are very similar Rings. We were able to create Fields for 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 (we actually haven't defined this notation yet):
Lemma 5.33 Congruence modulo is an equivalence relation on and each equivalence class has a unique representation of degree less than
Definition 5.34 Let be a polynomial of degree over . Then
The degree will always be kept smaller than because otherwise, we could divide by .
Lemma 5.34 Let be a finite field with elements and let be a polynomial of degree over . Then .
We can think of the polynomials again of lists of numbers, because are compute modulo every list has entries (for terms from order to ). For each of the entries, we have choices of elements from the field, so overall different -Tuples.
Lemma 5.35 is a ring with respect to addition and multiplication modulo .
This should not come as a surprise as were also Rings.
Lemma 5.36 The congruence equation:
has a solution if and only if . We define:
This is exactly what we did for .
How can we classify the elements from ? We can do the same as for : 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 is irreducible. Moreover, a polynomial of degree is either irreducible or the product of two polynomials of degree . A polynomial of degree is either irreducible or has at least one factor of degree (which is equivalent to being a root). Similarly, a polynomial of degree is either irreducible, has a factor of degree , or has an irreducible factor of degree . Irreducibility of a polynomial of degree can be checked by testing all irreducible polynomials of degree 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 ).
For degree , it is often more work as stated above. Here, really think about the analogy to . You want to check for some number whether it is prime or not. What you do is try all prime numbers up to to divide the number. The same applies to polynomials.
There are some tricks to quickly deduce the non-irreducibility of a polynomial over . Namely, the following two:
-
Let such that if there is no constant term, then the polynomial is reducible. This is simply because we obtain quickly that is a root, thus the polynomial is divisible by . This is actually true for polynomials over any field.
-
Let such that , if there is an even number of terms overall, then the polynomial is reducible. This is simply because we directly obtain when plugging in , because all the terms will evaluate to and there is an even number of terms, so we obtain that is a root.
How to prove that something is a field?
To prove that we technically have to go by definition, i.e. show that it is a commutative nontrivial Ring with . 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:
- Thm. 5.23. is a field if and only if 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)
- Thm. 5.37. is a field if and only if is irreducible. Here we have to check irreducibility of (see above).
Example
Proving that something is a Field (old bonus)Difficulty: 1/5Relevance: 🎓🎓🎓🎓Source: Tobias Steinbrecher
Prove that is a field.
Proving that something is a Generator (old bonus)Difficulty: 1/5Relevance: 🎓🎓🎓🎓Source: Tobias Steinbrecher
Prove that (given that is a field).
Exercises
MGODifficulty: 3/5Relevance: 🎓🎓🎓Source: Philipp Barski, Yannick Funke
Let and be a prime power. What is the order of ? Prove your answer.