The law of quadratic reciprocity compares two questions that appear unrelated: is a square modulo
, and is
a square modulo
? Here
and
are distinct odd primes. It predicts that the answers agree unless both primes are
, in which case they are opposite. Using the usual residue symbol, the assertion is
What would an inductive proof have to do? Suppose we understand pairs of smaller primes and already know whether is a square modulo the larger prime
. How can we use that knowledge to calculate the reverse test
? We therefore need to manufacture some integer smaller than
, whose residue character can be related to
. Gauss’s idea is that a square congruence itself manufactures such an integer. The argument becomes much less mysterious if we calculate with one before introducing general notation.
Take and
. The number
is a square modulo
, since
. Instead of stopping at that congruence, write the actual equality
The remainder is smaller than
. Reduce this equality modulo
. Because the left side is a square,
must be a square modulo
. Thus
We have translated the unknown residue test involving into a test involving
. And
is accessible by the induction hypothesis: interchange
and
, paying the minus sign because they are both
. Notice that the coefficient
was not chosen in advance; it appeared as the quotient
. This is the essential discovery. A square modulo the large prime produces a small remainder through ordinary integer division.
Descent
For general primes , suppose
. Choose a square root
of
modulo
, and take the even one of
and
. Thus
, and for some odd integer
we have
The size bound follows because and
. The parity of
follows because
is even while
are odd. We choose
even for a further reason: its square is divisible by
, so
This tiny congruence will supply exactly the sign in quadratic reciprocity. Thus the three features of the choice : an actual equality, a small quotient, and an even square roo, each have a separate job.
Assume for the moment that . Modulo
, the equality
says
is a nonzero square. Since the quadratic character is multiplicative,
Modulo , the same equality says
is a square. More precisely
, where for a negative odd denominator we use the prime factors of its absolute value. The induction hypothesis may now be used to reverse the smaller pair
. For an odd integer
, let
be
or
according as
or
. The reciprocity law for smaller prime factors, multiplied together, gives
Why is this the right sign? The congruence settles it without another residue calculation. When
, we have
, so
and
cannot both be
; the exponent vanishes. When
, we have
, so the exponent equals
. In both cases
This proves reciprocity whenever is a square modulo
and the remainder
is coprime to
. The calculation reveals the mechanism: one congruence moves
into the smaller numerator
, a second congruence makes the reverse symbol equal to
, and the choice of an even root determines the sign. The theorem is a consequence of two reductions of the same integer equality.
For and
, the even square root gives
. Here
shares a factor with
. Reducing modulo
gives
, not a residue test: the argument above has lost all its information. But the equation contains extra divisibility. Since
divides the right side, it divides
; dividing the equality by
gives
Now reduction modulo is informative again:
, so
. The problem was not that the descent failed, but that a common square factor in the original equality had to be removed first. Gauss’s induction requires a systematic version of precisely this repair.
There is another reason to extend the elementary computation. In the difficult case we shall multiply by an auxiliary prime; the quantity represented by a square modulo
will then be a product of two primes, rather than a single prime. So we need one descent that works with an odd squarefree integer
, possibly negative, all of whose prime factors are smaller than
.
Suppose is one of
,
, or
, with
a different odd prime smaller than
, and suppose
. Choose an even root
and write
These bounds hold because . The Jacobi symbol
for an odd, possibly composite denominator
means the product of Legendre symbols over the prime factors of
. It is only a convenient abbreviation for the separate residue tests. Put
. The squarefreeness of
forces
, so writing
,
,
turns the original equation into
The numbers are pairwise coprime. Indeed,
is squarefree and therefore coprime to
; the definition of
makes
and
coprime; and any prime dividing both
and
would, by the displayed equation, also divide
. Because
is odd and
even,
is still even. Also
. We have retained both features needed for the induction: smaller prime factors and a square divisible by
.
We now repeat the two reductions, but do so separately modulo and
. From
we obtain
Multiplying, and remembering , gives
Reduction modulo gives a third relation:
, so
. Consequently
. The preceding formula is therefore a relation between two reciprocity products:
The first factor on the left is by construction. On the right, every prime factor in the two pairs is smaller than
. We are therefore allowed to invoke the previously proved reciprocity statements, even though
or
may be composite. The only remaining question is whether their signs combine correctly.
The sign check is short when we retain its source. For odd , write
for
and
for
, including negative
. We know by induction that the right side is
, where
Because is even,
. If
, then
; substituting
and
gives
. If
, then
; substituting
and
gives
. Hence in both cases
. We have established the usable form of the descent:
The same derivation covers ,
,
, or
. Nothing has been hidden in a case distinction; the common divisor is divided out and the remaining symbols are all genuinely smaller. Notice that the source of the final sign is still the elementary fact that an even square is
.
For an example where the quotient shares both prime factors, has
. After dividing, the equality becomes
; the new remainder
is coprime to
, so the same symbol calculation applies. Thus the common-divisor problem is an issue of normalization.
Auxiliary Prime
Return to a prime . If
is a square modulo
, the preceding descent with
finishes the problem. If
is not a square and
, then
, so
. We may apply the same descent to
. Since
and
, removing the minus sign gives the desired reciprocity law for
. Thus the sign change already solves every case with
.
What remains is a very specific obstruction: and
is a nonsquare modulo
. Then
, so changing
to
does not help. To manufacture a square we would like to multiply
by another nonsquare
modulo
. Such a prime certainly exists below
— factor any nonsquare integer between
and
— but an arbitrary choice is not enough. We also need to know how to compare
and
without already assuming the theorem for this pair. The cleverer target is therefore a small prime
for which the reverse test
is known directly. Once such a prime is found, the argument is almost natural. If
were a square modulo
, the square case already proved at this same
would imply
, contradicting its selection. Thus
is a nonsquare modulo
. The product
is a square modulo
; our established descent applies to it. The only genuinely new work is to prove that the desired auxiliary prime exists without invoking reciprocity.
Assume . We want an odd prime
with
. First suppose
. Then
. At least one prime factor
of
is
or
; otherwise all factors would be
or
and their product could not be
. But
, and the elementary supplementary rule for
gives
It remains to consider . Suppose for contradiction that
is a square modulo every odd prime at most
, where
. Our aim is not to find a particular prime by inspection. Instead, we will show that so many local square roots are arithmetically impossible.
Every square root modulo an odd prime can be lifted to a root modulo
for every
. Indeed, if
, then changing
to
changes its square, modulo
, by
; since
, choose
to correct the remaining residue modulo
. For powers of
, the hypothesis
likewise supplies roots modulo
for all
(from a root modulo
, add
when necessary to obtain the needed correction at the next level). The Chinese remainder theorem therefore supplies a single integer
such that
Why introduce a factorial? Because any consecutive integers have a product divisible by
. Apply this to the integers from
to
. Grouping opposite factors gives
Replacing by
in each factor yields divisibility of
by the same factorial. Also
is coprime to the factorial: a common prime divisor would divide
and hence
, but every prime in
is below
. We can cancel
and deduce
Now comes the contradiction. We have , and all
are positive for
. Hence
A positive integer smaller than cannot be divisible by it. Thus our supposition was impossible: some odd prime
must satisfy
. For
, for example, the allegedly divisible positive product would be
, whereas
. The special feature of the factorial construction is now visible: the local assumption forces divisibility by a large integer, while the proximity of
to the square
forces the resulting product to be smaller than that integer.
Finishing Induction
Fix , and assume reciprocity for all pairs of odd primes smaller than
. First prove it at this
for every
that is a square modulo
, using the descent above. The treatment of
then handles every remaining
when
. Finally suppose
and
. The auxiliary-prime argument gives
with
; by the already-established square case,
as well. If
we are finished. Otherwise
, and the descent for
gives
We now know that , so their product is
. Divide the displayed equality into the two factors corresponding to
and
. The latter factor is
; hence
Thus all pairs with largest prime are settled, and the induction advances to the next prime. The apparent circularity disappears because the proof at fixed
is carefully ordered: first solve the square cases, then use those cases to recognize an auxiliary nonsquare, then make a product that is a square.
Consider and
. Neither
nor
is a square modulo
, but
is immediately known. We may choose
. Their product is a square modulo
, and the corresponding integer equality is
There is no common factor here. Reduction modulo gives
, and reduction modulo
says
is a square. The induction therefore yields equality of the two residue tests for
and
. Since
is a nonsquare modulo
and
is a nonsquare modulo
, its two negative signs cancel, leaving equality for
and
. Directly,
and
. The auxiliary prime has not solved the original problem by itself; it has produced the square congruence needed to run the already understood descent.
This is the organizing idea of the first proof of Gauss. To compare two residue tests, arrange one square equation with the two primes in it. Read the equation modulo its smaller factors. If those factors collide, divide them out. If the desired square does not exist, change the number being tested by a smaller prime whose character is already controlled. Every move is motivated by the same goal: replace a question involving the largest prime by questions involving smaller prime factors, without losing the sign.