How can we approximate the following integral for large D?

  • Context: Graduate 
  • Thread starter Thread starter Ad VanderVen
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Discussion Overview

The discussion revolves around the approximation of a specific integral involving exponential functions and polynomial terms, particularly as the parameter D becomes large. Participants explore various approaches to evaluate the integral analytically and numerically, while also considering the implications of different values of k.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the integral in Maple notation and seeks a solution, specifying conditions on the parameters involved.
  • Another participant suggests using LaTeX for clarity in mathematical expressions.
  • A participant expresses skepticism regarding the existence of an analytical solution and provides a transformed version of the integral, noting that odd values of k yield zero.
  • Further exploration leads to a general case formulation involving a shift in the variable and a suggestion that numerical methods may be necessary for evaluation.
  • Corrections are made regarding the definition of the hyperbolic cosine function, emphasizing the importance of precise notation.
  • Participants discuss the transformation of the integral and the implications of large D, proposing approximations that involve Gamma functions and leading order terms.
  • There is mention of the potential for numerical approximations and the need for clarity on the required precision for results.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the existence of an analytical solution, with some expressing doubt while others explore numerical methods. Multiple competing views on the approach to the integral remain present throughout the discussion.

Contextual Notes

Limitations include the dependence on the assumptions regarding the parameters and the unresolved nature of the mathematical steps involved in the transformations and approximations discussed.

Ad VanderVen
Messages
169
Reaction score
13
TL;DR
How to solve the following integral (in Maple notation): Int(y**k*exp(-u[0]*exp(-y)/a[0]-u[1]*exp(y)/a[1]),y=-infinity..infinity)?
How to solve the following integral (in Maple notation):
Code:
Int(y**k*exp(-u[0]*exp(-y)/a[0]-u[1]*exp(y)/a[1]),y=-infinity..infinity)

with 0<a[0], 0<u[0], 0<a[1], 0<u[1]?
 
Last edited by a moderator:
Physics news on Phys.org
Use LaTex!
 
I am looking for a solution of the following integral

$$\int_{-\infty }^{\infty }\!{y}^{k}{{\rm e}^{-{\frac {u_{{0}} \, {{\rm e}^{-y}}}{a_{{0}}}}-{\frac {u_{{1}} \, {{\rm e}^{y}}}{a_{{1}}}}}}\,{\rm d}y$$
with ## 0<a_{0}##, ## 0<a_{1}##, ## 0<c_{0}##, ## 0<c_{1}## and ##k = 1, 2, 3, ..., ##.
 
Now that we are offf the unanswered threads list anyway:

I find it hard to believe an analytical answer exists.

Doodled with ##\ u_0=a_0 \ \ \& \ \ u_1 = a_1\ ## so the integral becomes
$$ \int y^k\; e^{ -\cosh y} $$ and all the odd ##k## yield zero. What remains is interesting enough:

Wolframalpha does the work: for ##k=2## the bounds -4, 4 are already wide enough for 6 digits (0.615622) and of course 0, 5 gives the same result (but more digits !?):

1593771991051.png
1593772055358.png


with ##k=4##:
1593772227000.png

(don't trust all digits, though:
1593772494070.png

and so on
1593772700419.png


But: with larger ##k## things become slippery:
1593772619412.png

1593772547978.png
?:)

So the natural questions are:
  • Where does this come from and where is it going ?
  • Can you make do with a numerical answer ?
  • What precision do you need ?
 
  • Like
Likes   Reactions: Charles Link and PeroK
Just so it doesn't become a stumbling point later, one minor correction: ## \cosh{y}=\frac{e^y+e^{-y}}{2} ##, with a 2 in the denominator.
 
  • Like
Likes   Reactions: BvU and Delta2
BvU said:
Now that we are offf the unanswered threads list anyway:

I find it hard to believe an analytical answer exists.

Doodled with ##\ u_0=a_0 \ \ \& \ \ u_1 = a_1\ ## so the integral becomes
$$ \int y^k\; e^{ -\cosh y} $$ and all the odd ##k## yield zero. What remains is interesting enough:

The general case is \int_{-\infty}^\infty (y-C)^k \mathrm{e}^{-\cosh y}\,dy where <br /> \tanh C = \frac{a_0u_1 - a_1u_0}{a_0u_1 + a_1u_0} It probably has to be done numerically.
 
Charles Link said:
Just so it doesn't become a stumbling point later, one minor correction: ## \cosh{y}=\frac{e^y+e^{-y}}{2} ##, with a 2 in the denominator.
So actually I doodled with ##
\ 2u_0=a_0 \ \ \& \ \ 2u_1 = a_1\
##
pasmith said:
The general case is
Can you show how you do that ?
 
BvU said:
So actually I doodled with ##
\ 2u_0=a_0 \ \ \& \ \ 2u_1 = a_1\
##
Can you show how you do that ?

That should be <br /> \int_{-\infty}^\infty (y-C)^k \mathrm{e}^{-D\cosh y}\,dy
with C as before and D = 2 \sqrt{\frac{u_0u_1}{a_0a_1}}
 
Still don't see it ...
 
  • #10
BvU said:
Still don't see it ...

Use e^{\pm y} = \cosh y \pm \sinh y and <br /> D \cosh (y + C) = D \cosh C \cosh y + D \sinh C \sinh y to obtain <br /> Ae^y + Be^{-y} = (A + B) \cosh y + (A - B) \sinh y = D \cosh(y + C)
where D \cosh C = A + B),\qquad D\sinh C = A - B. Then substitute y + C = t.

But one could go further and use \int_{-\infty}^\infty f(y)\,dy = \int_0^\infty f(y) + f(-y)\,dy to obtain \int_0^\infty ((y - C)^k + (-1)^k (y + C)^k)\mathrm{e}^{-D\cosh y}\,dy and expand the polynomials to obtain <br /> (y - C)^k + (-1)^k (y + C)^k = (-1)^k \sum_{r=0}^k \frac{k!}{(k-r)!r!}C^{k-r} (1 + (-1)^r)y^r from which we see that the terms in odd r vanish and we are left with a linear combination of \int_0^\infty y^r \mathrm{e}^{-D\cosh y}\,dy.

Now for large D we can approximate this as \mathrm{e}^{-D} \int_0^\infty y^r \mathrm{e}^{-\frac12 Dy^2}\,dy and the substitution t = \frac12 D y^2 will turn this into a Gamma function:
\int_0^\infty y^r \mathrm{e}^{-\frac12 D y^2}\,dy = \frac{1}{\sqrt{2D}} \left( \frac 2D\right)^{r/2} <br /> \int_0^\infty t^{\frac{r-1}2}\mathrm{e}^{-t}\,dt =<br /> \frac{1}{\sqrt{2D}} \left( \frac 2D\right)^{r/2}\Gamma\left( \frac{r+1}{2}\right). Thus for large D <br /> \int_{-\infty}^\infty (y - C)^k \mathrm{e}^{-D\cosh y}\,dy \approx<br /> \frac{(-1)^k \mathrm{e}^{-D}}{\sqrt{2D}} \sum_{r=0}^k \frac{k!}{(k-r)!r!} C^{k-r}(1 + (-1)^r) \left(\frac 2D\right)^{r/2} \Gamma\left( \frac{r+1}{2}\right). To leading order only the r=0 term is relevant, yielding an estimate of (-1)^kC^k \mathrm{e}^{-D}\sqrt{2\pi/D}.
 
  • Like
Likes   Reactions: BvU

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K