Quadratic Gauss sum

In number theory, quadratic Gauss sums are certain finite sums of roots of unity. A quadratic Gauss sum can be interpreted as a linear combination of the values of the complex exponential function with coefficients given by a quadratic character; for a general character, one obtains a more general Gauss sum. These objects are named after Carl Friedrich Gauss, who studied them extensively and applied them to quadratic, cubic, and biquadratic reciprocity laws.

Definition

For an odd prime number p and an integer a, the quadratic Gauss sum g(a; p) is defined as

g(a;p)=∑n=0p−1ζpan2,

where ζp is a primitive pth root of unity, for example ζp=exp⁡(2πi/p). Equivalently, we can write this using the Legendre symbol as

g(a;p)=∑n=0p−1(1+(np))ζpan.

For a divisible by p, and we have ζpan2=1 and thus

g(a;p)=p.

For a not divisible by p, we have ∑n=0p−1ζpan=0, implying that

g(a;p)=∑n=0p−1(np)ζpan=G(a,(⋅p)),

where

G(a,χ)=∑n=0p−1χ(n)ζpan

is the Gauss sum defined for any character χ modulo p.

Properties

g(a;p)=(ap)g(1;p).
g(1;p)=∑n=0p−1e2πin2p={(1+i)pif p≡0(mod4),pif p≡1(mod4),0if p≡2(mod4),ipif p≡3(mod4).
Remark

In fact, the identity

g(1;p)2=(−1p)p

was easy to prove and led to one of Gauss's proofs of quadratic reciprocity. However, the determination of the sign of the Gauss sum turned out to be considerably more difficult: Gauss could only establish it after several years' work. Later, Dirichlet, Kronecker, Schur and other mathematicians found different proofs.

Generalized quadratic Gauss sums

Let a, b, c be natural numbers. The generalized quadratic Gauss sum G(a, b, c) is defined by

G(a,b,c)=∑n=0c−1e2πian2+bnc.

The classical quadratic Gauss sum is the sum g(a, p) = G(a, 0, p).

Properties
G(a,b,cd)=G(ac,b,d)G(ad,b,c).
This is a direct consequence of the Chinese remainder theorem.
G(a,b,c)=gcd⁡(a,c)⋅G(agcd⁡(a,c),bgcd⁡(a,c),cgcd⁡(a,c)).
Thus in the evaluation of quadratic Gauss sums one may always assume gcd(a, c) = 1.
∑n=0|c|−1eπian2+bnc=|ca|12eπi|ac|−b24ac∑n=0|a|−1e−πicn2+bna.
εm={1if m≡1(mod4)iif m≡3(mod4)
for every odd integer m. The values of Gauss sums with b = 0 and gcd(a, c) = 1 are explicitly given by
G(a,c)=G(a,0,c)={0if c≡2(mod4)εcc(ac)if c≡1(mod2)(1+i)εa−1c(ca)if c≡0(mod4).
Here (⁠a/c⁠) is the Jacobi symbol. This is the famous formula of Carl Friedrich Gauss.
G(a,b,c)=εcc⋅(ac)e−2πiψ(a)b2c,
where ψ(a) is some number with 4ψ(a)a ≡ 1 (mod c). As another example, if 4 divides c and b is odd and as always gcd(a, c) = 1 then G(a, b, c) = 0. This can, for example, be proved as follows: because of the multiplicative property of Gauss sums we only have to show that G(a, b, 2m) = 0 if m > 1 and a, b are odd with gcd(a, c) = 1. If b is odd then an2 + bn is even for all 0 ≤ n < 2m − 1. For every q, the equation an2 + bn + q = 0 has at most two solutions in ℤ/2mℤ. Indeed, if n1 and n2 are two solutions of same parity, then (n1−n2)(a(n1+n2)+b)=α2m for some integer α, but (a(n1+n2)+b) is odd, hence n1≡n2(mod2m). [clarification needed] Because of a counting argument an2 + bn runs through all even residue classes modulo c exactly two times. The geometric sum formula then shows that G(a, b, 2m) = 0.
G(a,0,c)=∑n=0c−1(nc)e2πianc.
If c is not squarefree then the right side vanishes while the left side does not. Often the right sum is also called a quadratic Gauss sum.
G(n,pk)=p⋅G(n,pk−2)
holds for k ≥ 2 and an odd prime number p, and for k ≥ 4 and p = 2.

See also