Legendre symbol
From Wikipedia, the free encyclopedia
The Legendre symbol or quadratic character is a function introduced by Adrien-Marie Legendre in 1798[1] during his partly successful attempt to prove the law of quadratic reciprocity.[2][3]. The symbol has served as the prototype for innumerable[4] higher power residue symbols; other extensions and generalizations include the Jacobi symbol, the Kronecker symbol, the Hilbert symbol and the Artin symbol. It is one of the earliest examples of a homomorphism[5]
Contents |
[edit] Definition
The Legendre symbol (sometimes written (a|p) for typographical convenience) is defined for integers a and positive odd primes p by
If (a|p) = 1, a is called a quadratic residue (mod p); if (a|p) = −1, a is called a quadratic nonresidue (mod p).
It is usual to treat zero as a special case.
[edit] Formulas for the Legendre symbol
Legendre originally defined his symbol (for a relatively prime to p) as[6]
Euler had earlier proved that this expression is ≡ 1 (mod p) if a is a quadratic residue (mod p) and that it is ≡ −1 if a is a quadratic nonresidue; this equivalence is now known as Euler's criterion.
In addition to this fundamental formula, there are many other expressions for (a|p), most of which are used in proofs of quadratic reciprocity.
Gauss proved[7] that if then
This is the basis for his fourth[8] and sixth[9], and for many[10] subsequent, proofs of quadratic reciprocity. See Gauss sum.
Kronecker's proof[11] is to establish that
and then switch p and q.
One of Eisenstein's proofs[12] begins by showing
Using elliptic functions instead of the sine, he was able to prove cubic and quartic reciprocity as well.
[edit] Other formulas involving the Legendre symbol
The Fibonacci numbers 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ... are defined by the recurrence F1 = F2 = 1, Fn+1 = Fn + Fn-1.
If p is a prime number then
For example,
This result comes from the theory of Lucas sequences, which are used in primality testing.[13] See Wall-Sun-Sun prime.
[edit] Properties of the Legendre symbol
There are a number of useful properties of the Legendre symbol which can be used to speed up calculations. They include:
- (It is a completely multiplicative function in its top argument. This property can be understood to mean: the product of two residues or non-residues is a residue, whereas the product of a residue with a non-residue is a non-residue.)
- If a ≡ b (mod p), then
This is called the first supplement to the law of quadratic reciprocity.
This is called the second supplement to the law of quadratic reciprocity. The general law of quadratic reciprocity is
- If p and q are odd primes then
See the articles quadratic reciprocity and proofs of quadratic reciprocity.
There are special formulas for some small values of p:
- For an odd prime p,
- For an odd prime p,
but in general it is simpler to list the residues and non-residues
- For an odd prime p,
The Legendre symbol (a|p) is a Dirichlet character (mod p).
[edit] Computational example
The above properties, including the law of quadratic reciprocity, can be used to evaluate any Legendre symbol. For example:
The article Jacobi symbol has more examples of Legendre symbol manipulation.
[edit] Related functions
- The Jacobi symbol is a generalization of the Legendre symbol that allows composite bottom numbers, although the bottom number must still be odd and positive. This generalization provides an efficient way to compute all Legendre symbols.
- A further generalization is the Kronecker symbol, which extends the bottom numbers to all integers.
[edit] Notes
- ^ A. M. Legendre Essai sur la theorie des nombres Paris 1798, p 186
- ^ Which he named.
- ^ Stated in posthumous paper by Euler (1783), and by Legendre in 1786. First proved by Gauss in 1796, published in DA (1801); arts. 107-144 (first proof), arts 253-262 (second proof)
- ^ Lemmermeyer, p.xiv "even in a case as simple as biquadratic reciprocity we have to distinguish four different symbols, namely the quadratic and biquadratic residue symbols in Z[i], the Legendre symbol in Z, and the rational quartic residue symbol in Z ... "
- ^ From Z/pZ× to C2, which is the subgroup {-1,1} of C. (log and exp are older homomorphisms)
- ^ Lemmermeyer p. 8
- ^ Gauss, "Summierung gewisser Reihen von besonderer Art" (1811), reprinted in Untersuchungen ... pp. 463-495. Crandall & Pomerance p. 92
- ^ Gauss, "Summierung gewisser Reihen von besonderer Art" (1811), reprinted in Untersuchungen ... pp. 463-495
- ^ Gauss, "Neue Beweise und Erweiterungen des Fundamentalsatzes in der Lehre von den quadritischen Resten" (1818) reprinted in Untersuchungen ... pp. 501-505
- ^ Scattered throughout the first 4 chapters of Lemmermeyer
- ^ Lemmermeyer, ex. p. 31, 1.34
- ^ Lemmermeyer, pp. 236 ff.
- ^ Ribenboim, p. 64; Lemmermeyer, ex 2.25-2.28, pp. 73-74.
[edit] References
- Gauss, Carl Friedrich & Maser, H. (translator into German) (1965), Untersuchungen uber hohere Arithmetik (Disquisitiones Arithmeticae & other papers on number theory) (Second edition), New York: Chelsea, ISBN 0-8284-0191-8
- Gauss, Carl Friedrich & Clarke, Arthur A. (translator into English) (1986), Disquisitiones Arithmeticae (Second, corrected edition), New York: Springer, ISBN 0387962549
- Bach, Eric & Shallit, Jeffrey (1966), Algorithmic Number Theory (Vol I: Efficient Algorithms), Cambridge: The MIT Press, ISBN 0-262-02045-5
- Lemmermeyer, Franz (2000), Reciprocity Laws: from Euler to Eisenstein, Berlin: Springer, ISBN 3-540-66967-4
- Ireland, Kenneth & Rosen, Michael (1990), A Classical Introduction to Modern Number Theory (Second edition), New York: Springer, ISBN 0-387-97329-X
- Ribenboim, Paulo (1996), The New Book of Prime Number Records, New York: Springer, ISBN 0-387-94457-5