ArticleslgStudy

science

Tanh-sinh quadrature

Tanh-sinh quadrature is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Tanh-sinh quadrature rather than just read about it. In short: Tanh-sinh quadrature is a method for numerical integration introduced by Hidetoshi Takahashi and Masatake Mori in 1974. It is especially applied where singularities or infinite derivatives exist at one or both endpoints.

Key takeaways

  • Tanh-sinh quadrature belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Tanh-sinh quadrature to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Tanh-sinh quadrature from memory before moving on to harder problems.

Reference excerpt

Tanh-sinh quadrature is a method for numerical integration introduced by Hidetoshi Takahashi and Masatake Mori in 1974. It is especially applied where singularities or infinite derivatives exist at one or both endpoints. The method uses hyperbolic functions in the change of variables

x = tanh ⁡ ( 1 2 π sinh ⁡ t ) {\displaystyle x=\tanh \left({\frac {1}{2}}\pi \sinh t\right)\,}

to transform an integral on the interval x ∈ (−1, 1) to an integral on the entire real line t ∈ (−∞, ∞), the two integrals having the same value. After this transformation, the integrand decays with a double exponential rate, and thus, this method is also known as the double exponential (DE) formula. For a given step size h {\displaystyle h} , the integral is approximated by the sum

∫ − 1 1 f ( x ) d x ≈ ∑ k = − ∞ ∞ w k f ( x k ) , {\displaystyle \int _{-1}^{1}f(x)\,dx\approx \sum _{k=-\infty }^{\infty }w_{k}f(x_{k}),}

with the abscissas

x k = tanh ⁡ ( 1 2 π sinh ⁡ k h ) {\displaystyle x_{k}=\tanh \left({\frac {1}{2}}\pi \sinh kh\right)}

and the weights

w k = 1 2 h π cosh ⁡ k h cosh 2 ⁡ ( 1 2 π sinh ⁡ k h ) . {\displaystyle w_{k}={\frac {{\frac {1}{2}}h\pi \cosh kh}{\cosh ^{2}\left({\frac {1}{2}}\pi \sinh kh\right)}}.}

Use The Tanh-Sinh method is quite insensitive to endpoint behavior. Should singularities or infinite derivatives exist at one or both endpoints of the (−1, 1) interval, these are mapped to the (−∞,∞) endpoints of the transformed interval, forcing the endpoint singularities and infinite derivatives to vanish. This results is a great enhancement of the accuracy of the numerical integration procedure, which is typically performed by the Trapezoidal rule. In most cases, the transformed integrand displays a rapid roll-off (decay), enabling the numerical integrator to quickly achieve convergence. 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. However, Tanh-Sinh quadrature is not as efficient as 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 as already noted. Furthermore, Tanh-Sinh quadrature can be implemented in a progressive manner, with the step size halved each time the rule level is raised, and reusing the function values calculated on previous levels. A further advantage is that the abscissas and weights are relatively simple 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. 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 presented at RNC5 on Real Numbers and Computers (Sept 2003), when 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." 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 (2006) found that: "The Tanh-Sinh quadrature scheme is the fastest currently known high-precision quadrature scheme, particularly when one counts the time for computing abscissas and weights. It has been successfully employed for quadrature calculations of up to 20,000-digit precision." In summary, the Tanh-Sinh quadrature scheme is designed so that it gives the most accurate result for the minimum number of function evaluations. In practice, the Tanh-Sinh quadrature rule is almost invariably the best rule and is often the only effective rule when extended precision results are sought.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Tanh-sinh quadrature

Start with the simplest possible case. Write down what Tanh-sinh quadrature claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Tanh-sinh quadrature before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Tanh-sinh quadrature ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Tanh-sinh quadrature

In research
Tanh-sinh quadrature appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Tanh-sinh quadrature in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Tanh-sinh quadrature is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical integration, so understanding it makes those chapters shorter.
In everyday life
Look for Tanh-sinh quadrature outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Tanh-sinh quadrature” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Tanh-sinh quadrature in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Tanh-sinh quadrature means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Tanh-sinh quadrature out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Tanh-sinh quadrature in simple terms?

Tanh-sinh quadrature is a method for numerical integration introduced by Hidetoshi Takahashi and Masatake Mori in 1974. It is especially applied where singularities or infinite derivatives exist at one or both endpoints.

Why does Tanh-sinh quadrature matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Tanh-sinh quadrature?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Tanh-sinh quadrature.

Tags

  • Numerical integration

Keep exploring