Quadratic reciprocity compares two apparently unrelated questions. For distinct odd primes and
, one may ask whether
is a square modulo
, and whether
is a square modulo
. The quadratic reciprocity law says that these answers agree except in one case: when both primes are
modulo
. In Legendre-symbol notation, the theorem is
The proof below is built around one object, the quadratic Gauss sum. Its strength is that it explains the origin of the sign. The Chinese remainder theorem will tell us how a Gauss sum modulo factors into Gauss sums modulo
and
. But that factorization alone does not tell us whether a sign should appear. The sign comes from somewhere else: from Poisson summation, or more precisely from the Fourier transform of a complex Gaussian.
This is the essential point of the proof. The finite arithmetic of contributes the Legendre symbols. The real Fourier transform contributes a phase, either
or
. Quadratic reciprocity says that these two kinds of phase bookkeeping fit together perfectly.
Let
We begin with the analytic fact that, for every odd positive integer ,
The rest of the proof of quadratic reciprocity will be short once this formula is available. Thus the central task is to understand why Poisson summation produces the two phases and
.
Poisson summation
At first sight, is a purely finite sum. Poisson summation enters by embedding it into a smoothed infinite sum. The formal series
does not converge, since its terms all have modulus . We therefore insert a small Gaussian damping factor and define, for
,
The parameter makes the sum rapidly convergent. We will let
tend to zero only after identifying its main term.
There are two ways to read . The first sees the finite Gauss sum
. The second applies Poisson summation and sees the Fourier transform of a complex Gaussian. Comparing these two readings evaluates
.
First, separate the integers into residue classes modulo . Write
, with
modulo
and
. Since
the oscillating factor
depends only on
. Hence
The inner sum is a shifted Gaussian lattice sum. For small , it is well approximated by the corresponding Gaussian integral. More precisely, Poisson summation for the ordinary real Gaussian gives
as , uniformly for
in a bounded set. Taking
, we obtain
This is the first important interpretation. The finite Gauss sum is the coefficient of the leading blow-up of the smoothed theta sum. The factor is geometric: it comes from the spacing
between the integers in any fixed residue class modulo
.
Now comes the decisive use of Poisson summation. Rewrite the summand as
Thus , where
For complex with positive real part, the Gaussian Fourier transform is
The square root is chosen by continuation from positive real . This choice matters: it is where the eventual eighth-root-of-unity phase enters.
Applying the formula with , Poisson summation gives
This identity is the heart of the argument. The original sum was organized by residue classes modulo ; the transformed sum is organized by Fourier frequencies
. The transition between them is precisely Poisson summation.
To understand the right-hand side as , write
Thus the -th summand contains a decaying Gaussian factor and an oscillating factor. For the frequencies that materially contribute to the sum, one has
of size about
. On this range, the summand may be replaced, up to an error negligible compared with
, by
The reason this replacement is harmless is worth noting. The difference between the exact phase coefficient and is
. After multiplication by
, the resulting phase error is only
. Summing against the Gaussian produces an error smaller than the main term.
Now the arithmetic content of the Fourier side appears. Since is odd,
for even
, and
for odd
. Therefore the phase
is
on even frequencies and
on odd frequencies. The even and odd Gaussian sums have the same leading size, each contributing
. Consequently,
This is the exact place where the distinction between and
is born. After Fourier transformation, the even and odd frequencies carry different phases. Their sum determines the value of the Gauss sum.
There is one more phase from the prefactor. As ,
Combining the preceding asymptotics yields
If , then
, and the right-hand side is
. If
, then
, and the right-hand side is
.
Poisson summation has therefore done much more than evaluate a finite sum. It has detected the real, or archimedean, phase of the quadratic form . The phase
or
is the real-place contribution that will later become the sign in quadratic reciprocity.
The Chinese remainder theorem and the factorization of
Let be an odd prime. For
, define
We need the basic identity
To see this, let be the quadratic character modulo
, extended by
. The congruence
has
solutions. Thus
The part without vanishes because
Hence
Replacing by
, we get
This is a useful conceptual step. The Legendre symbol is not added artificially at the end of the proof. It appears because the quadratic character is naturally adapted to the finite Fourier transform.
Now let be odd primes. Choose integers
satisfying
and
. The Chinese remainder theorem identifies a pair
, with
and
, with the class
Squaring this expression, the cross term is divisible by , and therefore disappears modulo
. Using the defining congruences for
and
, one finds
Summing over and
gives
By the coefficient-change formula,
Since and
, and a Legendre symbol has the same value on a unit and its inverse, this becomes
This is the finite arithmetic side of the proof. The Chinese remainder theorem almost factors the Gauss sum perfectly. The correction is exactly the product of the two Legendre symbols.
Comparison
We now evaluate the two sides using the Gauss-sum formula above. We have
Substituting and cancelling , we obtain
If at least one of is
, the quotient on the right is
. If
, then
, so
, while
. The quotient is then
. Hence
This is quadratic reciprocity.
The architecture of the proof is now visible. The Chinese remainder theorem describes how the quadratic phase behaves at the finite primes and
. Poisson summation describes the same quadratic phase at the real place. The Legendre symbols record the finite correction; the numbers
and
record the real correction. Quadratic reciprocity is the statement that these two phase computations are compatible.