Quadratic Residues and Reciprocity - Examples and Constructions
The law of quadratic reciprocity provides a systematic method for computing Legendre symbols without resorting to Euler's criterion or exhaustive search. This remarkable theorem connects the solvability of two seemingly unrelated quadratic congruences.
Let be an odd prime and . Consider the least positive residues of:
Let be the number of these residues that exceed . Then:
Gauss's Lemma provides an alternative computational method for the Legendre symbol and is instrumental in proving quadratic reciprocity.
Compute using Gauss's Lemma.
Consider modulo :
The least positive residues are . Those exceeding are , so .
Therefore: .
We can verify: .
Let be an odd positive integer with prime factorization. For any integer , the Jacobi symbol is defined as:
For , we define .
The Jacobi symbol generalizes the Legendre symbol to composite odd moduli. Unlike the Legendre symbol, does not necessarily mean is a quadratic residue modulo .
Compute .
Since :
Using the second supplement:
- , so
- , so
Therefore: .
However, is not a quadratic residue modulo . The equation has no solution because has no solution.
The Jacobi symbol inherits the multiplicativity and reciprocity properties of the Legendre symbol:
And the law of quadratic reciprocity extends: for odd positive integers .
Determine whether has a solution.
We need . By quadratic reciprocity:
So .
Therefore, is a quadratic residue modulo .
The Jacobi symbol, combined with quadratic reciprocity, provides an efficient algorithm for determining quadratic residuosity with complexity comparable to the Euclidean algorithm.