World Library  
Flag as Inappropriate
Email this Article

Tanh-sinh quadrature

Article Id: WHEBN0008217750
Reproduction Date:

Title: Tanh-sinh quadrature  
Author: World Heritage Encyclopedia
Language: English
Subject: Quadrature (mathematics)
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Tanh-sinh quadrature

Tanh-sinh quadrature is a method for numerical integration introduced by Hidetosi Takahasi and Masatake Mori in 1974.[1] It uses the change of variables

x = \tanh(\tfrac12 \pi \sinh t)\,

to transform an integral on the interval x ∈ (−1, +1) to an integral on the entire real line t ∈ (−∞,+∞). After this transformation, the integrand decays with a double exponential rate, and thus, this method is also known as the double exponential (DE) formula.[2]

For a given step size h, the integral is approximated by the sum

\int_{-1}^1 f(x) \, dx \approx \sum_{k=-\infty}^\infty w_k f(x_k),

with the abscissas

x_k = \tanh(\tfrac12 \pi \sinh kh)

and the weights

w_k = \frac{\tfrac12 h \pi \cosh kh}{\cosh^2(\tfrac12 \pi \sinh kh)}.

Like Gaussian quadrature, Tanh-Sinh quadrature is well suited for arbitrary-precision integration, where an accuracy of hundreds or even thousands of digits is desired. The convergence is exponential (in the discretization sense) for sufficiently well-behaved integrands: doubling the number of evaluation points roughly doubles the number of correct digits.

Tanh-Sinh quadrature is less efficient than Gaussian quadrature for smooth integrands, but unlike Gaussian quadrature tends to work equally well with integrands having singularities or infinite derivatives at one or both endpoints of the integration interval. A further advantage is that the abscissas and weights are relatively easy to compute. The cost of calculating abscissa-weight pairs for n-digit accuracy is roughly n2 log2 n compared to n3 log n for Gaussian quadrature.

Upon comparing the scheme to Gaussian quadrature and error function quadrature, Bailey et al. (2005) found that the Tanh-Sinh scheme "appears to be the best for integrands of the type most often encountered in experimental math research".

Bailey and others have done extensive research on Tanh-Sinh quadrature, Gaussian quadrature and error function quadrature, as well as several of the classical quadrature methods, and found that the classical methods are not competitive with the first three methods, particularly when high-precision results are required. In a conference paper (July 2004) comparing Tanh-Sinh quadrature with Gaussian quadrature and error function quadrature, Bailey and Li found: "Overall, the Tanh-Sinh scheme appears to be the best. It combines uniformly excellent accuracy with fast run times. It is the nearest we have to a truly all-purpose quadrature scheme at the present time."

Bailey (2006) found that: "The Tanh-Sinh quadrature scheme is the fastest known high-precision quadrature scheme, especially when the time for computing abscissas and weights is considered. It has been successfully employed for quadrature calculations of up to 20,000-digit precision. It works well for functions with blow-up singularities or infinite derivatives at endpoints."

Notes

References

  • Tanh-Sinh High-Precision Quadrature". (2006).
  • Pascal Molin, Intégration numérique et calculs de fonctions L (French), doctoral thesis (2010).
  • David H. Bailey, Karthik Jeyabalan, and Xiaoye S. Li, "A comparison of three high-precision quadrature schemes". Experimental Mathematics, 14.3 (2005).
  • David H. Bailey, Jonathan M. Borwein, David Broadhurst, and Wadim Zudlin, Experimental mathematics and mathematical physics, in Gems in Experimental Mathematics (2010), American Mathematical Society, pp. 41–58.
  • Jonathan Borwein, David H. Bailey, and Roland Girgensohn, Experimentation in Mathematics—Computational Paths to Discovery. A K Peters, 2003. ISBN 1-56881-136-5.
  • . This paper is also available from here.
  • . This paper is also available from here.

External links

  • John D. Cook, "source code.
  • Graeme Dennes, "Romberg numerical integration of functions over the finite interval (a,b), semi-infinite intervals (−∞,b) and (a,), and infinite interval (-∞,), for periodic and non-periodic functions. Demonstrates the astounding speed and accuracy of the Tanh-Sinh method in particular and the Double-Exponential method in general, all of which are members of the family of Double-Exponential quadrature techniques developed by Takahasi and Mori in 1974. The quadrature programs are demonstrated using an extensive, diverse range of test functions. Full open source code is provided, including extensive documentation.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.