The Prince of Mathematicians
Total Page:16
File Type:pdf, Size:1020Kb
The Law of Quadratic Reciprocity Proof: By Wilson’s Theorem
By Kylee Bracher
Portland State University Department of Mathematics and Statistics Summer, 2005
In partial fulfillment of the Masters of Science in Mathematics
Advisors: John Caughman Steve Bleiler Table of Contents
1. Introduction and History ...... 1
2. Preliminary Definitions, Theorems and Examples ...... 3
3. The Law of Quadratic Reciprocity ...... 16
4. Geometric Proof ...... 22
5. Schmidt’s Proof ...... 37
6. Conclusion ...... 56
2 1. Introduction and History
One of the high points in all of elementary number theory is the Law of Quadratic
Reciprocity which was first proven by Carl Friedrich Gauss on April 8, 1796 and published in his work Disquisitiones Arithmeticae.
Throughout Gauss’s life he had a particular passion for “higher arithmetic” which we know today as number theory. This is evident by his own authoritative statement that,
“Mathematics is the queen of the sciences, and higher arithmetic, the queen of mathematics.” “Gauss’s Law of Quadratic Reciprocity which he called the “Golden
Theorem of Number Theory” is one of the gems of eighteenth and nineteenth century mathematics.” (Beach and Blair, 265) The first statement of a theorem equivalent to this law was found in the works of Euler without proof in the period 1744-1746. The result was then rediscovered in 1785 by Adrien-Marie Legendre, who provided two proofs that he believed to be complete but which later turned out to be invalid. In his first attempt at a proof he assumed that for any prime p congruent to 1 modulo 8, there exists another prime q congruent to 3 modulo 4 for which q is a quadratic residue, a result which is as difficult to prove as the law itself. “He attempted another proof in his Essai sur la
Theorie des Nombres (1798); this one too contained a gap, since Legendre took for granted that there are an infinite number of primes in certain arithmetical progressions (a fact eventually proved by Dirichlet in 1837, using in the process very subtle arguments from complex variable theory). (Burton, 235) In 1795, Gauss discovered the result independently at the age of 18, and a year later provided the first complete proof. Gauss
3 kept returning to the Law of Quadratic Reciprocity, searching for proofs that would generalize to higher reciprocity laws.
In all, Gauss published six proofs and no doubt discovered several others. He was fully aware of its central importance and the role it would play in the further development of number theory. Leopold Kronecker later referred to its proof as the “test of strength of
Gauss’ genius.”
To date there are over 200 known proofs of the Law of Quadratic Reciprocity.
This paper will explore two of these proofs. The first is a geometrical interpretation of one of Gauss’s proofs. This proof is very visual and relies very heavily on what is known today as Gauss’s Lemma. The second proof was found in an article by Hermann Schmidt published in 1839 entitled Drei neue Beweise des Reciprocitatssatzes in der Theorie der quadraischen (“Three New Proofs of the Theory of Quadratic Reciprocity) , which is in turn a variant of the fifth proof by Gauss. As is known, Euler’s Criterion and the theorems of Fermat and Wilson can be proved in a very simple manner by determining in two ways a product. Schmidt shows that the same is true for the Law of Quadratic
Reciprocity. “The noteworthy feature of Schmidt’s proof is that is dispenses with
Gauss’s Lemma and depends on nothing more mysterious than the Chinese Remainder
Theorem and Wilson’s Theorem.” (Rousseau, 424)
4 2. Preliminary Definitions, Theorems, and Examples
Before we begin an examination of the Law of Quadratic Reciprocity we must first define some terms and theorems that will be used throughout the discussion. We will assume that the reader is familiar with some of the more elementary concepts in
Number Theory such as primes, relatively prime, Division Algorithm, Euclidean
Algorithm, and the Greatest Integer function. The reader may refer to Burton’s
Elementary Number Theory text as a reference for these and other elementary concepts.
Readers which are already familiar with Quadratic Reciprocity may want to skip to the
Geometric Proof section of this paper.
Definition 1: (Congruence) Let n be a positive integer. Integers a and b are said to be congruent modulo n, denoted by a b(modn), if they have the same remainder when divided by n.
Lemma 1: Let a, b, and n > 0 be integers. Then a b(modn) if and only if n | (a b).
Proof: () If a b(modn) , then by definition a and b have the same remainder when divided by n, so by the division algorithm a = nk + r and b = nm + r for some integers k, m, and r with 0 r n . Now if we solve both of these equations for r we have a nk b nm a b nk nm n(k m) If a b n(k m) then n | (a b) which is what we wanted to show. () Now assume that n | (a b) . By the division algorithm there exists integers k
and m such that, a = nk + r1 and b = nm + r2 , where 0 r1 n and0 r2 n .
Subtracting b from a we obtain the equation a b (k m)n (r1r2 ) , and since it
5 was assumed n | (a b) , it must be that n | (r1 r2 ) . But | r1 r2 | n and so
n r1 r2 n and the only multiple of n in this interval is 0. Thus we have that
r1 r2 0 or equivalently r1 r2 , and so a b(modn) which is what we wanted to show. ▲
The reader may think that we do not need a new and slightly longer way to say n | (a b) . However the notation a b(modn) is useful because it suggests an equation, and in fact congruences share many properties with equations. The next couple of theorems list a number of ways in which congruences behave like equations.
Theorem 1: (Basic Properties for Congruences: Let p > 0 be a fixed integer and a, b, c, and d be arbitrary integers. Then the following properties hold:
(1) a a(mod n) . (2) If a b(mod n) , then b a(mod n) . (3) If a b(mod n) and b c(mod n) , then a c(mod n) . (4) If a b(mod n) and c d(mod n) , then a c b d(mod n) and ac bd(mod n) . (5) If a b(mod n) , then a c b c(mod n) and ac bc(mod n) . (6) If a b(mod n) , then a k bk (mod n) for any positive integer k.
Theorem 2: (Cancellation Law): If a is relatively prime to p and x and y are integers such that xa ya(mod p) , then x y(mod p).
Proof: By definition xa ya(mod p) means p divides xa ya a(x y) . Given that a and p are relatively prime p must divide (x – y) since the prime factorization is unique by the Fundamental Theorem of Arithmetic. If p divides (x – y) then by definition x y(mod p) which is what we wanted to show. ▲
6 Definition 2: (Least Residue): If n > 0 and r is the remainder when the Division Algorithm is used to divide b by n, then r is called the least residue of b modulo n.
Examples: The least residue of 13 modulo 5 is 3. The least residue of 5 modulo 13 is 5. The least residue of -13 modulo 5 is 2. The least residue of – 2 modulo 3 is 1. ▲
Lemma 2: If a is relatively prime to p, p > 0, then there exists a unique integer x modulo n such that ax 1(mod n).
Proof: Let (a, n) = 1 then by the Euclidean Algorithm we can write 1 as a linear combination of a and n, that is, ax ny 1for some integers x and y. Rearranging the terms in this equation we have ax 1 n(y) . Hence n | (ax 1) which implies that ax 1(mod n) by the definition of congruence. To prove uniqueness, suppose that ax 1(mod n) and ax' 1(mod n) . Then ax ax'(mod n) n | (ax ax') n | a(x x')
n | (x x') (since (a, n) = 1) By definition of congruence if n | (x x') then x x'(mod n) . Therefore the solution x must be unique modulo n. ▲
Definition 3: Let a be any integer. Any integer x for which ax 1(mod n) is called the inverse of a.
Definition 4: Let n be a positive integer, and let a be an integer such that n | a. Then a is called a quadratic residue modulo n if the congruence x2 a(mod n) is solvable, and a quadratic nonresidue otherwise.
7 Definition 5: (The Legendre Symbol): Suppose p is an odd prime not dividing a. We
a define the symbol to be 1 or – 1 according to whether a is a quadratic residue or p quadratic nonresidue mod p. This is called the Legendre Symbol, after the French
a mathematician Adrien Marie Legendre (1752 – 1833). We also call the quadratic p character of a with respect to p.
a If 1 then a is a quadratic residue modulo p which means the congruence p x2 a(mod p) is solvable. In fact, if a is a quadratic residue modulo p then the congruence has exactly two solutions modulo p. This fact is verified through the following theorem and proposition.
Theorem 3: (Lagrange’s Theorem): If p is a prime and
n n1 f (x) an x an1x a1x a0 , an 0(mod p) is a polynomial of degree n 1 with integral coefficients, then the congruence f (x) 0(mod p) has at most n incongruent solutions modulo p.
Proof: See Burton page 191. ▲
Proposition 1: Let p be an odd prime and a be any integer such that p | a. If the congruence x 2 a(mod p) is solvable, then there are exactly two incongruent solutions modulo p.
8 2 Proof: Suppose that the congruence x a(mod p) is solvable and let x1 b be one of the solutions. Note b 0 since a 0. Then there must also be a second solution
2 2 2 2 2 x2 p b since (x2 ) ( p b) (b) (mod p) and (b) b a(mod p) . This second solution is not congruent to the first. To see this, note that b p b(mod p) implies that 2b 0(mod p) or equivalentlyb 0(mod p) which is impossible. Now by Lagrange’s Theorem, these two solutions exhaust the incongruent solutions of
x 2 a(mod p) . Thus, if x 2 a(mod p) is solvable there are exactly two incongruent solutions modulo p. ▲
For the remainder of this paper we will always assume that p is an odd prime such that a is not divisible by p. Next we will look at an example that incorporates all of the previous definitions.
Example 1: When a = 3 and p = 11, the quadratic character of 3 with respect to 11 is
3 equal to 1, or 1, because there exists an x such that x2 3(mod11) is solvable. To 11 find x we simply square the numbers from 1 to 10, subtract 3, and see if the result is divisible by 11. Thus we have that 12 3 2, not divisible by 11
22 3 1, not divisible by 11
32 3 6, not divisible by 11
42 3 13, not divisible by 11
52 3 22, divisible by 11. Thus, x 5(mod11) is a solution.
62 3 33, divisible by 11. So, x 6(mod11) is also a solution. Recall by Proposition 1 that if a is a quadratic residue modulo p, then the congruence has exactly two solutions. Thus, we can stop here. We should also note,
9 6 5(mod11) . So we could write that the solutions to the congruence x2 3(mod11) are exactly x 5(mod11) . It is easy to see that this fact is true since, 52 3(mod11) 11| 25 3 11| 22 is clearly true. A similar argument would show that the congruence holds for x 5(mod11) . Now it is a little deceptive to say that there are only two solutions to the congruence because actually there are infinitely many solutions. It just happens that any other solution will be congruent to 5(mod11) . For example, 16 is also a solution to the congruence since 162 3(mod11) 11| 162 3 11| 253 This statement is true because 253 = (23)(11). Similarly 27, 38, 49, . . . . . , 5 + 11k where k is any integer, are all solutions to the congruence x2 3(mod11) . The integers -16, -27, -38, ...... , - 5 – 11k where k is any integer are also solutions because each of these integers are congruent to 5(mod11) . ▲
The quadratic residues for a system can be found by squaring the numbers from 1 to p – 1 and reducing them modulo p as we will see in the following example.
Example 2: When p = 11, the quadratic residues can be found by squaring the numbers from 1 to 10 and reducing them modulo 11. Squaring the numbers from 1 to 5 yields: 12 1,22 4,32 9,42 5,52 3(mod11). Squaring the numbers from 6 to 10 yields the same residues in reverse order: 62 52 3,72 42 5,82 32 9,92 22 4,102 12 1(mod11). So the quadratic residues mod 11 are 1, 3, 4, 5, 9 and the quadratic nonresidues are 2, 6, 7, 8, 10. ▲
10 p 1 Since the numbers from 1 to yield the same residues as the numbers from 2 p 1 to p, the quadratic residues can be found simply by squaring the numbers from 1 to 2 p 1 . 2
Theorem 4: Let p be an odd prime. Then half of the numbers between 1 and p – 1 are quadratic residues of p, and half are nonresidues.
Proof: Any quadratic residue of p must be congruent modulo p to one of the
numbers 12 ,22 ,32 ,....,( p 1)2 , as was illustrated in the example above. Note that
p 1 p 1 p 1 p 1 1, p 2 2,...., . So the squares of the numbers from up 2 2 2
p 1 to p – 1 are congruent to the squares of the numbers down to 1. 2 p 1 All we have left to show is that each of the squares of 1,2,3,...... , is not 2 congruent to any one of the other squares. We will do this by contradiction. Suppose that there exist two squares such that i 2 j 2 (mod p) where i and j
p 1 are distinct and both in the range 1 to . Then 2 i 2 j 2 (mod p) p (i 2 j 2 ) p (i j)(i j)
p (i j) or p (i j) These last two statements are always false because both i and j lie within the
p 1 range 1 i, j . Thus, i – j and i + j are both too small to be divisible by p. So 2
11 we have shown that none of the squares are congruent mod p. Thus, there must be
p 1 exactly quadratic residues of p. ▲ 2
p 1 In general, the above theorem says that there are exactly quadratic residues 2
p 1 and exactly nonresidues of p. 2
The last theorem in this section, Euler’s Criterion, will be used throughout the discussion of both proofs of the Law of Quadratic Reciprocity presented in the sections
Geometric Proof and Schmidt’s Proof below. In order to appropriately discuss the proof of Euler’s Criterion we must first look at a preceding theorem known as Fermat’s Little
Theorem.
Theorem 5: (Fermat’s Little Theorem): Let p be any prime number. If a is any integer such that p | a then a p1 1(mod p).
Proof: Consider the set P = {1a, 2a, 3a, ...... , (p – 1)a}. By the Cancellation Law each of these numbers must be distinct modulo p. So modulo p, the set P is the same as the set of integers N = {1, 2, 3, ...... , (p – 1)}. So if we multiply the elements of these two sets together, we would get the same result modulo p, that is, 1a 2a 3a ...... ( p 1)a 1 23...... ( p 1)(mod p) Regrouping the left hand side we obtain: (1 23...... ( p 1)) a p1 1 23...... ( p 1)(mod p) or equivalently ( p 1)!a p1 ( p 1)!(mod p) To finish the proof we need only to cancel the common term of (p – 1)! from both sides. Given that p is prime, p and (p – 1)! can have no factors in common. Thus by
12 the previous lemma we can divide both sides by (p – 1)! yielding a p1 1(mod p) which is what we wanted to show. ▲
Theorem 6: (Euler’s Criterion): Let p be an odd prime and a any integer such that p | a . Then a is a quadratic residue modulo p if and only if a ( p1) / 2 1(mod p). Proof: () Let a be a quadratic residue modulo p. Then there must exist an x such
that x 2 a(mod p) . Since it was assumed that p | a this implies p | x. Thus by Fermat’s Little Theorem we have
( p1) / 2 a ( p1) / 2 x 2 x p1 1(mod p). Hence if a is a quadratic residue modulo p then a ( p1) / 2 1(mod p) which is what we wanted to show.
Recall that if (r, p) = 1 and r has order( p) modulo p (where( p) is the largest possible order), then r is called a primitive root of p.
() Now suppose that the congruence a ( p1) / 2 1(mod p) holds and let r be a primitive root of p, r exists because p is assumed to prime. If r is a primitive root of
p then a r m (mod p) for some integer m, with 1 m p 1. Thus it follows that
r m( p1) / 2 a ( p1) / 2 1(mod p). Given that r is a primitive root of p the order of r is p – 1. By the previous
congruence r m( p1) / 2 1(mod p) so p – 1 must divide m(p – 1)/2 which implies that m
2 must be an even integer. Let m = 2k, then r k r 2k r m a(mod p),
making the integer r k a solution of the congruence x 2 a(mod p). Thus a is a quadratic residue modulo p which is what we wanted to show. ▲
Example 4: Let a = 17. For which primes p is 17 a quadratic residue? We can test prime p's manually given the formula above.
13 If we let p = 3, we have 17(3 − 1)/2 = 171 ≡ 2 (mod 3) ≡ -1 (mod 3), therefore 17 is not a quadratic residue modulo 3.
Now if we let p = 13, we have 17(13 − 1)/2 = 176 ≡ 1 (mod 13), therefore 17 is a quadratic residue modulo 13. As confirmation, note that 17 ≡ 4 (mod 13), and 22 = 4. ▲
The following results are direct consequences of Euler’s Criterion.
Lemma 3: The congruence x2 1(mod p) is solvable if and only if p 1(mod4).
Proof: By Euler’s Criterion, x2 1(mod p) is solvable if and only if
(1)( p1) / 2 1(mod p) . But (1)( p1) / 2 is either 1 or -1 depending on whether (p – 1)/2
is even or odd, respectively. Since p > 2, (1)( p1) / 2 1(mod p) if and only if (p – 1)/2
is even. But (p – 1)/2 is even if and only if p 1(mod4) which is what we wanted to show. ▲
Example 5: When p = 17, the congruence x2 1(mod17) is solvable since
17 4(4) 1. The solutions to the congruence x2 1(mod17) are exactly x 4(mod17) . ▲
Corollary 1: Let p 3(mod4) be an odd prime and a any integer such that p | a . Then a is a quadratic residue modulo p if and only – a is a quadratic nonresidue modulo p.
Proof: Let a be a quadratic residue modulo p. By Euler’s Criterion, if a is a
quadratic residue modulo p then a ( p1) / 2 1(mod p). So to show that –a is a quadratic
nonresidue we need only show that (a)( p1) / 2 1(mod p). But
(a)( p1) / 2 (1)( p1) / 2 (a)( p1) / 2 1(mod p)
14 since (p – 1)/2 is odd. Hence – a is a quadratic nonresidue modulo p, which is what we wanted to show. Let –a be a quadratic residue modulo p. By Euler’s Criterion, if –a is a
quadratic residue modulo p then (a)( p1) / 2 1(mod p). So to show that a is a
quadratic nonresidue we need only show that (a)( p1) / 2 1(mod p). But
(a) p1/ 2 ((a))( p1) / 2 (1)( p1) / 2 (a)( p1) / 2 1(mod p) since (p – 1)/2 is odd. Hence a is a quadratic nonresidue modulo p, which is what we wanted to show. ▲ Corollary 2: Let p 1(mod4) be an odd prime and a any integer such that p | a . Then a and –a are either both quadratic residues modulo p or quadratic nonresidues modulo p.
Proof: First we will assume that a be a quadratic residues modulo p. By Euler’s
Criterion, if a is a quadratic residue modulo p then a ( p1) / 2 1(mod p). So to show that –a is a quadratic residue modulo p we need only show that
(a)( p1) / 2 1(mod p). But
(a)( p1) / 2 (1)( p1) / 2 (a)( p1) / 2 1(mod p) since (p – 1)/2 is even. Hence –a is a quadratic residue modulo p.
Now assume that a is a quadratic nonresidue modulo p. Then by Euler’s
Criterion, a( p1) / 2 1(mod p). To Show that –a is also a quadratic nonresidue modulo
p we need only show that (a)( p1) / 2 1(mod p). But
(a)( p1) / 2 (1)( p1) / 2 (a)( p1) / 2 (a)( p1) / 2 1(mod p) since (p – 1)/2 is even. Hence –a is a quadratic nonresidue modulo p, which is what we wanted to show. ▲
15 3. The Law of Quadratic Reciprocity
We are now ready to present the statement of the Law of Quadratic Reciprocity.
Law of Quadratic Reciprocity: Let p and q be distinct odd primes. Then
p1 q1 p q 1 2 2 . q p
We should remark that by the statement of the Law of Quadratic Reciprocity
q p q p if p 1or q 1(mod 4) , while if p q 3(mod 4) . p q p q
Before we look at how we can actually prove this statement we will first look at a few examples which illustrate the different ways in which the Law of Quadratic
Reciprocity may be used.
31 171 3 17 8 Example 6: Let p = 3 and q = 17 then 1 2 2 (1) 1 which is what is 17 3 expected since q = 17 is of the form 4k + 1. Thus by the Law of Quadratic Reciprocity the congruences x2 3(mod17) and x2 17(mod3) are either both solvable or both insolvable. The easiest congruence to check would be x2 17(mod3) since it reduces to the congruence x2 2(mod3) which is clearly not solvable since 12 1 2 1 and 22 4 2 2 are not divisible by 3. Therefore both
3 17 of the congruences are insolvable and so 1 and 1. ▲ 17 3
16 The following examples illustrate how you can use the Law of Quadratic Reciprocity to determine the quadratic character of p with respect to q, when the value of either p or q is known.
Example 7: In this example we will determine the value of the quadratic character of 7 with respect to p when p is an odd prime different from 7. We should note that 7 is an odd prime of the form 4k + 3 (since 7 = 4(1) + 3). Now by the Law of Quadratic Reciprocity we have
p171 3 p1 7 p 4 p 2 (1) (1) p 7 7 7 To determine the value of we must consider two things: p p 1) The value of ; 7 2) The value of the exponent on -1. p To find the value of we can find the least residues modulo 7 squaring the numbers 7
7 1 from 1 to 33 and reducing them mod 7. Squaring the numbers from 1 to 3 yields 2
12 1,22 4,32 9 2(mod7) . Thus, the quadratic residues mod 7 are 1, 2, 4 and the quadratic nonresidues are 3, 5, 6. p Now with the previous work done we can determine the value of for each 7 value of a from 1 to 6. p If p 1(mod 7) , then 1, since 1 is a quadratic residue mod 7. 7 p If p 2(mod 7) , then 1, since 2 is a quadratic residue mod 7. 7 p If p 3(mod7) , then 1, since 3 is a quadratic nonresidue mod 7. 7
17 p If p 4(mod 7) , then 1, since 4 is a quadratic residue mod 7. 7 p If p 5(mod 7) , then 1, since 5 is a quadratic nonresidue mod 7. 7 p If p 6(mod 7) , then 1, since 6 is a quadratic nonresidue mod 7. 7
Next we must note that since p is an odd prime then p is either of the form 4k + 1 or 4k + 3. Case 1) p = 4k + 1 where k is any integer p 4k 1 4k | ( p 1) p 1(mod 4)
If p 1(mod 4) , then the exponent on -1 is 3p 1 3(4k 1) 1 12k 6k, an even number. 2 2 2 Case 2) p = 4k + 3 where k is any integer p 4k 3 4k | ( p 3) p 3(mod 4)
If p 3(mod 4) , then the exponent on -1 is 3p 1 3(4k 3) 1 12k 6 6k 3, an odd number. 2 2 2 The assumptions on p show that it is not divisible by 7 because we assumed that p was odd prime different from 7 and it is not divisible by 4 because it either has a remainder of 1 or 3 when divided by 4. Thus, p must be relatively prime to their product (7)(4) = 28. So p must be congruent to one of 1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, or 27 (all numbers between 1 and 28 that are relatively prime to 28). If p 1(mod 28) , then 28 | (p – 1) (4)(7) | ( p 1) 4 | ( p 1) and 7 | ( p 1) p 1(mod 4) and p 1(mod 7)
3( p1) p 1(mod 4) the exponent on -1 is even so (1) 2 1
18 p p 1(mod7) 1 . 7
3( p1) 7 p 2 Hence the value of the Legendre symbol is (1) (1)(1) 1. p 7
This example illustrates how when one of the odd primes is of the form 4k + 1, then either both of the congruences are solvable or both are unsolvable, yielding
7 p the same quadratic characters for and . In this case, they are both solvable since p 7
7 p 1. p 7 Next we will illustrate the case when both p and q are of the form 4k + 3, if p 3(mod 28) then 28 | ( p 3) (7)(4) | ( p 3)
4 | ( p 3) and 7 | ( p 3) p 3(mod 4) and p 3(mod 7)
3( p1) p 3(mod 4) the exponent -1 is odd so (1) 2 1
p p 3(mod 7) 1 (since 3 is a quadratic residue mod 7) 7 7 Hence the value of the Legendre symbol for (1)(1) 1. p 7 p In this example the value of the quadratic characters for and are opposite, so p 7 one of the congruences is solvable and one is not. You could continue in this fashion checking all of the values 1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, and 27. The results are summarized below. 1 if p 1,3,9(mod 28)
19 7 = -1 if p 5,1113(mod 28) p
7 From this it is easy to see that if for example p = 27 then 1. Thus, there must exist p an x such that x 2 7(mod 27) is solvable. After checking the values from 1 to 27 it can be easily be verified that x 13(mod 27) are the solutions to the congruence since 132 7(mod 27) 27 | (132 7) 27 |162 which is clearly true since 162 = (27)(6). ▲
Example 8: What about for larger values of p? Suppose that p = 1,999 and q = 3. Both are of the form 4k + 3 so by The Law of Quadratic Reciprocity of the congruences x2 1,999(mod 3) and x2 3(mod1,999) only one is solvable. The first congruence x2 1,999(mod 3) reduces to x2 1(mod3) since 1,999 is congruent to 1 mod 3.
x2 1(mod3) is clearly solvable when x 2(mod3) since
22 1(mod3) 3 | (4 1) 3 | 3 Therefore, by the Law of Quadratic Reciprocity the second congruence x2 3(mod1,999) must have no solution. You could verify that this congruence has no solution by testing each of the numbers from 1 to 999, but the Law of Quadratic Reciprocity solves the problem without any need for testing. Now let’s look at a case where one of the numbers p or q is of the form 4k + 1. Suppose that p = 1,999 and q = 5. Then the law states that the congruences x2 1,999(mod5) and x2 5(mod1,999) are either both solvable or unsolvable. The first congruence x2 1,999(mod5) reduces to x2 4(mod5) since 1,999 is congruent to
4 mod 5. The congruence x2 4(mod5) is clearly solvable when x 2(mod5) since
22 4(mod5) 5 | (4 4) 5 | 0 .
By the Law of Quadratic Reciprocity the other congruence x2 5(mod1,999) must also be solvable. In order to determine the solution by brute force we would have to square
20 the numbers between 1 and 999. It turns out that there is another method for finding the
p 1 solution without squaring all of the numbers from 1 to . If p is of the form 4k + 3 2
1,999 4 499 3) p1 (which in this case it is, then one solution is x a 4 . So for this particular example the congruence x2 5(mod1,999) has the solution x 5500 (mod1,999). With the help of a calculator it can be checked that this yields x 100(mod1,999) , so the other answer is x 100 1,899(mod1,999) . ▲
There are several other uses of Quadratic Reciprocity that may found in many textbooks. The reader may want to refer to Burton’s text, Elementary Number Theory, for further illustrations.
21 4. Geometric Proof
The geometric interpretation of Gauss’s proof of the Law of Quadratic Reciprocity relies very heavily on what is known today as Gauss’s Lemma. So before we begin our exploration of this proof we will first introduce and discuss this concept.
Lemma 4: Gauss’s Lemma: Let p be an odd prime and a an integer not divisible by p.
p 1 p Consider the least residues of the integers ka for 1 k , reduced to lie between 2 2
p a s to . If the number of these which are negative is s, then 1 . 2 p
Proof: Let the least residues be ui 0 for 1 i t and v j 0 for 1 j s, where
p 1 p 1 p 1 1 u , 1 v , and s t . We first claim, with proof to i 2 j 2 2
p 1 follow, that the setu1,u2 ,...,ut ,v1, v2 ,...,vs 1,2,3,...., . Given that this is true 2 we have
p1 p1 2 t s 2 p 1 s s p 1 ka a ! 1 ui v j 1 !(mod p) k1 2 i1 j1 2
p 1 if we divide both sides by ! we are left with 2
p1 a 2 (1)s (mod p) .
p1 a a s 2 Now by Euler’s Criterion a (mod p) . Thus we have that (1) (mod p) . p p
a s Given that and (1) will both yield values of either 1 or -1, it follows that p
a s (1) (since p is prime) which is what we wanted to show. p
22 Thus, all we need is to prove the claim that the set of least residues
p 1 disregarding signs is exactly equal to the set of integers from 1 to , or 2
p 1 equivalently u1,u2 ,...,ut ,v1,v2 ,...,vs 1,2,3,...., . To do this we must show that 2 no two ui ' s are congruent, no two v j ' s are congruent and that there are no ui v j . We will do this by contradiction.
Let’s assume that two ui ' s are congruent then k1a k2a(mod p) with k1 k2 and assuming without loss of generality that k1 k2 0 (if k1 k2 we would be talking about the same element in the set).
k1a k2a(mod p)
p | k1a k2a
p | a(k1 k2 )
p | (k1 k2 ) (since p | a)
This last statement is always false because both k1 and k2 fall within the range
p 1 p 2 1 k . So 0 k k . Thus, k k is too small to be divisible by p. 2 1 2 2 1 2
Next we assume that two v j ' s are congruent then k1a k2a(mod p) with k1 k2. Now
k1a k2a(mod p)
p | (k1a k2a)
p | a(k2 k1)
p | (k2 k1 ) (since p | a) This last statement is again false by the same reasoning as above.
Finally, we will assume that ui v j for someui , v j , then k1a k2a(mod p) for some k1, k2 . So
k1a k2a(mod p)
p | (k1a k2a)
p | a(k1 k2 )
23 p | (k1 k2 ) (since p | a)
This last statement is also false because again both k1 and k2 fall with the range
p 1 1 k . So 2 k k p. Clearly no integer within this range is divisible by 2 1 2 p.
Thus, we have shown that no two integers in the set u1,u2 ,...,ut ,v1,v2 ,...,vs are
p 1 congruent to one another and since there are exactly elements in this set, each 2
p 1 p 1 within the range 1, . . . . , , it must be thatu1,u2 ,...,ut ,v1,v2 ,...,vs 1,2,3,...., . 2 2 Which is what we wanted to show. ▲
Example 9: Take p = 11 and a = 19, we first reduce each 19k for 1 k 5 mod 11 to lie
11 11 within the range to . Thus, we get 2 2 for k = 1, 19(1) 19 3(mod11) for k = 2, 19(2) 38 5(mod11) for k = 3, 19(3) 57 2(mod11) for k = 4, 19(4) 76 1(mod11) for k = 5, 19(5) 95 4(mod11) So the least residues for the first 5 multiples of 19 modulo 11 are -1, 2, -3, -4, 5,
111 which we should note are exactly the integers from 1 to . From the chart above we 2
19 3 see there are 3 minus signs, so by Gauss’s Lemma 1 1. So 19 is a quadratic 11 nonresidue mod11. Thus there does not exist an x such that x 2 19(mod11) . ▲
In this next example we will just reverse the roles of 19 and 11.
24 Example 10: Now let p = 19 and a = 11, we first reduce each 11k for 1 k 9 mod 11
19 19 to lie within the range to . Thus, we get 2 2 for k = 1, 11(1) 11 8(mod19) for k = 2, 11(2) 22 3(mod19) for k = 3, 11(3) 33 5(mod19) for k = 4, 11(4) 44 6(mod19) for k = 5, 11(5) 55 2(mod19) for k = 6, 11(6) 66 9(mod19) for k = 7, 11(7) 77 1(mod19) for k = 8, 11(8) 88 7(mod19) for k = 9, 11(9) 99 4(mod19)
So the least residues for the first 9 multiples of 11 modulo 19 are 1, -2, 3, 4, -5, 6,
19 1 -7, -8, 9, which in this case are exactly the set of integers from 1 to . From the chart 2
19 4 above we see that there are 4 minus signs, so by Gauss’s Lemma 1 1. In this 11 case, 11 is a quadratic residue mod 19. Thus, the congruence x 2 11(mod19) is solvable. In fact, the solutions to this congruence are exactly x 7(mod19) since 72 11(mod19) 19 | 72 11 19 | 38 which is clearly true. A similar argument would hold for x 7(mod19). ▲
We are now ready to look at the geometric interpretation of Gauss’s proof. The following proof is based on a proof presented in the The Jewel of Arithmetic: Quadratic
Reciprocity found online at www. webpages.com.
25 Proof of the Law of Quadratic Reciprocity: A point in the x, y plane will be called a lattice point if both its coordinates are integers. We will count lattice points in various regions. q 1 Consider the rectangle R in the x, y plane with sides y = 1 and y and 2
p 1 vertical sides x = 1 and x . The total number of lattice points in or on the 2
p 1 q 1 rectangle is equal to (exactly equal to the exponent on (-1) in the 2 2 statement of the theorem). This is illustrated in the graph below where p = 11 and q =
11119 1 19, in this case there are (5)(9) 45lattice points in the rectangle. 2 2 Figure 1
Next we will use three lines to divide the rectangle into four regions. Let q p L be the line y x (or x = y ) p q q 1 L1 be the line y x p 2 p 1 q q L2 be the line x y (or y x ) q 2 p 2 p Figure 2
26 We should note that there are no lattice points on any of these lines within the rectangle because p | x and q | y since all of the coordinates x within the rectangle
p 1 q 1 are in the range 1 x and all of the coordinates y are in the range 1 y . 2 2
q 1 We will let A be the region above L1 where y x , p 2
p 1 x y , B be the region below L2 where q 2
q q 1 C1 be the region between L and L1 where x y x , p p 2
p p 1 C2 be the region between L and L2 where y x y . q q 2 This again is illustrated in the graph below for the case when p = 11 and q = 19.
Figure 3
27 If we let P(X) denote the number of lattice points in region X it should be that p 1 q 1 P(A) + P(B) + P(C1 ) + P(C2 ) = . 2 2 Thus, the statement of the theorem could be written in the form p q P( A)P(B)P(C1 )P(C2 ) (1) q p We will first show that A and B contain the same number of lattice points so the sum of P(A) and P(B) will always be even. Thus, they will have no effect on the exponent of (-1). So the statement of the theorem can be reduced to the following expression p q P(C1 )P(C2 ) (1) q p
q (1)s1 We will then show that C1 contains s1 points where and that C2 contains p
p ( 1) s2 s2 where . So we could again restate the theorem as q p q s1 s2 s1s2 (1) (1) (1) q p
28 p 1 q 1 where, s1 s2 (mod 2) . 2 2 To see that P(A) = P(B) note that the entire picture is symmetric about its center
p 1 q 1 point , , as illustrated in the graph below. 4 4 Figure 4
p 1 q 1 To verify this claim, let f : x, y x*, y* be defined by f (x, y) x, y 2 2 with the property that x, y A x*, y* B. We will show that this mapping f is a one-one correspondence between the lattice points of A and those in B. Proof: To prove that f is a one-one correspondence between the lattice points of A and B we must show that f is a one-one and onto mapping between the lattice points of A and B.
We must first verify that f maps the lattice points of A to the lattice points in B. Let x, y be any lattice point in A, then x and y are both integer values such that
q 1 p 1 q 1 y x , . We wish to show that f (x, y) x, y (x , y ) is a lattice p 2 2 2
29 point in B. Observe first that f (x, y) will be a lattice point since both p and q were assumed to be odd. By the definitions of regions A and B, the reader can easily check
q 1 q q that if y x then y x . Hence(x , y ) B , which is what we wanted p 2 p 2 p to show.
To show that f is one-one we must show that f(a, b) = f (c, d) implies that (a, b) = (c, d). Now, f (a,b) f (c, d)
p 1 q 1 p 1 q 1 a, b c, d 2 2 2 2
p 1 p 1 q 1 q 1 a c and b d 2 2 2 2 a c and b = d (a,b) (c, d) which is what we wanted to show. Therefore, f is one-one. Next we must show that f is onto. To show that f is onto we must show for each x* , y* B there exists an x, y A such that f (x, y) x*, y* . Suppose
p 1 q 1 x* , y* B and let(x, y) x*, y* , then (x, y) A since by definition 2 2
q q of the region B y x and thus the reader can easily verify through algebra p 2 p
q 1 that this implies that y x . Hence (x, y) A and (x, y) is clearly a lattice point p 2 since p and q were assumed to be odd. Further, f (x, y)
30 p 1 q 1 f x*, y* 2 2
p 1 p 1 * q 1 q 1 * x , y 2 2 2 2 (x*, y* )
p 1 q 1 Thus, there exists a lattice point x, y A , namely x* , y* , such that 2 2 f (x, y) x*, y* . Therefore, f is onto. We have shown that f is one-one and onto. Therefore, we have shown that f is a one-one correspondence between the lattice points of A and those of B. Hence, P(A) = P(B). p 1 Next we will examine the number of lattice points in C . Let 1 x , Then 1 2
q q 1 (x, y) C1 if and only if x y x , by definition of the region C1. The p p 2
1 interval has length so it contains at most one integer y. There will be an integer y 2
q q in this interval if and only if there is an integer y' y x (where x denotes the p p greatest integer) in the interval
q q q q 1 x x y' x x p p p p 2 which is if and only if
1 q q x x 1 2 p p Multiplying through by p we get the equivalent statement
p q qx p x p . 2 p The integer in the middle is the remainder on dividing qx by p. The number of x’s in
p 1 p the range 1 x for which the remainder lies between and p is exactly the 2 2
31 s1 q same integer s which occurs in Gauss’s Lemma satisfying (1) . A similar p argument could be used to show that the number of lattice points in C2 is the integer
p s2 s2 which appears in Gauss’s Lemma such that (1) . Thus we have, q
p q s1 s2 s1s2 (1) (1) (1) q p which is exactly what we wanted to show. ▲
Example 11 (for p = 11 and q = 19): We should note that p and q are both of the form 4k + 3. Thus, we must show that
1119 1. 19 11 We will proceed by counting lattice points in various regions. Consider the
q 1 19 1 rectangular region R in the x, y plane with sides y = 1 and y 9 and 2 2
p 1 111 vertical sides x = 1 and x 5 . The total number of lattice points in or on 2 2
q 1 p 1 the rectangle is equal to (9)(5) 45 , as illustrated in the graph below. 2 2 Figure 5
Next we will use three lines to divide the rectangle into four regions. We will let 19 L be the line y x 11
32 19 1 L be the line y x 1 11 2
11 1 19 19 L be the line x y y x 2 19 2 11 22 We should note that no lattice points lie on any of these lines within the rectangle because 11 | x when 1 x 5 and similarly 19 | y when1 y 8 . We will let 19 1 A be the region above L where y x 1 11 2 11 1 B be the region above L where x y 2 19 2 19 19 1 C be the region between L and L where x y x 1 1 11 11 2 11 11 1 C be the region between L and L where y x y 2 2 19 19 2 Figure 6
If we let P(X) denote the number of lattice points in Region X, it should be that, p 1 q 1 P(A) P(B) P(C1 ) P(C2 ) 45 2 2 Thus, the statement of the theorem could be rewritten as 1119 (1) P( A)P(B)P(C1 )P(C2 ) 19 11
33 One could use a rigorous algebraic proof to show that the number P(A) = P(B). However, for the purpose of this discussion we will use the graph to illustrate this idea. Figure 7
It is obvious from the graph that if you were to reflect region A about the line x = 3 and then again about the line y = 5, region A would lie right on top of region B. Thus, each lattice point in region A would correspond to exactly one lattice point in region B. Therefore, since f is one-one and onto it must be that P(A) = P(B). So the sum of their lattice points will always equal an even number. Thus, they will have no effect on the exponent -1 in the statement of the theorem. So we can omit them from
1119 the exponent leaving (1) P(C1 )P(C2 ) . 19 11
19 Next we will show that the region C contains s lattice points where (1)s1 1 1 11 by showing that s1 is the exact same number that occurred in Gauss’s Lemma when p = 11 and q = 19. Similarly, we will show that C2 contains s2 lattice points where
11 (1)s2 by showing that s is the exact same number that occurred in Gauss’s 19 2 Lemma when p = 19 and q = 11. So we would have 1119 (1) s1 (1) s2 (1) s1s2 19 11
34 p 1 q 1 where s s must be congruent to mod 2. 1 2 2 2 19 19 1 Let 1 x 5 , by definition (x, y)C x y x . Since the length of the 1 11 11 2 interval is only ½ it can only contain at most one integer y. There will be an integer y
19 in this interval if and only if there is an integer y y x in the interval 11
19 19 19 19 1 x x y x x . 11 11 11 11 2 which is if and only if 1 19 19 x x 1 2 11 11 or multiplying through by 11 we get the equivalent statement 11 19 19x 11 x 1 2 11
19 The integer in the middle, 19x 11 x , is the remainder on diving 19x by 11. 11 Computing these remainders for the integers x in the range 1 x 5 , yields 19 for x = 1, 19(1) 11 (1) 8 11
19 for x = 2, 19(2) 11 (2) 5 11
19 for x = 3, 19(3) 11 (3) 2 11
19 for x = 4, 19(4) 11 (4) 10 11
19 for x = 5, 19(5) 11 (5) 7 11 11 Thus, there are only three integers that lie within the range and 11, so s = 3. 2 1 If we recall from example 3, that the least residues for 19 with respect to 11 were -1, 2, -3, -4, and 5, so in this case s = 3 (remember that s is the number of negative least residues). We have s1 = s = 3. Thus, the number of lattice points inC1 is the exact
35 19 same number which occurred in Gauss’s Lemma for . By counting the number 11 of lattice points in region C1 on the graph we see there are indeed 3. So 19 (1)3 1. 11
By using a similar argument we will show that the number of lattice points in C2 is the same as the number of minus signs we found earlier using Gauss’s Lemma for
p = 19 and q = 11. Let 1 y 8, by definition (x, y)C2 if and only if
11 11 1 y x y . The interval again is only of length ½, so it will contain at most 19 19 2 one integer x. There will be an integer x in this interval if and only if there is an
11 integer x x y in the interval 19
11 11 11 11 1 y y x y y 19 19 19 19 2 which is true if and only if 1 11 11 y y 1 2 19 19 Multiplying through by 19 we obtain the equivalent statement 19 11 11y 19 y 19 2 19 The integer in the middle here is the remainder on dividing 11y by 19. Computing these remainders for the integers y in the range 1 y 8 we see 11 for y = 1, 11(1) 19 (1) 11 19
11 for y = 2, 11(2) 19 (2) 3 19
11 for y = 3, 11(3) 19 (3) 14 19
11 for y = 4, 11(4) 19 (4) 6 19
36 11 for y = 5, 11(5) 19 (5) 17 19
11 for y = 6, 11(6) 19 (6) 9 19
11 for y = 7, 11(7) 19 (7) 1 19
11 for y = 8, 11(8) 19 (8) 12 19
11 for y = 9, 11(9) 19 (9) 4 19 19 As we see there are only four integers that lie within the range to 19, so s 4. 2 2 Again if we recall from example 4 that the least residues for 19 with respect to 11 were 1, -2, 3, 4, -5, 6, -7, -8, and 9 so in this case s = 4. So we have s2 s 4. Thus, the number of lattice points in region C2 corresponds exactly to the number which
11 occurred in Gauss’s Lemma for . Counting the number of lattice points on the 19
11 graph we see that region C does contain four lattice points. So (1)4 1. 2 19 Therefore, we have 1119 (1)4 (1)3 (1)7 1 19 11 which is exactly what we wanted to show. ▲
37 5. Schmidt’s Proof
We are now ready to begin our examination of Hermann Schmidt’s proof. As stated in the introduction of this paper Schmidt’s proof uses some of the more elementary results in Number Theory such as the Chinese Remainder Theorem and Wilson’s Theorem. So we begin our discussion with these and a few related results.
Lemma 5: If (p, q) = 1, then x a(mod pq) if and only if x a(mod p) and x a(modq) .
Proof: () Let p and q be two integers such that (p, q) = 1 and suppose that there exists integers x and a such that x a(mod pq). By definition of congruence if x a(mod pq) then pq | (x a) . But if pq | (x a) then p | (x a) and q | (x a) and so x a(mod p) and x a(mod q) which is what we wanted to show.
() Let p and q be two integers such that (p, q) = 1 and suppose that there exists integers x and a such that x a(mod p) and x a(modq) . If x a(mod p) then by definition of congruence p | (x a) which implies that there exists and integer r such that (x – a) = rp. Similarly, if x a(modq) then by definition of congruence
q | (x a) which implies that there exists an integer s such that (x – a) = sq. Now if (x – a) = rp and (x – a) = sq then rp = sq and so p must divide sq. But if p | sq then p | s since it was assumed that (p, q) = 1. Hence there must exist an integer t such that tp = s. Thus (x – a) = sq = t(pq) which implies that pq | (x a) and so x a(mod pq) which is what we wanted to show. ▲
38 Recall the Chinese Remainder Theorem, which assures the existence of a solution to any system of linear congruences over moduli that are pairwise relatively prime. In this paper, we only require a special case involving a pair of congruences, as stated in the next theorem. We include a proof for the sake of completeness.
Theorem 7: (Chinese Remainder Theorem): Let p and q be positive integers, with (p, q) = 1. Then the system of congruences x a(mod p) x b(modq) has a solution. Furthermore, any two solutions will be congruent modulo pq.
Proof: Let p and q be two positive integers such that (p, q) = 1. Since (p, q) = 1, by the Euclidean Algorithm there must exist integers r and s such that rp + sq = 1. It follows that the integers sq and rp satisfy sq 1(mod p) sq 0(modq)
and rp 0(mod p) rp 1(modq) and so x = asq + brp must be a solution to the system of congruences x a(mod p) and x b(modq) . This can be seen by reducing modulo p and then modulo q as follows, x asq brp a(1) b(0) a(mod p) and x asq brp a(0) b(1) b(mod p) Thus, if (p, q) = 1 the system of congruences x a(mod p) and x b(modq) will have a solution.
If x is a solution, then adding any multiple of pq to x will still be a solution since
x k( pq) x(mod pq) for any integer k. Conversely if x1 and x2 are two solutions of the given congruences, then they must be congruent modulo p and modulo q, that is if
x1 a(mod p) x1 b(modq)
and x2 a(mod p) x2 b(modq)
39 then x1 x2 (mod p) and x1 x2 (modq) . Thus x1 x2 is divisible by both p and q and so it is divisible by pq since by assumption (p, q) = 1. Therefore
x1 x2 (mod pq) which is what we wanted to show. ▲
Example 12: To solve the system x 1(mod3) x 4(mod5) we first use the Euclidean Algorithm to write (2)(3) + (-1)(5) = 1. Then x = (2)(3)(4) + (-1)(5)(1) = 19 is a solution and the general solution is x = 19 + 15t. The smallest nonnegative solution is therefore 4, so we have x 4(mod15) . ▲
Lemma 6: Let p and q be positive integers, with (p, q) = 1. If a is a quadratic residue modulo p and a is a quadratic residue modulo q then a is a quadratic residue modulo pq.
Proof: Suppose that a is a quadratic residue modulo p and modulo q. If a is a
quadratic residue modulo p then there exists an x such that x2 a(mod p) . Considering the list of integers x, x + p, x + 2p, . . . . . , x + (q – 1)p we have that x, x p, x 2 p,...... , x (q 1) p 1,2,3,...... ,(q 1)(modq) in some order. Since a is also a quadratic residue modulo q at least one of the numbers from this second list, call it y, when squared, must yield a modulo q. That
is, y 2 a(mod q). But y must be congruent to one of the numbers in the list x, x + p, x + 2p, . . . . . , x + (q – 1)p. In other words, y x ip(modq) for some
integer i. Now we have that y 2 a(mod q) and also y x ip(modq) x(mod p).
If y x(mod p) then y 2 x2 a(mod p). Thus we have that y 2 a(mod q) and
y 2 a(mod p) so y 2 a(mod pq) by Lemma 5. Hence a is quadratic residue modulo pq. ▲
40 Next we would like to recall Wilson’s Theorem which allows us to determine for what integers p, p is a prime.
Theorem 8: (Wilson’s Theorem): Let p be an integer. Then p is a prime if and only if ( p 1)! 1(mod p).
Proof: If p = 2, then (2 1)! 1 1(mod 2) as desired. So assume that p is an odd prime. For the rest of the proof we will assume that p is an odd prime.
() If p is an odd prime and G = {1, 2, . . . . , p – 1} then by Lemma 2 each a in G will have a unique inverse modulo p. If a b(mod p) , then multiplying both sides of this congruence by a yields a 2 ab 1(mod p) . If a 2 1(mod p) then a 2 1 0(mod p) or equivalently(a 1)(a 1) 0(mod p) . Given that p is prime, (a 1)(a 1) 0(mod p) implies a 1(mod p) and so a = 1 or a = p – 1. Thus, 1 and p – 1 are each their own inverses, but every other element of G has a distinct inverse, and so if we collect the elements of G pairwise and multiply them all together we have
( p 1)! 1[2 3...... ( p 2)]( p 1) (1)[(1)(1)...... (1)]( p 1)(mod p) but (1)(1)(1)...... ( p 1) ( p 1) 1(mod p) Hence ( p 1)! 1(mod p) . () Now suppose by contradiction that the congruence holds for a composite number p. If p is composite then p has a proper divisor d with 1 < d < p. If d < p then d also divides ( p 1)! since d must be one of the integers between 1 and p – 1. However, we assumed the congruence ( p 1)! 1(mod p) holds so d must also divide (p – 1)! + 1 and so d must divide 1 which a contradiction. Thus if the congruence holds p must be prime which is what we wanted to show. ▲
41 Example 13: Let p = 11, then we should be able to pair the integers from 1 to 10 1(mod11) , not inclusive, with their inverses. Indeed, 26 12 1(mod11) , 3 4 12 1(mod11) , 59 45 1(mod11) , 7 8 56 1(mod11). Thus, (111)!1 23567 8910 1(26)(3 4)(59)(7 8)10 1(mod11). ▲
With Wilson’s Theorem and the Chinese Remainder Theorem established we will begin our exploration of Schmidt’s proof, which may be found in his paper entitled Drei neue Beweise des Reciprocitätssates in der Theorie der quadratischen Reste, beginning with the following lemma.
Lemma 7: Let p, q be distinct odd primes. If r denotes any quadratic residue (mod pq),
2 then the congruence x r(mod pq) has exactly four distinct solutions, xI through xIV that satisfy: (1) xI xII xIII xIV (mod p)
(2) xI xII xIII xIV (modq) In particular, two solutions have positive least residues modulo pq.
Proof: Assume r is a quadratic residue mod pq. Then the congruence
x2 r(mod pq) has solutions mod pq. So by Lemma 5, this congruence has solutions
mod p and mod q. Indeed, by Proposition 1, x2 r has exactly two incongruent solutions mod p, call them c and –c. Similarly, x2 r has exactly two incongruent solutions mod q, call them d and – d.
2 Therefore x r(mod pq) must have exactly four solutions xI , xII , xIII , and
xIV , each satisfying a pair of congruences as follows:
(i) xI c(mod p) and d(mod q)
(ii) xII c(mod p) and d(mod q)
(iii) xIII c(mod p) and d(mod q)
(iv) xIV c(mod p) and d(mod q)
42 By the Chinese Remainder Theorem xI through xIV are each uniquely determined
(mod pq). Moreover, xI through xIV are all distinct (mod pq) by construction.
Observe that xI xIV and xII xIII modulo pq and so the conditions of the Lemma are satisfied. ▲
Definition 6: If r is any quadratic residue modulo pq then we say the four solutions of x2 r(mod pq) are conjugates.
Corollary 3: When the p and q are distinct odd primes then the number of quadratic
p 1 q 1 residues modulo pq is exactly . 2 2
Proof: By the above lemma, each of the (p – 1)(q – 1) residues prime to pq belongs to a set of four conjugates whose squares are congruent modulo pq to a common
( p 1)(q 1) p 1 q 1 quadratic residue. It follows that there are exactly 4 2 2 quadratic residues modulo pq. ▲
Remark By the Lemma 7, it follows that for odd primes p q , there will be four solutions to x2 1(mod pq) . If we consider the least residues of these solutions, two will be positive and two will be negative. Clearly x 1 is one of the positive solutions. We henceforth will use to denote the remaining positive solution.
Lemma 8: Let p, q denote distinct odd primes. Let xI through xIV represent the four conjugates stated in Lemma 7 satisfying:
(1) xI xII xIII xIV (mod p)
43 (2) xI xII xIII xIV (modq)
Let a and b be two remainders such that a xI (mod p) and b xI (modq) . Let r be any quadratic residue modulo pq.
(i) If p q 3(mod 4) , then exactly one of the four solutions of
x2 r(mod pq) is itself a quadratic residue, the other three are not.
(ii) If p 1(mod 4) and q 3(mod 4) (or visa versa) then either exactly two of
the four solutions of x2 r(mod pq) are quadratic residues or else none of them are. (iii) If p q 1(mod 4) then either all four solutions of x2 r(mod pq) are quadratic residues, or else none of them are.
Proof (i): Let p and q be odd primes such that p q 3(mod 4) . Then by Corollary 1, either a or –a is a quadratic residue modulo p. Similarly either b or –b is a quadratic residue modulo q. Thus we have the following four cases:
Case 1: (a and b are both quadratic residues) Assume that a and b are quadratic residues modulo p and q respectively.
If a is a quadratic residue modulo p then by definition of a and (1) above, xI and xII are both quadratic residues modulo p. Similarly if b is a quadratic residue modulo q
then by definition of b and (2) above, xI and xIII are quadratic residues modulo q.
Hence xI is a quadratic residue modulo pq by Lemma 6 and the others are not.
Case 2: (- a and b are quadratic residues) Assume that –a and b are quadratic residues modulo p and q respectively. If –a is a
quadratic residue modulo p then xIII and xIV are both quadratic residues modulo p by
definition (1) above. If b is a quadratic residue modulo q then xI and xIII are both
44 quadratic residues modulo q by definition (2) above. Hence xIII is a quadratic residue modulo pq by Lemma 6 and the others are not.
Case 3: (a and –b are quadratic residues) Assume that a and –b are quadratic residues modulo p and q respectively. If a is a quadratic residue modulo p then xI and xII are both quadratic residues modulo p by definition (1) above. If –b is a quadratic residue modulo q then xII and xIV are both quadratic residues modulo q by definition (2) above. Hence xII is a quadratic residue modulo pq by Lemma 6 and the others are not.
Case 4: (– a and –b are quadratic residues) Assume that –a and –b are quadratic residues modulo p and q respectively. If –a is a quadratic residue modulo p then xIII and xIV are both quadratic residues modulo p by definition (1) above. If –b is a quadratic residue modulo q then xII and xIV are both quadratic residues modulo q by definition (2) above. Hence xIV is a quadratic residue modulo pq by Lemma 6 and the others are not.
Thus we have shown that when p q 3(mod 4) in each of these cases only one of the solutions xI through xIV is a quadratic residue modulo pq, which is what we wanted to show.
Proof (ii): Without loss of generality, assume p 1(mod 4) and q 3(mod 4) . If p 1(mod 4) then a and –a are either both quadratic residues or quadratic nonresidues modulo p. Thus we have the following two cases:
Case 1: (a, –a and b or –b are quadratic residues)
45 Assume that a and –a are both quadratic residues modulo p then by definition (1) we have that xI , xII , xIII , and xIV are all quadratic residues modulo p. Now since q 3(mod 4) , if b is a quadratic residue modulo then by Corollary 1, – b is a quadratic nonresidue and visa versa. If b is a quadratic residue modulo q then by definition (2) above xI and xIII are quadratic residues modulo q. Thus by Lemma 6, xI and xIII would be quadratic residues modulo pq and xII and xIV would not.
Similarly if – b is a quadratic residue modulo q then by definition (2) above xII and xIV are quadratic residues modulo pq. Thus by Lemma 6, xII and xIV would be quadratic residues modulo pq and xI and xIII would not. In either case exactly two of the solutions xI through xIV are quadratic residues modulo pq.
Case 2: (a and –a are quadratic nonresidues)
Assume that a and –a are quadratic nonresidues modulo p then xI through xIV are quadratic nonresidues modulo p. Therefore xI through xIV are quadratic nonresidues modulo pq.
Thus we have shown that if p 1(mod 4) and q 3(mod 4) (or visa versa) then exactly two of the conjugates are quadratic residues modulo pq or none of them are. Which is what we wanted to show.
Proof (iii): Let p q 1(mod 4) . If p 1(mod4) then both a and – a are either both quadratic residues or both quadratic nonresidues modulo p. Similarly, if q 1(mod4) both b and – b are either both quadratic residues or both quadratic nonresidues modulo q. Thus we have the following two cases:
Case 1: (a, – a , b, – b are all quadratic residues) Assume that a, –a are quadratic residues modulo p and b, – b are quadratic residues modulo q. Then all four
46 solutions are quadratic residues modulo p and modulo q. Hence by Lemma 6, all four solutions would be quadratic residues modulo pq.
Case 2: (a, – a quadratic nonresidues or b, – b quadratic nonresidues) Without loss of generality assume that a and –a are quadratic nonresidues modulo p.
Then all of the four solutions xI through xIV are quadratic nonresidues modulo p. Hence all four solutions are quadratic residues modulo pq.
We have shown that if p q 1(mod4) then all four of the solutions are quadratic residues modulo pq or none of them are, which is what we wanted to show. ▲
Example 14: This example illustrates the case when both p and q are congruent to 3 modulo 4. Let p = 3 and q = 7 then the (p – 1)(q – 1) =(2)(6) = 12 remainders prime to 21 are 1, 2, 4, 5, 8, 10, 11, 13, 16, 17, 19, 20. Squaring each of these numbers and reducing them modulo 21 we have {– 1, 1, – 8, 8} solve x2 1(mod 21)
{– 2, 2, – 5, 5} solve x2 4(mod 21)
{– 4, 4, – 10, 10} solve x2 16(mod 21) So we can easily see that there are exactly four remainders, two negative and two positive, whose squares are congruent modulo 21. Observe that each set of four contains exactly one quadratic residue. If we choose the remainders – 5 and 5 then –a = - 2 , a = 2, –b = - 5 and b =5. Thus our four conjugates will be
xI 5 2(mod3) and 5(mod7)
xII 5 2(mod3) and 5(mod7)
xIII 5 2(mod3) and 5(mod7)
xIV 5 2(mod3) and 5(mod7) Since p = 3 is congruent to 3 mod 4 and so only one of the numbers – 2 or 2 is a quadratic residue modulo 3. If we square the numbers 1 and 2 we see 12 1 2(mod3) and 22 4 1 2(mod3)
47 and so – 2 is a quadratic residue modulo 3 and 2 is not. Similarly q = 7 is congruent to 3 mod 4 and so only one of the numbers – 5 or 5 is a quadratic residue modulo 7. If we square the numbers from 1 to 6 and reduce each modulo 7 we have 12 1(mod7) 22 4(mod7) 32 9 2 5(mod7)
42 16 2 5(mod7) 52 25 4(mod7) 62 36 1(mod7) and so – 5 is a quadratic residue modulo 7 and 5 is not. Thus the conjugate xIV is the only quadratic residue modulo 21. If xIV 5(mod3) and xIV 5(mod7) then xIV 5(mod21) and – 5 is a quadratic residue modulo 21 since 5 16(mod21) and
42 16(mod21). ▲
Example 15: This example illustrates the case when either p or q is congruent to 1 modulo 4. Let p = 3 and q = 5 then the (p – 1)(q – 1) =(2)(4) = 8 remainders prime to 15 are 1, 2, 4, 7, 8, 11, 13, 14. Squaring each of these numbers and reducing them modulo
15 we have
{– 1, 1, – 4, 4} solve x2 1(mod15)
{– 2, 2, – 7, 7} solve x2 4(mod15)
So we can easily see that there are exactly four remainders, two negative and two positive, whose squares are the same or congruent modulo 15. Observe that the first set of four contains exactly two quadratic residues and the other does not contain any. If we choose the remainders – 4 and 4 then –a = - 1, a = 1, –b = - 4 and b =4. Thus our four conjugates will be
xI 4 1(mod3) and 4(mod5)
xII 4 1(mod3) and 4(mod5)
xIII 4 1(mod3) and 4(mod5)
xIV 4 1(mod3) and 4(mod5)
48 Since p = 3 is congruent to 3 mod 4 only one of the numbers – 1 or 1 is a quadratic residue modulo 3. If we square the numbers 1 and 2 we see 12 1(mod3) and 22 4 1(mod3) and so 1 is a quadratic residue modulo 3 and -1 is not. Now q = 5 is congruent to 1 mod 4 and so either the numbers – 4 and 4 are both quadratic residues or both quadratic nonresidues modulo 5. If we square the numbers from 1 to 4 and reduce each modulo 5 we have 12 1 4(mod5) 22 4(mod5) 32 9 4(mod5) 42 16 1 4(mod5) and so – 4 and 4 are both quadratic residues modulo 5. Thus the conjugates xI and xII must be quadratic residues modulo 15. If xI 4(mod3) and xI 4(mod5) then
2 xI 4(mod15) and 4 is a quadratic residue modulo 15 since 2 4(mod15). If xII 4 1(mod3) and xII 4(mod5) then we can determine the quadratic residue modulo 15 by using the method implied by the proof of the Chinese Remainder Theorem. By the Euclidean algorithm (3)(2) + (5)(-1) =1 and so a solution to the system is x = (3)(2)(-4) + (5)(-1)(1) = -29 and so the smallest nonnegative solution x 1(mod15) .
Thus 1 is a quadratic residue modulo 15 since 12 1(mod15). ▲
Example 16: This example illustrates the case when both p and q are congruent to 1 modulo 4. Let p = 5 and q = 13 then squaring the (p – 1)(q – 1) =(4)(12) = 48 remainders prime to 65 and reducing each of modulo 65 we have
{– 1, 1, – 14, 14} solve x2 1(mod 65) {– 8, 8, – 18, 18} solve x2 64(mod 65)
{– 2, 2, – 28, 28} solve x2 4(mod 65) {– 11, 11, – 24, 24} solve x2 56(mod65)
{– 3, 3, – 23, 23} solve x2 9(mod 65) {– 12, 12, – 27, 27} solve x2 14(mod 65)
{– 4, 4, – 9, 9} solve x2 16(mod 65) {– 16, 16, – 29, 29} solve x2 61(mod 65)
{– 6, 6, – 19, 19} solve x2 36(mod65) {– 21, 21, – 31, 31} solve x2 51(mod 65)
{– 7, 7, – 32, 32} solve x2 49(mod65) {– 17, 17, – 22, 22} solve x2 29(mod65)
49 So we can easily see that there are exactly four remainders, two negative and two positive, whose squares are the same or congruent modulo 65. Observe also that each set of four contains either exactly four or zero quadratic residues. If we choose the remainders – 14 and 14 then –a = - 4 , a = 4, –b = - 1 and b =1. Thus our four conjugates will be xI 4(mod5) and 1(mod13)
xII 4(mod5) and 1(mod13)
xIII 4(mod5) and 1(mod13)
xIV 4(mod5) and 1(mod13) Since p = 5 is congruent to 1 mod 4 either both of the numbers –4 and 4 are quadratic residues modulo 5 or both quadratic nonresidues modulo 5. If we square the numbers from 1 to 4 we see 12 1 4(mod5) 22 4(mod5) 32 9 4(mod5) 42 16 1 4(mod5) and so – 4 and 4 are both quadratic residues modulo 5. Similarly q = 13 is congruent to 1 mod 4 and so either both of the numbers – 1 and 1 are quadratic residues modulo 13 or both are quadratic nonresidues modulo 13. If we square the numbers from 1 to 6 and reduce each modulo 7 we have 12 1(mod13) 22 4(mod13) 32 9(mod13) 42 16 3(mod13)
52 25 12 1(mod13) 62 36 10(mod13) and so –1 and 1 are both quadratic residues modulo 13. Thus all four conjugates must be quadratic residues modulo 65. If xI 4(mod5) and xI 1(mod13) then by the Euclidean Algorithm 1 = (2)(13) + (-5)(5) and so a solution to the system is x = (2)(13)(4) + (-5)(5)(1) = 79 which implies that the smallest nonnegative solution is x 14(mod65) . Thus 14 is a quadratic residue modulo 65. If xII 4(mod5) and xII 1(mod13) then by the C.R.T a solution to this system is x = (2)(13)(4) + (-5)(5)(-1) = 129 which implies that the smallest nonnegative solution is x 64(mod65) . Thus 64 is a quadratic residue modulo 65. If xIII 4(mod5) and xIV 1(mod13) then by the C.R.T. a solution to this system is x = (2)(13)(-4) + (-5)(5)(1) = -129 which implies that the smallest nonnegative solution is x 1(mod65) and 1 is a quadratic residue modulo
50 65. Finally, if xIV 4(mod5) and xIV 1(mod13) then by the C.R.T. a solution to this system is x = (2)(13)(-4) + (-5)(5)(-1) = -79 which implies that the smallest negative solution is x 51(mod65) and 51 is also a quadratic residue modulo 65. ▲ Throughout the discussion of the next few lemmas and corollary we will be examining and referring to a particular product which we will define here.
Definition 7: We will define Ppq to be the product of positive remainders that are prime to pq. That is,
p1 p1 p1 p1 q 1 2 q 1 i p i 1 p i p i i1 i1 i1 2 i1 2 Ppq p1 2 iq i1 q 1 q 1 q 1 q 1 p 1 [1 2 3 ( p 1)]( p 1)( p 2) (2 p 1) (2 p 1) ( p 1) ( p 1)( p 2) p ) 2 2 2 2 2 p 1 1 2q 3q q 2 Lemma 9: Let p and q be distinct odd primes.
(i) If p q 1(mod 4) then Ppq (mod pq) Ppq (mod p) Ppq (mod q) {1,1}. (ii) Otherwise,
Ppq (mod pq) {,} and Ppq (mod p) Ppq (mod q) {1,1}.
Proof (i): If we assume that both p and q 1(mod4) then both +1 and -1 are quadratic residues modulo p and modulo q. So by Lemma 6, – 1 is a quadratic residue modulo pq. Thus by Lemma 7 we have four remainders modulo pq whose squares are congruent – 1 (mod pq), of these, two are positive, we will denote
one by , and the other by , where 2 1(mod pq). Thus we have four
51 remainders 1, , , and whose squares and product are 1(mod pq). For each of the remaining positive remainders a of pq there exists a unique remainder b
such that ab 1(mod pq) and so the entire product Ppq 1(mod pq).
Proof (ii): In the case where (p – 1)/2 or (q – 1)/2 is odd, that is when either p or q is congruent to 3 modulo 4, then -1 is a quadratic nonresidue modulo pq. Grouping all of the remaining positive remainders we have ab 1, a'b' 1, etc. when reduced
modulo pq. Thus, in all of the remaining cases we have that Ppq (mod pq). ▲
Corollary 4: Let p and q be distinct odd primes. Then p1 q1 1 2 2 (Ppq (mod p))(Ppq (modq)) (1) .
p 1 q 1 Proof: The exponent 1 is even if and only if p and q 1(mod4) . So 2 2 this corollary holds by the work above. ▲
Lemma 10: Let p and q be distinct odd primes. Then p1 q1 q p 2 2 (Ppq (mod p)) (Ppq (mod q)) (1) . p q
Proof: In order to determine the signs on Ppq (mod p) and Ppq (modq) we will proceed by looking at the following product: q 1 1 23( p 1) ( p 1)( p 2) (2 p 1)(2 p 1) ( p 1) 2 p1 p1 p1 q 1 (1) i p i 1 p i i1 i1 i1 2
If we consider this product modulo p then we obtain
p1 p1 p1 q 1 p1 p1 p1 i p i 1 p i ii i ( p 1)!( p 1)!( p 1)!(mod p) i1 i1 i1 2 i1 i1 i1
52 Now by Wilson’s Theorem we have that ( p 1)! 1(mod p) and so
( p 1)!( p 1)!( p 1)! (1)(1) (1) (1)(q1) / 2 (mod p) Hence
p1 p1 p1 q 1 (q1) / 2 i p i 1 p i (1) (mod p). i1 i1 i1 2
Comparing this product to Ppq we note that both products contain the same number of
q 1 factors, namely (p – 1) . We can derive the product in (1) from the product 2
p1 P p 1 2 pq by multiplying by 1 q 2q q iq and dividing by 2 i1
p1 q 1 q 1 q 1 p 1 2 q 1 p 1 p 2 p p i . 2 2 2 2 i1 2 That is,
p1 p1 p1 p1 p1 q 1 2 q 1 p1 2 i p i 1 p i p i 2 iq i1 i1 i1 2 i1 2 iq P i1 i1 pq p1 p1 p1 2 q 1 2 2 q 1 p i iq p i 2 2 i1 i1 i1
p1 p1 p1 q 1 i p i 1 p i i1 i1 i1 2 But
p1 p1 p1 q 1 (q1) / 2 i p i 1 p i (1) (mod p). i1 i1 i1 2 Thus
53 p1 2 p 1 iq q 2q q (1)(q1) / 2 P i1 P 2 (mod p) pq p1 pq p 1 2 q 1 1 2 p i 2 i1 2 or equivalently
(q1) / 2 ( p1) / 2 (1) Ppq q (mod p) or
(q1) / 2 q (1) Ppq (mod p) p
q or multiplying both sides by we have p
(q1) / 2 q (I) Ppq (1) (mod p) . p
If we were to do the same analysis interchanging the roles of p and q we would obtain the congruence
( p1) / 2 p (II) Ppq (1) (modq) . q If we multiply (I) and (II) we obtain
p1 q1 q p 2 2 (1) Ppq (mod p) Ppq (mod q) p q Which is what we wanted to show. ▲
The result of the Law of Quadratic Reciprocity thus follows directly, as follows.
Proof of the Law of Quadratic Reciprocity: By Corollary 3 we have that
p1 q1 1 2 2 and by the previous Lemma 8 we have (Ppq (mod p)) (Ppq (mod q)) (1)
54 p1 q1 q p 2 2 just shown that (Ppq (mod p)) (Ppq (mod q)) (1) . Thus we have p q that
p1 q1 p1 q1 q p 2 2 1 (1) (1) 2 2 . p q
p1 q1 1 Dividing both sides of this equality by (1) 2 2 and subtracting exponents, the reader could easily verify that this expression simplifies to
p1 q1 q p 2 2 (1) . p q Which is what we wanted to show. ▲
Example 17: This next example illustrates Lemma 7 for the case where p = 5 and q =13. Let p = 5 and q = 13. Then 1 23 467 89111213141617 1819 21 22 23 24 26 27 28 293132 P 65 13 26 1 23 467 891112141617 1819 21 22 23 24 27 28 293132 Given that 5 and 13 are both congruent to 1 modulo 4 we know that both -1 and 1 are quadratic residues modulo 65. We can see this is true by the congruences below 12 1(mod65) and 142 1(mod65)
82 1(mod65) and 182 1(mod65) Thus we have the four positive remainders 1, , , = 1, 14, 8, (8)14 18(mod65) whose product 181418 2016 1(mod65). Now we will pair each of the following positive remainders with their unique inverses as follows: 232 64 1(mod65) 3 22 66 1(mod65) 416 64 1(mod65) 611 66 1(mod65) 7 28 196 1(mod65) 9 29 261 1(mod65) 12 27 324 1(mod65) 17 23 391 1(mod65) 19 24 456 1(mod65)
2131 651 1(mod65) .
Thus considering the product P65 modulo 65 yields
55 P65 1 23 467 891112141617 1819 21 22 23 24 27 28 293132 1(232)(3 22)(416)(611)(7 28)(9 29)(12 27)(17 23)(19 24)(2131) 81418 (1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(mod65) (since 1814 18 2016 1(mod65) ) 1(mod65) . ▲
Example 18: This next example illustrates Lemma 7 for the case when either p or q is congruent to 3 modulo 4. Let p = 5 and q = 11. Then 1 23 467 89111213141617 1819 21 22 23 24 26 27 P 55 11 22 1 23 467 8912141617 1819 21 23 24 27
Given that 11 is congruent to 3 modulo 4 we know that 1 is a quadratic residue modulo 55 and -1 is not. We can easily see from the following congruences that 1 is a quadratic residue modulo 55 12 1(mod55) and 212 441 1(mod55) . Thus we have the two positive remainders 1 and = 1 and 21 whose squares are 1(mod55). Now we will pair each of the following positive remainders with their unique inverses as follows: 2 27 54 1(mod55) 318 54 1(mod55) 414 56 1(mod55) 69 54 1(mod55) 7 8 56 1(mod55) 12 23 276 1(mod55) 1317 221 1(mod55) 16 24 384 1(mod55) 19 26 494 1(mod55)
Thus considering the product P55 modulo 55 yields
P55 1 23 467 891213141617 1819 21 23 24 26 27 1(2 27)(318)(414)(69)(7 8)(12 23)(1317)(16 24)(19 26) 21 (1)(1)(1)(1)(1)(1)(1)(1)(1)(1) 21(mod65) 21(mod65) .
Now 21 1(mod5) and 21 1(mod11) . Thus P55 (mod5) P55 (mod11) (1)(1) 1 and so exactly one of the congruences x 2 5(mod11) and x 2 11(mod5) and the other is not. It might be easiest to check the congruence x 2 11(mod5) since it reduces to
56 x 2 1(mod5) . By Lemma 3, the congruence x 2 1(mod5) is solvable since 5 1(mod4) .
Therefore, by the Law of Quadratic Reciprocity, the congruence x 2 5(mod11) is not solvable. ▲
57 6. Conclusion
The Law of Quadratic Reciprocity has been an important theme in the development of number theory. Since the time of Gauss, many other mathematicians such as Cauchy, Jacobi, and Kronecker have all devised their own proofs of the law to determine for themselves why such a deep reciprocal relationship should exist between simple congruences linking any pair of odd primes.
To date there are over 200 published proofs for the Law of Quadratic Reciprocity.
As was mentioned earlier Gauss provided several proofs himself, eight to be exact, which were all motivated by his desire to generalize the law to higher powers. The search for higher reciprocity laws eventually led to the development of a new field of mathematics known as algebraic number theory.
58 References
Beachy, John A., and William D. Blair. Abstract Algebra. Prospect Heights: Waveland Press Inc., 1996.
Bell, E. T., Men of Mathematics. New York: Simon and Schuster, 1937.
Buhler, W.K., Gauss: A Biographical Study. New York: Springer-Verlag, 1981.
Burn, R. P., A Pathway into Number Theory. New York: Cambridge University Press, 1997.
Burton, David M., Elementary Number Theory. Iowa: Wm. C. Brown Publishers, 1989.
Cohn, Harvey, A second Course in Number Theory. New York: John Wiley & Sons, Inc., 1962.
Dunham, William, Journey Through Genius. New York: Penguin Books, 1991.
Goldman, Jay R., The Queen of Mathematics: A Historically Motivated Guide to Number Theory. Wellesly: A K Peters, 1998.
Hall, Tord, Carl Friedrich Gauss. Trans. Albert Froderberg. Cambridge: MIT, 1970.
Long, Calvin T., Elementary Introduction to Number Theory. New York: D.C. Heath and Company, 1965.
Reich, Karin, Carl Friedrich Gauss. Trans. Patricia Crampton. Munich: Heinz Moos Verlag, 1977.
Rousseau, G. On the Quadratic Reciprocity Law. Journal of Australian Mathematical Society (Series A). 51 (1991) 423-425.
Schmidt, H. Drei neue Beweise des Reciprocitatssatzes in der Theorie der quadratischen Reste., Journal Reine Angew. Math. 111 (1893), 107-120.
Schumer, Peter D., Introduction to Number Theory. Boston: PWS Publishing Company, 1996.
Smith, David Eugene, A Source Book in Mathematics. New York: McGraw-Hill Book Company, Inc., 1929.
“The Law of Quadratic Reciprocity.”
http://www. Math.nott.ac.uk/personal/jec/courses/G13NUM/notes/node20.html.
59 “The Jewel of Arithmetic: Quadratic Reciprocity.”
http://www.mathpages.com/home/kmath075.htm.
60