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.
Keywords:
gamma function; Euler’s reflection formula; Laplace integral; second Mean Value Theorem for Integrals; Dirichlet convergence criterion; oscillatory integrals; Basel problem MSC:
33B15; 34A30; 40C99; 40A20
1. Introduction
The famous Euler reflection formula for Gamma states that, if , then
where, for Gamma function is defined, following Legendre, [1] (p. 277) as
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:
The usual modern approach to proving (1) is based on the Beta function, using the Euler identity, where
Then, taking (2) yields
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 , at the equality, where :
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:
In turn, Formula (5) is obtained after having determined the Fourier series:
evaluated for Then, (5) is used after breaking the integral on the right-hand side of (2) into
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):
where it is assumed that The second integral is the Mellin transform of the cosine: recall that the Mellin transform of a locally integrable function is defined as, for a complex number s
and in our case we consider Formula (21) below. We will examine the integral (8) when with and for our purposes we will take . 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],
provides, in a rigorous way, the representation of the sine in terms of an infinite product:
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 assume that
- (i)
- f is continuous in
- (ii)
- g is decreasing, and such that
Then there exists such that
Proof.
For any define
Integrating by parts, we get
The last step follows from the fact that, by construction, and by hypothesis Now, by the hypothesis of the decrease in g, we have that for every therefore the hypotheses of the generalized mean theorem are satisfied, so we can conclude that there exists such that
showing (11). □
Theorem 1.
Assume continuous and Riemann integrable, and it does not change sign. Then there exists such that
Proof.
Without loss of generality we can assume in If m and M are the maximum and minimum of f, we have
Notice that if
then (12) follows trivially, and hence we can assume
In this case, we find
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 such that the following hold:
- (i)
- f is continuous in
- (ii)
- g is monotonic and in
Then there exists such that
Proof.
First, let us note that if the thesis (13) holds for an increasing g, then changing g to 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 . In fact, if , we set . If we suppose that satisfies (13), then, observing that the left-hand side becomes
The right side is
If the thesis (13) is satisfied, expressions (29) and (30) must be equal, and then
The latter, due to integral additivity, can be written as
which leads to (13). Therefore, it is sufficient to prove the theorem under the hypothesis , 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 and such that
is bounded on and the function g is differentiable on decreasing, i.e., for all , and satisfies
Then the improper integral
converges.
Proof.
Let . For (16), there exists such that for any
and for (17) there exists such that for all ,
Fix . By Theorem 2, applied to f and the monotone function g on , there exists such that
Hence,
Recalling (19), we have
so
Therefore, for every there exists N such that for all ,
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
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 then
Proof.
We start studying the convergence of the integral (21). Near , since , the integrand behaves like . Hence, integrability at the origin requires, as previously assumed As the function oscillates, and the integral is not absolutely convergent. However, by Dirichlet’s test, Theorem 3, convergence holds if monotonically, which requires that is Thus the natural strip of convergence is, exactly as supposed,
Now we introduce a convergence factor with :
For every and , this integral is absolutely convergent. Using
we write
Now, recall the classical Gamma–Laplace formula: for and ,
Here we set
so that
Write in polar form:
As , we have
Using the principal branch of the complex power,
Therefore
For , one checks that
Formula (21) follows by combining dominated convergence on finite intervals with Dirichlet-type estimates on the tail . □
Remark 2.
By the same method, one may derive the companion identity involving the sine function. Indeed, using
repeating the regularization argument with the exponential factor , one finds, for ,
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 as the left-hand side of (7), it can be established that satisfies the linear second-order differential equation , thereby yielding the existence of such that . Subsequently, we delve into the intricate integration process that culminates in (7).
Theorem 5.
Assume positive, then identity (7) holds.
Proof.
Define
Integrating (22) by parts, we obtain
Indeed, let
then
Therefore, integration by parts gives
Since
it follows that
Then, we differentiate (23) with respect to z, which is justified by the dominated convergence of the integrand:
Now, we use the partial decomposition:
and plugging it into (24), we get
that is
Differentiating (25), we obtain
So that is recalling (23), we obtain the differential equation hence
To compute the integration constants and , we start from (7), evaluated at yielding immediately
Thus Moreover, from (23), we see that
Hence
So we infer that 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.
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 However, in order to apply formula (21), we further restrict the parameter and assume
Theorem 6.
Let , then
Proof.
We begin with the basic definition of Gamma, where we assume : at the end, we list all the steps, which we tag to illustrate them step by step at the end of the procedure.
The proof steps are explained below:
Observe that
and in conclusion, we have demonstrated (28). □
The reflection formula at this point is obtained through the following simple observation.
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:
Euler’s formula for the representation of the sine in terms of the infinite product follows.
Theorem 7.
Assume then
Proof.
Remark 4.
We conclude with the representation of the cotangent.
Corollary 2.
If then
Proof.
By logarithmically differentiating the left-hand side of (38), we get
and on the right side
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:
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].
We begin with the right-hand side of (39). For and each fixed , we may write the term using the geometric series expansion
Since the resulting series is absolutely convergent for , we may sum term by term to obtain
Therefore, the right-hand side of (39) admits the expansion
Now, we work on the left-hand side of (39). From the Taylor expansions of and , it follows that
Substituting yields
Comparing the coefficients of the linear term in z in (41) and (42), we obtain
Solving for the series gives
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
- 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]
- Aycock, A. Euler and the multiplication formula for the Gamma Function. Euleriana 2021, 1, 197–204. [Google Scholar] [CrossRef] [Scilit]
- 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]
- Tou, E.; Goff, C. The Euler Archive. 2011. Available online: https://scholarlycommons.pacific.edu/euler-works/index.html (accessed on 13 January 2026).
- Euler, L. De progressionibus transcendentibus seu quarum termini generales algebraice dari nequeunt. Novi Comment. Acad. Sci. Petropolitanae 1738, 5, 36–57. [Google Scholar]
- Euler, L. Methodus facilis computandi angulorum sinus ac tangentes tam naturales quam artificiales. Novi Comment. Acad. Sci. Petropolitanae 1750, 11, 194–230. [Google Scholar]
- Priestley, H. Introduction to Complex Analysis, 2nd ed.; Oxford University Press: Oxford, UK, 2003. [Google Scholar]
- Ritelli, D. Introduction to Special Functions for Applied Mathematics; CRC Press: Boca Raton, FL, USA, 2025. [Google Scholar]
- Gogolin, A.O.; Tsitsishvili, E.G.; Komnik, A. Lectures on Complex Integration; Springer: Cham, Switzerland, 2014. [Google Scholar]
- Duren, P.L. Invitation to Classical Analysis; American Mathematical Society: Providence, RI, USA, 2012; Volume 17. [Google Scholar]
- Laplace, P. Théorie Analytique des Probabilités; Courcier: Paris, France, 1814. [Google Scholar]
- Fubini, G. Lezioni di Analisi Matematica; Società Tipografico-Editrice Nazionale: Torino, Italy, 1920. [Google Scholar]
- Canuto, C.; Tabacco, A. Mathematical Analysis II; Universitext Series; Springer: Milan, Italy; New York, NY, USA, 2011. [Google Scholar]
- Euler, L. Institutiones Calculi Integralis; Academiae Imperialis Scientiarum: Petropoli, Brazil, 1768; Volumes I–III, pp. 1768–1770. [Google Scholar]
- 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]
- Salwinski, D. Euler’s Sine Product Formula: An Elementary Proof. Coll. Math. J. 2018, 49, 126–135. [Google Scholar] [CrossRef] [Scilit]
- 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]
- Nielsen, N. Handbuch der Theorie der Gammafunktion; Teubner: Leipzig, Germany, 1906. [Google Scholar]
- Poissons, S. Mémoire sul les intégrales définies. J. l’Éc. Polytech. 1813, 6, 215–246. [Google Scholar]
- Cauchy, A. Exercices de Mathématiques, Ie année. J. l’Éc. Polytech. 1826, 28, 150–1841. [Google Scholar]
- Boncompagni, B. Recherches sur les intégrales définies. J. Die Reine Angew. Math. 1843, 1843, 74–96. [Google Scholar]
- 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]
- Bonnet, O. Remarques sur quelques intégrales définies. J. Math. Pures Appl. 1849, 14, 249–256. [Google Scholar]
- Rudin, W. Principles of Mathematical Analysis, 3rd ed.; McGraw–Hill: New York, NY, USA, 1976. [Google Scholar]
- 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).
- Mâagli, H.; El Abidine, Z. Mellin transform of some trigonometric functions. Open J. Math. Sci. 2025, 9, 245–264. [Google Scholar] [CrossRef] [Scilit]
- 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]
- Chen, H. Evaluation of the Laplace integral. Int. J. Math. Educ. Sci. Technol. 2004, 35, 773–777. [Google Scholar] [CrossRef] [Scilit]
- Nahin, P.J. Inside Interesting Integrals, 2nd ed.; Springer: New York, NY, USA, 2020. [Google Scholar]
- Ritelli, D.; Spaletta, G. Introductory Mathematical Analysis for Quantitative Finance; Chapman and Hall: Boca Raton, FL, USA, 2020. [Google Scholar]
- Hassler, U.; Hosseinkouchack, M. Basel Problem: Historical perspective and further proofs from stochastic processes. Euleriana 2022, 2, 120–130. [Google Scholar] [CrossRef] [Scilit]
- Ayoub, R. Euler and the Zeta function. Am. Math. Mon. 1974, 81, 1067–1086. [Google Scholar] [CrossRef] [Scilit]
- 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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.