Quadratic reciprocity is one of many deep facts of arithmetic relating different local properties (modulo primes). In this post I try to explain it in terms I understand.
I always wanted to write about it, but have been postponing.
Theorem: Let be two odd primes.
We have
Here denotes the Legendre symbol which detects whether is a square modulo or not.
Thus we have a fact relating two local phenomenon. The nature of and .
There are several proofs of the result. This is supposed to be the result with largest number of known proofs!,
But many of the proofs are combinatorial and can look unmotivated. Here I discuss a proof which shows the depth of the relation by really asking what the equation means.
We are looking for the behaviour of the polynomial . So we should expect some Galois theory here to understand the polynomial, structure of the field extensions and so Galois group come into the picture.
Since we are working mod , we are concerned with the group which is the Galois group of . It has a subgroup of index 2 which corresponds to the squares of .
By Galois correspondence , it corresponds to an extension of degree over . Thus for some .
We can actually determine explicitly in terms of . The only subgroup of of index two is the the subgroup of squares. To see this note that . is cyclic of order and has exactly one subgroup of order for all .
Hence there is only one required quadratic extension of . We will now explicitly determine a such that the field required is .
We see that the discriminant of the polynomial is . It can be easily checked that that it where is the automorphism corresponding to .
Therefore is one such required candidate. Let us take be the squarefree part of . Therefore .
So far we found a quadratic field contained in which is the fixed field for squares in the Galois group . This you should think of as giving a way to look at the equation . Although we started with the cyclotomic field and obtained this as subfield, we really need to think of the above argument as allowing us to write the field in terms of roots of unity and giving a formula for in term of roots of unity (We will give an explicit formula in terms of Gauss sums later)
So far didn’t come into the picture! It enters now.
Now let us see what the action of the Frobenius is. We look at this because this is how the element interacts with the present structure.
We use the fact that ,the Frobenius at satisfies where is the ring of integers of .
is an algebraic integer. So we look at how the Frobenius acts on it.
We have .
Now if is square , is in and we have , else
. Thus we have
We will now show that and by the above we get the desired equality .
This is easy to see because where takes the values 1 or -1 and is a homomorphism. Thus as there is only one subgroup of index 2 in
Thus we are done! We had a way to write the quantity in terms of the the roots of unity . Next Frobenius allows us to study relate the splitting of to . But the fact that has an expression in terms of means that the is determined by . The fact that it is in the fixed field of squares show that it just depends on
An explicit expression for in terms of roots of unity is the following Gauss sum computation.
We will show by computing in two different ways, where
We have that . So we have . So we see that
But by using expansion of the Gauss sums, taking the products and summing over , we have
.
Thus we proved
The above computations should be looked as Fourier analysis over the finite abelian group and .
We would need much more work to determine the “Sign of Gauss Sum”. Here we need to use the analytic structure of to differentiate between the square-roots.
To summarize all we needed to do was use the subgroup of squares of to check if belongs to it. This obviously captures . To relate to the other side , we use Galois correspondence to find out the field corresponding to and consider the action of on the field.