Finite fields
Let us first warn everyone that, for those who have taken abstract algebra courses (groups, rings, fields), this section might be super boring 😊 This is our attempt to teach finite fields to (non-mathematician) computer scientists in an intuitive way without having to formally introduce groups, rings, and fields. OK, let's try!
Let us try to further understand the proofs of Theorem 43 and Theorem 44. Would the proofs work if we work with polynomials with integer coefficients instead of reals? It doesn't seem so (notice that the interpolation requires division of numbers and a division of two integers may not give us an integer). However, a more careful scrutiny should convince you that we only need to be able to add, subtract, multiply and divide numbers. This exactly corresponds to the concept of fields - it is a set that allows us to do all these operations, e.g., reals, complex numbers, and rational numbers are fields, while integers are not.
Recall that the set of integers modulo a prime also allows all these operations (since, due to Lemma 10, every non-zero number has an inverse!) For a prime , denote by the set of integers modulo . The set of all polynomials with coefficients coming from this set is denoted by .
Consider two polynomials in . We have and . Their sum is .
Consider . This polynomial has one root since and , so is the only root.
Working with polynomials in a finite field may be somewhat counter-intuitive at first, e.g., is the same as in . Sometimes using negative coefficients is convenient when working with interpolation.
What is the unique degree-2 polynomial in that has and ? We can calculate as follows:
(the last step follows from ). Using similar calculation, we can get
After that we can get
Please try to understand how this works before reading forward.
Consider degree- polynomials in where is a prime. In this exercise you will prove that, for all and for all points (with distinct 's), there are polynomials that agree with all these points (i.e., for all .)
-
Why is the claim true for ? Just say the name of a theorem and a few words.
-
Consider the case when . Describe a bijection between and the set of degree- polynomials in that agree with the input points. Argue explicitly that it is a bijection (so it will imply the claim for ).
-
Argue why the proof in the previous part can be extended for any value of .