Consider the quadratic Gauss sum
It’s easy to see that
which implies that
But how do we determine the sign?
There are many ways to prove the result (Poisson summation, theta series, Reciprocity by Contour integrals, Esterman evaluation etc). Here we show a linear algebra proof by Schur.
Schur’s proof:
Let be the
matrix whose
th entry is
where
is the
-th root of unity.
is the Fourier matrix. That is
The Gauss sum is the trace of and hence we compute the determinant and eigenvalues in order to evaluate the trace.
We have because
Therefore is a unitary matrix.
Because is the Fourier matrix and hence we have by Fourier inversion (or just computation) that
Thus a basis of eigenvectors for is given by
and
for the eigenvalue
and
for the eigenvalue
.
From these eigenvalues above, we can compute the determinant of to be
Therefore the determinant of has to be
We will now determine the sign of this determinant (This is where the main work is!)
The determinant of is a vandermonde determinant given by
is equal to
. Therefore
But the quantities are positive, therefore we determined the sign of the determinant and we have
Because we get that the eigenvalues of
are
If are the mutliplicities of these eigenvalues we get
because and
are the eigenvalues for
Now we already know the value of the trace up to sign, using these relations we can deduce that the sign of the Gauss sum in all the cases has to positive!