1 Introduction
We begin with a short discussion on finite sum-product identities involving the q-binomial coefficient. We prove four such identities in Section 2, two of which are due to Gauss and are evaluations of special values of the Rogers–Szegö polynomials. The other two identities, (2.4) and (2.5), are possibly new.
In Section 3, we prove an amazing identity of Gauss (3.3) using (2.4).
In Section 4, we evaluate certain quadratic Gauss sums using identity (3.3). This proof is not new and we are essentially filling in the details of the proof given by Jenkins [Reference Jenkins6].
Next, in Section 5, we reproduce a proof of another identity on quadratic Gauss sums (5.1) which can be found in several classical textbooks. We chose to reproduce this proof and the proof of (3.3) to make this article as self-contained as possible. These two results then lead to a new proof of the quadratic reciprocity law for the Jacobi symbol.
Jenkins [Reference Jenkins6] gave a different proof of the quadratic reciprocity law for the Jacobi symbol using a formula for the Jacobi symbol. We will refer to Jenkins’ formula, which is an analogue of Gauss’ lemma, as Jenkins’ lemma. In Section 6, we give a new proof of Jenkins’ lemma using identities (3.3) and (5.1).
2 The q-binomial coefficient
Let q be a complex variable. Let $(a;q)_0=1$ and
The q-binomial coefficient is given by
The Rogers–Szegö polynomial is defined by
We note that as $q\to 1$ , $h_n(x,q)\to (1+x)^n$ . However, $h_n(x,q)$ does not seem to have representations in terms of products except for a few special cases such as the two evaluations
and
which were both discovered by Gauss.
Identities (2.1) and (2.2) were proved by Gauss [Reference Gauss3, Sections 6–9] using recurrence relations. It turns out that these identities can also be established using Euler’s identity [Reference Hardy and Wright4, Theorem 349],
where
Using (2.3), we find that
Comparing the coefficients of $x^{2n}$ ,
which is equivalent to (2.1).
Similarly, by (2.3),
Comparing the coefficients of $x^n$ ,
which is equivalent to (2.2).
There is a ‘companion’ of (2.3) [Reference Hardy and Wright4, Theorem 348] given by
Since
we find, by comparing the coefficients of $x^{2n}$ , that
Similarly, since
we find, by comparing the coefficients of $x^n$ , that
3 Cyclotomic units and an identity of Gauss
It is known that if $(t,m)=1$ , then $e^{2\pi i t/m}$ is a primitive mth root of unity. We will use $\zeta _m$ to denote any primitive mth root of unity. It is often mentioned that as $q\to 1$ ,
the usual binomial coefficient. It is, however, more interesting to note that if we let $q=\zeta _{n+1}$ , then
This observation is due to Gauss [Reference Gauss3, Section 12]. Using (3.1), Gauss deduced the following result from (2.1).
Theorem 3.1. Let n be a positive integer and $(t,2n+1)=1$ . Then,
Instead of deducing (3.3) from (2.1) as Gauss did, we will now derive (3.3) from (2.4).
Proof. Let $q=\zeta _{2n+1}$ . From (2.4) and (3.1),
Now if $\zeta _{2n+1}$ is a primitive $(2n+1)$ th root of unity, then $\zeta _{2n+1}^{2}$ is also a primitive ${(2n+1)}$ th root of unity. Therefore, we find from (3.4), after multiplying both sides by $(-1)^n$ , that
This implies that
Using the identity $1+3+\cdots +(2n-1)=n^2$ and the fact that $\zeta _{2n+1}^{-4nj-j}=\zeta _{2n+1}^{-2nj}$ , we deduce that
Observing that
since the set of least nonnegative residues of $n-j$ modulo $2n$ for $0\leq j\leq 2n$ is $\{0,1,2,\ldots , 2n\}$ , we deduce (3.2). Letting $\zeta _{2n+1}=e^{2\pi i t/(2n+1)}$ with $(t,2n+1)=1$ and rewriting the right-hand side of (3.2) using $\displaystyle \sin x ={(e^{ix}-e^{-ix})}/{2i}$ completes the proof of (3.3).
In a similar manner, from (2.2) and (3.1), we derive an analogue of (3.3), namely,
4 The quadratic Gauss sum
Definition 4.1. Let s and t be positive integers. Define
The function $g(s,t)$ is sometimes referred to as the quadratic Gauss sum (see [Reference Apostol1, page 177, Problem 16], [Reference Berndt, Evans and Williams2, page 12]). It turns out that one can evaluate $g(1,m)$ for any odd positive integer m.
Theorem 4.2. Let m be an odd positive integer. Then,
Proofs of (4.1) can be found in many books. See [Reference Apostol1, Ch. 9, Section 10] or [Reference Berndt, Evans and Williams2, Lemma 1.2.1]. We will give a proof of Theorem 4.2 using (3.3). This proof is sketched in Jenkins’ article [Reference Jenkins6].
We need the following lemma.
Lemma 4.3. Let m be an odd positive integer. Then,
Lemma 4.3 is a consequence of the identity
where we observed that $\{\zeta _m^j \mid 1\leq j\leq (m-1)\}=\{\zeta _m^{2j} \mid 1\leq j\leq (m-1)\}$ since m is an odd positive integer and $\zeta _m^2$ is also a primitive mth root of unity.
Proof of Theorem 4.2
Letting $x\to 0$ in Lemma 4.3, we deduce that
This implies that
Next, write
where we have used $\sin y=-\sin (2\pi -y)$ in the second equality. By (4.2),
which implies that
where $u_m$ is some power of i. By comparing both sides and using the fact that
we deduce immediately that if $m=8k+1$ , then
Similarly, if $m=8k+3, 8k+5$ and $8k+7$ , then $u_m=i,1$ and i, respectively. Therefore,
Substituting (4.3) into (3.3) with $t=1$ and $m=2n+1$ completes the proof of Theorem 4.2.
Trigonometric identities related to (4.3) can also be found in [Reference Nagell9, Section 51].
Corollary 4.4. Let a and b be two positive odd integers. Then,
Proof. From (4.1), we deduce that
Since
it follows that
and this completes the proof of (4.4).
Note that in (4.1), we evaluate the Gauss sum for odd positive integers. We end this section by giving an analogue of (4.1) for even positive integers, but with the corresponding Gauss sum ‘weighted’ by $(-1)^{\,j}$ . Letting $x\rightarrow -1$ in the identity
gives
Using (4.5) and (3.5), we deduce the following analogue of (4.1).
Theorem 4.5. If n is any positive integer, then
5 The Jacobi symbol and the quadratic Gauss sum
Definition 5.1. Let p be an odd prime. The Legendre symbol $\big(\frac{a}{p}\big)_L$ is defined by
Definition 5.2. The Jacobi symbol $\big(\frac{a}{b}\big)_J$ is defined for an odd positive integer b by
We will write $\big(\frac{\cdot}{b}\big)$ to represent $\big(\frac{\cdot}{b}\big)_J$ . Our aim is to prove the following theorem.
Theorem 5.3. Let m be any positive odd integer and a be an integer such that ${(a,m)=1}$ . Then,
Theorem 5.3 and its proof can be found in [Reference Berndt, Evans and Williams2, Theorem 1.5.2]. The proof uses (4.1) and an automorphism $\sigma _m$ of the cyclotomic field $\mathbf Q(\zeta _k)$ which sends $\zeta _k$ to $\zeta _k^m.$ The proof we present here follows closely the proof given in Hua’s book [Reference Hua5, Section 7.5] and Lang’s book [Reference Lang8, Ch. 4, Section 3]. We will prove two lemmas before proving Theorem 5.3.
Let a and b be two relatively prime positive integers. The Chinese remainder theorem implies that if an arithmetic function $f(\,j)$ satisfies $f(\,j+ab)=f(\,j)$ , then
Now, since for any positive integer c, the function $e^{2\pi i cj^2/ab}$ is a function of j with period $ab$ , we find that
This yields the first lemma.
Lemma 5.4. Let $a, b$ and c be positive integers with $(a,b)=1$ . Then,
Our next task is to establish the second lemma, which is a special case of Theorem 5.3.
Lemma 5.5. Let a be any integer, $\alpha $ be any positive integer and p be an odd prime with $(a,p)=1$ . Then,
Proof. For $\alpha =1$ , we observe that if $(\,j,p)=1$ , then
Note that we may then write
Now, since
and
we conclude from (5.3), (5.4) and (5.5) that
and (5.2) is true for $\alpha =1$ . We will next show that (5.2) is true for $\alpha =2$ . We will first show that
This follows from the fact that the set of integers $\{0,1,\ldots , p^{\alpha }-1\}$ can be written as $\{s+tp^{\alpha -1} \mid 0\leq s\leq p^{\alpha -1}-1, 0\leq t\leq p-1\}.$ Therefore,
If we follow the above argument with $\alpha =2$ , we conclude that $g(a,p^2)= p$ , which means that $g(a,p^2)$ is independent of a and we may write
which is (5.2) for $\alpha =2$ .
Suppose (5.2) is true for all $1\leq k<\alpha $ . Then,
We are now ready to prove Theorem 5.3.
Proof of Theorem 5.3
Let $m=p_1^{\alpha _1} p_2^{\alpha _2}\cdots p_k^{\alpha _k}.$ We prove the theorem by induction on k. Write $m=m'p_k^{\alpha _k}.$ Then, by Lemma 5.4,
We are now ready to prove the main part of the quadratic reciprocity law for the Jacobi symbol.
Theorem 5.6. Let a and b be two positive odd integers with $(a,b)=1$ . Then,
Proof. Note that by Theorem 5.3, Lemma 5.4 and Corollary 4.4,
Remark 5.7. Theorem 5.6 and all the identities for the quadratic Gauss sum leading up to (5.1) are known results that appear at different places in [Reference Hua5, Reference Lang8]. We have seen here that these topics are connected via Gauss’ amazing identity (3.3).
6 Jenkins’ lemma
The proof of Theorem 5.6 given in the previous section is inspired by Jenkins [Reference Jenkins6]. Jenkins’ proof involves (3.3), (4.1) but not (5.1). Instead, Jenkins uses a lemma analogous to a generalisation of Gauss’ lemma. We now state Jenkins’ lemma.
Definition 6.1. For positive integers N and a, let $r_N(a)$ denote the least nonnegative residue of a modulo N.
Lemma 6.2. Let m be an odd positive integer and a be any integer with $(a,m)\,{=}\,1$ . Let $S=\{2j-1 \mid 1\leq j\leq (m-1)/2\}$ . Let $T=\{r_m(a(2j-1)) \mid 1\leq j\leq (m-1)/2\}$ and $\nu (a,m)$ be the number of integers in T but not in S. Then,
We observe that $\nu (a,m)$ counts the number of even integers in T. We now give a proof of Lemma 6.2 as a corollary of (3.3) and (5.1).
Proof. From (3.3), we deduce that
where we use that the fact that a ‘minus’ sign is introduced when $r_m(a(2j-1))$ is even, which explains the appearance of $(-1)^{\nu (a,m)}$ on the right-hand side of (6.1). The proof is completed by using (5.1).
The proof of Lemma 6.2 in the case when $m=p$ is an odd prime is easier and similar to the proof of Gauss’ lemma, which states that if $S'=\{\,j \mid 1\leq j\leq (p-1)/2\}$ , $T'=\{r_p(aj) \mid 1\leq j\leq (p-1)/2\}$ and $\nu '(a,p)$ is the number of integers in $T'$ that are not in $S'$ , then
For completion, we will state this special case and give a direct proof.
Lemma 6.3. Let p be an odd prime and a be any integer with $(a,p)=1$ . Let
and $\nu (a,p)$ be the number of integers in T but not in S. Then,
Proof. Let $\nu =\nu (a,p)$ ,
and
Let $O'=\{p-e \mid e\in E\}.$ We claim that $O\cup O'=S.$ First note that all integers in O are distinct. For if $as\equiv as'\pmod {p}$ with $s,s'\in S$ , then $s=s'$ . Similarly, all integers in E are distinct. Next, suppose $o=p-e\in O\cap O'$ for some $o\in O$ and $e\in E$ . Suppose $o=as $ and $e=as'$ for some $s,s'\in S.$ Then, $as\equiv p-as'\pmod {p}$ , which implies that $s+s'\equiv 0\pmod {p}$ . This implies that $s+s'=0$ since $s,s'$ are odd positive integers less than $p-2$ . However, these are both impossible because $s+s'>0$ . Thus, $O\cup O'=S$ and therefore,
which implies that
and the proof is completed using Euler’s criterion [Reference Apostol1, Theorem 9.2].
Remark 6.4. The generalisation of Lemma 6.3 is an analogue of the Gauss–Schering lemma [Reference Schering10], which is a generalisation of Gauss’ lemma with the prime p replaced by any odd positive integer m and the Legendre symbol replaced by the Jacobi symbol. Kuroki and Katayama [Reference Kuroki and Katayama7] showed that if we replace S and $S'$ by any set $S^*$ such that $S^*\subset \{\,j \mid 1\leq j\leq (m-1)\}$ with $|S^*|=(m-1)/2$ and define $T^*=\{r_m(as) \mid s\in S^*\}$ , then
where $\nu ^*(a,m)$ is the number of integers in $T^*$ but not in $S^*$ .
Remark 6.5. We observe that (5.1) follows from Jenkins’ lemma and (6.1), namely,
In other words, if we know Jenkins’ lemma (see [Reference Jenkins6] for a proof), then we have a new proof of (5.1).
Acknowledgement
The authors would like to thank the referee for their invaluable suggestions.