Preprint
Article

This version is not peer-reviewed.

A Simpson–Type Decomposition of the Euler–Mascheroni Constant

Submitted:

02 May 2026

Posted:

04 May 2026

You are already at the latest version

Abstract
An elementary and self-contained approach to the Euler–Mascheroni constant γ is presented, based solely on Simpson's quadrature rule and the convexity of the function \( f(x)=1/x \). By introducing Simpson-type weighted harmonic sums, local logarithmic increments are approximated by simple finite linear combinations of reciprocal integers. Sharp two-sided inequalities, derived from monotonicity and convexity, yield explicit control of the quadrature error and provide a purely numerical proof of the classical limit defining γ, without recourse to the Euler--Maclaurin summation formula. A key structural outcome of this framework is a decomposition \( \gamma = \log [2] - \frac{1}{3} + \delta \), where the constant δ arises naturally as the limit of a rational sequence associated with Simpson-regularized harmonic sums. The resulting sequence converges significantly faster than the classical definition of γ, and its convergence is explained by the cancellation of dominant error terms. This work highlights an unexpected connection between elementary numerical quadrature and one of the fundamental constants of analysis.
Keywords: 
;  ;  ;  

1. Introduction

The Euler–Mascheroni constant is a classical object of analysis and number theory [1]. Let
H ( N ) = k = 1 N 1 k
denote the N-th harmonic number. Then the Euler–Mascheroni constant can be written succinctly as
γ = lim N H ( N ) log [ N ] 0.57721 .
Figure 1 illustrates the difference between the integral of 1 / x and its approximation by the rectangular rule. The existence of γ is usually established via asymptotic expansions derived from the Euler–-Maclaurin summation formula or related analytic techniques [2]. While this limit is familiar, most standard proofs rely on the Euler–Maclaurin summation formula, and it is natural to ask whether γ can be understood using only elementary numerical ideas.
According to Havil [3], no proof of the irrationality of Euler’s constant γ is currently known, and the problem remains open. Moreover, the classical limit defining γ is known to converge very slowly, a fact that motivates the search for alternative approximations with provably faster convergence. In this paper, we study a class of rational approximations arising from Simpson–type quadrature formulas, and derive explicit error bounds that clarify the rate of convergence of the resulting sequences.

2. Analytic Approximation of the Logarithmic Integral

2.1. Simpson–Type Approximation of Logarithmic Increments

Definition 1. 
For integers n 1 , define
f ( n ) 2 n 1 2 n + 1 1 x d x = log [ 2 n + 1 ] log [ 2 n 1 ] .
This integral is approximated using Simpson’s rule with a step size of 1, as illustrated in Figure 2. Using the local Simpson weight
g ( n ) = 1 3 1 2 n 1 + 4 2 n + 1 2 n + 1 ,
we now define a global Simpson-regularized approximation of the harmonic sum. Notably, g ( n ) is a finite linear combination of reciprocal integers and depends solely on the values of 1 / x at the integer points.

2.2. Convexity and Comparison Inequalities

The local quadrature error is defined as follows:
d ( n ) = g ( n ) f ( n ) .
The function 1 / x is strictly decreasing and convex on ( 0 , ) . Let p n ( x ) denote a quadratic polynomial interpolating 1 / x at the three points.
x = 2 n 1 , 2 n , 2 n + 1 .
By construction,
g ( n ) = 2 n 1 2 n + 1 p n ( x ) d x .
As 1 / x is convex, the interpolation polynomial p n ( x ) lies above 1 / x on [ 2 n 1 , 2 n + 1 ] . Thus, p n ( x ) f ( x ) > 0 except at the midpoint, and integration yields d ( n ) > 0 . Consequently,
d ( n ) > 0 for n 1 .
Moreover, convexity implies a comparison across adjacent intervals; in particular,
f ( n ) > g ( n + 1 ) for n 2 .
It follows that
0 < d ( n ) < g ( n ) g ( n + 1 ) for n 2 .

2.3. Telescoping Bounds and Error Convergence

Summing the aforementioned inequalities for n = 2 , , N yields
0 < n = 2 N d ( n ) < n = 2 N { g ( n ) g ( n + 1 ) } .
Both bounds telescope:
0 < n = 2 N d ( n ) < g ( 2 ) g ( N + 1 )
As g ( n ) 0 as n and d ( n ) > 0 for n 2 , the partial sums
n = 2 N d ( n )
form a monotone increasing sequence. Moreover, since
n = 2 N d ( n ) < g ( 2 ) = 23 15 1.5333 ,
the sequence of partial sums is bounded above and therefore converges.
Definition 2 
(The constant δ ). The constant δ is naturally defined by
δ lim N n = 2 N d ( n ) = lim N n = 2 N { g ( n ) f ( n ) } .

3. Arithmetic Consequences of Simpson-Regularized Sums

We now assemble the local Simpson approximations introduced above to obtain a global regularized analogue of the harmonic sum.

3.1. Recovery of the Euler–Mascheroni Constant

Definition 3 
(Simpson-regularized harmonic sum). Let N be a positive integer.
(i) N odd. If N is odd, we partition the interval [ 1 , N ] into subintervals of length two,
[ 1 , 3 ] , [ 3 , 5 ] , , [ N 2 , N ] ,
and apply Simpson’s rule to each subinterval to approximate the integral
1 N 1 x d x .
The resulting approximation is denoted by h ( N ) and is given by
h ( N ) k = 1 N 1 2 g ( k ) .
(ii) N even. If N is even, then N 1 is odd. We apply Simpson’s rule on the interval [ 1 , N 1 ] as above, and approximate the remaining interval [ N 1 , N ] by the trapezoidal rule. Namely, we define
h ( N ) h ( N 1 ) + 1 2 1 N 1 + 1 N .
Lemma 1 
(Representation by integer reciprocals). The Simpson-regularized harmonic sum h ( N ) can be written as a finite linear combination of the reciprocals of positive integers.
(i) N odd. If N is odd, then
h ( N ) = 1 3 + 1 3 n = 2 N 1 c n n + 1 3 N ,
where the coefficients c n are given by
c n = 4 , if n is even , 2 , if n is odd .
(ii) N even. If N is even, then
h ( N ) = 1 3 + 1 3 n = 2 N 1 c n n + 1 6 ( N 1 ) + 1 2 N .
Lemma 2. 
The constant δ defined in Definition 2 can be written as
δ = lim n { h ( n ) log [ n ] }
Proof. 
By definition, δ = n = 2 d ( n ) with d ( n ) = g ( n ) f ( n ) . Summing the exact logarithmic increments defined in equation (3),
n = 1 N f ( n ) = log [ 2 N + 1 ] .
yields a telescoping sum, from which the claim follows. □
Theorem 1 
(Limit formula for H ( n ) h ( n ) ).
lim n { H ( N ) h ( N ) } = log [ 2 ] + 1 3 = 0.56438 .
Proof. 
Let us compare the coefficients of 1 / n in the representations of h ( N ) and H ( N ) .
For even n, the coefficient in h ( N ) is 4 / 3 , hence
1 n 4 3 n = 1 3 n .
For interior odd n 3 , the coefficient in h ( N ) is 2 / 3 , and thus
1 n 2 3 n = 1 3 n .
Therefore, up to boundary terms, we obtain
H ( N ) h ( N ) = 1 3 3 k N 2 k odd 1 k 2 k N 1 k even 1 k + 2 3 + O 1 N .
The alternating harmonic series
k = 1 ( 1 ) k 1 1 k
is known to converge to log [ 2 ] . Since the boundary contributions vanish as N , we conclude that
lim n { H ( n ) h ( n ) } = log [ 2 ] + 1 3 .
Proposition 1 
(Recovery of the Euler–Mascheroni constant). From equations (12) and (28), we obtain
H ( N ) log [ N ] = log [ 2 ] + 1 3 + δ + O 1 N .
In particular,
γ = lim N { H ( N ) log [ N ] } = log [ 2 ] + 1 3 + δ .
Equivalently, this yields the decomposition
γ = log [ 2 ] + 1 3 + δ ,
which expresses the Euler–Mascheroni constant, as defined in equation (2), in the form of a sum of two constants.

4. Convergence of the Simpson-Regularized Harmonic Sum

4.1. Convergence of h ( N )

Theorem 2 
(Convergence of h ( N ) ). There exists a real constant δ and a function r ( N ) such that
h ( N ) log [ N ] δ r ( N )
for all integers N 3 , where r ( N ) is defined as follows.
(i) 
If N is odd and N 3 , then
r ( N ) : = 1 15 ( N 1 ) 4 .
(ii) 
If N is even and N 4 , then
r ( N ) : = 1 15 ( N 2 ) 4 + 1 6 ( N 1 ) 3 .
We define the error term
ε ( N ) : = h ( N ) log [ N ] δ .
Then ε ( N ) satisfies
| ε ( N ) | r ( N ) .
In particular, h ( N ) log [ N ] δ as N .
Proof. 
We first treat the case where N is odd.
Let f ( x ) = 1 / x . On each subinterval [ 2 j 1 , 2 j + 1 ] , application of Simpson’s rule with step size 1 yields a local error of the form
1 90 f ( 4 ) ( ξ j ) , ξ j ( 2 j 1 , 2 j + 1 ) .
See, for example, [2].
Since
f ( 4 ) ( x ) = 24 x 5 ,
and | f ( 4 ) ( x ) | is positive and strictly decreasing for x > 0 , we obtain
| f ( 4 ) ( ξ j ) | 24 ( 2 j 1 ) 5 .
Hence the absolute error on each subinterval is bounded by
4 15 ( 2 j 1 ) 5 .
Summing the tail of these local errors, we define
δ : = lim N h ( N ) log [ N ] ,
which exists since the error terms are positive and summable. Moreover,
j ( N + 1 ) / 2 ( 2 j 1 ) 5 N 1 x 5 d x = 1 4 ( N 1 ) 4 .
Multiplying by the factor 4 / 15 yields
h ( N ) log [ N ] δ 1 15 ( N 1 ) 4 ,
which proves (i).
We next consider even N. By definition,
h ( N ) = h ( N 1 ) + 1 2 1 N 1 + 1 N .
The first term h ( N 1 ) is estimated by part (i). For the remaining interval [ N 1 , N ] , the trapezoidal rule gives an error of the form
1 12 f ( η N ) , η N ( N 1 , N ) ,
and since
f ( x ) = 2 x 3 ,
its absolute value is bounded by 1 / ( 6 ( N 1 ) 3 ) . Combining these two estimates proves (ii). □
Definition 4 
(A rational sequence associated with δ ). Let us define a sequence a ( N ) by
a ( N ) 2 h ( N ) h ( N 2 ) .
Since each h ( N ) is rational, each a ( N ) is rational.
Lemma 3. 
The constant δ satisfies
δ = lim n a ( N ) 0.01283 .
Proof. 
By Theorem 2, there exists a real constant δ and a function r ( N ) 0 such that
h ( N ) log [ N ] δ r ( N )
for all integers N 3 , where r ( N ) is defined explicitly according to the parity of N. Hence we may write
h ( N ) = log [ N ] + δ + ε ( N ) ,
with an error term ε ( N ) satisfying
| ε ( N ) | r ( N ) .
Substituting this representation into equation (49) yields
a ( N ) = δ + 2 ε ( N ) ε ( N 2 ) .
Therefore,
| a ( N ) δ | = | 2 ε ( N ) ε ( N 2 ) | 2 r ( N ) + r ( N 2 ) .
(i) Suppose that N is odd. Then N 2 is also odd, and by the definition of r ( N ) we have
r ( N ) = 1 15 ( N 1 ) 4 , r ( N 2 ) = 1 15 ( N 2 1 ) 4 .
Hence
| a ( N ) δ | 2 15 ( N 1 ) 4 + 1 15 ( N 2 1 ) 4 1 5 ( N 1 ) 4 ,
which proves (i).
(ii) Suppose that N is even. Then N 2 is odd. Using the even-N bound for r ( N ) and the odd-N bound for r ( N 2 ) , we obtain
| a ( N ) δ | 2 15 ( N 2 ) 4 + 1 6 ( N 1 ) 3 + 1 15 ( N 2 1 ) 4 ,
which proves (ii). □
The numerical values in Table 1 illustrate the rapid convergence of a ( N ) toward the constant δ . This behavior can be explained by the cancellation of the dominant O ( 1 / n ) error terms in the asymptotic expansion of h ( n ) .
Remark 1. 
The slow convergence traditionally observed in numerical approximations to the Euler–Mascheroni constant γ [3] can be traced to the O ( 1 / n ) contribution associated with the alternating harmonic series introduced in equation (29). In the present framework, this contribution is isolated explicitly, and removing it leads to the constant δ, whose numerical values exhibit markedly faster convergence (see Table 1).

5. Conclusions

This study demonstrated that the convergence of the harmonic series minus the logarithm can be established using solely Simpson’s rule and the convexity of the function 1 / x . This provides a simple, purely numerical, and analytic alternative to classical proofs based on the Euler–Maclaurin formula.
In addition, we introduced the constant δ , defined as the limit of a rational sequence arising from Simpson–type harmonic approximations. Combined with the identity established in equation (33)
From a numerical perspective, this formulation explains the accelerated convergence of the associated rational sequence, which results from the systematic cancellation of leading error terms.
More broadly, the approach illustrates how elementary quadrature methods can shed new light on classical constants and suggests that similar ideas may be fruitfully applied to higher-order Newton–Cotes formulas [4].

Acknowledgments

I thank my wife for her suggestions and encouragement. This work was supported by JSPS KAKENHI Grant Numbers JP25K22410, JP26K10050 and Yokohama Foundation for Advancement of Medical Science (Medical Digitalization Grant). I thank Editage (www.editage.com) for providing professional English language editing services. AI-assisted tools (Microsoft Copilot, 2026) were used solely for idea organization and for improving the clarity and fluency of the English text. All mathematical derivations, theoretical arguments, numerical experiments, and final scientific content were entirely produced and verified by the authors.

References

  1. E. T. Whittaker and G. N. Watson. A Course of Modern Analysis. 4th ed., Cambridge University Press, Cambridge, 1927. [CrossRef]
  2. A. Quarteroni, R. Sacco, and F. Saleri. Numerical Mathematics, 2nd ed. Springer, Berlin, 2007.
  3. J. Havil. Gamma: Exploring Euler’s Constant. Princeton University Press, Princeton, 2003.
  4. P. A. A. Magalhães Júnior and C. A. Magalhães. Higher-order Newton–Cotes formulas. J. Math. Stat. 6 (2010), 193–204. [CrossRef]
Figure 1. Approximation of the integral of 1 / x by the left-endpoint rectangular rule. Each rectangle has unit width and height 1 / k , producing the harmonic sum H ( N ) . The difference between this sum and log [ N ] converges to the Euler–Mascheroni constant γ .
Figure 1. Approximation of the integral of 1 / x by the left-endpoint rectangular rule. Each rectangle has unit width and height 1 / k , producing the harmonic sum H ( N ) . The difference between this sum and log [ N ] converges to the Euler–Mascheroni constant γ .
Preprints 211461 g001
Figure 2. Simpson–type numerical integration of 1 / x , producing the regularized sum h ( N ) . The horizontal width of each rectangle represents the Simpson weight: endpoint contributions carry weight 1 / 3 , interior subintervals have width 4 / 3 , and interior boundary nodes contribute a combined weight 2 / 3 arising from adjacent subintervals, indicated by a dashed line. The alternating excess and deficit areas explain the higher accuracy compared with the rectangular approximation in Figure 1.
Figure 2. Simpson–type numerical integration of 1 / x , producing the regularized sum h ( N ) . The horizontal width of each rectangle represents the Simpson weight: endpoint contributions carry weight 1 / 3 , interior subintervals have width 4 / 3 , and interior boundary nodes contribute a combined weight 2 / 3 arising from adjacent subintervals, indicated by a dashed line. The alternating excess and deficit areas explain the higher accuracy compared with the rectangular approximation in Figure 1.
Preprints 211461 g002
Table 1. Numerical convergence of a ( N ) toward δ .
Table 1. Numerical convergence of a ( N ) toward δ .
N a ( N ) δ a ( N ) r ( N )
3 0.012169312 6.64 × 10 4 8.23 × 10 4
5 0.012735433 9.78 × 10 5 1.07 × 10 4
7 0.012806754 2.65 × 10 5 2.78 × 10 5
9 0.012823395 9.88 × 10 6 1.02 × 10 5
11 0.012828805 4.47 × 10 6 4.55 × 10 6
13 0.012830969 2.30 × 10 6 2.33 × 10 6
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated