Next Article in Journal
Extending the Applicability of an Efficient Eighth-Order Method for Solving Equations
Previous Article in Journal
Thermodynamic Compactness and Information-Geometric Bounds in Excluded-Volume Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Elementary Approach to Euler’s Reflection Formula and Its Role in the Infinite Product of the Sine Function and the Basel Problem

by
Antonio E. Bargellini
and
Daniele Ritelli
*,†
Department of Statistical Sciences, University of Bologna, 40126 Bologna, Italy
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Foundations 2026, 6(2), 14; https://doi.org/10.3390/foundations6020014
Submission received: 24 February 2026 / Revised: 17 March 2026 / Accepted: 27 March 2026 / Published: 2 April 2026
(This article belongs to the Section Mathematical Sciences)

Abstract

We present a proof, using elementary methods, of the Euler reflection formula for the Gamma function, based on an integral computed by Laplace and on the Euler–Gauss infinite product representation of Gamma. This way, we reverse the classical path, and, using the reflection formula as a starting point, we obtain the representation of the sine as an infinite product and that of the cotangent in partial fractions, which, as is known, allows the explicit calculation of the zeta function with an even argument: all this without resorting to complex analysis or the Herglotz trick. We can present a teaching proposal that illustrates the complete proof of this fundamental formula using undergraduate-level mathematical analysis tools, such as the derivation of parametric integrals, the second Mean Value Theorem for Integrals (Bonnet formula), and the convergence criterion for Dirichlet oscillatory integrals.

1. Introduction

The famous Euler reflection formula for Gamma states that, if 0 < Re ( x ) < 1 , then
Γ ( x ) Γ ( 1 x ) = π sin ( π x ) ,
where, for Re ( x ) > 0 Gamma function is defined, following Legendre, [1] (p. 277) as
Γ ( x ) = 0 t x 1 e t d t .
As reported in [2], Euler obtained (1) in Section 43 of [3]. As noted by A. Ayckok in his commented translation of [3], available on the Euler Archive site [4], the proof relies on two earlier results obtained by Euler in [5,6]. In [5], Euler derived the integral representation of Gamma by interpolation, and in [6] he computed, as stated in the translation of [3], the infinite product for the sine, which we report here in modern notation:
n = 1 n 2 n 2 λ 2 = λ π sin ( λ π ) .
The usual modern approach to proving (1) is based on the Beta function, using the Euler identity, where Re ( x ) , Re ( y ) > 0
B ( x , y ) = 0 s x 1 ( 1 + s ) x + y d s = Γ ( x ) Γ ( y ) Γ ( x + y ) .
Then, taking y = 1 x (2) yields
Γ ( x ) Γ ( 1 x ) = 0 s x 1 1 + s d s .
The problem is solved by calculating the integral on the right-hand side of (3). Despite the ease of its formulation, the calculation of this integral requires the residue theorem to arrive, after the change of variable x = ln t , at the equality, where 0 < a < 1 :
+ e a x 1 + e x d x = π sin ( a π ) .
See, for instance [7] (p. 133), [8] (p. 22) and [9] (p. 20). Alternatively, one can, following [10] (p. 254) and [8] (p. 73), use series integration, based on the following partial-fraction representation of the sine:
π sin ( π z ) = 1 z n = 1 ( 1 ) n 2 z z 2 n 2 .
In turn, Formula (5) is obtained after having determined the Fourier series:
cos ( z x ) = 2 z π sin ( π z ) 1 2 z 2 + n = 1 ( 1 ) n cos ( n x ) z 2 n 2 ,
evaluated for x = 0 . Then, (5) is used after breaking the integral on the right-hand side of (2) into
0 1 s x 1 1 + s d s + 0 1 s x 1 + s d s ,
and eventually integrating term by term.
The teaching problem that arises when one wishes to treat the derivation in a self-contained manner is significant when students lack the advanced background in complex analysis needed to compute the integral in (4) or to obtain the Fourier series for (5). This situation arises when students at the beginning of their careers encounter Eulerian functions.
Our contribution solves this problem by basing the proof on a couple of definite integrals. The first dates back to Laplace [11] (Livre premiere, p. 99):
0 cos ( z t ) 1 + t 2 d t = π 2 e z ,
where it is assumed that z > 0 . The second integral is the Mellin transform of the cosine: recall that the Mellin transform of a locally integrable function f : [ 0 , ) C is defined as, for a complex number s
M [ f ] ( s ) = 0 x s 1 f ( x ) d x ,
and in our case we consider Formula (21) below. We will examine the integral (8) when f ( x ) = cos ( b x ) with b > 0 , and for our purposes we will take 0 < s < 1 . Combining identities (7) and (21), we will demonstrate, in Theorem 6, the identity (28) from which the reflection Formula (1) follows.
In our exposition, we will assume that Fubini’s theorem on nested integrals is known, citing the historical work [12], where the proof was presented, and the monograph [13], which treats the problem for Riemann integrals on hyperrectangles and normal domains. We limit citations to this theorem here since it is reported in numerous treatises on Mathematical Analysis and Measure Theory.
The original proof of (1) is not the sole result presented in the paper. We will also demonstrate how (1), in conjunction with the Euler–Gauss representation of the Gamma function, which was initially introduced by Euler in [14], and subsequently presented in the contemporary notation by C.F. Gauss in [15],
Γ ( x ) = lim n n ! n x x ( x + 1 ) ( x + n ) , x > 0 ,
provides, in a rigorous way, the representation of the sine in terms of an infinite product:
sin x = x n = 1 1 x 2 n 2 π 2 .
Formula (10) provides one of the possible keys to solving the Basel problem; for completeness, we will end the article by presenting this well-known approach briefly.
The significance of our contribution lies in two key aspects: first, the reverse logical sequence is rigorously defined; second, the proof of the reflection formula, the foundational element of our reasoning, is achieved using elementary tools. Notably, among papers employing elementary methods, D. Salwinski’s paper [16], which concerns the formula for the infinite product of the sine function, stands out. While the cost of employing elementary methods may be the complexity of the demonstration, it is worth noting that this approach provides a rigorous foundation for our reasoning.
Finally, to emphasize the universality and significance of the reflection formula, we observe that its demonstration, presented in [17] using quantum mechanics, yields (1) as an approximate quantum result as a quantum system approaches the classical model.
The article is structured to provide a self-contained learning path. In the next two sections, we will present, respectively, the Mellin transform of the cosine function. For this purpose, we will recall Bonnet’s theorem and the concept of the oscillatory integral. Additionally, we will compute the Laplace integral using a second-order differential equation with constant coefficients. In Section 4, we will prove the reflection formula. In Section 5, we will utilize the reflection formula to express the sine function as an infinite product. From this expression, we will derive the partial-fraction representation of the cotangent function, which ultimately leads to the solution of the Basel problem, Section 6. This article aims to provide undergraduate-level insights into the concepts presented in chapter 2 of [8].

2. Mellin Transform of Cosine

We present the explicit calculation of the Mellin transform of the cosine function in terms of the Gamma function. This procedure is reported in the encyclopedic monograph [18] on the Eulerian function, where the contributions by Legendre [1], Poisson [19], Cauchy [20], and Boncompagni [21] are highlighted. We believe it is appropriate to present the detailed proof of the definite integration Formula (21) below, based on elementary methods, in which the knowledge of complex analysis necessary for its understanding is limited to the exponential, in accordance with the aim of our contribution, which is to provide a proof of the reflection formula based only on undergraduate-level notions. We need three preliminary results, for the sake of completeness, in the spirit of presenting a logically consistent path. Therefore, we briefly present the proofs: the “Weighted Mean Value Theorem for Integrals”, as seen in for instance [22] (p. 154), the Bonnet, “Second Mean Value Theorem for Integrals”, as stated in Theorem 2, in [23], and more recently reported in [22] (p. 219), and Dirichlet’s convergence criterion for improper integrals, Theorem 3 below, whose proof is outlined in [22,24]. We present here the detailed proof from [25]. Finally, we wish to highlight an interesting and recent publication [26], which is dedicated to the Mellin transforms of trigonometric functions.
To prove Theorem 2, we use the following lemma.
Lemma 1.
Given f , g : [ a , b ] R assume that
(i) 
f is continuous in [ a , b ] ;
(ii) 
g is decreasing, C 1 and such that g ( b ) = 0 .
Then there exists ξ [ a , b ] such that
a b f ( x ) g ( x ) d x = g ( a ) a ξ f ( x ) d x .
Proof. 
For any x [ a , b ] define
F ( x ) = a x f ( t ) d t .
Integrating by parts, we get
a b f ( x ) g ( x ) d x = F ( x ) g ( x ) x = a x = b a b F ( x ) g ( x ) d x = a b F ( x ) g ( x ) d x .
The last step follows from the fact that, by construction, F ( a ) = 0 and by hypothesis g ( b ) = 0 . Now, by the hypothesis of the decrease in g, we have that g ( x ) 0 for every x [ a , b ] : therefore the hypotheses of the generalized mean theorem are satisfied, so we can conclude that there exists ξ [ a , b ] such that
a b f ( x ) g ( x ) d x = a b F ( x ) g ( x ) d x = F ( ξ ) a b g ( x ) d x = F ( ξ ) g ( b ) g ( a ) = F ( ξ ) g ( a ) ,
showing (11). □
Theorem 1.
Assume f : a , b R continuous and g : a , b R Riemann integrable, and it does not change sign. Then there exists ξ a , b such that
a b f ( x ) g ( x ) d x = f ( ξ ) a b g ( x ) d x .
Proof. 
Without loss of generality we can assume g ( x ) 0 in a , b . If m and M are the maximum and minimum of f, we have
m a b g ( x ) d x a b f ( x ) g ( x ) d x M a b g ( x ) d x .
Notice that if
a b g ( x ) d x = 0 ,
then (12) follows trivially, and hence we can assume
a b g ( x ) d x > 0 .
In this case, we find
m a b f ( x ) g ( x ) d x a b g ( x ) d x M .
The thesis is a consequence at this point of the Intermediate Value Theorem (Bolzano) for continuous functions. □
Now we can prove Theorem 2.
Theorem 2.
Let f , g : [ a , b ] R such that the following hold:
(i) 
f is continuous in [ a , b ] ;
(ii) 
g is monotonic and C 1 in [ a , b ] .
Then there exists ξ [ a , b ] such that
a b f ( x ) g ( x ) d x = g ( a ) a ξ f ( x ) d x + g ( b ) ξ b f ( x ) d x .
Proof. 
First, let us note that if the thesis (13) holds for an increasing g, then changing g to g ensures it also holds for a decreasing function, and vice versa; therefore, we do not lose generality by restricting to the case of decreasing g. Then, crucially, we can limit ourselves to proving (13) under the hypothesis that g ( b ) = 0 . In fact, if g ( b ) 0 , we set g 1 ( x ) = g ( x ) g ( b ) . If we suppose that g 1 satisfies (13), then, observing that the left-hand side becomes
a b f ( x ) g 1 ( x ) d x = a b f ( x ) g ( x ) g ( b ) d x = a b f ( x ) g ( x ) d x g ( b ) a b f ( x ) d x .
The right side is
g ( a ) g ( b ) a ξ f ( x ) d x + g ( b ) g ( b ) ξ b f ( x ) d x = g ( a ) g ( b ) a ξ f ( x ) d x .
If the thesis (13) is satisfied, expressions (29) and (30) must be equal, and then
a b f ( x ) g ( x ) d x g ( b ) a b f ( x ) d x = g ( a ) a ξ f ( x ) d x g ( b ) a ξ f ( x ) d x .
The latter, due to integral additivity, can be written as
a b f ( x ) g ( x ) d x g ( b ) a ξ f ( x ) d x g ( b ) ξ b f ( x ) d x = g ( a ) a ξ f ( x ) d x g ( b ) a ξ f ( x ) d x ,
which leads to (13). Therefore, it is sufficient to prove the theorem under the hypothesis g ( b ) = 0 , and this is what is asserted in Lemma 1. □
Theorem 2 is necessary for the proof of the Dirichlet convergence criterion for oscillating generalized integrals. For simplicity and because our application falls under these hypotheses, we state and prove the result assuming the functions that form the integrand are continuous and differentiable.
Theorem 3.
Assume that the function f is continuous on [ a , + ) and such that
F ( x ) = a x f ( t ) d t ,
is bounded on [ a , + ) and the function g is differentiable on [ a , + ) , decreasing, i.e., g ( x ) 0 for all x a , and satisfies
lim x + g ( x ) = 0 .
Then the improper integral
a + f ( x ) g ( x ) d x ,
converges.
Proof. 
Let ε > 0 . For (16), there exists M > 0 such that for any x a
| F ( x ) | M ,
and for (17) there exists N a such that for all x N ,
| g ( x ) | < ε 4 M .
Fix x 2 > x 1 > N . By Theorem 2, applied to f and the monotone function g on [ x 1 , x 2 ] , there exists ξ [ x 1 , x 2 ] such that
x 1 x 2 f ( x ) g ( x ) d x = g ( x 1 ) x 1 ξ f ( x ) d x + g ( x 2 ) ξ x 2 f ( x ) d x .
Hence,
x 1 x 2 f ( x ) g ( x ) d x   | g ( x 1 ) | x 1 ξ f ( x ) d x + | g ( x 2 ) | ξ x 2 f ( x ) d x = | g ( x 1 ) | | F ( ξ ) F ( x 1 ) | + | g ( x 2 ) | | F ( x 2 ) F ( ξ ) | .
Recalling (19), we have
| F ( ξ ) F ( x 1 ) | | F ( ξ ) | + | F ( x 1 ) | 2 M , | F ( x 2 ) F ( ξ ) | | F ( x 2 ) | + | F ( ξ ) | 2 M ,
so
x 1 x 2 f ( x ) g ( x ) d x 2 M | g ( x 1 ) | + | g ( x 2 ) | < 2 M ε 4 M + ε 4 M = ε .
Therefore, for every ε > 0 there exists N such that for all x 2 > x 1 > N ,
x 1 x 2 f ( x ) g ( x ) d x < ε .
By the Cauchy criterion for improper integrals, (18) converges. □
Remark 1.
The most popular application of Theorem 3 is about the convergence of the Dirichlet integral
0 sin x x d x .
The Dirichlet convergence criterion allows us to proceed rigorously to the calculation of the Mellin transform of the cosine, which in turn is used in the proof of the reflection formula.
Theorem 4 and the following Remark below are a classical result due to Euler [27] and are present also in [18]. In keeping with the didactic spirit of the present paper, which aims to provide a unified exposition, we also include its proof.
Theorem 4.
If 0 < s < 1 , b > 0 then
0 z s 1 cos ( b z ) d z = Γ ( s ) b s cos π 2 s .
Proof. 
We start studying the convergence of the integral (21). Near z = 0 , since cos ( b z ) 1 , the integrand behaves like z s 1 . Hence, integrability at the origin requires, as previously assumed s > 0 . As z the function cos ( b z ) oscillates, and the integral is not absolutely convergent. However, by Dirichlet’s test, Theorem 3, convergence holds if z s 1 0 monotonically, which requires s 1 < 0 that is s < 1 . Thus the natural strip of convergence is, exactly as supposed,
0 < s < 1 .
Now we introduce a convergence factor e ε z with ε > 0 :
I ε ( s ) = 0 z s 1 e ε z cos ( b z ) d z .
For every ε > 0 and s > 0 , this integral is absolutely convergent. Using
cos ( b z ) = Re e i b z ,
we write
I ε ( s ) = Re 0 z s 1 e ( ε i b ) z d z .
Now, recall the classical Gamma–Laplace formula: for s > 0 and Re ( a ) > 0 ,
0 z s 1 e a z d z = Γ ( s ) a s .
Here we set
a = ε i b , Re ( a ) = ε > 0 ,
so that
I ε ( s ) = Re Γ ( s ) ( ε i b ) s .
Write ε i b in polar form:
ε i b = r ε e i θ ε , r ε = ε 2 + b 2 , θ ε = arctan b ε .
As ε 0 + , we have
r ε b , θ ε π 2 .
Using the principal branch of the complex power,
( ε i b ) s = r ε s e i s θ ε b s e i π s / 2 .
Therefore
lim ε 0 + I ε ( s ) = Re Γ ( s ) b s e i π s / 2 = Γ ( s ) b s cos π s 2 .
For 0 < s < 1 , one checks that
lim ε 0 + 0 z s 1 e ε z cos ( b z ) d z = 0 z s 1 cos ( b z ) d z .
Formula (21) follows by combining dominated convergence on finite intervals with Dirichlet-type estimates on the tail [ R , ) . □
Remark 2.
By the same method, one may derive the companion identity involving the sine function. Indeed, using
sin ( b z ) = Im e i b z ,
repeating the regularization argument with the exponential factor e ε z , one finds, for 0 < s < 1 ,
0 z s 1 sin ( b z ) d z = Im Γ ( s ) ( i b ) s = Γ ( s ) b s sin π s 2 .

3. Laplace Integral

Although the Laplace integral (7) can be computed using the residue theorem, as demonstrated in [28,29] (pp. 107–110), and [30] (pp. 255–256), it can also be computed, as indicated in these references, by differentiation under the integral sign, effectively circumventing complex analysis. We provide a concise summary of the proof: by denoting L ( z ) as the left-hand side of (7), it can be established that L ( z ) satisfies the linear second-order differential equation L ( z ) = L ( z ) , thereby yielding the existence of c 1 , c 2 R such that L ( z ) = c 1 e z + c 2 e z . Subsequently, we delve into the intricate integration process that culminates in (7).
Theorem 5.
Assume z R positive, then identity (7) holds.
Proof. 
Define
L ( z ) = 0 cos ( z t ) 1 + t 2 d t .
Integrating (22) by parts, we obtain
z L ( z ) = 2 0 t sin ( z t ) ( 1 + t 2 ) 2 d t .
Indeed, let
u = 1 1 + t 2 , d v = cos ( z t ) d t ,
then
d u = 2 t ( 1 + t 2 ) 2 d t , v = sin ( z t ) z .
Therefore, integration by parts gives
L ( z ) = sin ( z t ) z ( 1 + t 2 ) 0 + 2 z 0 t sin ( z t ) ( 1 + t 2 ) 2 d t .
Since
sin ( z t ) z ( 1 + t 2 ) 0 = 0 ,
it follows that
L ( z ) = 2 z 0 t sin ( z t ) ( 1 + t 2 ) 2 d t .
Then, we differentiate (23) with respect to z, which is justified by the dominated convergence of the integrand:
L ( z ) + z L ( z ) = 2 0 t 2 cos ( z t ) ( 1 + t 2 ) 2 d t .
Now, we use the partial decomposition:
t 2 ( 1 + t 2 ) 2 = 1 1 + t 2 1 1 + t 2 2 ,
and plugging it into (24), we get
L ( z ) + z L ( z ) = 2 L ( z ) 2 0 cos ( z t ) ( 1 + t 2 ) 2 d t ,
that is
z L ( z ) L ( z ) = 2 0 cos ( z t ) ( 1 + t 2 ) 2 d t .
Differentiating (25), we obtain
z L ( z ) = 2 0 t sin ( z t ) ( 1 + t 2 ) 2 d t .
So that is recalling (23), we obtain the differential equation L ( z ) = L ( z ) , hence
L ( z ) = c 1 e z + c 2 e z .
To compute the integration constants c 1 and c 2 , we start from (7), evaluated at z = 0 yielding immediately
L ( 0 ) = 0 d t 1 + t 2 = π 2 .
Thus c 1 + c 2 = π / 2 . Moreover, from (23), we see that
L ( z ) = 2 z 0 t sin ( z t ) ( 1 + t 2 ) 2 d t .
Hence
lim z + L ( z ) = 0 .
So we infer that c 1 = 0 , and this finally implies (7). □
The role of the integral (7) in the proof of (1) is to provide the following integral representation of the exponential:
Corollary 1.
e z = 1 π 0 cos ( z u ) u 1 + u d u .
Proof. 
Formula (26) follows immediately using the change of variable t 2 = u in (7). Indeed, by (7)
e z = 2 π 0 cos ( z t ) 1 + t 2 d t = t 2 = u 2 π 0 cos ( z u ) 2 u ( 1 + u ) d u = 1 π 0 cos ( z u ) u 1 + u d u .

4. The Proof of the Reflection Formula

Having all the necessary tools at our disposal, we can finally demonstrate our main result. We begin with a preliminary identity that is the key to proving (1).
We remark that the convergence of the integral would require 0 < Re ( s ) < 1 . However, in order to apply formula (21), we further restrict the parameter and assume 0 < s < 1 .
Theorem 6.
Let 0 < s < 1 , then
π cos π 2 s = Γ 1 s 2 Γ 1 + s 2 .
Proof. 
We begin with the basic definition of Gamma, where we assume 0 < s < 1 : at the end, we list all the steps, which we tag to illustrate them step by step at the end of the procedure.
1 = 1 Γ ( s ) 0 z s 1 e z d z
= 1 π Γ ( s ) 0 z s 1 0 cos z u u 1 + u d u d z
= 1 π Γ ( s ) 0 1 u 1 + u 0 z s 1 cos z u d z d u
= 1 π Γ ( s ) 0 1 u 1 + u Γ ( s ) u s / 2 cos π 2 s d u
= cos π 2 s π 0 u s + 1 2 1 + u d u
= cos π 2 s π B 1 s 2 , 1 + s 2
= cos π 2 s π Γ 1 s 2 Γ 1 + s 2 .
The proof steps are explained below:
  • (29) follows from (26);
  • (30) follows from Fubini’s theorem;
  • (31) follows from (21);
  • (32) follows from standard simplifications;
  • (33) follows from the Beta representation (2);
  • (34) follows from the representation of Beta in terms of Gamma.
Observe that
0 < s < 1 0 < 1 ± s 2 < 1
and in conclusion, we have demonstrated (28). □
The reflection formula at this point is obtained through the following simple observation.
Remark 3.
We observe that (1) follows from (28) introducing the parameter σ defined by
1 + s 2 = 1 σ s = 2 σ 1 .

5. Sine Infinite Product and Cotangent Partial Fractions Representations and Basel Problem

In this section, we will demonstrate how, if we assume the Euler–Gauss formula that expresses Gamma as an infinite product:
Γ ( x ) = lim n n ! n x x ( x + 1 ) ( x + n ) , x > 0
Euler’s formula for the representation of the sine in terms of the infinite product follows.
Theorem 7.
Assume Re ( x ) > 0 then
sin x = x n = 1 1 x 2 n 2 π 2 .
Proof. 
Choosing 0 < x < 1 and observing that, form (9) follows
Γ ( 1 x ) = lim n n ! n 1 x ( 1 x ) ( 2 x ) ( n x ) ( n + 1 x ) .
By multiplying the terms of the two sequences on the right-hand side of (9) and (35), we get
n ! n x x ( 1 + x ) ( 2 + x ) ( n + x ) ( n + 1 x ) n ! n 1 x ( 1 x ) ( 2 x ) ( n x ) ( n + 1 x ) = ( n ! ) 2 n x ( 1 + x ) ( 1 x ) ( 2 + x ) ( 2 x ) ( n + x ) ( n x ) ( n + 1 x ) = ( n ! ) 2 n x ( 1 x 2 ) ( 2 2 x 2 ) ( n 2 x 2 ) ( n + 1 x ) = n x 1 x 2 1 2 1 x 2 2 2 1 x 2 n 2 ( n + 1 x ) = 1 x k = 1 n 1 x 2 k 2 1 + 1 x n .
Therefore
Γ ( x ) Γ ( 1 x ) = lim n 1 x k = 1 n 1 x 2 k 2 ( 1 + 1 x n ) = 1 x n = 1 1 x 2 n 2 .
Comparing (36) with reflection Formula (1) leads to our statement. In fact, we have
n = 1 1 x 2 n 2 = sin ( π x ) π x .
which agrees with (10). □
Remark 4.
Rewriting (37) as
sin ( π x ) = π z n = 1 1 x 2 n 2 ,
we see that Formula (38) is well defined for x C with zeros in the integers.
We conclude with the representation of the cotangent.
Corollary 2.
If z Z then
π cot ( π z ) = 1 z + 2 z n = 1 1 z 2 n 2 ,
Proof. 
By logarithmically differentiating the left-hand side of (38), we get
d d z ln sin ( π z ) = π cot ( π z ) ,
and on the right side
d d z ln ( π z ) + n = 1 d d z ln 1 z 2 n 2 .
This completes the proof, after standard computation. □

6. Epilogue

In our final step, we use (39) to solve the Basel problem, which consists of determining the exact value of the infinite series:
n = 1 1 n 2 = π 2 6 .
We refrain here from presenting the history of this famous problem, which is discussed in several contributions; we limit ourselves here to addressing [31], the seminal paper by R. Ayoub [32,33].
To show (40), we analyze both sides of (39) in a neighborhood of z = 0 .
We begin with the right-hand side of (39). For | z | < 1 and each fixed n 1 , we may write the term using the geometric series expansion
1 z 2 n 2 = 1 n 2 1 1 z 2 n 2 = 1 n 2 k = 0 z 2 k n 2 k = 1 n 2 1 + z 2 n 2 + z 2 n 4 + z 4 n 6 + .
Since the resulting series is absolutely convergent for | z | < 1 , we may sum term by term to obtain
2 z n = 1 1 z 2 n 2 = 2 z n = 1 1 n 2 + O ( z 3 ) as z 0 .
Therefore, the right-hand side of (39) admits the expansion
1 z 2 z n = 1 1 n 2 + O ( z 3 ) .
Now, we work on the left-hand side of (39). From the Taylor expansions of sin x and cos x , it follows that
cot x = 1 x x 3 + O ( x 3 ) as x 0 .
Substituting x = π z yields
π cot ( π z ) = 1 z π 2 3 z + O ( z 3 ) .
Comparing the coefficients of the linear term in z in (41) and (42), we obtain
2 n = 1 1 n 2 = π 2 3 .
Solving for the series gives
n = 1 1 n 2 = π 2 6 .
This completes the derivation of the Basel problem solution.

7. Conclusions

The sole original contribution of the present work lies in the proof of Theorem 6, which is based on the Mellin transform of the cosine function and an integral originally computed by Laplace. The objective of the paper is to present a didactic pathway constructed around this result, complemented by the Euler–Gauss representation of the Gamma function and Fubini’s theorem on the reduction of double integrals. This approach enables the derivation, employing solely elementary tools of analysis accessible to undergraduate students, of a proof of the reflection formula for the Gamma function, without resorting to advanced methods such as complex analysis or Fourier series.
This framework also facilitates an elementary derivation of the infinite product formula for the sine function, the partial fraction expansion of the cotangent, and consequently the solution of the Basel problem. This provides an intriguing didactic perspective that can be effectively presented in undergraduate analysis courses.

Author Contributions

Conceptualization, D.R.; methodology, A.E.B. and D.R.; formal analysis, A.E.B. and D.R.; investigation, A.E.B. and D.R.; resources, D.R.; writing—original draft preparation, A.E.B. and D.R.; writing—review and editing, A.E.B. and D.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study.

Acknowledgments

The role of Liouville integral in the proof of the reflection formula was first suggested by Kerkeni Elies on his Instagram profile, @elies.calculus.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Legendre, A.M. Exercices de Calcul Intégral sur Divers Ordres de Transcendantes et sur les Quadratures; Tome Premier; M. V. Courcier: Paris, France, 1811. [Google Scholar]
  2. Aycock, A. Euler and the multiplication formula for the Gamma Function. Euleriana 2021, 1, 197–204. [Google Scholar] [CrossRef] [Scilit]
  3. Euler, L. Evolutio formulae integralis ∫xf−1dx(lx)m/n integratione a valore x = 0 ad x = 1 extensa. Novi Comment. Acad. Sci. Petropolitanae 1772, 16, 91–139. [Google Scholar]
  4. Tou, E.; Goff, C. The Euler Archive. 2011. Available online: https://scholarlycommons.pacific.edu/euler-works/index.html (accessed on 13 January 2026).
  5. Euler, L. De progressionibus transcendentibus seu quarum termini generales algebraice dari nequeunt. Novi Comment. Acad. Sci. Petropolitanae 1738, 5, 36–57. [Google Scholar]
  6. Euler, L. Methodus facilis computandi angulorum sinus ac tangentes tam naturales quam artificiales. Novi Comment. Acad. Sci. Petropolitanae 1750, 11, 194–230. [Google Scholar]
  7. Priestley, H. Introduction to Complex Analysis, 2nd ed.; Oxford University Press: Oxford, UK, 2003. [Google Scholar]
  8. Ritelli, D. Introduction to Special Functions for Applied Mathematics; CRC Press: Boca Raton, FL, USA, 2025. [Google Scholar]
  9. Gogolin, A.O.; Tsitsishvili, E.G.; Komnik, A. Lectures on Complex Integration; Springer: Cham, Switzerland, 2014. [Google Scholar]
  10. Duren, P.L. Invitation to Classical Analysis; American Mathematical Society: Providence, RI, USA, 2012; Volume 17. [Google Scholar]
  11. Laplace, P. Théorie Analytique des Probabilités; Courcier: Paris, France, 1814. [Google Scholar]
  12. Fubini, G. Lezioni di Analisi Matematica; Società Tipografico-Editrice Nazionale: Torino, Italy, 1920. [Google Scholar]
  13. Canuto, C.; Tabacco, A. Mathematical Analysis II; Universitext Series; Springer: Milan, Italy; New York, NY, USA, 2011. [Google Scholar]
  14. Euler, L. Institutiones Calculi Integralis; Academiae Imperialis Scientiarum: Petropoli, Brazil, 1768; Volumes I–III, pp. 1768–1770. [Google Scholar]
  15. Gauss, C.F. Disquisitiones Generales Circa Seriem Infinitam; Commentationes societatis regiae scientiarum Gottingensis recentiores; Göttingen K. Gesellschaft der Wissenschaften zu: Göttingen, Germany, 1812; Volume 2. [Google Scholar]
  16. Salwinski, D. Euler’s Sine Product Formula: An Elementary Proof. Coll. Math. J. 2018, 49, 126–135. [Google Scholar] [CrossRef] [Scilit]
  17. Friedmann, T.; Webb, Q. Euler’s reflection formula, infinite product formulas, and the correspondence principle of quantum mechanics. J. Math. Phys. 2021, 62, 063504. [Google Scholar] [CrossRef] [Scilit]
  18. Nielsen, N. Handbuch der Theorie der Gammafunktion; Teubner: Leipzig, Germany, 1906. [Google Scholar]
  19. Poissons, S. Mémoire sul les intégrales définies. J. l’Éc. Polytech. 1813, 6, 215–246. [Google Scholar]
  20. Cauchy, A. Exercices de Mathématiques, Ie année. J. l’Éc. Polytech. 1826, 28, 150–1841. [Google Scholar]
  21. Boncompagni, B. Recherches sur les intégrales définies. J. Die Reine Angew. Math. 1843, 1843, 74–96. [Google Scholar]
  22. Apostol, T.M. Calculus, Volume 1: One-Variable Calculus, with an Introduction to Linear Algebra, 2nd ed.; John Wiley & Sons: New York, NY, USA, 1967; Volume 1. [Google Scholar]
  23. Bonnet, O. Remarques sur quelques intégrales définies. J. Math. Pures Appl. 1849, 14, 249–256. [Google Scholar]
  24. Rudin, W. Principles of Mathematical Analysis, 3rd ed.; McGraw–Hill: New York, NY, USA, 1976. [Google Scholar]
  25. Kim, Y.S. Dirichlet’s Test for Improper Integrals. Online Lecture Notes. 2017. Available online: https://mathsci.kaist.ac.kr/~kdryul/files/articles/Dirichlet’s%20Test%20for%20Improper%20Integrals.pdf (accessed on 7 March 2026).
  26. Mâagli, H.; El Abidine, Z. Mellin transform of some trigonometric functions. Open J. Math. Sci. 2025, 9, 245–264. [Google Scholar] [CrossRef] [Scilit]
  27. Euler, L. Institutionum Calculi Integralis, Volumen Quartum, Continens Supplementa Partim Inedita Partim Jam in Operibus Academiae Imperialis Scientiarum Petropolitanae Impressa; Academiae Imperialis Scientiarum: Petropoli, Brazil, 1794. [Google Scholar]
  28. Chen, H. Evaluation of the Laplace integral. Int. J. Math. Educ. Sci. Technol. 2004, 35, 773–777. [Google Scholar] [CrossRef] [Scilit]
  29. Nahin, P.J. Inside Interesting Integrals, 2nd ed.; Springer: New York, NY, USA, 2020. [Google Scholar]
  30. Ritelli, D.; Spaletta, G. Introductory Mathematical Analysis for Quantitative Finance; Chapman and Hall: Boca Raton, FL, USA, 2020. [Google Scholar]
  31. Hassler, U.; Hosseinkouchack, M. Basel Problem: Historical perspective and further proofs from stochastic processes. Euleriana 2022, 2, 120–130. [Google Scholar] [CrossRef] [Scilit]
  32. Ayoub, R. Euler and the Zeta function. Am. Math. Mon. 1974, 81, 1067–1086. [Google Scholar] [CrossRef] [Scilit]
  33. Bargellini, A.E.; Ritelli, D.; Spaletta, G. Probabilistic Multiple-Integral Evaluation of Odd Dirichlet Beta and Even Zeta Functions and Proof of Digamma-Trigamma Reflections. Foundations 2025, 5, 27. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bargellini, A.E.; Ritelli, D. An Elementary Approach to Euler’s Reflection Formula and Its Role in the Infinite Product of the Sine Function and the Basel Problem. Foundations 2026, 6, 14. https://doi.org/10.3390/foundations6020014

AMA Style

Bargellini AE, Ritelli D. An Elementary Approach to Euler’s Reflection Formula and Its Role in the Infinite Product of the Sine Function and the Basel Problem. Foundations. 2026; 6(2):14. https://doi.org/10.3390/foundations6020014

Chicago/Turabian Style

Bargellini, Antonio E., and Daniele Ritelli. 2026. "An Elementary Approach to Euler’s Reflection Formula and Its Role in the Infinite Product of the Sine Function and the Basel Problem" Foundations 6, no. 2: 14. https://doi.org/10.3390/foundations6020014

APA Style

Bargellini, A. E., & Ritelli, D. (2026). An Elementary Approach to Euler’s Reflection Formula and Its Role in the Infinite Product of the Sine Function and the Basel Problem. Foundations, 6(2), 14. https://doi.org/10.3390/foundations6020014

Article Metrics

Back to TopTop