Gauss sums of quadratic forms in even rank #
Let A be a symmetric matrix indexed by a type with 2k elements. This file evaluates the Gauss
sum of the quadratic form x ↦ xᵀ A x in two settings, both in terms of the quadratic character of
the signed determinant (-1)^k det A.
Over a finite field F of odd characteristic with q elements, for det A ≠ 0 and a primitive
additive character ψ of F,
∑_x ψ(xᵀ A x) = χ((-1)^k det A) q^k,
where χ is the quadratic character of F. Group the terms by the value c = xᵀ A x. For
k > 0 the number of solutions of xᵀ A x = c is q^{2k-1} + χ((-1)^k det A) q^{k-1} ν(c), with
ν(0) = q - 1 and ν(c) = -1 otherwise
(Matrix.IsSymm.card_dotProduct_mulVec_eq_of_card_eq_two_mul_add_two), and ψ sums to zero over
F.
For an integer matrix A, an odd modulus a prime to det A, and e(t) = exp (2πi t),
∑_{x ∈ (ℤ/a)^{2k}} e(xᵀ A x / a) = ((-1)^k det A / a) a^k,
with the Jacobi symbol on the right. The sign of the classical quadratic Gauss sum never enters. The proof reduces to prime moduli in two steps.
- Coprime moduli. If
u n + v m = 1, then1 / (m n) = u / m + v / n, and the Chinese remainder theorem splits the sum modulom ninto the sums ofu Amodulomand ofv Amodulon. Sincedet (u A) = u^{2k} det A, this does not change the Jacobi symbols. - Removing a square. If
N = p² Mwithpodd and prime todet A, the sum moduloNisp^{2k}times the sum moduloM. Translatingxbyc zwithc = p Mchangesxᵀ A xby2c (A x) ⬝ᵥ z, becausec² ≡ 0 (mod N); averaging overzkills everyxwithc x ≠ 0, sincec x = 0exactly whenx ≡ 0 (mod p)and2Ais invertible modulop. The survivingxare the multiplesp wof the classesw ∈ ℤ/pM, and on theme(p² wᵀ A w / N) = e(wᵀ A w / M).
At a prime p the sum is the Gauss sum over the field ZMod p with the standard character.
Since 2 is invertible modulo an odd a, the integral quadratic form x ↦ xᵀ B x / 2 of an even
symmetric matrix B is x ↦ xᵀ A x modulo a for an integer matrix A ≡ B / 2, so the second
evaluation covers the Gauss sums of integral quadratic forms that are unimodular modulo a. These
are the sums that arise when theta series of even lattices are transformed under Γ₀(N).
Main statements #
Matrix.IsSymm.sum_addChar_dotProduct_mulVec_of_card_eq_two_mul: the Gauss sum of a nondegenerate quadratic form of even rank over a finite field of odd characteristic.Matrix.sum_stdAddChar_dotProduct_mulVec_mul: the Gauss sums modulo coprimemandnmultiply.Matrix.IsSymm.sum_stdAddChar_dotProduct_mulVec_of_eq_sq_mul: the Gauss sum modulop² Misp^{#ι}times the Gauss sum moduloM.Matrix.IsSymm.sum_stdAddChar_dotProduct_mulVec_eq_jacobiSym: the evaluation modulo an oddaprime todet A.
References #
- R. Lidl and H. Niederreiter, Finite Fields, Encyclopedia of Mathematics and its Applications 20, Cambridge University Press (1997), Chapter 6, §2.
- B. Schoeneberg, Elliptic Modular Functions, Springer (1974), Chapter IX.
Over a finite field #
The Gauss sum of a nondegenerate quadratic form of even rank over a finite field F of
odd characteristic with q elements: if A is a symmetric matrix with det A ≠ 0 indexed by a
type with 2k elements and ψ is a primitive additive character of F, then
∑_x ψ(xᵀ A x) = χ((-1)^k det A) q^k, where χ is the quadratic character of F.
Modulo an odd integer #
Removing a square from the modulus. Let A be a symmetric integer matrix, p an odd
natural number prime to det A, and N = p ^ 2 * M. With e(t) = exp (2πi t), the Gauss sum
∑_{x ∈ (ℤ/N)^ι} e(xᵀ A x / N) is p ^ #ι times the Gauss sum ∑_{y ∈ (ℤ/M)^ι} e(yᵀ A y / M).
Coprime moduli. For natural numbers m, n and integers u, v with u n + v m = 1, the
Gauss sum ∑_{x ∈ (ℤ/mn)^ι} e(xᵀ A x / (m n)), with e(t) = exp (2πi t), is the product of the
Gauss sums of u A modulo m and of v A modulo n.
The Gauss sum of a quadratic form modulo an odd integer. Let A be a symmetric integer
matrix indexed by a type with 2k elements, and a an odd modulus prime to det A. With
e(t) = exp (2πi t),
∑_{x ∈ (ℤ/a)^ι} e(xᵀ A x / a) = ((-1)^k det A / a) a^k, with the Jacobi symbol (· / a).