Gauss's lemma (number theory)
Template:Short description Template:About Gauss's lemma in number theory gives a condition for an integer to be a quadratic residue. Although it is not useful computationally, it has theoretical significance, being involved in some proofs of quadratic reciprocity.
It made its first appearance in Carl Friedrich Gauss's third proof (1808)[1]Template:Rp of quadratic reciprocity and he proved it again in his fifth proof (1818).[1]Template:Rp
Statement of the lemma
For any odd prime Template:Math let Template:Math be an integer that is coprime to Template:Math.
Consider the integers
and their least positive residues modulo Template:Math. These residues are all distinct, so there are (Template:Math of them.
Let Template:Math be the number of these residues that are greater than Template:Math. Then
where is the Legendre symbol.
Example
Taking Template:Math = 11 and Template:Math = 7, the relevant sequence of integers is
- 7, 14, 21, 28, 35.
After reduction modulo 11, this sequence becomes
- 7, 3, 10, 6, 2.
Three of these integers are larger than 11/2 (namely 6, 7 and 10), so Template:Math = 3. Correspondingly Gauss's lemma predicts that
This is indeed correct, because 7 is not a quadratic residue modulo 11.
The above sequence of residues
- 7, 3, 10, 6, 2
may also be written
- −4, 3, −1, −5, 2.
In this form, the integers larger than 11/2 appear as negative numbers. It is also apparent that the absolute values of the residues are a permutation of the residues
- 1, 2, 3, 4, 5.
Proof
A fairly simple proof,[1]Template:Rp reminiscent of one of the simplest proofs of Fermat's little theorem, can be obtained by evaluating the product
modulo p in two different ways. On one hand it is equal to
The second evaluation takes more work. If Template:Math is a nonzero residue modulo Template:Math, let us define the "absolute value" of Template:Math to be
Since Template:Math counts those multiples Template:Math which are in the latter range, and since for those multiples, Template:Math is in the first range, we have
Now observe that the values Template:Math are distinct for Template:Math. Indeed, we have
because Template:Math is coprime to Template:Math.
This gives Template:Math = Template:Math, since Template:Math and Template:Math are positive least residues. But there are exactly Template:Math of them, so their values are a rearrangement of the integers Template:Math. Therefore,
Comparing with our first evaluation, we may cancel out the nonzero factor
and we are left with
This is the desired result, because by Euler's criterion the left hand side is just an alternative expression for the Legendre symbol .
Generalization
For any odd prime Template:Math let Template:Math be an integer that is coprime to Template:Math.
Let be a set such that is the disjoint union of and .
Then , where .[2]
In the original statement, .
The proof is almost the same.
Applications
Gauss's lemma is used in many,[3]Template:Rp[3]Template:Rp but by no means all, of the known proofs of quadratic reciprocity.
For example, Gotthold Eisenstein[3]Template:Rp used Gauss's lemma to prove that if Template:Math is an odd prime then
and used this formula to prove quadratic reciprocity. By using elliptic rather than circular functions, he proved the cubic and quartic reciprocity laws.[3]Template:Rp
Leopold Kronecker[3]Template:Rp used the lemma to show that
Switching Template:Math and Template:Math immediately gives quadratic reciprocity.
It is also used in what are probably the simplest proofs of the "second supplementary law"
Higher powers
Generalizations of Gauss's lemma can be used to compute higher power residue symbols. In his second monograph on biquadratic reciprocity,[4]Template:Rp Gauss used a fourth-power lemma to derive the formula for the biquadratic character of Template:Math in Template:Math, the ring of Gaussian integers. Subsequently, Eisenstein used third- and fourth-power versions to prove cubic and quartic reciprocity.[3]Template:Rp
nth power residue symbol
Template:Main article Let k be an algebraic number field with ring of integers and let be a prime ideal. The ideal norm of is defined as the cardinality of the residue class ring. Since is prime this is a finite field , so the ideal norm is .
Assume that a primitive Template:Mathth root of unity and that Template:Math and are coprime (i.e. ). Then no two distinct Template:Mathth roots of unity can be congruent modulo .
This can be proved by contradiction, beginning by assuming that mod , Template:Math. Let Template:Math such that mod , and Template:Math. From the definition of roots of unity,
and dividing by Template:Math gives
Letting Template:Math and taking residues mod ,
Since Template:Math and are coprime, mod but under the assumption, one of the factors on the right must be zero. Therefore, the assumption that two distinct roots are congruent is false.
Thus the residue classes of containing the powers of Template:Math are a subgroup of order Template:Math of its (multiplicative) group of units, Therefore, the order of is a multiple of Template:Math, and
There is an analogue of Fermat's theorem in . If for , then[3]Template:Rp
and since mod Template:Math,
is well-defined and congruent to a unique Template:Mathth root of unity ζns.
This root of unity is called the Template:Mathth-power residue symbol for and is denoted by
It can be proven that[3]Template:Rp
if and only if there is an such that Template:Math mod .
1/n systems
Let be the multiplicative group of the Template:Mathth roots of unity, and let be representatives of the cosets of Then Template:Math is called a Template:Math system mod [3]Template:Rp
In other words, there are numbers in the set and this set constitutes a representative set for
The numbers Template:Math, used in the original version of the lemma, are a 1/2 system (mod Template:Math).
Constructing a Template:Math system is straightforward: let Template:Math be a representative set for Pick any and remove the numbers congruent to from Template:Math. Pick Template:Math from Template:Math and remove the numbers congruent to Repeat until Template:Math is exhausted. Then Template:Math is a Template:Math system mod
The lemma for nth powers
Gauss's lemma may be extended to the Template:Mathth power residue symbol as follows.[3]Template:Rp Let be a primitive Template:Mathth root of unity, a prime ideal, (i.e. is coprime to both Template:Math and Template:Math) and let Template:Math be a Template:Math system mod
Then for each Template:Math, Template:Math, there are integers Template:Math, unique (mod Template:Math), and Template:Math, unique (mod Template:Math), such that
and the Template:Mathth-power residue symbol is given by the formula
The classical lemma for the quadratic Legendre symbol is the special case Template:Math, Template:Math, Template:Math, Template:Math if Template:Math, Template:Math if Template:Math.
Proof
The proof of the Template:Mathth-power lemma uses the same ideas that were used in the proof of the quadratic lemma.
The existence of the integers Template:Math and Template:Math, and their uniqueness (mod Template:Math) and (mod Template:Math), respectively, come from the fact that Template:Math is a representative set.
Assume that Template:Math = Template:Math = Template:Math, i.e.
and
Then
Because Template:Math and are coprime both sides can be divided by Template:Math, giving
which, since Template:Math is a Template:Math system, implies Template:Math and Template:Math, showing that Template:Math is a permutation of the set Template:Math.
Then on the one hand, by the definition of the power residue symbol,
and on the other hand, since Template:Math is a permutation,
so
and since for all Template:Math, Template:Math and are coprime, Template:Math can be cancelled from both sides of the congruence,
and the theorem follows from the fact that no two distinct Template:Mathth roots of unity can be congruent (mod ).
Relation to the transfer in group theory
Let Template:Math be the multiplicative group of nonzero residue classes in Template:Math, and let Template:Math be the subgroup {+1, −1}. Consider the following coset representatives of Template:Math in Template:Math,
Applying the machinery of the transfer to this collection of coset representatives, we obtain the transfer homomorphism
which turns out to be the map that sends Template:Math to Template:Math, where Template:Math and Template:Math are as in the statement of the lemma. Gauss's lemma may then be viewed as a computation that explicitly identifies this homomorphism as being the quadratic residue character.