How can we approximate the following integral for large D?

  • A
  • Thread starter Ad VanderVen
  • Start date
  • Tags
    Integral
In summary, 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 !?):using e^{\pm y} = \cosh y \pm \sinh y and D \cosh (y + C) = D \cosh C \cosh y + D \sinh C \sinh y to obtain Ae^y + Be^{-y} = (A + B) \cosh y + (A - B) \sinh y = D \cosh(y + C)where
  • #1
Ad VanderVen
169
13
TL;DR Summary
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
  • #2
Use LaTex!
 
  • #3
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, ..., ##.
 
  • #4
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 Charles Link and PeroK
  • #5
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 BvU and Delta2
  • #6
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 [tex]\int_{-\infty}^\infty (y-C)^k \mathrm{e}^{-\cosh y}\,dy[/tex] where [tex]
\tanh C = \frac{a_0u_1 - a_1u_0}{a_0u_1 + a_1u_0}[/tex] It probably has to be done numerically.
 
  • #7
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 ?
 
  • #8
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 [tex]
\int_{-\infty}^\infty (y-C)^k \mathrm{e}^{-D\cosh y}\,dy[/tex]
with [itex]C[/itex] as before and [tex]D = 2 \sqrt{\frac{u_0u_1}{a_0a_1}}[/tex]
 
  • #9
Still don't see it ...
 
  • #10
BvU said:
Still don't see it ...

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

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

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

What is an integral?

An integral is a mathematical concept that represents the area under a curve in a graph. It is used to calculate the total value of a function over a given interval.

Why is it important to solve integrals?

Solving integrals allows us to calculate important quantities such as displacement, velocity, and acceleration in physics, as well as areas, volumes, and probabilities in other fields.

What are the different methods for solving integrals?

There are several methods for solving integrals, including substitution, integration by parts, trigonometric substitution, partial fractions, and numerical integration.

How do I know which method to use when solving an integral?

The method used to solve an integral depends on the complexity of the integrand and the techniques you are familiar with. It is important to practice and understand the different methods in order to choose the most efficient one for a given integral.

What are some tips for solving integrals more efficiently?

Some tips for solving integrals more efficiently include identifying patterns in the integrand, using algebraic manipulations to simplify the expression, and choosing the most appropriate method for the given integral. It is also helpful to practice and become familiar with common integrals and their solutions.

Similar threads

Replies
3
Views
1K
Replies
12
Views
1K
Replies
1
Views
2K
Replies
16
Views
1K
Replies
2
Views
911
Replies
1
Views
909
Replies
3
Views
306
  • Calculus
Replies
6
Views
1K
Back
Top