The Law of Quadratic Reciprocity
If and
and are distinct odd primes then
are distinct odd primes then
If then
then is divisible by 4. Since
is divisible by 4. Since is even, the right hand side is one and so is the left hand side therefore. On the other hand if
is even, the right hand side is one and so is the left hand side therefore. On the other hand if then
then is odd so
is odd so
We can restate the Law of Quadratic Reciprocity in the form:
If and
and are distinct odd primes then
are distinct odd primes then

We can use the Law of Quadratic Reciprocity repeatedly to find if a number is a quadratic residue For example,
For example,
 since
since

 since
since
 since 9 is a square number.
since 9 is a square number.
The Law of Quadratic Reciprocity can be use to decide if a quadratic equation has solutions.
has solutions.
 has discriminant
has discriminant


 since
since

 since
since
