The Law of Quadratic Reciprocity is one of the central results of classical number theory. Gauss famously called it the “Theorema Aureum,” or Golden Theorem. It reveals a hidden symmetry between two different modular worlds. At first glance, the question “Is a square modulo
?” seems unrelated to the question “Is
a square modulo
?” Quadratic Reciprocity explains precisely how these two questions are related.
Although Gauss provided multiple proofs, Eisenstein’s geometric argument gives a particularly illuminating simplification of Gauss’s third proof: it transforms the arithmetic question into a problem about counting lattice points.
The Legendre Symbol
For an odd prime and an integer
, the Legendre symbol
is defined by
Thus records whether
is a square modulo
.
Quadratic Reciprocity
Let and
be distinct odd primes. The Law of Quadratic Reciprocity (QRL) asserts that
It states a surprising symmetry: whether is a square modulo
is closely related to whether
is a square modulo
. The formula says that the two Legendre symbols
and
usually agree. They disagree exactly when both primes are congruent to
. So the theorem may be read as follows: If at least one of
and
is congruent to
, then
But if both are congruent to
, then
The proof below follows Eisenstein’s geometric idea. The guiding principle is simple but powerful: first convert the Legendre symbol into the parity of a floor sum, then interpret that floor sum as a lattice-point count. Once this translation is made, the final step is a geometric count of points in a rectangle, divided by the line
We will recall the Euler’s Criterion, then introduce the key sums that Eisenstein uses, and finally carry out the lattice‐point counting argument. Euler’s Criterion gives a practical way to compute when
.
Euler’s Criterion. Let be an odd prime and let
be an integer with
. Then
Since both sides are , this congruence determines the Legendre symbol exactly.
The importance of Euler’s Criterion here is not computational but structural: it tells us that the sign of can be detected by understanding the power
Eisenstein’s idea is to compute this power indirectly by multiplying certain residues modulo and keeping track only of how many sign changes occur.
Eisenstein’s Key Sums
Throughout this section, set . We will introduce two sums:
The first is Eisenstein’s arithmetic sum:
This sum runs over the even integers
The second is the geometric sum:
This sum runs over the first half of the positive integers modulo :
The proof will show that these two sums have the same parity: This is important because
is the sum that naturally appears in the arithmetic argument, while
is the sum that naturally appears in the geometric argument.
Eisenstein’s Sum
Observe that the even integers range over
. For each such
, the quantity
counts the number of integer points
with
. Hence,
In other words, counts all integer lattice points
satisfying
The Geometric Sum
Here the summation index runs over all positive integers
. For each
,
counts the integer points
with
. Hence,
Geometrically, these are exactly the lattice points strictly below the line in the interior of the (half‐height) triangle with vertices
We will see that is more convenient than
when performing the final lattice‐point count.
Eisenstein’s Lemma
The first major step is to show that the arithmetic definition of can be expressed in terms of the parity of
.
Lemma 1 (Eisenstein). Let and
be distinct odd primes. Then
Proof: Let This is the set of even nonzero residues modulo
. It has
elements. For each
, let
be the least positive residue of
modulo
. Thus
The residue need not be even. To bring it back into the even set
, define
Since is odd, if
is odd, then
is even. Hence every
belongs to
. Moreover, as
runs through
, the values
run through the elements of
exactly once. Thus the map
is a permutation of
.
Now compare with
modulo
. If
is even, then
, so
If
is odd, then
, so
Therefore, in all cases,
Equivalently
Multiplying this congruence over all gives
Since the are a permutation of
,
Since neither product is divisible by
, we cancel
from both sides to obtain
By Euler’s Criterion, when
. Thus
Since is even and
is odd, the product
is even. Also
is odd. Therefore the parity of
is the same as the parity of
Since the whole left-hand side is even, the two terms on the right-hand side must have the same parity. Thus
Summing over , we obtain
But the sum on the right is precisely . Hence
Therefore, This proves the lemma. .
From to
Eisenstein’s next insight is that, modulo 2, the sum over even (namely
) is congruent to the sum over all
, i.e.
. We give a streamlined parity argument that shows
Recall
Fix a particular even line . On that vertical line, all integer lattice points have coordinates
with
. Since
is odd,
is even, so there are exactly
points on that vertical line between
and
.
- The number of points strictly below the line
is
- The number of points strictly above
(but with
) is
Since is even, it follows that
We can see that
where is an odd integer in
. Concretely, each point above the line
on the even column
corresponds to a unique point below
on the odd column
. Hence, for each
,


Comparing to
Now break the sum into two parts: one over odd
and one over even
. That is,
Observe that the sum over odd in the range
is exactly
which after reindexing matches
Hence
Since , we conclude
The Main Geometric Counting Argument
We have now re‐expressed where
We now count all integer points in the rectangle
with . Precisely, we consider

Since there are choices for
and
choices for
, the total number of such lattice points is
No such lattice point lies exactly on the line
because if
and
, then
. Since
and
are distinct primes,
, so
must divide
. But
forces
, which is impossible in our index range. Hence all lattice points in
are either strictly below
or strictly above
.
- The points strictly below
(i.e. satisfying
) are counted by
- The points strictly above
(i.e. satisfying
) are counted by
Since these two sets of points partition all lattice points in
, we have
Therefore,
This completes Eisenstein’s geometric proof of the Law of Quadratic Reciprocity.
Concluding Remarks
- The beauty of this argument lies in translating an arithmetic statement about Legendre symbols into a purely geometric enumeration problem.
- Eisenstein’s parity argument shows that summing over even
-coordinates (the original sum
) is congruent mod 2 to summing over all
. This relates the parity of the Eisenstein sum to a sum more geometric.
- The final step is a simple but elegant lattice‐point count in a rectangle, divided by a diagonal line of slope
. No point in the interior can lie exactly on the diagonal, ensuring that every point is counted either “below” or “above.”