<ph f="cmr"> </ph><ph f="cmbx">Determinations of Analogues of Gauss Sums and Other Trigonometric Sums</ph>

Matthias Beck, Bruce C. Berndt1, O-Yeat Chan, and Alexandru Zaharescu

Department of Mathematics, San Francisco State University, 1600 Holloway Ave, San Francisco, CA 94132 Department of Mathematics, University of Illinois, 1409 West Green Street, Urbana, IL 61801, USA E-mail address : beck@math.sfsu.edu E-mail address : berndt@math.uiuc.edu E-mail address : ochan@math.uiuc.edu E-mail address : zaharesc@math.uiuc.edu
DETERMINATIONS OF ANALOGUES OF GAUSS SUMS AND OTHER TRIGONOMETRIC SUMS MATTHIAS BECK, BRUCE C. BERNDT1 2 , O-YEAT CHAN3 , and ALEXANDRU ZAHARESCU
Abstract. Explicit evaluations of several classes of trigonometric sums in closed form are given.
These sums can be viewed as analogues or generalizations of Gauss sums. In a previous paper, two of the present authors considered primarily sine sums associated with primitive odd characters. In this paper, we establish two general theorems involving both sines and cosines, with more attention given to cosine sums in special cases.
2000 AMS Classification Numbers: Primary, 11L03; Secondary, 11R29, 11L10.

1 Introduction

Motivated by two trigonometric identities
sin ( 2 π / 7 ) sin 2 ( 3 π / 7 ) sin ( π / 7 ) sin 2 ( 2 π / 7 ) + sin ( 3 π / 7 ) sin 2 ( π / 7 ) = 2 7 (1.1)
and
sin 2 ( 3 π / 7 ) sin ( 2 π / 7 ) sin 2 ( 2 π / 7 ) sin ( π / 7 ) + sin 2 ( π / 7 ) sin ( 3 π / 7 ) = 0 , (1.2)
discovered by Berndt and L.–C. Zhang [4as corollaries of two theta-function identities in Ramanujan's notebooks [8, and also motivated by further identities found by Z.–G. Liu [7,pp. 107–108, Berndt and Zaharescu [3evaluated large classes of trigonometric sums in terms of class numbers of imaginary quadratic fields. As an illustration, we begin by offering one of these general theorems and one of its corollaries.
Theorem 1.1. Let χ   denote an odd, real, non-principal, primitive character of modulus k   , where k   is odd and k 7   . Let
S 1 ( k , χ , a , b ) : = 0 < n < k / 2 χ ( n ) sin a ( b π n / k ) sin a + 1 ( π n / k ) , (1.3)
where a   and b   are positive integers with a   odd, b   even, and a b a 3 < 2 k   .
Define
C a , b : = n , m , r 0 n + b m + r = ( a b a 1 ) / 2 ( 1 ) m χ ( n ) ( a m ) ( a + r r ) . (1.4)
Then
S 1 ( k , χ , a , b ) = k ( b a h ( k ) 2 C a , b ) , (1.5)
where h ( k )   denotes the class number of the imaginary quadratic field Q ( k )   .
The requirement a b a 3 < 2 k   is technical; we could dispense with this condition, but then C a , b   would have to be replaced by a more complicated sum.
Corollary 1.2. If χ   is given as above, then
0 < n < k / 2 χ ( n ) sin ( 4 π n / k ) sin 2 ( π n / k ) = k ( 4 h ( k ) 2 ) . (1.6)
The evaluation  1.1 is the special case of  1.6 when k = 7   and χ ( n )   is the Legendre symbol ( n 7 )   .
The proofs in
[3depend on contour integration and elementary properties of Gauss sums.
While sums involving powers of the sine function, odd characters, and class numbers of imaginary quadratic fields are the focus of
[3, in this paper we consider sums with both sines and cosines, and sums involving either odd or even characters. Some of our main theorems are for odd characters, and others are for even characters. Although some of our evaluations can be expressed in terms of class numbers in special cases, we do not emphasize such instances in the present paper.
Before embarking on the proofs of our general theorems, we thought it best to begin with the evaluation of a class of cosine sums associated with even characters. Thus,
in Section  2 , we alter our ideas from [3to evaluate a large class of trigonometric sums involving even characters.
In Section
 3 , we establish our main general theorems, while in the following section we apply the aforementioned results and prove two principal general theorems on sums of trigonometric functions. We also offer several corollaries.
Some of the identities found by Liu
[7are not associated with characters. In Section  5 , we evaluate a large class of trigonometric sums which includes four of Liu's identities.
We close the introduction by recording those properties of Gauss sums that are used in the sequel. Throughout this paper,
χ   denotes a non-principal, real, primitive character modulo k   , where k   is an odd positive integer at least equal to 3. Define the Gauss sum G ( z , χ )   for any complex number z   by
G ( z , χ ) : = j = 0 k 1 χ ( j ) e 2 π i j z / k . (1.7)
Then, for each integer n   , we have the factorization theorem [2,p. 9,Thm. 1.1.3
G ( n , χ ) = χ ( n ) G ( 1 , χ ) = : χ ( n ) G ( χ ) . (1.8)
In fact,  1.8 characterizes real primitive characters, i.e.,  1.8 holds if and only if χ   is real and primitive [1,p. 482,Thm. 1, [6,pp. 65–66. We need Gauss's famous evaluation [5,p. 349,Thm. 7, [2,p. 22,Thm. 1.3.4
G ( χ ) = { k , if χ is even i k , if χ is odd . (1.9)
In the sequel, R α ( f ) = R α   denotes the residue of a meromorphic function f   at a pole α   .

2 Trigonometric Sums Associated with Even Characters

At the outset, we remark that we consider less general functions in Theorem  2.1 than we did for the corresponding theorem in [3, because otherwise the computations of residues would have been more cumbersome and the results less elegant.
Theorem 2.1. Let χ   be a real, non-principal, even, primitive character of modulus k   , where k   is odd. For each nonnegative integer a   and even positive integer b   , define
S 1 ( a , b , χ ) : = 0 < n < k / 2 χ ( n ) cos a ( b π n / k ) cos 2 ( π n / k ) (2.1)
and
E ( a , b , χ ) : = 1 2 a 2 n , j , r 02 ( n + j + b r ) = a b ( 1 ) j j χ ( n ) ( a r ) , (2.2)
where the sum is over all nonnegative integers n   , j   , and r   satisfying the condition 2 ( n + j + b r ) = a b   . Also, set
g ( χ ) : = j = 1 k 1 ( 1 ) j j χ ( j ) . (2.3)
Then,
S 1 ( a , b , χ ) = k ( ( 1 ) a b / 2 g ( χ ) + E ( a , b , χ ) ) . (2.4)
We state the special case a = 1   as a separate corollary.
Corollary 2.2. Let b   be a positive even integer, and assume that χ   satisfies the conditions of Theorem  2.1 . Let
E ( b , χ ) : = 2 n , j 12 n + 2 j = b ( 1 ) j j χ ( n ) . (2.21)
Then
0 < n < k / 2 χ ( n ) cos ( b π n / k ) cos 2 ( π n / k ) = k ( ( 1 ) b / 2 g ( χ ) + E ( b , χ ) ) . (2.22)
In particular, if b = 2   , then E ( 2 , χ ) = 0   . We thus deduce the following corollary of Corollary  2.2 .
Corollary 2.3. For χ   as above,
0 < n < k / 2 χ ( n ) cos ( 2 π n / k ) cos 2 ( π n / k ) = g ( χ ) k . (2.23)
In particular, from  2.3 , we note that g ( χ )   is an integer, and so  2.23 is an analogue of Gauss's theorem  1.9 for even χ   , namely,
n = 1 k 1 χ ( n ) cos ( 2 π n / k ) = k . (2.24)
Letting k = 5   in  2.23 and noting that g ( χ ) = 4   , we find that
cos ( 2 π / 5 ) cos 2 ( π / 5 ) + cos ( π / 5 ) cos 2 ( 2 π / 5 ) = 4 5 . (2.25)
Of course, since
cos ( π 5 ) = 5 + 1 4 and cos ( 2 π 5 ) = 5 1 4 , (2.26)
 2.25 may be easily verified directly.

3 A General Theorem

If k   is an odd positive integer, let χ o ( n )   be a real, odd, non-principal, primitive character of period k   , and let χ e ( n )   be a real, even, non-principal, primitive character of period k   . Define
H o ( z ) : = G ( z ; χ o ) G ( χ o ) 1 e 2 π i z 1 ,
H e ( z ) : = G ( z ; χ e ) G ( χ e ) 1 e 2 π i z 1 .
Theorem 3.1. Let k   , χ o   , χ e   , H o   , and H e   be as above, and let f o ( z )   and f e ( z )   be meromorphic functions satisfying the following properties:
Then,
0 < n < k / 2 χ o ( n ) f o ( n ) = i k m = 0 D χ o ( m ) A m π i m = 1 M R z m o ( H o f o ) π i R 0 ( H o f o ) (3.3)
and
0 < n < k / 2 χ e ( n ) f e ( n ) = k m = 0 D χ e ( m ) B m π i m = 1 M R z m e ( H e f e ) π i R 0 ( H e f e ) . (3.4)

4 Two Theorems on Trigonometric Sums and Corollaries

We observe that for any integer b   the sine and cosine functions satisfy the following properties:
sin ( b π ( x + k ) / k ) = ( 1 ) b sin ( b π x / k ) ,
cos ( b π ( x + k ) / k ) = ( 1 ) b cos ( b π x / k ) .
Thus, we may construct odd and even functions satisfying properties (i)–(v) in Theorem  3.1 by taking appropriate products and quotients of sines and cosines. In particular, we have the following theorem.
Theorem 4.1. Let k   be an odd positive integer, and let χ e   be a real, even, non-principal, primitive character of period k   . Let L   , a   , and J   be non-negative integers with a J + 1   . Let b 1 , . . . , b L , c 1 , . . . , c L , d 1 , . . . , d J   be positive integers such that the sum E : = a + = 1 L ( b c ) + j = 1 J d j   is even, and that d 1 , . . . , d a 1   are odd. Suppose also that ( c , k ) = 1   for 1 L   , and ( c i , c j ) = 1   for each i j   . Define
g ( χ e ) = j = 1 k 1 ( 1 ) j j χ e ( j ) , (4.1)
and let P o ( n )   (resp., P e ( n )   ) denote the number of solutions in the ( 2 L + J + a )   -tuples ( ɛ 1 , . . . , ɛ L , m 1 , . . . , m L , ɛ 1 , . . . , ɛ J , m 1 , . . . , m a )   to the equation
n = ɛ 1 b 1 + + ɛ L b L + m 1 c 1 + + m L c L + ɛ 1 d 1 + + ɛ J d J + m 1 + + m a , (4.2)
where ɛ i + m i   is odd (resp., even ), and ɛ i , ɛ i { 0 , 1 } , m i , m i N { 0 }   .
Then
0 < n < k / 2 χ e ( n ) ( L = 1 sin ( b π n / k ) sin ( c π n / k ) ) ( j = 1 J cos ( d j π n / k ) cos a ( π n / k ) )
= k { 2 a J m = 0 E / 2 χ e ( m ) ( P e ( E 2 m ) P o ( E 2 m ) )
i ( M = 1 L 1 n < c M n c M / 2 ( 1 ) n c M G ( n k / c M , χ e ) = 1 L sin ( n b π / c M ) j = 1 J cos ( n d j π / c M ) ( e 2 π i n k / c M 1 ) cos a ( n π / c M ) M sin ( n c π / c M ) )
1 M L c M even ( 1 ) c M / 2 c M ( 1 ) a g ( χ e ) j = 1 a 1 ( 1 ) ( d j 1 ) / 2 d j = 1 L sin ( b π / 2 ) j = a J cos ( d j π / 2 ) M sin ( c π / 2 ) } . (4.3)
In the preceding theorem, and throughout the rest of this section, we adopt the convention that the empty products j = 1 0 a j = 1   and j = 1 1 a j = 0   .
Theorem 4.2. For each pair of odd positive integers a   and b   ,
0 < n < k / 2 χ e ( n ) cos a ( b π n / k ) cos ( π n / k ) = k F ( a , b , χ ) , (4.9)
where F ( a , b , χ ) : = 1 2 a 1 n , j , r 02 ( n + j + b r ) = a b 1 ( 1 ) j χ ( n ) ( a r ) ,   where the sum is over all nonnegative integers n   , j   , and r   satisfying the condition 2 ( n + j + b r ) = a b 1   .
We now examine some special cases of Theorem  4.2 when b = 1   .
Corollary 4.3. If a   is odd and χ   is even,
0 < n < k / 2 χ ( n ) cos a 1 ( π n / k ) = k F ( a , 1 , χ ) . (4.10)
If a = 1   , then trivially F ( 1 , 1 , χ ) = 0   , and so Corollary  4.3 reduces to
0 < n < k / 2 χ ( n ) = 0 , (4.11)
which is easy to establish directly.
If
a = 3   , observe that F ( 3 , 1 , χ ) = 1 4   . Thus, from Corollary  4.3 ,
0 < n < k / 2 χ ( n ) cos 2 ( π n / k ) = 1 4 k . (4.12)
The evaluation  4.12 is also elementary, because if one applies the double angle formula for cos ( 2 π n / k )   on the left side of  4.12 and uses both  2.24 and  4.11 ,  4.12 easily follows.
If
k = 5   in  4.12 , we deduce that cos 2 ( π / 5 ) cos 2 ( 2 π / 5 ) = 1 4 5 ,   which of course is an easy consequence of  2.26 .
If
a = 5   , Corollary  4.3 reduces to
0 < n < k / 2 χ ( n ) cos 4 ( π n / k ) = 1 16 ( 4 + χ ( 2 ) ) k . (4.13)
Using the double angle for cosine twice, along with  2.24 ,  4.11 , and  4.12 , we can verify  4.13 directly.
Corollary 4.4. Let a   , d   , and J   be nonnegative integers such that a J + 1   and E : = d J a + 12   is even. Then
0 < n < k / 2 χ e ( n ) sin ( 3 π n / k ) sin ( 5 π n / k ) sin ( 7 π n / k ) cos J ( d π n / k ) sin 3 ( π n / k ) cos a ( π n / k )
= k 2 J a G ( χ e ) m = 0 E / 2 χ e ( m ) E / 2 m 3 ɛ 1 5 ɛ 2 7 ɛ 3 d j > 0 ɛ i { 0 , 1 } , 0 j J ( 1 ) j + ɛ 1 + ɛ 2 + ɛ 3
× ( E / 2 m 3 ɛ 1 5 ɛ 2 7 ɛ 3 d j + 3 + a 3 + a ) . (4.14)
The next result is an analogue of Theorem 7.1 in [3. Technically, this theorem follows from Theorem  4.1 , but it is perhaps easier to derive the result from Theorem  3.1 .
Theorem 4.5. Let χ   be even, and suppose that b   is an even positive integer. Then
S 3 ( b , χ ) : = 0 < n < k / 2 χ ( n ) sin ( b π n / k ) cot ( π n / k ) = k H ( b , χ ) , (4.15)
where
H ( b , χ ) : = 1 2 χ ( b 2 ) + n , j 12 n + 2 j = b χ ( n ) . (4.16)
Corollary 4.6. For even χ   ,
0 < n < k / 2 χ ( n ) cos 2 ( π n / k ) = 1 4 k . (4.21)
The identity  4.21 is identical to  4.12 .
We now derive an analogue of Theorem
 4.1 for odd characters.
Theorem 4.7. Let k   be an odd positive integer, and let χ o   be a real, odd, non-principal, primitive character of period k   . Let L   , a   , and J   be non-negative integers with a J + 1   . Let b 1 , . . . , b L , c 1 , . . . , c L , d 1 , . . . , d J   denote positive integers such that the sum E : = 1 a + = 1 L ( b c ) + j = 1 J d j   is even and such that d 1 , . . . , d a 1   are odd. Suppose also that ( c , k ) = 1   for 1 L   and that ( c i , c j ) = 1   for i j   . Let P o ( n )   (resp., P e ( n )   ) denote the number of solutions in the ( 2 L + J + a + 1 )   -tuples ( ɛ 1 , . . . , ɛ L , m 0 , m 1 , . . . , m L , ɛ 1 , . . . , ɛ J , m 1 , . . . , m a )   to the equation
n = ɛ 1 b 1 + + ɛ L b L + m 0 + m 1 c 1 + + m L c L + ɛ 1 d 1 + + ɛ J d J + m 1 + + m a , (4.22)
where ɛ i + m i   is odd (resp., even ), ɛ i , ɛ i { 0 , 1 }   , and m i , m i N { 0 }   .
Then
0 < n < k / 2 χ o ( n ) ( 1 sin ( π n / k ) L = 1 sin ( b π n / k ) sin ( c π n / k ) ) ( j = 1 J cos ( d j π n / k ) cos a ( π n / k ) )
= k { 2 1 + a J m = 0 E / 2 χ o ( m ) ( P e ( E 2 m ) P o ( E 2 m ) )
M = 1 L 1 n < c M ( 1 ) n c M G ( n k / c M , χ o ) = 1 L sin ( n b π / c M ) j = 1 J cos ( n d j π / c M ) ( e 2 π i n k / c M 1 ) sin ( n π / c M ) cos a ( n π / c M ) M sin ( n c π / c M )
+ G ( k / 2 , χ o ) j = 1 a 1 ( 1 ) ( d j 1 ) / 2 d j = 1 L sin ( b π / 2 ) j = a J cos ( d j π / 2 ) 2 = 1 L sin ( c π / 2 )
j = 1 k 1 j χ o ( j ) k L = 1 b c } . (4.23)
Theorem 4.8. If b   and d   are odd positive integers,
S 4 ( b , d ) : = 4 0 < n < k / 2 χ o ( n ) sin ( b π n / k ) cos ( d π n / k ) sin 2 ( 2 π n / k )
= k ( 4 I ( b , d , χ o ) ( 1 ) ( b + d ) / 2 2 G ( k / 2 , χ o ) ) b k j = 1 k 1 j χ o ( j ) , (4.29)
where
I ( b , d , χ o ) : = m , r 0 χ o ( m ) { ( 1 ) r ( r + 1 ) ( ( ( b + d ) / 2 m r 2 ) + ( ( b d ) / 2 m r 2 ) ) .
+ ( 1 ) r + 1 ( r + 1 ) ( ( d b ) / 2 m r 2 ) } . (4.30)
Corollary 4.9. If b   is a positive odd integer,
2 0 < n < k / 2 χ o ( n ) sin ( 2 b π n / k ) sin 2 ( 2 π n / k ) = 4 k m , r 0 χ o ( m ) ( 1 ) r ( r + 1 ) ( b m r 2 )
k ( 1 ) b 2 G ( k / 2 , χ o ) b k j = 1 k 1 j χ o ( j ) . (4.33)
Theorem 4.10. If a   , b   , and d   are integers with a 0   , b 0   and even, and d   odd, then
S 5 ( a , b , d ) : = 2 0 < n < k / 2 χ o ( n ) cos a + b ( d π n / k ) sin ( 2 π n / k ) cos a ( π n / k )
= { k ( 2 2 b J ( a , b , d , χ o ) 1 k j = 1 k 1 j χ o ( j ) ) , if b > 0 , k ( 4 J ( a , 0 , d , χ o ) + ( 1 ) a ( d 1 ) / 2 2 d a G ( k / 2 , χ o ) 1 k j = 1 k 1 j χ o ( j ) ) , if b = 0 , (4.34)
where
J ( a , b , d , χ o ) : = m , r , m 0 , n 02 d n + a + 2 + 2 m + 2 r + 2 m 0 = d ( a + b ) χ o ( m ) ( 1 ) r ( a + r + 1 a + 1 ) ( a + b n ) . (4.35)
Corollary 4.11. If a 1   is even, and if b 0   is odd, then
2 0 < n < k / 2 χ o ( n ) cos a ( b π n / k ) sin ( 2 π n / k )
= k ( 2 2 a m , r , m 0 , n 02 ( b n + m + r + m 0 ) = a b χ o ( m ) ( 1 ) r ( r + 1 ) ( a n ) 1 k j = 1 k 1 j χ o ( j ) ) . (4.38)
We note that Corollary  4.11 is analogous to Theorem 5.5 of [3. The main difference is that the parameter b   in Corollary  4.11 above is odd, whereas the corresponding parameter in Theorem 5.5 of [3is even.

5 Evaluations of Trigonometric Sums Not Involving Characters

Theorem 5.1. Suppose that a   , b   , and k   are positive integers, where b > 1   and k   is odd. Then
0 < n < k / 2 sin a ( 2 π b n / k ) sin a ( 2 π n / k ) = 1 2 b a + 1 2 k S ( a , b ) , (5.1)
where
S ( a , b ) : = 2 m , n , r 02 b n + 2 m + r k = a b a ( 1 ) n ( a n ) ( a 1 + m m ) , (5.2)
where in the case r = 0   , the terms are to be multiplied by 1 2   .
Theorem  5.1 includes four identities found by Liu [7, namely, the special cases ( a , b , k ) = ( 1 , 2 , 7 ) ,   ( 1 , 3 , 7 )   , ( 7 , 2 , 7 )   , and ( 7 , 3 , 7 )   .
By a similar argument, we can also prove the following theorem.
Theorem 5.2. Suppose that a   , b   , and k   are positive integers, where b > 1   and k   is odd. Then
0 < n < k / 2 cos a ( 2 π b n / k ) cos a ( 2 π n / k ) = 1 2 + 1 2 k T ( a , b ) , (5.11)
where
T ( a , b ) : = 2 m , n , r 02 b n + 2 m + r k = a b a ( a n ) ( a 1 + m m ) , (5.12)
where in the case r = 0   , the terms are to be multiplied by 1 2   .
References

  1. T. M. Apostol, Euler's φ   -function and separable Gauss sums, Proc. Amer. Math. Soc. 24 (1970), 482–485.
  2. B. C. Berndt, R. J. Evans, and K. S. Williams, Gauss and Jacobi Sums, Wiley, New York, 1998.
  3. B. C. Berndt and A. Zaharescu, Finite trigonometric sums and class numbers, Math. Ann. 330 (2004), 551–575.
  4. B. C. Berndt and L.–C. Zhang, Ramanujan's identities for eta-functions, Math. Ann. 292 (1992), 561–573.
  5. Z. I. Borevich and I. R. Shafarevich, Number Theory, Academic Press, New York, 1966.
  6. H. Davenport, Multiplicative Number Theory, 3rd ed., Springer–Verlag, New York, 2000.
  7. Z.–G. Liu, Some Eisenstein series identities related to modular equations of the seventh order, Pacific J. Math. 209 (2003), 103–130.
  8. S. Ramanujan, Notebooks (2 volumes), Tata Institute of Fundamental Research, Bombay, 1957.

Department of Mathematics, San Francisco State University, 1600 Holloway Ave, San Francisco, CA 94132 Department of Mathematics, University of Illinois, 1409 West Green Street, Urbana, IL 61801, USA E-mail address : beck@math.sfsu.edu E-mail address : berndt@math.uiuc.edu E-mail address : ochan@math.uiuc.edu E-mail address : zaharesc@math.uiuc.edu

1 Research partially supported by grant MDA904-00-1-0015 from the National Security Agency.

2 Research partially supported by the Korea Institute for Advanced Study.

3 Research partially supported by a grant from the University of Illinois Research Board.