Double-Exponential transformation:
A quick review of a Japanese tradition††thanks:
This is a preliminary version of
an article to be included in ICIAM 2023, Tokyo Intelligencer.
Abstract
This article is a short introduction to numerical methods using the double exponential (DE) transformation, such as tanh-sinh quadrature and DE-Sinc approximation. The DE-based methods for numerical computation have been developed intensively in Japan and the objective of this article is to describe the history in addition to the underlying mathematical ideas.
Keywords: Double exponential transformation, DE integration formula, tanh-sinh quadrature, DE-Sinc method.
1 Introduction
The double exponential (DE) transformation is a generic name of variable transformations (changes of variables) used effectively in numerical computation on analytic functions, such as numerical quadrature and function approximation. A typical DE transformation is a change of variable to another variable by with the function
The term “double exponential” refers to the property that the derivative
decays double exponentially
(1) |
as .
This article is a short introduction to numerical methods using DE transformations such as the double exponential formula (tanh-sinh quadrature) for numerical integration and the DE-Sinc method for function approximation. The DE-based methods for numerical computation have been developed intensively in Japan [5, 7, 34, 38] and a workshop titled “Thirty Years of the Double Exponential Transforms” was held at RIMS (Research Institute for Mathematical Sciences, Kyoto University) on September 1–3, 2004 [14]. The objective of this article is to describe the history of the development of the DE-based methods in addition to the underlying mathematical ideas.
This article is written to the memory of Professors Masao Iri (President of Japan SIAM, 1996), Masatake Mori (President of Japan SIAM, 1998), and Masaaki Sugihara (Vice President of Japan SIAM, 2008).
2 DE formula for numerical integration
The DE formula for numerical integration invented by Hidetosi Takahasi and Masatake Mori [37] was first presented at the RIMS workshop “Studies on Numerical Algorithms,” held on October 31–November 2, 1972. The celebrated term of “double exponential formula” was proposed there, as we can see in the proceedings paper [36].
2.1 Quadrature formula
The DE formula was motivated by the fact that the trapezoidal rule is highly effective for integrals over the infinite interval . For an integral
for example, we employ a change of variable using some function satisfying and , and apply the trapezoidal rule to the transformed integral
to obtain an infinite sum of discretization
(2) |
A finite-term approximation to this infinite sum results in an integration formula
(3) |
Such combination of the trapezoidal rule with a change of variables was conceived by several authors [2, 24, 25, 35] around 1970.
The error of the formula (3) consists of two parts, the error incurred by discretization (2) and the error caused by truncation of an infinite sum to a finite sum .
The major findings of Takahasi and Mori consisted of two ingredients. The first was that the double exponential decay of the transformed integrand achieves the optimal balance (or trade-off) between the discretization error and the truncation error . The second finding was that a concrete choice of
(4) |
is suitable for this purpose thanks to the double exponential decay shown in (1). With this particular function the formula (3) reads
which is sometimes called “tanh-sinh quadrature.” The error of this formula is estimated roughly as
(5) |
with some . The DE formula has an additional feature that it is robust against end-point singularities of integrands.
The idea of the DE formula can be applied to integrals over other types of intervals of integration. For example,
(6) | |||
(7) |
Such formulas are also referred to as the double exponential formula. The DE formula is available in Mathematica (NIntegrate), Python library SymPy, Python library mpmath, C++ library Boost, Haskell package integration, etc.
2.2 Optimality
Optimality of the DE transformation (4) was discussed already by Takahasi and Mori [37]. Numerical examples also support its optimality. Figure 1 (taken from [5]) shows the comparison of the DE transformation (4) against other transformations
for
that has integrable singularities at both ends of the interval of integration. The DE formula converges much faster than others. It is known that the tanh-rule (using ) has the (rough) convergence rate , in contrast to in (5) of the DE formula.

The optimality argument of [37], based on complex function theory, was convincing enough for the majority of scientists and engineers, but not perfectly satisfactory for theoreticians. Rigorous mathematical argument for optimality of the DE formula was addressed by Masaaki Sugihara [28, 29, 30] in the 1980–1990s in a manner comparable to Stenger’s framework [26] for optimality of the tanh rule. It is shown in [30] (also [42]) that the DE formula is optimal with respect to a certain class (Hardy space) of integrand functions.
In principle, for each class of integrand functions we may be able to find an optimal quadrature formula, and the optimal formula naturally depends on our choice of the admissible class of integrands. Thus the optimality of a quadrature formula is only relative. However, it was shown by Sugihara that no nontrivial class of integrand functions exists that admits a quadrature formula with smaller errors than the DE formula. We can interpret this fact as the absolute optimality of the DE formula.
2.3 Fourier-type integrals
For Fourier-type integrals like
the DE formula like (6) is not very successful. To cope with Fourier-type integrals, a novel technique, in the spirit of DE transformation, was proposed by Ooura and Mori [22, 23]. In [22] they proposed to use
(), which maps to in such a way that (i) double exponentially as and (ii) double exponentially as . The proposed formula changes the variable by to obtain
to which the trapezoidal rule with equal mesh is applied, where and are chosen to satisfy . The transformed integrand decays double-exponentially toward because of the factor and also toward because for (sample point of the trapezoidal rule) tends double-exponentially to , at which sine function vanishes. Another (improved) transformation function
is given in [23], where and .
2.4 IMT rule
In 1969, prior to the DE formula, a remarkable quadrature formula was proposed by Masao Iri, Sigeiti Moriguti, and Yoshimitsu Takasawa [2]. The formula is known today as the “IMT rule,” which name was introduced in [35] and used in [1].
For an integral
over , the IMT rule applies the trapezoidal rule to the integral
resulting from the transformation by
where
is a normalizing constant to render .
The transformed integrand has the property that all the derivatives vanish at . By the Euler–Maclaurin formula, this indicates that the IMT rule should be highly accurate. Indeed, it was shown in [2] via a complex analytic method that the error of the IMT rule can be estimated roughly as , which is much better than of the Simpson rule, say, but not as good as of the DE formula. Variants of the IMT rule have been proposed for possible improvement [4, 10, 21, 29], but it turned out that an IMT-type rule, transforming to rather than to , cannot outperform the DE formula.
3 DE-Sinc methods
Changing variables is also useful in the Sinc numerical methods. The book [27] of Stenger in 1993 describes this methodology to the full extent, focusing on single exponential (SE) transformations like . Use of the double exponential transformation in the Sinc numerical methods was initiated by Sugihara [31, 33] around 2000, with subsequent development mainly in Japan. Such numerical methods are often called the DE-Sinc methods. The subsequent results obtained in the first half of 2000s are described in [5, 7, 34].
3.1 Sinc approximation
The Sinc approximation of a function over is given by
(8) |
where is the so-called Sinc function defined by
and the step size is chosen appropriately, depending on . The technique of variable transformation is also effective in this context. By applying the formula (8) to we obtain
or equivalently,
To approximate over , for example, we choose
(9) | ||||
(10) |
etc. The methods using (9) and (10) are often called the SE- and DE-Sinc approximations, respectively. The error of the SE-Sinc approximation is roughly and that of the DE-Sinc approximation is .
These approximation schemes are compared in Fig. 2 (taken from [34]) for function
over . In Fig. 2, “Ordinary-Sinc” means the SE-Sinc approximation using (9), and the polynomial interpolation with the Chebyshev nodes is included for comparison.

3.2 Application to other problems
Once a function approximation scheme is at hand, we can apply it to a variety of numerical problems. Indeed this is also the case with the DE-Sinc approximation as follows.
- •
- •
- •
- •
- •
Acknowledgement. The authors are thankful to Ken’ichiro Tanaka and Tomoaki Okayama for their support in writing this article.
References
- [1] P. J. Davis and P. Rabinowitz: Methods of Numerical Integration, Academic Press, 1st ed., 1975; 2nd ed., 1984.
- [2] M. Iri, S. Moriguti and Y. Takasawa: On a certain quadrature formula (in Japanese), RIMS Kokyuroku, 91 (1970), 82–118. English translation in J. Comput. Appl. Math., 17 (1987), 3–20.
- [3] K. Kobayashi, H. Okamoto, and J. Zhu: Numerical computation of water and solitary waves by the double exponential transform, J. Comput. Appl. Math., 152 (2003), 229–241.
- [4] M. Mori: An IMT-type double exponential formula for numerical integration, Publ. RIMS, 14 (1978), 713–729.
- [5] M. Mori: Discovery of the double exponential transformation and its developments, Publ. RIMS, 41 (2005), 897–935.
- [6] M. Mori, A. Nurmuhammad, and M. Muhammad: DE-sinc method for second order singularly perturbed boundary value problems, Japan J. Indust. Appl. Math., 26 (2009), 41–63.
- [7] M. Mori and M. Sugihara: The double exponential transformations in numerical analysis, J. Comput. Appl. Math., 127 (2001), 287–296.
- [8] M. Muhammad and M. Mori: Double exponential formulas for numerical indefinite integration, J. Comput. Appl. Math., 161 (2003), 431–448.
- [9] M. Muhammad, A. Nurmuhammad, M. Mori, and M. Sugihara: Numerical solution of integral equations by means of the Sinc collocation method based on the double exponential transformation, J. Comput. Appl. Math., 177 (2005), 269–286.
- [10] K. Murota and M. Iri: Parameter tuning and repeated application of the IMT-type transformation in numerical quadrature, Numer. Math., 38 (1982), 347–363.
- [11] A. Nurmuhammad, M. Muhammad, and M. Mori: Numerical solution of initial value problems based on the double exponential transformation, Publ. RIMS, 41 (2005), 937–948.
- [12] A. Nurmuhammad, M. Muhammad, and M. Mori: Sinc-Galerkin method based on the DE transformation for the boundary value problem of fourth-order ODE, J. Comput. Appl. Math., 206 (2007), 17–26.
- [13] A. Nurmuhammad, M. Muhammad, M. Mori, and M. Sugihara: Double exponential transformation in the Sinc-collocation method for a boundary value problem with fourth order ordinary differential equation, J. Comput. Appl. Math., 182 (2005), 32–50.
- [14] H. Okamoto and M. Sugihara, eds.: Thirty Years of the Double Exponential Transforms, Special issue of Publ. RIMS, 41 (2005), Issue 4.
- [15] T. Okayama: Theoretical analysis of Sinc-collocation methods and Sinc-Nyström methods for systems of initial value problems, BIT Numer. Math., 58 (2018), 199–220.
- [16] T. Okayama, T. Matsuo, and M. Sugihara: Error estimates with explicit constants for Sinc approximation, Sinc quadrature and Sinc indefinite integration, Numer. Math., 124 (2013), 361–394.
- [17] T. Okayama, T. Matsuo, and M. Sugihara: Improvement of a Sinc-collocation method for Fredholm integral equations of the second kind, BIT Numer. Math., 51 (2011), 339–366.
- [18] T. Okayama, T. Matsuo, and M. Sugihara: Theoretical analysis of Sinc-Nyström methods for Volterra integral equations, Math. Comput., 84 (2015), 1189–1215.
- [19] T. Okayama and K. Tanaka: Yet another DE-Sinc indefinite integration formula, Dolomites Res. Notes Approx., 15 (2022), 105–116.
- [20] T. Okayama, K. Tanaka, T. Matsuo, and M. Sugihara: DE-Sinc methods have almost the same convergence property as SE-Sinc methods even for a family of functions fitting the SE-Sinc methods, Part I: definite integration and function approximation, Numer. Math., 125 (2013), 511–543.
- [21] T. Ooura: An IMT-type quadrature formula with the same asymptotic performance as the DE formula, J. Comput. Appl. Math., 213, (2008), 232–239.
- [22] T. Ooura and M. Mori: The double exponential formula for oscillatory functions over the half infinite interval, J. Comput. Appl. Math., 38 (1991), 353–360.
- [23] T. Ooura and M. Mori: A robust double exponential formula for Fourier type integrals, J. Comput. Appl. Math., 112 (1999), 229–241.
- [24] C. Schwartz: Numerical integration of analytic functions, J. Comput. Phys., 4 (1969), 19–29.
- [25] F. Stenger: Integration formulas based on the trapezoidal formula, J. Inst. Math. Appl., 12 (1973), 103–114.
- [26] F. Stenger: Optimal convergence of minimum norm approximations in , Numer. Math., 29 (1978), 345–362.
- [27] F. Stenger: Numerical Methods Based on Sinc and Analytic Functions, Springer, 1993.
- [28] M. Sugihara: On optimality of the double exponential formulas (in Japanese), RIMS Kokyuroku, 585 (1986), 150–175.
- [29] M. Sugihara: On optimality of the double exponential formulas, II (in Japanese), RIMS Kokyuroku, 648 (1988), 20–38.
- [30] M. Sugihara: Optimality of the double exponential formula—functional analysis approach, Numer. Math., 75 (1997), 379–395.
- [31] M. Sugihara: Sinc approximation using double exponential transformations (in Japanese), RIMS Kokyuroku, 990 (1997), 125–134.
- [32] M. Sugihara: Double exponential transformation in the Sinc-collocation method for two-point boundary value problems, J. Comput. Appl. Math., 149 (2002) 239–250.
- [33] M. Sugihara: Near optimality of the sinc approximation, Math. Comput., 72 (2003), 767–786.
- [34] M. Sugihara and T. Matsuo: Recent developments of the Sinc numerical methods, J. Comput. Appl. Math., 164/165 (2004), 673–689.
- [35] H. Takahasi and M. Mori: Quadrature formulas obtained by variable transformation, Numer. Math., 21 (1973), 206–219.
- [36] H. Takahasi and M. Mori: Quadrature formulas obtained by variable transformation (2) (in Japanese), RIMS Kokyuroku, 172 (1973), 88–104.
- [37] H. Takahasi and M. Mori: Double exponential formulas for numerical integration, Publ. RIMS, 9 (1974), 721–741.
- [38] K. Tanaka and T. Okayama: Numerical Methods with Variable Transformations (in Japanese), Iwanami, 2023 (forthcoming).
- [39] K. Tanaka and M. Sugihara: Construction of approximation formulas for analytic functions by mathematical optimization, in G. Baumann (ed.): New Sinc Methods of Numerical Analysis, Birkhäuser (2021), 341–368.
- [40] K. Tanaka, M. Sugihara, and K. Murota: Numerical indefinite integration by double exponential sinc method, Math. Comput., 74 (2004), 655–679.
- [41] K. Tanaka, M. Sugihara, and K. Murota: Function classes for successful DE-Sinc approximations, Math. Comput., 78 (2009), 1553–1571.
- [42] K. Tanaka, M. Sugihara, K. Murota, and M. Mori: Function classes for double exponential integration formulas, Numer. Math., 111 (2009), 631–655.