Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I recently implemented a Tanh-Sinh quadrature integrator for a two dimensional integral, simply by integration first over the the first variable and then over the second. My question is whether or not there is a generalized formula for two (or higher) dimension of the form: $$\int{f(x)}dx\approx \sum_{k_x=-N}^N\sum_{k_y=-N}^N{f(g(k_xh,k_yh))g'(k_xh,k_yh)}$$

Where $g'$ is some (unknown) function of the partial derivatives of $g$. Note that I'm not after a specific form, I'm just looking for a generalization to 2D.

share|improve this question
a) What's $g'(k_xh,k_yh)$? b) You probably want $\approx$ instead of $=$? –  joriki Apr 18 '12 at 23:31
@joriki - in tanh sinh quadrature the function $g(kh)$ is $tanh(sinh(kh))$. I'm wondering if there exist similar functions in two dimensions. –  nbubis Apr 18 '12 at 23:33
Yes, I understood that from the question. That doesn't answer my question. What's the derivative of a function of two arguments? –  joriki Apr 18 '12 at 23:35
I think then you should indicate in the question that you don't really have a precise form that you want, just a more general idea that there should be a product involving $f(g)$ and some derivative(s) of $g$? –  joriki Apr 18 '12 at 23:50
I don't believe people have done better than using a Cartesian product of one-dimensional double exponential quadratures. I would suggest contacting Takuya Ooura to ask if there have been multidimensional versions of the algorithm developed. –  J. M. Apr 19 '12 at 2:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.