![]() | This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(February 2015) (Learn how and when to remove this message) |
Algebraic structures |
---|
Inmathematics, afinite field orGalois field (so-named in honor ofÉvariste Galois) is afield that contains a finite number ofelements. As with any field, a finite field is aset on which the operations of multiplication, addition, subtraction and division are defined and satisfy certain basic rules. The most common examples of finite fields are theintegers mod when is aprime number.
Theorder of a finite field is its number of elements, which is either a prime number or aprime power. For every prime number and every positive integer there are fields of order. All finite fields of a given order areisomorphic.
Finite fields are fundamental in a number of areas of mathematics andcomputer science, includingnumber theory,algebraic geometry,Galois theory,finite geometry,cryptography andcoding theory.
A finite field is a finite set that is afield; this means that multiplication, addition, subtraction and division (excluding division by zero) are defined and satisfy the rules of arithmetic known as thefield axioms.
The number of elements of a finite field is called itsorder or, sometimes, itssize. A finite field of order exists if and only if is aprime power (where is a prime number and is a positive integer). In a field of order, adding copies of any element always results in zero; that is, thecharacteristic of the field is.
For, all fields of order areisomorphic (see§ Existence and uniqueness below).[1] Moreover, a field cannot contain two different finitesubfields with the same order. One may therefore identify all finite fields with the same order, and they are unambiguously denoted, or, where the letters GF stand for "Galois field".[2]
In a finite field of order, thepolynomial has all elements of the finite field asroots. The non-zero elements of a finite field form amultiplicative group. This group iscyclic, so all non-zero elements can be expressed as powers of a single element called aprimitive element of the field. (In general there will be several primitive elements for a given field.)
The simplest examples of finite fields are the fields of prime order: for eachprime number, theprime field of order may be constructed as theintegers modulo,.
The elements of the prime field of order may be represented by integers in the range. The sum, the difference and the product are theremainder of the division by of the result of the corresponding integer operation. The multiplicative inverse of an element may be computed by using the extended Euclidean algorithm (seeExtended Euclidean algorithm § Modular integers).
Let be a finite field. For any element in and anyinteger, denote by the sum of copies of. The least positive such that is the characteristic of the field. This allows defining a multiplication of an element of by an element of by choosing an integer representative for. This multiplication makes into a-vector space. It follows that the number of elements of is for some integer.
Theidentity(sometimes called thefreshman's dream) is true in a field of characteristic. This follows from thebinomial theorem, as eachbinomial coefficient of the expansion of, except the first and the last, is a multiple of.
ByFermat's little theorem, if is a prime number and is in the field then. This implies the equalityfor polynomials over. More generally, every element in satisfies the polynomial equation.
Any finitefield extension of a finite field isseparable and simple. That is, if is a finite field and is a subfield of, then is obtained from by adjoining a single element whoseminimal polynomial isseparable. To use a piece of jargon, finite fields areperfect.
A more general algebraic structure that satisfies all the other axioms of a field, but whose multiplication is not required to be commutative, is called adivision ring (or sometimesskew field). ByWedderburn's little theorem, any finite division ring is commutative, and hence is a finite field.
Let be aprime power, and be thesplitting field of the polynomialover the prime field. This means that is a finite field of lowest order, in which has distinct roots (theformal derivative of is, implying that, which in general implies that the splitting field is aseparable extension of the original). Theabove identity shows that the sum and the product of two roots of are roots of, as well as the multiplicative inverse of a root of. In other words, the roots of form a field of order, which is equal to by the minimality of the splitting field.
The uniqueness up to isomorphism of splitting fields implies thus that all fields of order are isomorphic. Also, if a field has a field of order as a subfield, its elements are the roots of, and cannot contain another subfield of order.
In summary, we have the following classification theorem first proved in 1893 byE. H. Moore:[1]
The order of a finite field is a prime power. For every prime power there are fields of order, and they are all isomorphic. In these fields, every element satisfiesand the polynomial factors as
It follows that contains a subfield isomorphic to if and only if is a divisor of; in that case, this subfield is unique. In fact, the polynomial divides if and only if is a divisor of.
Given a prime power with prime and, the field may be explicitly constructed in the following way. One first chooses anirreducible polynomial in of degree (such an irreducible polynomial always exists). Then thequotient ringof the polynomial ring by the ideal generated by is a field of order.
More explicitly, the elements of are the polynomials over whose degree is strictly less than. The addition and the subtraction are those of polynomials over. The product of two elements is the remainder of theEuclidean division by of the product in.The multiplicative inverse of a non-zero element may be computed with the extended Euclidean algorithm; seeExtended Euclidean algorithm § Simple algebraic field extensions.
However, with this representation, elements of may be difficult to distinguish from the corresponding polynomials. Therefore, it is common to give a name, commonly to the element of that corresponds to the polynomial. So, the elements of become polynomials in, where, and, when one encounters a polynomial in of degree greater or equal to (for example after a multiplication), one knows that one has to use the relation to reduce its degree (it is what Euclidean division is doing).
Except in the construction of, there are several possible choices for, which produce isomorphic results. To simplify the Euclidean division, one commonly chooses for a polynomial of the formwhich make the needed Euclidean divisions very efficient. However, for some fields, typically in characteristic, irreducible polynomials of the form may not exist. In characteristic, if the polynomial is reducible, it is recommended to choose with the lowest possible that makes the polynomial irreducible. If all thesetrinomials are reducible, one chooses "pentanomials", as polynomials of degree greater than, with an even number of terms, are never irreducible in characteristic, having as a root.[3]
A possible choice for such a polynomial is given byConway polynomials. They ensure a certain compatibility between the representation of a field and the representations of its subfields.
In the next sections, we will show how the general construction method outlined above works for small finite fields.
The smallest non-prime field is the field with four elements, which is commonly denoted or It consists of the four elements such that,,, and, for every, the other operation results being easily deduced from thedistributive law. See below for the complete operation tables.
This may be deduced as follows from the results of the preceding section.
Over, there is only oneirreducible polynomial of degree:Therefore, for the construction of the preceding section must involve this polynomial, andLet denote a root of this polynomial in. This implies thatand that and are the elements of that are not in. The tables of the operations in result from this, and are as follows:
|
|
|
A table for subtraction is not given, because subtraction is identical to addition, as is the case for every field of characteristic 2.In the third table, for the division of by, the values of must be read in the left column, and the values of in the top row. (Because for every in everyring thedivision by 0 has to remain undefined.) From the tables, it can be seen that the additive structure of is isomorphic to theKlein four-group, while the non-zero multiplicative structure is isomorphic to the group.
The mapis the non-trivial field automorphism, called theFrobenius automorphism, which sends into the second root of the above-mentioned irreducible polynomial.
For applying theabove general construction of finite fields in the case of, one has to find an irreducible polynomial of degree 2. For, this has been done in the preceding section. If is an odd prime, there are always irreducible polynomials of the form, with in.
More precisely, the polynomial is irreducible over if and only if is aquadratic non-residue modulo (this is almost the definition of a quadratic non-residue). There are quadratic non-residues modulo. For example, is a quadratic non-residue for, and is a quadratic non-residue for. If, that is, one may choose as a quadratic non-residue, which allows us to have a very simple irreducible polynomial.
Having chosen a quadratic non-residue, let be a symbolic square root of, that is, a symbol that has the property, in the same way that the complex number is a symbolic square root of. Then, the elements of are all the linear expressionswith and in. The operations on are defined as follows (the operations between elements of represented by Latin letters are the operations in):
The polynomialis irreducible over and, that is, it is irreduciblemodulo and (to show this, it suffices to show that it has no root in nor in). It follows that the elements of and may be represented byexpressionswhere are elements of or (respectively), and is a symbol such that
The addition, additive inverse and multiplication on and may thus be defined as follows; in following formulas, the operations between elements of or, represented by Latin letters, are the operations in or, respectively:
The polynomialis irreducible over, that is, it is irreducible modulo. It follows that the elements of may be represented byexpressionswhere are either or (elements of), and is a symbol such that(that is, is defined as a root of the given irreducible polynomial). As the characteristic of is, each element is its additive inverse in. The addition and multiplication on may be defined as follows; in following formulas, the operations between elements of, represented by Latin letters are the operations in.
The field has eightprimitive elements (the elements that have all nonzero elements of as integer powers). These elements are the four roots of and theirmultiplicative inverses. In particular, is a primitive element, and the primitive elements are with less than andcoprime with (that is, 1, 2, 4, 7, 8, 11, 13, 14).
The set of non-zero elements in is anabelian group under the multiplication, of order. ByLagrange's theorem, there exists a divisor of such that for every non-zero in. As the equation has at most solutions in any field, is the lowest possible value for.Thestructure theorem of finite abelian groups implies that this multiplicative group iscyclic, that is, all non-zero elements are powers of a single element. In summary:
Such an element is called aprimitive element of. Unless, the primitive element is not unique. The number of primitive elements is where isEuler's totient function.
The result above implies that for every in. The particular case where is prime isFermat's little theorem.
If is a primitive element in, then for any non-zero element in, there is a unique integer with such that.This integer is called thediscrete logarithm of to the base.
While can be computed very quickly, for example usingexponentiation by squaring, there is no known efficient algorithm for computing the inverse operation, the discrete logarithm. This has been used in variouscryptographic protocols, seeDiscrete logarithm for details.
When the nonzero elements of are represented by their discrete logarithms, multiplication and division are easy, as they reduce to addition and subtraction modulo. However, addition amounts to computing the discrete logarithm of. The identityallows one to solve this problem by constructing the table of the discrete logarithms of, calledZech's logarithms, for (it is convenient to define the discrete logarithm of zero as being).
Zech's logarithms are useful for large computations, such aslinear algebra over medium-sized fields, that is, fields that are sufficiently large for making natural algorithms inefficient, but not too large, as one has to pre-compute a table of the same size as the order of the field.
Every nonzero element of a finite field is aroot of unity, as for every nonzero element of.
If is a positive integer, anthprimitive root of unity is a solution of the equation that is not a solution of the equation for any positive integer. If is ath primitive root of unity in a field, then contains all the roots of unity, which are.
The field contains ath primitive root of unity if and only if is a divisor of; if is a divisor of, then the number of primitiveth roots of unity in is (Euler's totient function). The number ofth roots of unity in is.
In a field of characteristic, everyth root of unity is also ath root of unity. It follows that primitiveth roots of unity never exist in a field of characteristic.
On the other hand, if iscoprime to, the roots of thethcyclotomic polynomial are distinct in every field of characteristic, as this polynomial is a divisor of, whosediscriminant is nonzero modulo. It follows that thethcyclotomic polynomial factors over into distinct irreducible polynomials that have all the same degree, say, and that is the smallest field of characteristic that contains theth primitive roots of unity.
When computingBrauer characters, one uses the map to map eigenvalues of a representation matrix to the complex numbers. Under this mapping, the base subfield consists of evenly spaced points around the unit circle (omitting zero).
The field has several interesting properties that smaller fields do not share: it has two subfields such that neither is contained in the other; not all generators (elements withminimal polynomial of degree over) are primitive elements; and the primitive elements are not all conjugate under theGalois group.
The order of this field being26, and the divisors of6 being1, 2, 3, 6, the subfields ofGF(64) areGF(2),GF(22) = GF(4),GF(23) = GF(8), andGF(64) itself. As2 and3 arecoprime, the intersection ofGF(4) andGF(8) inGF(64) is the prime fieldGF(2).
The union ofGF(4) andGF(8) has thus10 elements. The remaining54 elements ofGF(64) generateGF(64) in the sense that no other subfield contains any of them. It follows that they are roots of irreducible polynomials of degree6 overGF(2). This implies that, overGF(2), there are exactly9 =54/6 irreduciblemonic polynomials of degree6. This may be verified by factoringX64 −X overGF(2).
The elements ofGF(64) are primitiveth roots of unity for some dividing. As the 3rd and the 7th roots of unity belong toGF(4) andGF(8), respectively, the54 generators are primitiventh roots of unity for somen in{9, 21, 63}.Euler's totient function shows that there are6 primitive9th roots of unity, primitivest roots of unity, and primitive63rd roots of unity. Summing these numbers, one finds again elements.
By factoring thecyclotomic polynomials over, one finds that:
This shows that the best choice to construct is to define it asGF(2)[X] / (X6 +X + 1). In fact, this generator is a primitive element, and this polynomial is the irreducible polynomial that produces the easiest Euclidean division.
In this section, is a prime number, and is a power of.
In, the identity(x +y)p =xp +yp implies that the mapis a-linear endomorphism and afield automorphism of, which fixes every element of the subfield. It is called theFrobenius automorphism, afterFerdinand Georg Frobenius.
Denoting byφk thecomposition ofφ with itselfk times, we haveIt has been shown in the preceding section thatφn is the identity. For0 <k <n, the automorphismφk is not the identity, as, otherwise, the polynomialwould have more thanpk roots.
There are no otherGF(p)-automorphisms ofGF(q). In other words,GF(pn) has exactlynGF(p)-automorphisms, which are
In terms ofGalois theory, this means thatGF(pn) is aGalois extension ofGF(p), which has acyclic Galois group.
The fact that the Frobenius map is surjective implies that every finite field isperfect.
IfF is a finite field, a non-constantmonic polynomial with coefficients inF isirreducible overF, if it is not the product of two non-constant monic polynomials, with coefficients inF.
As everypolynomial ring over a field is aunique factorization domain, every monic polynomial over a finite field may be factored in a unique way (up to the order of the factors) into a product of irreducible monic polynomials.
There are efficient algorithms for testing polynomial irreducibility and factoring polynomials over finite fields. They are a key step for factoring polynomials over the integers or therational numbers. At least for this reason, everycomputer algebra system has functions for factoring polynomials over finite fields, or, at least, over finite prime fields.
The polynomial factors into linear factors over a field of orderq. More precisely, this polynomial is the product of all monic polynomials of degree one over a field of orderq.
This implies that, ifq =pn thenXq −X is the product of all monic irreducible polynomials overGF(p), whose degree dividesn. In fact, ifP is an irreducible factor overGF(p) ofXq −X, its degree dividesn, as itssplitting field is contained inGF(pn). Conversely, ifP is an irreducible monic polynomial overGF(p) of degreed dividingn, it defines a field extension of degreed, which is contained inGF(pn), and all roots ofP belong toGF(pn), and are roots ofXq −X; thusP dividesXq −X. AsXq −X does not have any multiple factor, it is thus the product of all the irreducible monic polynomials that divide it.
This property is used to compute the product of the irreducible factors of each degree of polynomials overGF(p); seeDistinct degree factorization.
The numberN(q,n) of monic irreducible polynomials of degreen overGF(q) is given by[4]whereμ is theMöbius function. This formula is an immediate consequence of the property ofXq −X above and theMöbius inversion formula.
By the above formula, the number of irreducible (not necessarily monic) polynomials of degreen overGF(q) is(q − 1)N(q,n).
The exact formula implies the inequalitythis is sharp if and only ifn is a power of some prime.For everyq and everyn, the right hand side is positive, so there is at least one irreducible polynomial of degreen overGF(q).
Incryptography, the difficulty of thediscrete logarithm problem in finite fields or inelliptic curves is the basis of several widely used protocols, such as theDiffie–Hellman protocol. For example, in 2014, a secure internet connection to Wikipedia involved the elliptic curve Diffie–Hellman protocol (ECDHE) over a large finite field.[5] Incoding theory, many codes are constructed assubspaces ofvector spaces over finite fields.
Finite fields are used by manyerror correction codes, such asReed–Solomon error correction code orBCH code. The finite field almost always has characteristic of2, since computer data is stored in binary. For example, a byte of data can be interpreted as an element ofGF(28). One exception isPDF417 bar code, which isGF(929). Some CPUs have special instructions that can be useful for finite fields of characteristic2, generally variations ofcarry-less product.
Finite fields are widely used innumber theory, as many problems over the integers may be solved by reducing themmodulo one or severalprime numbers. For example, the fastest known algorithms forpolynomial factorization andlinear algebra over the field ofrational numbers proceed by reduction modulo one or several primes, and then reconstruction of the solution by usingChinese remainder theorem,Hensel lifting or theLLL algorithm.
Similarly many theoretical problems in number theory can be solved by considering their reductions modulo some or all prime numbers. See, for example,Hasse principle. Many recent developments ofalgebraic geometry were motivated by the need to enlarge the power of these modular methods.Wiles' proof of Fermat's Last Theorem is an example of a deep result involving many mathematical tools, including finite fields.
TheWeil conjectures concern the number of points onalgebraic varieties over finite fields and the theory has many applications includingexponential andcharacter sum estimates.
Finite fields have widespread application incombinatorics, two well known examples being the definition ofPaley Graphs and the related construction forHadamard Matrices. Inarithmetic combinatorics finite fields[6] and finite field models[7][8] are used extensively, such as inSzemerédi's theorem on arithmetic progressions.
Adivision ring is a generalization of field. Division rings are not assumed to be commutative. There are no non-commutative finite division rings:Wedderburn's little theorem states that all finitedivision rings are commutative, and hence are finite fields. This result holds even if we relax theassociativity axiom toalternativity, that is, all finitealternative division rings are finite fields, by theArtin–Zorn theorem.[9]
A finite field is not algebraically closed: the polynomialhas no roots in, sincef (α) = 1 for all in.
Given a prime numberp, let be an algebraic closure of It is not only uniqueup to an isomorphism, as do all algebraic closures, but contrarily to the general case, all its subfield are fixed by all its automorphisms, and it is also the algebraic closure of all finite fields of the same characteristicp.
This property results mainly from the fact that the elements of are exactly the roots of and this defines an inclusion for These inclusions allow writing informally The formal validation of this notation results from the fact that the above field inclusions form adirected set of fields; Itsdirect limit is which may thus be considered as "directed union".
Given aprimitive element of then is a primitive element of
For explicit computations, it may be useful to have a coherent choice of the primitive elements for all finite fields; that is, to choose the primitive element of in order that, whenever one has where is the primitive element already chosen for
Such a construction may be obtained byConway polynomials.
Although finite fields are not algebraically closed, they arequasi-algebraically closed, which means that everyhomogeneous polynomial over a finite field has a non-trivial zero whose components are in the field if the number of its variables is more than its degree. This was a conjecture ofArtin andDickson proved byChevalley (seeChevalley–Warning theorem).