Polynomial Rings and Finite Fields
The ring of polynomials over a field behaves like the integers: the Euclidean algorithm, irreducible polynomials as its primes, and the criteria to recognize them. The quotient ring by an irreducible polynomial is a field, which gives the complex numbers their honest definition and builds the finite fields with 4, 8, 9, and 256 elements. The Reed-Solomon code shows how a QR code survives damage, and the closing paragraph asks how far beyond the classical bound one can decode.
A QR code on a poster can lose a corner to a torn edge and still open the right web page, and a compact disc plays through a scratch that destroys thousands of bits. Both recover from damage by the same trick, and the trick is algebra: the data are read as the values of a polynomial over a field with 256 elements, and a polynomial of low degree is determined by far fewer values than the code transmits. This unit builds that field. It starts with the ring \(F[x]\) of polynomials over a field \(F\), which behaves like the integers in every way that matters, finds its primes, which are the irreducible polynomials, and shows that dividing \(F[x]\) by one of them produces a new field, as dividing \(\mathbb{Z}\) by a prime produced \(\mathbb{F}_p\) in Unit 7. The fields with 4, 8, 9, and 256 elements come out of this construction, and so does an honest definition of the number \(i\).
1 Division and the Euclidean algorithm in \(F[x]\)
Throughout this unit \(F\) is a field, such as \(\mathbb{Q}\), \(\mathbb{R}\), \(\mathbb{C}\), or \(\mathbb{F}_p\), and \(F[x]\) is the ring of polynomials with coefficients in \(F\), as in Unit 7. Unit 2 proved the division theorem for polynomials with rational or real coefficients: for polynomials \(f\) and \(g\) with \(g \ne 0\) there are unique polynomials \(q\) and \(r\) with \[ f = qg + r , \qquad r = 0 \ \text{ or } \ \deg r < \deg g . \] The proof divided, at each step, the leading coefficient of what was left by the leading coefficient of \(g\), and that is the only place where it used more than the ring axioms. In a field every non-zero element has an inverse, so the same proof works word for word over \(F\). Over \(\mathbb{F}_2\), for example, \(x^4 + x + 1 = (x^2 + x + 1)(x^2 + x) + 1\), as the reader can check by expanding and remembering that \(2 = 0\). Over \(\mathbb{Z}\) the division fails in general, since \(x^2\) divided by \(2x\) would need the coefficient \(\tfrac{1}{2}\), and this is why the unit works over fields.
Division with remainder is the engine of everything that follows, exactly as it was for the integers. A polynomial \(g\) divides \(f\), written \(g \mid f\), when \(f = qg\) for some polynomial \(q\), and a greatest common divisor of \(f\) and \(g\) is a common divisor of largest degree. To make it unique, it is taken to be monic, with leading coefficient \(1\), and written \(\gcd(f, g)\); the algorithm below produces a common divisor that every other common divisor divides, so any common divisor of the same largest degree is a constant multiple of it, and exactly one of those multiples is monic. The Euclidean algorithm of Unit 7 computes it: divide \(f\) by \(g\), then \(g\) by the remainder, then that remainder by the next, until a remainder is \(0\), and the last non-zero remainder, made monic, is the greatest common divisor. The degrees of the remainders decrease, so the process stops. Running it backwards expresses the greatest common divisor as a combination of \(f\) and \(g\), which is Bézout’s identity for polynomials, named after Étienne Bézout (1730-1783) as in Unit 7.