Next Article in Journal
A Novel Iterative Algorithm Applied to Totally Asymptotically Nonexpansive Mappings in CAT(0) Spaces
Previous Article in Journal
Fractional Fokker-Planck Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Few Finite Trigonometric Sums

1
Institute of Physics, Sachivalaya Marg, Bhubaneswar 751005, India
2
Homi Bhabha National Institute, Training School Complex, Anushakti Nagar, Mumbai 400085, India
*
Author to whom correspondence should be addressed.
Mathematics 2017, 5(1), 13; https://doi.org/10.3390/math5010013
Submission received: 30 November 2016 / Revised: 3 February 2017 / Accepted: 13 February 2017 / Published: 18 February 2017

Abstract

:
Finite trigonometric sums occur in various branches of physics, mathematics, and their applications. These sums may contain various powers of one or more trigonometric functions. Sums with one trigonometric function are known; however, sums with products of trigonometric functions can become complicated, and may not have a simple expression in a number of cases. Some of these sums have interesting properties, and can have amazingly simple values. However, only some of them are available in the literature. We obtain a number of such sums using the method of residues.

1. Introduction

There is a venerable tradition of computing finite sums of products of trigonometric functions in the literature [1,2]. Such sums occur while addressing many different problems in physics, mathematics, or their applications. Sums such as [1]:
j = 1 d 1 sin 2 π m j d cot π j d = d 2 m
where d and m are positive integers such that m < d , have been known for a long time. However, if a small variation of the arguments of these functions is made, like arguments are affine functions, then these sums no longer remain easy to compute and are not available in various standard handbooks of mathematics [3], including those that specialize in series sum [4,5,6]. As an example, we may wish to compute:
j = 1 d 1 sin 2 π m j d + a cot π j d + π b
There exist useful sum and difference formulas for sines and cosines that can be used, but such formulas do not exist for other trigonometric functions. In such cases, there is a need to compute sums separately. For example, the above sum can be computed for b = 0 by using existing results in the handbooks, but for b 0 , the sum is nontrivial. In this paper, our focus is on such sums.
We have encountered such a sum in analyzing a Bell-type inequality for a system of two finite-dimensional subsystems. We were computing Bell-Son-Lee-Kim (Bell-SLK) function for the general state of a bipartite quantum system. We encountered the following sum [7]:
α = 0 d 1 cos 2 π m d ( α + 1 4 ) cot π d ( α + 1 4 )
where m and d are integers satisfying 0 < m < d . We can use the cosine sum rule, but there is no such rule for cotangent. So, we cannot compute it using results given in standard handbooks. This sum can be computed using a corollary, given below. Interestingly, this complicated-looking sum has the value d, which is remarkably simple, and is independent of m. Independence of m is intriguing, and may have deeper mathematical meaning. Finite trigonometric sums have also appeared in the study of chiral Potts model [8], theory of Dirac operators [9], Dedekind sums [10], theory of determinants and permanents [11,12], and many other places.
There are many techniques for computing these sums; e.g., use of generating functions, Fourier analysis, method of residues, etc. Sometimes, the same sum can be obtained by different methods, giving different-looking results. Chu and Marini [13] have used generating functions extensively to compute trigonometric sums. Berndt and Yeap [14] have used the method of residues. In this work, we will employ the method of residues [14,15]. We will start with a function with suitable singularity structure. The function and contour will be chosen in such a way that integration of the function over the contour gives the desired series and its sum. So, the main trick is to find suitable functions and compute residues at poles.
In the next section, we have computed a few sums involving the product of two different trigonometric functions. In Section 3, we generalize the results to the sums of the product of more than two trigonometric functions. In Section 4, we conclude.

2. Products of Two Trigonometric Functions

In this section, we will compute the finite sums involving the product of sine with powers of cotangent/cosecants and cosine with powers of cotangent/cosecants. As a byproduct, we will also get a result involving tangent instead of cotangent. In computing these sums, we will use the expansion:
1 t e z 1 = ν = 0 A ν ( t ) ν ! z ν
where A ν ( t ) is a function of t and t 1 . The functions A ν ( t ) can be written in terms of the so-called “Apostol–Bernoulli numbers” B ν ( 0 , t ) [16]. In fact:
A ν ( t ) = B ν + 1 ( 0 , t ) ν + 1
The first few terms are A 0 ( t ) = 1 t 1 , A 1 ( t ) = t ( t 1 ) 2 , A 2 ( t ) = t + t 2 ( t 1 ) 3 , and A 3 ( t ) = ( t + 4 t 2 + t 3 ) ( t 1 ) 4 . We will also need to expand cotangent in a power series:
cot ( π w ) = j = 0 C j π 2 j 1 w 2 j 1
where w satisfies 0 < | w | < π , and:
C j = ( 1 ) j 2 2 j B 2 j ( 2 j ) !
where B j are the well-known “Bernoulli Numbers”. The first few C j are C 0 = 1 , C 1 = 1 3 , C 2 = 1 45 , and C 3 = 2 945 . In our case, we need the expansion:
cot ( π z + π b ) = j = 0 C j π 2 j 1 ( z 1 + b ) 2 j 1
with the condition 0 < | z 1 + b | < π . Let us start with the following theorem.
Theorem 1.
If m , n , and d denote positive integers with m < d and b Z / d , then:
e n ( d , m ) = j = 0 d 1 cos 2 π m j d cot n π j d + π b = i μ + ν + 1 2 μ + ν m μ μ ! d ν + 1 ν ! t 1 A ν ( t 2 ) ( 1 ) μ + ν t 1 A ν ( t 2 ) D ( j 1 , j 2 , , j n )
Here, the sum is over all nonnegative integers j 1 ,…, j n , μ, and ν such that 2 j 1 + + 2 j n + μ + ν = n 1 . We also have t 1 = e 2 π i m b , t 2 = e 2 π i d b , t 1 = e 2 π i m b , and t 2 = e 2 π i d b ; here, b Z / d so that the trigonometric sum is well-defined.
Furthermore:
D ( j 1 , j 2 , , j n ) = r = 1 n C j r
Proof. 
We choose contour C R as a positively-oriented indented rectangle with vertices at ± i R and 1 ± i R . The contour has two semicircular indentations of radius ϵ ( R > ϵ ) to the left of both 0 and 1 [14]. Let us take the complex function as:
f ( z ) = e 2 π i m z cot n ( π z + π b ) e 2 π i d z 1 e 2 π i m z cot n ( π z + π b ) e 2 π i d z 1
and consider 1 2 π i C f ( z ) d z . Since f ( z ) has period 1, the integrals along the indented vertical sides of C R cancel. Since we have taken m < d , f ( z ) tends to zero uniformly for 0 x 1 as | y | . Hence, 1 2 π i C f ( z ) d z = 0 . We can now calculate the contour integral using Cauchy’s residue theorem. The function f ( z ) has poles at a number of points. To start with, f ( z ) has a simple pole at z = 0 , with residue:
Res ( f , 0 ) = 1 π i d cot n ( b π )
The function f ( z ) also has simple poles at z = j d , with 1 j d 1 . The corresponding residues at these points are:
Res f , j d = 1 π i d cos 2 π m j d cot n π j d + π b
In addition, the function f ( z ) has a pole of order n at z = b + 1 . Using Equations (4) and (8), we can write:
f ( z ) = t 1 μ = 0 ( 2 π i m ) μ μ ! ( z + b 1 ) μ j = 0 C j π 2 j 1 ( z 1 + b ) 2 j 1 n ν = 0 ( 2 π i d ) ν ν ! A ν ( t 2 ) ( z + b 1 ) ν t 1 μ = 0 ( 2 π i m ) μ μ ! ( z + b 1 ) μ j = 0 C j π 2 j 1 ( z 1 + b ) 2 j 1 n ν = 0 ( 2 π i d ) ν ν ! A ν ( t 2 ) ( z + b 1 ) ν
Then, after few steps of straightforward calculation, one can show that:
Res ( f , b + 1 ) = i μ + ν 2 μ + ν m μ μ ! d ν ν ! t 1 π A ν ( t 2 ) ( 1 ) μ + ν t 1 π A ν ( t 2 ) D ( j 1 , j 2 , , j n )
Here, the sum is over all nonnegative integers j 1 ,…, j n , μ, and ν such that 2 j 1 + + 2 j n + μ + ν = n 1 . Using (12), (13), (15), and applying residue theorem, we can obtain the sum (9). ☐
Corollary 1.
Let m and d be positive integers such that m < d and b Z / d . Then:
e 1 ( d , m ) = d cos [ ( 2 m d ) b π ] cosec ( b d π )
Proof. 
Put n = 1 in Theorem 1. Using the values A 0 ( t ) and C 0 , one can easily see this. ☐
We will now consider sums involving sine and cotangents. We will need to modify our functions suitably.
Theorem 2.
Let m,n, and d denote positive integers with m < d and b Z / d . Then:
g n ( d , m ) = i μ + ν 2 μ + ν m μ μ ! d ν + 1 ν ! t 1 A ν ( t 2 ) + ( 1 ) μ + ν t 1 A ν ( t 2 ) D ( j 1 , j 2 , , j n )
We have already defined all the terms and conditions in Theorem 1. Here:
g n ( d , m ) = j = 1 d 1 sin 2 π m j d cot n π j d + π b
Proof. 
Our contour will be the same as in Theorem 1. Let us take the complex function as:
f ( z ) = e 2 π i m z cot n ( π z + π b ) e 2 π i d z 1 + e 2 π i m z cot n ( π z + π b ) e 2 π i d z 1
and consider 1 2 π i C f ( z ) d z . As before, C f ( z ) d z = 0 . The pole structure of this function is the same as in Theorem 1. However, this time residue is zero at z = 0 , so we take the sum from j = 1 . Since sin x vanishes at x = 0 , we can take the sum from j = 0 . The function f ( z ) has simple poles at z = j d , with 1 j d 1 . The corresponding residues at these points are:
Res f , j d = 1 π d sin 2 π m j d cot n π j d + π b
The function f ( z ) also has a pole of order n at z = b + 1 . Using (4) and (8) (as in the case of the last theorem), after a few steps of straight forward calculation, we can obtain:
Res ( f , b + 1 ) = i μ + ν 2 μ + ν m μ μ ! d ν ν ! t 1 π A ν ( t 2 ) + ( 1 ) μ + ν t 1 π A ν ( t 2 ) D ( j 1 , j 2 , , j n )
Using (20) and (21), and applying residue theorem, we can easily obtain (17). ☐
Corollary 2.
Let m and d be positive integers such that m < d and b Z / d . Then:
g 1 ( d , m ) = d sin [ ( 2 m d ) b π ] cosec ( b d π )
Proof. 
Put n = 1 in Theorem 2. Using the values A 0 ( t ) and C 0 , we can obtain this. ☐
We will now consider sums involving sine and cosecants. We will do this for even and odd powers of cosecants separately.
Theorem 3.
Let m, n, and d denote positive integers with m < d and b Z / d . Then:
h n ( d , m ) = i μ + ν 2 μ + ν m μ μ ! d ν + 1 ν ! t 1 A ν ( t 2 ) + ( 1 ) μ + ν t 1 A ν ( t 2 ) F ( j 1 , j 2 , , j 2 n )
where the sum is over all nonnegative integers j 1 ,…, j 2 n , μ, and ν such that 2 j 1 + + 2 j 2 n + μ + ν = 2 n 1 and μ + ν must be odd. All other terms have already been defined in Theorem 1, except for F ( j 1 , j 2 , , j 2 n ) . Here:
h n ( d , m ) = j = 1 d 1 sin 2 π m j d cosec 2 n π j d + π b
The function F ( j 1 , j 2 , , j 2 n ) is defined using the expansion:
cosec ( π z + π b ) = cosec ( π z + π b π ) = j = 0 G j π 2 j 1 ( z 1 + b ) 2 j 1
with 0 < | z 1 + b | < π . Here:
G j = ( 1 ) j 2 ( 2 2 j 1 1 ) B 2 j ( 2 j ) !
where B j is Bernoulli number. The first few G j are G 0 = 1 , G 1 = 1 6 , G 2 = 7 360 , and G 3 = 31 15120 . Then:
F ( j 1 , j 2 , , j 2 n ) = r = 1 2 n G j r
Proof. 
Let us take the complex function as:
f ( z ) = e 2 π i m z cosec 2 n ( π z + π b ) e 2 π i d z 1 + e 2 π i m z cosec 2 n ( π z + π b ) e 2 π i d z 1
We can use the same contour and follow the same procedure as in Theorems 1 and 2. The function f ( z ) has simple poles at z = j d , with 1 j d 1 with residues:
Res f , j d = 1 π d sin 2 π m j d cosec 2 n π j d + π b
The function f ( z ) also has a pole of order 2 n at z = b + 1 . Using (4) and (25), we can write:
f ( z ) = t 1 μ = 0 ( 2 π i m ) μ μ ! ( z + b 1 ) μ j = 0 B j π 2 j 1 ( z 1 + b ) 2 j 1 2 n ν = 0 ( 2 π i d ) ν ν ! A ν ( t 2 ) ( z + b 1 ) ν + t 1 μ = 0 ( 2 π i m ) μ μ ! ( z + b 1 ) μ j = 0 B j π 2 j 1 ( z 1 + b ) 2 j 1 2 n ν = 0 ( 2 π i d ) ν ν ! A ν ( t 2 ) ( z + b 1 ) ν
After a few steps of straightforward calculation, one obtains:
Res ( f , b + 1 ) = i μ + ν 2 μ + ν m μ μ ! d ν ν ! t 1 π A ν ( t 2 ) + ( 1 ) μ + ν t 1 π A ν ( t 2 ) F ( j 1 , j 2 , , j n )
Using (29), (31), and applying residue theorem, we can easily obtain (23). ☐
Corollary 3.
Let m and d be positive integers, such that m < d and b Z / d . Then:
h 1 ( d , m ) = d cosec 2 ( b 1 ) d π m sin 2 ( b 1 ) ( d m ) π ( d m ) sin 2 ( b 1 ) m π
Proof. 
Put n = 1 in Theorem 3. Using the values A 0 ( t ) , A 1 ( t ) and B 0 , one can show this. ☐
We will next consider a sum involving cosine and even powers of the cosecant. We will only have to change the function slightly.
Theorem 4.
Let m, n, and d denote positive integers with m < d and b Z / d . Then:
k n ( d , m ) = i μ + ν + 1 2 μ + ν m μ μ ! d ν + 1 ν ! t 1 A ν ( t 2 ) ( 1 ) μ + ν t 1 A ν ( t 2 ) F ( j 1 , j 2 , , j 2 n )
where the sum is over all nonnegative integers j 1 ,…, j 2 n , μ, and ν such that 2 j 1 + + 2 j 2 n + μ + ν = 2 n 1 and μ + ν + 1 must be even. Here:
k n ( d , m ) = j = 0 d 1 cos 2 π m j d cosec 2 n π j d + π b
Proof. 
Let us take the complex function as:
f ( z ) = e 2 π i m z cosec 2 n ( π z + π b ) e 2 π i d z 1 e 2 π i m z cosec 2 n ( π z + π b ) e 2 π i d z 1
Then, applying the same procedure as in Theorem 3, we can obtain (33). ☐
Corollary 4.
Let m and d be positive integers such that m < d and b Z / d . Then:
k 1 ( d , m ) = d cosec 2 ( b 1 ) d π m cos 2 ( b 1 ) ( d m ) π + ( d m ) cos 2 ( b 1 ) m π
Proof. 
Put n = 1 in Theorem 4. Using the values A 0 ( t ) , A 1 ( t ) , and B 0 , this result can be obtained. ☐
Let us now consider odd powers of cosecants. In this case, to keep the periodicity of the function f ( z ) , we shall have to use the argument of sine as π m j d , instead of 2 π m j d as earlier.
Theorem 5.
If m is an odd positive integer, and n and d are positive integers with m < d , then:
l n ( d , m ) = i μ + ν 2 ν m μ μ ! d ν + 1 ν ! p 1 A ν ( p 2 ) + ( 1 ) μ + ν p 1 A ν ( p 2 ) F ( j 1 , j 2 , , j 2 n 1 )
where the sum is over all nonnegative integers j 1 ,…, j 2 n 1 , μ, and ν such that 2 j 1 + + 2 j 2 n 1 + μ + ν = 2 n 2 , and μ + ν must be even. Here, p 1 = e π i m ( b 1 ) , p 2 = e 2 π i d b , p 1 = e π i m ( b 1 ) , and p 2 = e 2 π i d b ; b Z / d such that the trigonometric sum is well-defined:
l n ( d , m ) = j = 1 d 1 sin π m j d cosec 2 n 1 π j d + π b
Proof. 
Let us take the complex function as:
f ( z ) = e π i m z cosec 2 n 1 ( π z + π b ) e 2 π i d z 1 + e π i m z cosec 2 n 1 ( π z + π b ) e 2 π i d z 1
Proceeding in the same way as before, we can obtain (37). ☐
Corollary 5.
If m is an odd positive integer, and n and d are positive integers with m < d and b Z / d , then:
l 1 ( d , m ) = d sin ( m d ) b π cosec ( π d b )
Proof. 
By putting n = 1 in Theorem 5 and taking the values of A 0 ( p ) and B 0 , one can easily see this. ☐
Again as before, in the above sum, sine can be replaced with cosine by modifying f ( z ) slightly.
Theorem 6.
If m is an positive odd integer, and n and d are positive integers with m < d and b Z / d , then:
q n ( d , m ) = i μ + ν + 1 2 ν m μ μ ! d ν + 1 ν ! p 1 A ν ( p 2 ) ( 1 ) μ + ν p 1 A ν ( p 2 ) F ( j 1 , j 2 , , j 2 n 1 )
where the sum is over all nonnegative integers j 1 ,…, j 2 n 1 , μ, and ν such that 2 j 1 + + 2 j 2 n 1 + μ + ν = 2 n 2 and μ + ν must be even. Here:
q n ( d , m ) = j = 0 d 1 cos π m j d cosec 2 n 1 π j d + π b
Proof. 
Let us take the complex function as:
f ( z ) = e π i m z cosec 2 n 1 ( π z + π b ) e 2 π i d z 1 e π i m z cosec 2 n 1 ( π z + π b ) e 2 π i d z 1
Proceeding in the same way as before, we can obtain (41). ☐
Corollary 6.
If m is an odd positive integer, and n and d are positive integers with m < d and b Z / d , then:
q 1 ( d , m ) = d cos ( m d ) b π cosec ( π d b )
Proof. 
By putting n = 1 in Theorem 6 and taking the values of A 0 ( p ) and B 0 , we can easily obtain this. ☐
If we take tangent instead of cotangent in the sum of Corollary 1, then we will get:
j = 0 d 1 cos 2 π m j d tan π j d + π b = ( 1 ) m + 1 d cos [ ( 2 m d ) b π ] cosec ( b d π ) ; if d = even ( 1 ) m d d sin [ ( 2 m d ) b π ] sec ( b d π ) ; if d = odd
Similarly, if we take tangent instead of cotangent in the sum of Corollary 2, then:
j = 1 d 1 sin 2 π m j d tan π j d + π b = ( 1 ) m d sin [ ( 2 m d ) b π ] cosec ( b d π ) ; if d = even ( 1 ) m d d cos [ ( 2 m d ) b π ] sec ( b d π ) ; if d = odd
For even d, the sums in (45) and (46) are not defined when b Z / d , and for odd d, the sums are not defined when b O / 2 d , where O is the set of odd integers.
Many more sums of the product of two trigonometric functions can be obtained with the same contour, with a change of function. As an example, if we slightly change the arguments of the exponentials of the complex functions f ( z ) , we can get a different kind of sums. To illustrate this, we can take the factor of 4 instead of 2 in the exponentials of the function f ( z ) in Theorems 1 and 2. Following the same procedure as used there, we get:
j = 0 2 d 1 cos 2 π m j d cot π j 2 d + π b = 2 d cos [ ( 2 m d ) 2 b π ] cosec ( 2 b d π )
and:
j = 1 2 d 1 sin 2 π m j d cot π j 2 d + π b = 2 d sin [ ( 2 m d ) 2 b π ] cosec ( 2 b d π )
respectively, and b Z / 2 d such that the sum is well defined.
These are just a sample of sums that one can obtain with the contour described in Theorem 1, but choosing a variety of integrands.

3. Products of More than Two Trigonometric Functions

We shall now consider a few sums involving the products of three trigonometric functions. We shall consider only those functions for which integral along the two sides of the contour cancel each other. Let us consider the following function:
f ( z ) = e 2 π i m z e 2 π i d z 1 e 2 π i m z e 2 π i d z 1 cosec ( π z + π b 1 ) cos ( π z + π b 2 )
Using the same contour and the same procedure as in Theorems 1 and 2, we get:
j = 0 d 1 cos 2 π m j d cosec π j d + π b 1 cos π j d + π b 2 = d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) cos [ π + ( b 2 b 1 ) π ]
In the same way, by replacing the last term by sine in (49), we get:
j = 0 d 1 cos 2 π m j d cosec π j d + π b 1 sin π j d + π b 2 = d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sin [ π + ( b 2 b 1 ) π ]
Of course, this sum (as before) is valid when b 1 Z / d such that the trigonometric sum is well defined. By replacing the cosecant in (49) by secant, we get following two sums:
j = 0 d 1 cos 2 π m j d sec π j d + π b 1 cos π j d + π b 2 = ( 1 ) m + 1 d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) cos [ π 2 + ( b 2 b 1 ) π ] ; if d = even ( 1 ) m d d sin [ ( 2 m d ) b 1 π ] sec ( b 1 d π ) cos [ π 2 + ( b 2 b 1 ) π ] ; if d = odd
and:
j = 0 d 1 cos 2 π m j d sec π j d + π b 1 sin π j d + π b 2 = ( 1 ) m + 1 d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sin [ π 2 + ( b 2 b 1 ) π ] ; if d = even ( 1 ) m d d sin [ ( 2 m d ) b 1 π ] sec ( b 1 d π ) sin [ π 2 + ( b 2 b 1 ) π ] ; if d = odd
For even d, the sums are well defined if b 1 Z / d , and for odd d the condition on b 1 is b 1 O / 2 d .
In function (49), if we replace the minus sign between two exponentials with a plus sign, we will find:
j = 1 d 1 sin 2 π m j d cosec π j d + π b 1 cos π j d + π b 2 = d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) cos [ π + ( b 2 b 1 ) π ]
Similarly, replacing the last cosine term by sine, we get:
j = 1 d 1 sin 2 π m j d cosec π j d + π b 1 sin π j d + π b 2 = d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sin [ π + ( b 2 b 1 ) π ]
The condition on b 1 for the above two sums is b 1 Z / d .
Just like we obtained (52) and (53), we can find:
j = 1 d 1 sin 2 π m j d sec π j d + π b 1 cos π j d + π b 2 = ( 1 ) m d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) cos [ π 2 + ( b 2 b 1 ) π ] ; if d = even ( 1 ) m d d cos [ ( 2 m d ) b 1 π ] sec ( b 1 d π ) cos [ π 2 + ( b 2 b 1 ) π ] ; if d = odd
and:
j = 1 d 1 sin 2 π m j d sec π j d + π b 1 sin π j d + π b 2 = ( 1 ) m d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sin [ π 2 + ( b 2 b 1 ) π ] ; if d = even ( 1 ) m d d cos [ ( 2 m d ) b 1 π ] sec ( b 1 d π ) sin [ π 2 + ( b 2 b 1 ) π ] ; if d = odd
For even d, the above two sums are well-defined if b 1 Z / d and for odd d, the condition is b 1 O / 2 d .
Let us now take a different complex function. We can then obtain many more sums:
f ( z ) = e 2 π i m z e 2 π i d z 1 e 2 π i m z e 2 π i d z 1 cosec ( π z + π b 1 ) cosec ( π z + π b 2 )
By using residue theorem, we can show that:
j = 0 d 1 cos 2 π m j d cosec π j d + π b 1 cosec π j d + π b 2 = d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) cosec [ π + ( b 2 b 1 ) π ] d cos [ ( 2 m d ) b 2 π ] cosec ( b 2 d π ) cosec [ π + ( b 1 b 2 ) π ]
This sum is valid for b 1 Z / d and b 2 Z / d such that the trigonometric sum is well defined. In (58) if we use one cosecant and one secant instead of two cosecant, we will get:
j = 0 d 1 cos 2 π m j d cosec π j d + π b 1 sec π j d + π b 2 = ( d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sec [ π + ( b 2 b 1 ) π ] + ( 1 ) m + 1 d cos [ ( 2 m d ) b 2 π ] cosec ( b 2 d π ) cosec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = even ( d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sec [ π + ( b 2 b 1 ) π ] + ( 1 ) m d d sin [ ( 2 m d ) b 2 π ] sec ( b 2 d π ) cosec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = odd
For even d, the above sum is valid for b 1 Z / d and b 2 Z / d . In case of odd d, the conditions are b 1 Z / d and b 2 O / 2 d . Again if both are secants, then:
j = 0 d 1 cos 2 π m j d sec π j d + π b 1 sec π j d + π b 2 = ( ( 1 ) m + 1 d cos [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sec [ π 2 + ( b 2 b 1 ) π ] + ( 1 ) m + 1 d cos [ ( 2 m d ) b 2 π ] cosec ( b 2 d π ) sec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = even ( ( 1 ) m d d sin [ ( 2 m d ) b 1 π ] sec ( b 1 d π ) sec [ π 2 + ( b 2 b 1 ) π ] + ( 1 ) m d d sin [ ( 2 m d ) b 2 π ] sec ( b 2 d π ) sec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = odd
The conditions on bs for even d are b 1 Z / d and b 2 Z / d . For the odd d case, the conditions are b 1 O / 2 d and b 2 O / 2 d .
Like (59)–(61), we can get similar sums with sine as follows:
j = 1 d 1 sin 2 π m j d cosec π j d + π b 1 cosec π j d + π b 2 = d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) cosec [ π + ( b 2 b 1 ) π ] + d sin [ ( 2 m d ) b 2 π ] cosec ( b 2 d π ) cosec [ π + ( b 1 b 2 ) π ]
Conditions on b 1 and b 2 are b 1 Z / d and b 2 Z / d :
j = 1 d 1 sin 2 π m j d cosec π j d + π b 1 sec π j d + π b 2 = ( d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sec [ π + ( b 2 b 1 ) π ] + ( 1 ) m d sin [ ( 2 m d ) b 2 π ] cosec ( b 2 d π ) cosec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = even ( d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sec [ π + ( b 2 b 1 ) π ] + ( 1 ) m d d cos [ ( 2 m d ) b 2 π ] sec ( b 2 d π ) cosec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = odd
For even d, the above sum is valid for b 1 Z / d and b 2 Z / d . In the case of odd d, the conditions are b 1 Z / d and b 2 O / 2 d :
j = 0 d 1 sin 2 π m j d sec π j d + π b 1 sec π j d + π b 2 = ( ( 1 ) m d sin [ ( 2 m d ) b 1 π ] cosec ( b 1 d π ) sec [ π 2 + ( b 2 b 1 ) π ] + ( 1 ) m d sin [ ( 2 m d ) b 2 π ] cosec ( b 2 d π ) sec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = even ( ( 1 ) m d d cos [ ( 2 m d ) b 1 π ] sec ( b 1 d π ) sec [ π 2 + ( b 2 b 1 ) π ] + ( 1 ) m d d cos [ ( 2 m d ) b 2 π ] sec ( b 2 d π ) sec [ π 2 + ( b 1 b 2 ) π ] ) ; if d = odd
The conditions on bs for even d are b 1 Z / d and b 2 Z / d . For the odd d case, the conditions are b 1 O / 2 d and b 2 O / 2 d .
In this section, we have considered the product of three trigonometric functions with simple powers. One can extend these results to higher powers of trigonometric functions, as well as products of more than three trigonometric functions. The list is endless. We have only illustrated a few cases.

4. Conclusions

We have obtained a number of finite sums involving products of two or more trigonometric functions. They were mostly based on a specific choice of contour and a wide variety of integrands. Many more sums can be obtained. For the simpler powers of trigonometric functions, these sums can be remarkably simple. Most of these sums involve tangents, cotangents, secants, and cosecants. For these functions, we do not have simple expansions for the sum and difference of variables in their arguments. Therefore, one has to compute them independently. We have calculated the sums for a few cases. One can extend these calculations in many different directions, as discussed in the above sections. Most of the simpler expressions should be in handbooks that have trigonometric sums.

Author Contributions

Both the authors contributed to the development and design of the problem. Chandan Datta did most of the calculation. All authors contributed to the preparation of the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Eisenstein, G. Aufgaben und Lehrsätze. J. Reine Angew. Math. 1844, 27, 281–283. [Google Scholar] [CrossRef]
  2. Stern, M. Ueber einige Eigenschaften der Function Ex. J. Reine Angew. Math. 1861, 59, 146–162. [Google Scholar] [CrossRef]
  3. Gradshteyn, I.S.; Ryzhik, I.M. Table of Integrals, Series, and Products, 7th ed.; Jeffrey, A., Zwillinger, D., Eds.; Academic Press: New York, NY, USA, 2007. [Google Scholar]
  4. Hansen, E.R. A Table of Series and Products; Prentice Hall: Englewood Cliffs, NJ, USA, 1975. [Google Scholar]
  5. Jolley, L.B.W. Summation of Series; Chapman & Hall: London, UK, 1925. [Google Scholar]
  6. Prudnikov, A.P.; Brychkov, Y.A.; Marichev, O.I. Integrals and Series Vol. 1. Elementary Functions; Gordon and Breach: New York, NY, USA, 1986. [Google Scholar]
  7. Datta, C.; Agrawal, P.; Choudhary, S.K. Bell Type Inequalities can act as a measure of entanglement. arXiv, 2015; arXiv:1503.08495. [Google Scholar]
  8. McCoy, B.M.; Orrick, W.P. Analyticity and integrability in the chiral Potts model. J. Statist. Phys. 1996, 83, 839–865. [Google Scholar] [CrossRef]
  9. Fukumoto, Y. The index of the spinc Dirac operator on the weighted projective space and the reciprocity law of the Fourier-Dedekind sum. J. Math. Anal. Appl. 2005, 309, 674–685. [Google Scholar] [CrossRef]
  10. Fukuhara, S. Modular forms, generalized Dedekind symbols and period polynomials. Math. Ann. 1998, 310, 83–101. [Google Scholar] [CrossRef]
  11. Kittappa, R. Proof of a conjecture of 1881 on permanents. Linear Multlinear Algebra 1981, 10, 75–82. [Google Scholar] [CrossRef]
  12. Minc, H. On a conjecture of R.F. Scott (1881). Linear Algebra Appl. 1979, 28, 141–153. [Google Scholar] [CrossRef]
  13. Chu, W.; Marini, A. Partial fractions and trigonometric identities. Adv. Appl. Math. 1999, 23, 115–175. [Google Scholar] [CrossRef]
  14. Berndt, B.C.; Yeap, B.P. Explicit evaluations and reciprocity theorems for finite trigonometric sums. Adv. Appl. Math. 2002, 29, 358–385. [Google Scholar] [CrossRef]
  15. Brown, J.W.; Churchill, R.V. Complex Variables and Applications, 6th ed.; McGraw-Hill, Inc.: New York, NY, USA, 1996. [Google Scholar]
  16. Apostol, T.M. On the Lerch Zeta Function. Pacific J. Math. 1951, 1, 161–167. [Google Scholar] [CrossRef]

Share and Cite

MDPI and ACS Style

Datta, C.; Agrawal, P. A Few Finite Trigonometric Sums. Mathematics 2017, 5, 13. https://doi.org/10.3390/math5010013

AMA Style

Datta C, Agrawal P. A Few Finite Trigonometric Sums. Mathematics. 2017; 5(1):13. https://doi.org/10.3390/math5010013

Chicago/Turabian Style

Datta, Chandan, and Pankaj Agrawal. 2017. "A Few Finite Trigonometric Sums" Mathematics 5, no. 1: 13. https://doi.org/10.3390/math5010013

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop