HOME

TheInfoList



OR:

In
number theory Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, the law of quadratic reciprocity is a theorem about
modular arithmetic In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mo ...
that gives conditions for the solvability of
quadratic equation In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as ax^2 + bx + c = 0\,, where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
s modulo
prime number A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s. Due to its subtlety, it has many formulations, but the most standard statement is: This law, together with its supplements, allows the easy calculation of any Legendre symbol, making it possible to determine whether there is an integer solution for any quadratic equation of the form x^2\equiv a \bmod p for an odd prime p; that is, to determine the "perfect squares" modulo p. However, this is a non-constructive result: it gives no help at all for finding a ''specific'' solution; for this, other methods are required. For example, in the case p\equiv 3 \bmod 4 using Euler's criterion one can give an explicit formula for the "square roots" modulo p of a quadratic residue a, namely, :\pm a^ indeed, :\left (\pm a^ \right )^2=a^=a\cdot a^\equiv a\left(\frac\right)=a \bmod p. This formula only works if it is known in advance that a is a
quadratic residue In number theory, an integer ''q'' is a quadratic residue modulo operation, modulo ''n'' if it is Congruence relation, congruent to a Square number, perfect square modulo ''n''; that is, if there exists an integer ''x'' such that :x^2\equiv q \pm ...
, which can be checked using the law of quadratic reciprocity. The quadratic reciprocity theorem was conjectured by
Leonhard Euler Leonhard Euler ( ; ; ; 15 April 170718 September 1783) was a Swiss polymath who was active as a mathematician, physicist, astronomer, logician, geographer, and engineer. He founded the studies of graph theory and topology and made influential ...
and
Adrien-Marie Legendre Adrien-Marie Legendre (; ; 18 September 1752 – 9 January 1833) was a French people, French mathematician who made numerous contributions to mathematics. Well-known and important concepts such as the Legendre polynomials and Legendre transforma ...
and first proved by
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; ; ; 30 April 177723 February 1855) was a German mathematician, astronomer, geodesist, and physicist, who contributed to many fields in mathematics and science. He was director of the Göttingen Observatory and ...
, who referred to it as the "fundamental theorem" in his ''
Disquisitiones Arithmeticae (Latin for ''Arithmetical Investigations'') is a textbook on number theory written in Latin by Carl Friedrich Gauss in 1798, when Gauss was 21, and published in 1801, when he was 24. It had a revolutionary impact on number theory by making the f ...
'' and his papers, writing :''The fundamental theorem must certainly be regarded as one of the most elegant of its type.'' (Art. 151) Privately, Gauss referred to it as the "golden theorem". He published six proofs for it, and two more were found in his posthumous papers. There are now over 240 published proofs. The shortest known proof is included below, together with short proofs of the law's supplements (the Legendre symbols of −1 and 2). Generalizing the reciprocity law to higher powers has been a leading problem in mathematics, and has been crucial to the development of much of the machinery of modern algebra, number theory, and
algebraic geometry Algebraic geometry is a branch of mathematics which uses abstract algebraic techniques, mainly from commutative algebra, to solve geometry, geometrical problems. Classically, it studies zero of a function, zeros of multivariate polynomials; th ...
, culminating in
Artin reciprocity The Artin reciprocity law, which was established by Emil Artin in a series of papers (1924; 1927; 1930), is a general theorem in number theory that forms a central part of global class field theory. The term " reciprocity law" refers to a long li ...
,
class field theory In mathematics, class field theory (CFT) is the fundamental branch of algebraic number theory whose goal is to describe all the abelian Galois extensions of local and global fields using objects associated to the ground field. Hilbert is credit ...
, and the
Langlands program In mathematics, the Langlands program is a set of conjectures about connections between number theory, the theory of automorphic forms, and geometry. It was proposed by . It seeks to relate the structure of Galois groups in algebraic number t ...
.


Motivating examples

Quadratic reciprocity arises from certain subtle factorization patterns involving perfect square numbers. In this section, we give examples which lead to the general case.


Factoring  ''n''2 − 5

Consider the polynomial f(n) = n^2 - 5 and its values for n \in \N. The prime factorizations of these values are given as follows: The prime factors p dividing f(n) are p=2,5, and every prime whose final digit is 1 or 9; no primes ending in 3 or 7 ever appear. Now, p is a prime factor of some n^2-5 whenever n^2 - 5 \equiv 0 \bmod p, i.e. whenever n^2 \equiv 5 \bmod p, i.e. whenever 5 is a quadratic residue modulo p. This happens for p= 2, 5 and those primes with p\equiv 1, 4 \bmod 5, and the latter numbers 1=(\pm1)^2 and 4=(\pm2)^2 are precisely the quadratic residues modulo 5. Therefore, except for p = 2,5, we have that 5 is a quadratic residue modulo p iff p is a quadratic residue modulo 5. The law of quadratic reciprocity gives a similar characterization of prime divisors of f(n)=n^2 - q for any prime ''q'', which leads to a characterization for any integer q.


Patterns among quadratic residues

Let ''p'' be an odd prime. A number modulo ''p'' is a
quadratic residue In number theory, an integer ''q'' is a quadratic residue modulo operation, modulo ''n'' if it is Congruence relation, congruent to a Square number, perfect square modulo ''n''; that is, if there exists an integer ''x'' such that :x^2\equiv q \pm ...
whenever it is congruent to a square (mod ''p''); otherwise it is a quadratic non-residue. ("Quadratic" can be dropped if it is clear from the context.) Here we exclude zero as a special case. Then as a consequence of the fact that the multiplicative group of a
finite field In mathematics, a finite field or Galois field (so-named in honor of Évariste Galois) is a field (mathematics), field that contains a finite number of Element (mathematics), elements. As with any field, a finite field is a Set (mathematics), s ...
of order ''p'' is cyclic of order ''p-1'', the following statements hold: *There are an equal number of quadratic residues and non-residues; and *The product of two quadratic residues is a residue, the product of a residue and a non-residue is a non-residue, and the product of two non-residues is a residue. For the avoidance of doubt, these statements do ''not'' hold if the modulus is not prime. For example, there are only 3 quadratic residues (1, 4 and 9) in the multiplicative group modulo 15. Moreover, although 7 and 8 are quadratic non-residues, their product 7x8 = 11 is also a quadratic non-residue, in contrast to the prime case. Quadratic residues appear as entries in the following table, indexed by the row number as modulus and column number as root: This table is complete for odd primes less than 50. To check whether a number ''m'' is a quadratic residue mod one of these primes ''p'', find ''a'' ≡ ''m'' (mod ''p'') and 0 ≤ ''a'' < ''p''. If ''a'' is in row ''p'', then ''m'' is a residue (mod ''p''); if ''a'' is not in row ''p'' of the table, then ''m'' is a nonresidue (mod ''p''). The quadratic reciprocity law is the statement that certain patterns found in the table are true in general.


Legendre's version

Another way to organize the data is to see which primes are quadratic residues mod which other primes, as illustrated in the following table. The entry in row ''p'' column ''q'' is R if ''q'' is a quadratic residue (mod ''p''); if it is a nonresidue the entry is N. If the row, or the column, or both, are ≡ 1 (mod 4) the entry is blue or green; if both row and column are ≡ 3 (mod 4), it is yellow or orange. The blue and green entries are symmetric around the diagonal: The entry for row ''p'', column ''q'' is R (resp N) if and only if the entry at row ''q'', column ''p'', is R (resp N). The yellow and orange ones, on the other hand, are antisymmetric: The entry for row ''p'', column ''q'' is R (resp N) if and only if the entry at row ''q'', column ''p'', is N (resp R). The reciprocity law states that these patterns hold for all ''p'' and ''q''. Ordering the rows and columns mod 4 makes the pattern clearer.


Supplements to quadratic reciprocity

The supplements provide solutions to specific cases of quadratic reciprocity. They are often quoted as partial results, without having to resort to the complete theorem.


''q'' = ±1 and the first supplement

Trivially 1 is a quadratic residue for all primes. The question becomes more interesting for −1. Examining the table, we find −1 in rows 5, 13, 17, 29, 37, and 41 but not in rows 3, 7, 11, 19, 23, 31, 43 or 47. The former set of primes are all congruent to 1 modulo 4, and the latter are congruent to 3 modulo 4. :First Supplement to Quadratic Reciprocity. The congruence x^2 \equiv -1 \bmod is solvable if and only if p is congruent to 1 modulo 4.


''q'' = ±2 and the second supplement

Examining the table, we find 2 in rows 7, 17, 23, 31, 41, and 47, but not in rows 3, 5, 11, 13, 19, 29, 37, or 43. The former primes are all ≡ ±1 (mod 8), and the latter are all ≡ ±3 (mod 8). This leads to :Second Supplement to Quadratic Reciprocity. The congruence x^2 \equiv 2 \bmod is solvable if and only if p is congruent to ±1 modulo 8. −2 is in rows 3, 11, 17, 19, 41, 43, but not in rows 5, 7, 13, 23, 29, 31, 37, or 47. The former are ≡ 1 or ≡ 3 (mod 8), and the latter are ≡ 5, 7 (mod 8).


''q'' = ±3

3 is in rows 11, 13, 23, 37, and 47, but not in rows 5, 7, 17, 19, 29, 31, 41, or 43. The former are ≡ ±1 (mod 12) and the latter are all ≡ ±5 (mod 12). −3 is in rows 7, 13, 19, 31, 37, and 43 but not in rows 5, 11, 17, 23, 29, 41, or 47. The former are ≡ 1 (mod 3) and the latter ≡ 2 (mod 3). Since the only residue (mod 3) is 1, we see that −3 is a quadratic residue modulo every prime which is a residue modulo 3.


''q'' = ±5

5 is in rows 11, 19, 29, 31, and 41 but not in rows 3, 7, 13, 17, 23, 37, 43, or 47. The former are ≡ ±1 (mod 5) and the latter are ≡ ±2 (mod 5). Since the only residues (mod 5) are ±1, we see that 5 is a quadratic residue modulo every prime which is a residue modulo 5. −5 is in rows 3, 7, 23, 29, 41, 43, and 47 but not in rows 11, 13, 17, 19, 31, or 37. The former are ≡ 1, 3, 7, 9 (mod 20) and the latter are ≡ 11, 13, 17, 19 (mod 20).


Higher ''q''

The observations about −3 and 5 continue to hold: −7 is a residue modulo ''p'' if and only if ''p'' is a residue modulo 7, −11 is a residue modulo ''p'' if and only if ''p'' is a residue modulo 11, 13 is a residue (mod ''p'') if and only if ''p'' is a residue modulo 13, etc. The more complicated-looking rules for the quadratic characters of 3 and −5, which depend upon congruences modulo 12 and 20 respectively, are simply the ones for −3 and 5 working with the first supplement. :Example. For −5 to be a residue (mod ''p''), either both 5 and −1 have to be residues (mod ''p'') or they both have to be non-residues: i.e., ''p'' ≡ ±1 (mod 5) ''and'' ''p'' ≡ 1 (mod 4) or ''p'' ≡ ±2 (mod 5) ''and'' ''p'' ≡ 3 (mod 4). Using the
Chinese remainder theorem In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer ''n'' by several integers, then one can determine uniquely the remainder of the division of ''n'' by the product of thes ...
these are equivalent to ''p'' ≡ 1, 9 (mod 20) or ''p'' ≡ 3, 7 (mod 20). The generalization of the rules for −3 and 5 is Gauss's statement of quadratic reciprocity.


Statement of the theorem

Quadratic Reciprocity (Gauss's statement). If q \equiv 1 \bmod, then the congruence x^2 \equiv p \bmod is solvable if and only if x^2 \equiv q \bmod is solvable. If q \equiv 3 \bmod and p \equiv 3 \bmod, then the congruence x^2 \equiv p \bmod is solvable if and only if x^2 \equiv -q \bmod is solvable. Quadratic Reciprocity (combined statement). Define q^* = (-1)^q. Then the congruence x^2 \equiv p \bmod is solvable if and only if x^2 \equiv q^* \bmod is solvable. Quadratic Reciprocity (Legendre's statement). If ''p'' or ''q'' are congruent to 1 modulo 4, then: x^2 \equiv q \bmod is solvable if and only if x^2 \equiv p \bmod is solvable. If ''p'' and ''q'' are congruent to 3 modulo 4, then: x^2 \equiv q \bmod is solvable if and only if x^2 \equiv p \bmod is not solvable. The last is immediately equivalent to the modern form stated in the introduction above. It is a simple exercise to prove that Legendre's and Gauss's statements are equivalent – it requires no more than the first supplement and the facts about multiplying residues and nonresidues.


Proof

Apparently, the shortest known proof yet was published by B. Veklych in the ''American Mathematical Monthly''.


Proofs of the supplements

The value of the Legendre symbol of -1 (used in the proof above) follows directly from Euler's criterion: : \left(\frac\right)\equiv (-1)^ \bmod p by Euler's criterion, but both sides of this congruence are numbers of the form \pm 1, so they must be equal. Whether 2 is a quadratic residue can be concluded if we know the number of solutions of the equation x^2+y^2=2 with x, y \in \Z_p, which can be solved by standard methods. Namely, all its solutions where xy\neq 0, x\neq\pm y can be grouped into octuplets of the form (\pm x, \pm y), (\pm y, \pm x), and what is left are four solutions of the form (\pm 1, \pm 1) and possibly four additional solutions where x^2=2, y=0 and x=0, y^2=2, which exist precisely if 2 is a quadratic residue. That is, 2 is a quadratic residue precisely if the number of solutions of this equation is divisible by 8. And this equation can be solved in just the same way here as over the rational numbers: substitute x=a+1, y=at+1, where we demand that a\neq 0 (leaving out the two solutions (1,\pm 1)), then the original equation transforms into :a=-\frac. Here t can have any value that does not make the denominator zero – for which there are 1+\left(\frac\right) possibilities (i.e. 2 if -1 is a residue, 0 if not) – and also does not make a zero, which excludes one more option, t=-1. Thus there are :p-\left(1+\left(\frac\right)\right)-1 possibilities for t, and so together with the two excluded solutions there are overall p-\left(\frac\right) solutions of the original equation. Therefore, 2 is a residue modulo p if and only if 8 divides p-(-1)^. This is a reformulation of the condition stated above.


History and alternative statements

The theorem was formulated in many ways before its modern form: Euler and Legendre did not have Gauss's congruence notation, nor did Gauss have the Legendre symbol. In this article ''p'' and ''q'' always refer to distinct positive odd primes, and ''x'' and ''y'' to unspecified integers.


Fermat

Fermat proved (or claimed to have proved) a number of theorems about expressing a prime by a quadratic form: :\begin p=x^2+ y^2 \qquad &\Longleftrightarrow \qquad p=2 \quad \text \quad p\equiv 1 \bmod \\ p=x^2+2y^2 \qquad &\Longleftrightarrow \qquad p=2 \quad \text \quad p\equiv 1, 3 \bmod \\ p=x^2+3y^2 \qquad &\Longleftrightarrow \qquad p=3 \quad \text \quad p\equiv 1 \bmod \\ \end He did not state the law of quadratic reciprocity, although the cases −1, ±2, and ±3 are easy deductions from these and others of his theorems. He also claimed to have a proof that if the prime number ''p'' ends with 7, (in base 10) and the prime number ''q'' ends in 3, and ''p'' ≡ ''q'' ≡ 3 (mod 4), then :pq=x^2+5y^2. Euler conjectured, and Lagrange proved, that :\begin p &\equiv 1, 9 \bmod\quad \Longrightarrow \quad p = x^2+5y^2 \\ p, q &\equiv 3, 7 \bmod \quad \Longrightarrow \quad pq=x^2+5y^2 \end Proving these and other statements of Fermat was one of the things that led mathematicians to the reciprocity theorem.


Euler

Translated into modern notation, Euler stated that for distinct odd primes ''p'' and ''q'': # If ''q'' ≡ 1 (mod 4) then ''q'' is a quadratic residue (mod ''p'') if and only if there exists some integer ''b'' such that ''p'' ≡ ''b''2 (mod ''q''). # If ''q'' ≡ 3 (mod 4) then ''q'' is a quadratic residue (mod ''p'') if and only if there exists some integer ''b'' which is odd and not divisible by ''q'' such that ''p'' ≡ ±''b''2 (mod 4''q''). This is equivalent to quadratic reciprocity. He could not prove it, but he did prove the second supplement.


Legendre and his symbol

Fermat proved that if ''p'' is a prime number and ''a'' is an integer, :a^p\equiv a \bmod. Thus if ''p'' does not divide ''a'', using the non-obvious fact (see for example Ireland and Rosen below) that the residues modulo ''p'' form a field and therefore in particular the multiplicative group is cyclic, hence there can be at most two solutions to a quadratic equation: :a^ \equiv \pm 1 \bmod. Legendre lets ''a'' and ''A'' represent positive primes ≡ 1 (mod 4) and ''b'' and ''B'' positive primes ≡ 3 (mod 4), and sets out a table of eight theorems that together are equivalent to quadratic reciprocity: He says that since expressions of the form :N^\bmod, \qquad \gcd(N, c) = 1 will come up so often he will abbreviate them as: :\left(\frac\right) \equiv N^ \bmod = \pm 1. This is now known as the
Legendre symbol In number theory, the Legendre symbol is a multiplicative function with values 1, −1, 0 that is a quadratic character modulo of an odd prime number ''p'': its value at a (nonzero) quadratic residue mod ''p'' is 1 and at a non-quadratic re ...
, and an equivalent definition is used today: for all integers ''a'' and all odd primes ''p'' :\left(\frac\right) = \begin 0 & a \equiv 0 \bmod \\ 1 & a \not\equiv 0\bmod \text \exists x : a\equiv x^2\bmod \\-1 &a \not\equiv 0\bmod \text x. \end


Legendre's version of quadratic reciprocity

:\left(\frac\right) = \begin \left(\tfrac\right) & p\equiv 1 \bmod \quad \text \quad q \equiv 1 \bmod \\ -\left(\tfrac\right) & p \equiv 3 \bmod \quad \text \quad q \equiv 3 \bmod \end He notes that these can be combined: : \left(\frac\right) \left(\frac\right) = (-1)^. A number of proofs, especially those based on Gauss's Lemma, explicitly calculate this formula.


The supplementary laws using Legendre symbols

:\begin \left(\frac\right) &= (-1)^ = \begin 1 &p \equiv 1 \bmod\\ -1 & p \equiv 3 \bmod\end \\ \left(\frac\right) &= (-1)^ = \begin 1 & p \equiv 1, 7 \bmod\\ -1 & p \equiv 3, 5\bmod\end \end From these two supplements, we can obtain a third reciprocity law for the quadratic character -2 as follows: For -2 to be a quadratic residue, either -1 or 2 are both quadratic residues, or both non-residues :\bmod p. So either :\frac \text \frac are both even, or they are both odd. The sum of these two expressions is :\frac which is an integer. Therefore, :\begin \left(\frac\right) &= (-1)^ = \begin 1 & p \equiv 1, 3 \bmod\\ -1 & p \equiv 5, 7\bmod\end \end Legendre's attempt to prove reciprocity is based on a theorem of his: :Legendre's Theorem. Let ''a'', ''b'' and ''c'' be integers where any pair of the three are relatively prime. Moreover assume that at least one of ''ab'', ''bc'' or ''ca'' is negative (i.e. they don't all have the same sign). If ::\begin u^2 &\equiv -bc \bmod \\ v^2 &\equiv -ca \bmod \\ w^2 &\equiv -ab \bmod \end :are solvable then the following equation has a nontrivial solution in integers: ::ax^2 + by^2 + cz^2=0. Example. Theorem I is handled by letting ''a'' ≡ 1 and ''b'' ≡ 3 (mod 4) be primes and assuming that \left (\tfrac \right) = 1 and, contrary the theorem, that \left (\tfrac \right ) = -1. Then x^2+ay^2-bz^2=0 has a solution, and taking congruences (mod 4) leads to a contradiction. This technique doesn't work for Theorem VIII. Let ''b'' ≡ ''B'' ≡ 3 (mod 4), and assume :\left (\frac \right ) = \left (\frac \right ) = -1. Then if there is another prime ''p'' ≡ 1 (mod 4) such that :\left (\frac \right ) = \left (\frac \right ) = -1, the solvability of Bx^2+by^2-pz^2=0 leads to a contradiction (mod 4). But Legendre was unable to prove there has to be such a prime ''p''; he was later able to show that all that is required is: :Legendre's Lemma. If ''p'' is a prime that is congruent to 1 modulo 4 then there exists an odd prime ''q'' such that \left (\tfrac \right ) = -1. but he couldn't prove that either. Hilbert symbol (below) discusses how techniques based on the existence of solutions to ax^2+by^2+cz^2=0 can be made to work.


Gauss

Gauss first proves the supplementary laws. He sets the basis for induction by proving the theorem for ±3 and ±5. Noting that it is easier to state for −3 and +5 than it is for +3 or −5, he states the general theorem in the form: :If ''p'' is a prime of the form 4''n'' + 1 then ''p'', but if ''p'' is of the form 4''n'' + 3 then −''p'', is a quadratic residue (resp. nonresidue) of every prime, which, with a positive sign, is a residue (resp. nonresidue) of ''p''. In the next sentence, he christens it the "fundamental theorem" (Gauss never used the word "reciprocity"). Introducing the notation ''a'' R ''b'' (resp. ''a'' N ''b'') to mean ''a'' is a quadratic residue (resp. nonresidue) (mod ''b''), and letting ''a'', ''a''′, etc. represent positive primes ≡ 1 (mod 4) and ''b'', ''b''′, etc. positive primes ≡ 3 (mod 4), he breaks it out into the same 8 cases as Legendre: In the next Article he generalizes this to what are basically the rules for the Jacobi symbol (below). Letting ''A'', ''A''′, etc. represent any (prime or composite) positive numbers ≡ 1 (mod 4) and ''B'', ''B''′, etc. positive numbers ≡ 3 (mod 4): All of these cases take the form "if a prime is a residue (mod a composite), then the composite is a residue or nonresidue (mod the prime), depending on the congruences (mod 4)". He proves that these follow from cases 1) - 8). Gauss needed, and was able to prove, a lemma similar to the one Legendre needed: :Gauss's Lemma. If ''p'' is a prime congruent to 1 modulo 8 then there exists an odd prime ''q'' such that: ::q <2\sqrt p+1 \quad \text \quad \left(\frac\right) = -1. The proof of quadratic reciprocity uses complete induction. :Gauss's Version in Legendre Symbols. ::\left(\frac\right) = \begin \left(\frac\right) & q \equiv 1 \bmod \\ \left(\frac\right) & q \equiv 3 \bmod \end These can be combined: :Gauss's Combined Version in Legendre Symbols. Let ::q^* = (-1)^q. :In other words: ::, q^*, =, q, \quad \text \quad q^*\equiv 1 \bmod. :Then: :: \left(\frac\right) = \left(\frac\right). A number of proofs of the theorem, especially those based on Gauss sums or the splitting of primes in
algebraic number field In mathematics, an algebraic number field (or simply number field) is an extension field K of the field of rational numbers such that the field extension K / \mathbb has finite degree (and hence is an algebraic field extension). Thus K is a ...
s, derive this formula.


Other statements

The statements in this section are equivalent to quadratic reciprocity: if, for example, Euler's version is assumed, the Legendre-Gauss version can be deduced from it, and vice versa. :Euler's Formulation of Quadratic Reciprocity. If p \equiv \pm q \bmod then \left(\tfrac\right)=\left(\tfrac\right). This can be proven using Gauss's lemma. :Quadratic Reciprocity (Gauss; Fourth Proof). Let ''a'', ''b'', ''c'', ... be unequal positive odd primes, whose product is ''n'', and let ''m'' be the number of them that are ≡ 3 (mod 4); check whether ''n''/''a'' is a residue of ''a'', whether ''n''/''b'' is a residue of ''b'', .... The number of nonresidues found will be even when ''m'' ≡ 0, 1 (mod 4), and it will be odd if ''m'' ≡ 2, 3 (mod 4). Gauss's fourth proof consists of proving this theorem (by comparing two formulas for the value of Gauss sums) and then restricting it to two primes. He then gives an example: Let ''a'' = 3, ''b'' = 5, ''c'' = 7, and ''d'' = 11. Three of these, 3, 7, and 11 ≡ 3 (mod 4), so ''m'' ≡ 3 (mod 4). 5×7×11 R 3; 3×7×11 R 5; 3×5×11 R 7;  and  3×5×7 N 11, so there are an odd number of nonresidues. :Eisenstein's Formulation of Quadratic Reciprocity. Assume ::p\ne q, \quad p'\ne q', \quad p \equiv p' \bmod, \quad q \equiv q' \bmod. :Then :: \left(\frac\right) \left(\frac\right) =\left(\frac\right) \left(\frac\right). :Mordell's Formulation of Quadratic Reciprocity. Let ''a'', ''b'' and ''c'' be integers. For every prime, ''p'', dividing ''abc'' if the congruence ::ax^2 + by^2 + cz^2 \equiv 0 \bmod :has a nontrivial solution, then so does: ::ax^2 + by^2 + cz^2 \equiv 0 \bmod. :Zeta function formulation :As mentioned in the article on Dedekind zeta functions, quadratic reciprocity is equivalent to the zeta function of a quadratic field being the product of the Riemann zeta function and a certain Dirichlet L-function


Jacobi symbol

The Jacobi symbol is a generalization of the Legendre symbol; the main difference is that the bottom number has to be positive and odd, but does not have to be prime. If it is prime, the two symbols agree. It obeys the same rules of manipulation as the Legendre symbol. In particular :\begin \left(\frac\right) = (-1)^ &= \begin 1 & n \equiv 1 \bmod\\ -1 & n \equiv 3 \bmod\end \\ \left( \frac\right) = (-1)^ &= \begin 1 & n \equiv 1, 7 \bmod\\ -1 & n \equiv 3, 5\bmod\end \\ \left( \frac\right) = (-1)^ &= \begin 1 & n \equiv 1, 3 \bmod\\ -1 & n \equiv 5, 7\bmod\end \end and if both numbers are positive and odd (this is sometimes called "Jacobi's reciprocity law"): : \left(\frac\right) = (-1)^\left(\frac\right). However, if the Jacobi symbol is 1 but the denominator is not a prime, it does not necessarily follow that the numerator is a quadratic residue of the denominator. Gauss's cases 9) - 14) above can be expressed in terms of Jacobi symbols: :\left (\frac\right) = (-1)^ \left(\frac\right ), and since ''p'' is prime the left hand side is a Legendre symbol, and we know whether ''M'' is a residue modulo ''p'' or not. The formulas listed in the preceding section are true for Jacobi symbols as long as the symbols are defined. Euler's formula may be written :\left(\frac\right) =\left(\frac\right), \qquad n \in \Z, m\pm4an>0. Example. :\left (\frac \right ) = \left (\frac \right ) = \left (\frac \right ) = \left (\frac \right ) = \cdots = 1. 2 is a residue modulo the primes 7, 23 and 31: :3^2 \equiv 2 \bmod, \quad 5^2 \equiv 2 \bmod, \quad 8^2 \equiv 2 \bmod. But 2 is not a quadratic residue modulo 5, so it can't be one modulo 15. This is related to the problem Legendre had: if \left (\tfrac \right) = -1, then ''a'' is a non-residue modulo every prime in the arithmetic progression ''m'' + 4''a'', ''m'' + 8''a'', ..., if there ''are'' any primes in this series, but that wasn't proved until decades after Legendre. Eisenstein's formula requires relative primality conditions (which are true if the numbers are prime) :Let a, b, a', b' be positive odd integers such that: ::\begin \gcd &(a,b) =\gcd(a',b')= 1 \\ &a \equiv a' \bmod \\ &b \equiv b' \bmod \end :Then :: \left(\frac\right) \left(\frac\right) =\left(\frac\right) \left(\frac\right).


Hilbert symbol

The quadratic reciprocity law can be formulated in terms of the
Hilbert symbol In mathematics, the Hilbert symbol or norm-residue symbol is a function (–, –) from ''K''× × ''K''× to the group of ''n''th roots of unity in a local field ''K'' such as the fields of real number, reals or p-adic numbers. It is related to rec ...
(a,b)_v where ''a'' and ''b'' are any two nonzero rational numbers and ''v'' runs over all the non-trivial absolute values of the rationals (the Archimedean one and the ''p''-adic absolute values for primes ''p''). The Hilbert symbol (a,b)_v is 1 or −1. It is defined to be 1 if and only if the equation ax^2+by^2=z^2 has a solution in the completion of the rationals at ''v'' other than x=y=z=0. The Hilbert reciprocity law states that (a,b)_v, for fixed ''a'' and ''b'' and varying ''v'', is 1 for all but finitely many ''v'' and the product of (a,b)_v over all ''v'' is 1. (This formally resembles the residue theorem from complex analysis.) The proof of Hilbert reciprocity reduces to checking a few special cases, and the non-trivial cases turn out to be equivalent to the main law and the two supplementary laws of quadratic reciprocity for the Legendre symbol. There is no kind of reciprocity in the Hilbert reciprocity law; its name simply indicates the historical source of the result in quadratic reciprocity. Unlike quadratic reciprocity, which requires sign conditions (namely positivity of the primes involved) and a special treatment of the prime 2, the Hilbert reciprocity law treats all absolute values of the rationals on an equal footing. Therefore, it is a more natural way of expressing quadratic reciprocity with a view towards generalization: the Hilbert reciprocity law extends with very few changes to all
global field In mathematics, a global field is one of two types of fields (the other one is local fields) that are characterized using valuations. There are two kinds of global fields: *Algebraic number field: A finite extension of \mathbb *Global functio ...
s and this extension can rightly be considered a generalization of quadratic reciprocity to all global fields.


Connection with cyclotomic fields

The early proofs of quadratic reciprocity are relatively unilluminating. The situation changed when Gauss used Gauss sums to show that
quadratic field In algebraic number theory, a quadratic field is an algebraic number field of Degree of a field extension, degree two over \mathbf, the rational numbers. Every such quadratic field is some \mathbf(\sqrt) where d is a (uniquely defined) square-free ...
s are subfields of
cyclotomic field In algebraic number theory, a cyclotomic field is a number field obtained by adjoining a complex root of unity to \Q, the field of rational numbers. Cyclotomic fields played a crucial role in the development of modern algebra and number theory ...
s, and implicitly deduced quadratic reciprocity from a reciprocity theorem for cyclotomic fields. His proof was cast in modern form by later algebraic number theorists. This proof served as a template for
class field theory In mathematics, class field theory (CFT) is the fundamental branch of algebraic number theory whose goal is to describe all the abelian Galois extensions of local and global fields using objects associated to the ground field. Hilbert is credit ...
, which can be viewed as a vast generalization of quadratic reciprocity. Robert Langlands formulated the
Langlands program In mathematics, the Langlands program is a set of conjectures about connections between number theory, the theory of automorphic forms, and geometry. It was proposed by . It seeks to relate the structure of Galois groups in algebraic number t ...
, which gives a conjectural vast generalization of class field theory. He wrote: :''I confess that, as a student unaware of the history of the subject and unaware of the connection with cyclotomy, I did not find the law or its so-called elementary proofs appealing. I suppose, although I would not have (and could not have) expressed myself in this way that I saw it as little more than a mathematical curiosity, fit more for amateurs than for the attention of the serious mathematician that I then hoped to become. It was only in Hermann Weyl's book on the algebraic theory of numbers that I appreciated it as anything more.''


Other rings

There are also quadratic reciprocity laws in rings other than the integers.


Gaussian integers

In his second monograph on
quartic reciprocity Quartic or biquadratic reciprocity is a collection of theorems in elementary and algebraic number theory that state conditions under which the congruence ''x''4 ≡ ''p'' (mod ''q'') is solvable; the word "reciprocity" comes from the form ...
Gauss stated quadratic reciprocity for the ring \Z /math> of
Gaussian integer In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as \mathbf ...
s, saying that it is a corollary of the biquadratic law in \Z but did not provide a proof of either theorem.
Dirichlet Johann Peter Gustav Lejeune Dirichlet (; ; 13 February 1805 – 5 May 1859) was a German mathematician. In number theory, he proved special cases of Fermat's last theorem and created analytic number theory. In Mathematical analysis, analysis, h ...
showed that the law in \Z /math> can be deduced from the law for \Z without using quartic reciprocity. For an odd Gaussian prime \pi and a Gaussian integer \alpha relatively prime to \pi, define the quadratic character for \Z /math> by: :\left frac\right2 \equiv \alpha^\frac\bmod = \begin 1 & \exists \eta \in \Z \alpha \equiv \eta^2 \bmod \\ -1 & \text \end Let \lambda = a + b i, \mu = c + d i be distinct Gaussian primes where ''a'' and ''c'' are odd and ''b'' and ''d'' are even. Then : \left frac\right 2 = \left frac\right 2, \qquad \left frac\right 2 =(-1)^\frac, \qquad \left frac\right 2 =\left(\frac\right).


Eisenstein integers

Consider the following third root of unity: :\omega = \frac=e^\frac. The ring of Eisenstein integers is \Z
omega Omega (, ; uppercase Ω, lowercase ω; Ancient Greek ὦ, later ὦ μέγα, Modern Greek ωμέγα) is the twenty-fourth and last letter in the Greek alphabet. In the Greek numerals, Greek numeric system/isopsephy (gematria), it has a value ...
For an Eisenstein prime \pi, \mathrm \pi \neq 3, and an Eisenstein integer \alpha with \gcd(\alpha, \pi) = 1, define the quadratic character for \Z
omega Omega (, ; uppercase Ω, lowercase ω; Ancient Greek ὦ, later ὦ μέγα, Modern Greek ωμέγα) is the twenty-fourth and last letter in the Greek alphabet. In the Greek numerals, Greek numeric system/isopsephy (gematria), it has a value ...
/math> by the formula :\left frac\right2 \equiv \alpha^\frac\bmod = \begin 1 &\exists \eta \in \Z
omega Omega (, ; uppercase Ω, lowercase ω; Ancient Greek ὦ, later ὦ μέγα, Modern Greek ωμέγα) is the twenty-fourth and last letter in the Greek alphabet. In the Greek numerals, Greek numeric system/isopsephy (gematria), it has a value ...
\alpha \equiv \eta^2 \bmod \\ -1 &\text \end Let λ = ''a'' + ''bω'' and μ = ''c'' + ''dω'' be distinct Eisenstein primes where ''a'' and ''c'' are not divisible by 3 and ''b'' and ''d'' are divisible by 3. Eisenstein proved : \left frac\right2 \left frac\right 2 = (-1)^, \qquad \left frac\right 2 =\left(\frac\right), \qquad \left frac\right 2 =\left (\frac\right).


Imaginary quadratic fields

The above laws are special cases of more general laws that hold for the
ring of integers In mathematics, the ring of integers of an algebraic number field K is the ring of all algebraic integers contained in K. An algebraic integer is a root of a monic polynomial with integer coefficients: x^n+c_x^+\cdots+c_0. This ring is often de ...
in any imaginary quadratic number field. Let ''k'' be an imaginary quadratic number field with ring of integers \mathcal_k. For a
prime ideal In algebra, a prime ideal is a subset of a ring (mathematics), ring that shares many important properties of a prime number in the ring of Integer#Algebraic properties, integers. The prime ideals for the integers are the sets that contain all th ...
\mathfrak \subset \mathcal_k with odd norm \mathrm \mathfrak and \alpha\in \mathcal_k, define the quadratic character for \mathcal_k as :\left frac\right2 \equiv \alpha^ \bmod = \begin 1 &\alpha\not\in \mathfrak \text \exists \eta \in \mathcal_k \text \alpha - \eta^2 \in \mathfrak \\ -1 & \alpha\not\in \mathfrak \text \eta \\ 0 & \alpha\in \mathfrak \end for an arbitrary ideal \mathfrak \subset \mathcal_k factored into prime ideals \mathfrak = \mathfrak_1 \cdots \mathfrak_n define :\left frac\right 2 = \left frac\right2\cdots \left frac\right2, and for \beta \in \mathcal_k define :\left frac\right 2 = \left frac\right 2. Let \mathcal_k = \Z \omega_1\oplus \Z \omega_2, i.e. \left\ is an integral basis for \mathcal_k. For \nu \in \mathcal_k with odd norm \mathrm\nu, define (ordinary) integers ''a'', ''b'', ''c'', ''d'' by the equations, :\begin \nu\omega_1&=a\omega_1+b\omega_2\\ \nu\omega_2&=c\omega_1+d\omega_2 \end and a function :\chi(\nu) := \imath^. If ''m'' = ''Nμ'' and ''n'' = ''Nν'' are both odd, Herglotz proved : \left frac\right 2 \left frac\right2 = (-1)^ \chi(\mu)^ \chi(\nu)^. Also, if : \mu \equiv\mu' \bmod \quad \text \quad \nu \equiv\nu' \bmod Then : \left frac\right 2 \left frac\right2 = \left frac\right 2 \left frac\right2.


Polynomials over a finite field

Let ''F'' be a
finite field In mathematics, a finite field or Galois field (so-named in honor of Évariste Galois) is a field (mathematics), field that contains a finite number of Element (mathematics), elements. As with any field, a finite field is a Set (mathematics), s ...
with ''q'' = ''pn'' elements, where ''p'' is an odd prime number and ''n'' is positive, and let ''F'' 'x''be the ring of polynomials in one variable with coefficients in ''F''. If f,g \in F /math> and ''f'' is irreducible, monic, and has positive degree, define the quadratic character for ''F'' 'x''in the usual manner: :\left(\frac\right) = \begin 1 & \gcd(f,g)=1 \text \exists h,k \in F \textg-h^2 = kf \\ -1 & \gcd(f,g)=1 \text g \text\bmod\\ 0 & \gcd(f,g)\ne 1 \end If f=f_1 \cdots f_n is a product of monic irreducibles let :\left(\frac\right) = \left(\frac\right) \cdots \left(\frac\right). Dedekind proved that if f,g \in F /math> are monic and have positive degrees, :\left(\frac\right) \left(\frac\right) = (-1)^.


Higher powers

The attempt to generalize quadratic reciprocity for powers higher than the second was one of the main goals that led 19th century mathematicians, including
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; ; ; 30 April 177723 February 1855) was a German mathematician, astronomer, geodesist, and physicist, who contributed to many fields in mathematics and science. He was director of the Göttingen Observatory and ...
,
Peter Gustav Lejeune Dirichlet Johann Peter Gustav Lejeune Dirichlet (; ; 13 February 1805 – 5 May 1859) was a German mathematician. In number theory, he proved special cases of Fermat's last theorem and created analytic number theory. In analysis, he advanced the theory o ...
, Carl Gustav Jakob Jacobi,
Gotthold Eisenstein Ferdinand Gotthold Max Eisenstein (16 April 1823 – 11 October 1852) was a German mathematician who made significant contributions to number theory and mathematical analysis, analysis. Born in Berlin, Prussia, to Jewish parents who converted to ...
,
Richard Dedekind Julius Wilhelm Richard Dedekind (; ; 6 October 1831 – 12 February 1916) was a German mathematician who made important contributions to number theory, abstract algebra (particularly ring theory), and the axiomatic foundations of arithmetic. H ...
,
Ernst Kummer Ernst Eduard Kummer (29 January 1810 – 14 May 1893) was a German mathematician. Skilled in applied mathematics, Kummer trained German army officers in ballistics; afterwards, he taught for 10 years in a '' gymnasium'', the German equivalent of h ...
, and
David Hilbert David Hilbert (; ; 23 January 1862 – 14 February 1943) was a German mathematician and philosopher of mathematics and one of the most influential mathematicians of his time. Hilbert discovered and developed a broad range of fundamental idea ...
to the study of general algebraic number fields and their rings of integers; specifically Kummer invented ideals in order to state and prove higher reciprocity laws. The ninth in the list of 23 unsolved problems which David Hilbert proposed to the Congress of Mathematicians in 1900 asked for the "Proof of the most general reciprocity law r an arbitrary number field". Building upon work by Philipp Furtwängler,
Teiji Takagi Teiji Takagi (高木 貞治 ''Takagi Teiji'', April 21, 1875 – February 28, 1960) was a Japanese mathematician, best known for proving the Takagi existence theorem in class field theory. The Blancmange curve, the graph of a nowhere-differenti ...
, Helmut Hasse and others, Emil Artin discovered
Artin reciprocity The Artin reciprocity law, which was established by Emil Artin in a series of papers (1924; 1927; 1930), is a general theorem in number theory that forms a central part of global class field theory. The term " reciprocity law" refers to a long li ...
in 1923, a general theorem for which all known reciprocity laws are special cases, and proved it in 1927.Lemmermeyer, p. ix ff


See also

* Dedekind zeta function * Rational reciprocity law * Zolotarev's lemma


Notes


References

The ''
Disquisitiones Arithmeticae (Latin for ''Arithmetical Investigations'') is a textbook on number theory written in Latin by Carl Friedrich Gauss in 1798, when Gauss was 21, and published in 1801, when he was 24. It had a revolutionary impact on number theory by making the f ...
'' has been translated (from Latin) into English and German. The German edition includes all of Gauss's papers on number theory: all the proofs of quadratic reciprocity, the determination of the sign of the Gauss sum, the investigations into biquadratic reciprocity, and unpublished notes. Footnotes referencing the ''Disquisitiones Arithmeticae'' are of the form "Gauss, DA, Art. ''n''". * * The two monographs Gauss published on biquadratic reciprocity have consecutively numbered sections: the first contains §§ 1–23 and the second §§ 24–76. Footnotes referencing these are of the form "Gauss, BQ, § ''n''". * * These are in Gauss's ''Werke'', Vol II, pp. 65–92 and 93–148. German translations are in pp. 511–533 and 534–586 of ''Untersuchungen über höhere Arithmetik.'' Every textbook on
elementary number theory Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for exampl ...
(and quite a few on
algebraic number theory Algebraic number theory is a branch of number theory that uses the techniques of abstract algebra to study the integers, rational numbers, and their generalizations. Number-theoretic questions are expressed in terms of properties of algebraic ob ...
) has a proof of quadratic reciprocity. Two are especially noteworthy: Franz Lemmermeyer's ''Reciprocity Laws: From Euler to Eisenstein'' has ''many'' proofs (some in exercises) of both quadratic and higher-power reciprocity laws and a discussion of their history. Its immense bibliography includes literature citations for 196 different published proofs for the quadratic reciprocity law. Kenneth Ireland and Michael Rosen's ''A Classical Introduction to Modern Number Theory'' also has many proofs of quadratic reciprocity (and many exercises), and covers the cubic and biquadratic cases as well. Exercise 13.26 (p. 202) says it all :
Count the number of proofs to the law of quadratic reciprocity given thus far in this book and devise another one.
* * * *


External links

*
Quadratic Reciprocity Theorem
from
MathWorld ''MathWorld'' is an online mathematics reference work, created and largely written by Eric W. Weisstein. It is sponsored by and licensed to Wolfram Research, Inc. and was partially funded by the National Science Foundation's National Science ...

A ''play'' comparing two proofs of the quadratic reciprocity law


at PlanetMath

at MathPages

(332 proofs) {{DEFAULTSORT:Quadratic Reciprocity Algebraic number theory Modular arithmetic Number theory Quadratic residue Theorems in number theory