Challenging integral involving exponentials and logarithms

In summary, the discussion focuses on solving complex integrals that involve exponential and logarithmic functions. It highlights various techniques and strategies, such as substitution and integration by parts, to tackle these challenges. The intricacies of handling limits and convergence are also addressed, along with examples that illustrate the application of theoretical concepts in practical scenarios.
  • #1
Steve Zissou
64
2
TL;DR Summary
This is harder than it seems.
Hi friends,

Can anyone offer some insight into this challenging integral?

I can't seem to think my way through this.

Thank you
Stevesie

$$ \int_{0}^{\infty}\frac{1}{x}\exp\left(-\frac{1}{2}\left( \frac{\log\left( x \right)-\mu}{\sigma}\right)^{2} \right)\exp\left(-\frac{1}{2}\left( \frac{ x -\alpha}{\beta}\right)^{2} \right)dx=??? $$
 
Last edited by a moderator:
Mathematics news on Phys.org
  • #2
Can you say what this integral is from?
 
  • #3
Your integral appears to be related to problems involving probability distributions, particularly those involving the product or convolution of different distributions.

Is that what you're working on?
 
  • Informative
Likes berkeman
  • #4
Have you looked it up in a book of integrals?
 
  • #5
berkeman said:
Can you say what this integral is from?
It's actually related to some statistical Mechanics issues I'm working on, thanks
 
  • #6
Vanadium 50 said:
Have you looked it up in a book of integrals?
You're kidding, right? Ha ha
 
  • #7
jedishrfu said:
Your integral appears to be related to problems involving probability distributions, particularly those involving the product or convolution of different distributions.

Is that what you're working on?
Right on, baby
 
  • #8
Steve Zissou said:
You're kidding, right? Ha ha
No. Why would you think I am kidding?
 
  • #10
berkeman said:
What have you found from your query here? https://www.wolframalpha.com/
Looks like Wolfram Alpha can't do it, nor are there any published tables anywhere that have been helpful. That's why I'm enlisting the help of my friends here. Any ideas would be warmly appreciated.
 
  • #11
You may have to do it numerically, or use some approximations. Are the values of alpha, beta, mu and sigma completely arbitrary, or do you have some prior knowledge of what they are? For example, for alpha = 5, beta = 0.5, mu=4.0, sigma=1.0, the second term (the Gaussian) is much narrower than the first term with the log. So you could approximate the first term with a linear function. Then the integral is easy. But this depends on the values of the constant terms. If they are completely arbitrary, it would be pretty easy to build a numerical function that will return the value of the integral given the four constant terms.
 

Attachments

  • Screenshot 2024-08-25 at 5.21.51 PM.png
    Screenshot 2024-08-25 at 5.21.51 PM.png
    15.8 KB · Views: 18
  • Like
Likes Steve Zissou and berkeman
  • #12
Thank you phyzguy! I think you've go the right idea. Still, it seems strange to me that such familiar functions haven't been examined in this way before.
 
  • #13
Steve Zissou said:
Still, it seems strange to me that such familiar functions haven't been examined in this way before.
I'm not clever enough to evaluate your integral:$$I=I\left(\alpha,\beta,\mu,\sigma\right)\equiv\intop_{0}^{\infty}\exp\left[-\frac{\left(\log x-\mu\right)^{2}}{2\sigma^{2}}\right]\exp\left[-\frac{\left(x-\alpha\right)^{2}}{2\beta^{2}}\right]\frac{dx}{x}\tag{1}$$but I do want to point out that the change-of-variable ##x=e^{y-y_{0}+\mu}## converts it to:$$I=I\left(\varepsilon,y_{0},\sigma\right)=\intop_{-\infty}^{\infty}\exp\left[-\frac{\left(y-y_{0}\right)^{2}}{2\sigma^{2}}\right]\exp\left[-\frac{\left(e^{y}-1\right)^{2}}{2\varepsilon^{2}}\right]dy\tag{2}$$where ##\varepsilon\equiv\beta/\alpha## and ##y_{0}\equiv\mu-\log\alpha##. I still can't do the integral in this form either, but it does have the advantage of depending on only 3 parameters rather than 4, and is pretty straightforward to compute numerically for any choice of those parameters.
Also, eq.(2) is reminiscent of integrals that appear in the literature for so-called Normal Log-normal Mixture (NLM) distributions. For example, see: http://repec.org/esAUSM04/up.21034.1077779387.pdf, eq.(4) for a somewhat similar integral. Alas, the author states that the analytical form of it too is "unknown", but does say that the integral can be "readily evaluated...either by simulation or by numerical integration".
 
  • Like
  • Informative
Likes Vanadium 50, Steve Zissou and berkeman
  • #14
Thank you, renormalize! I am familiar with that somewhat cryptic paper. Also I have been mostly unsuccessful in finding more discussion out there of the NLM distribution. Anyways I like your substitution which sets aside one parameter, that's nice. It's the darn double-exponential that seems to be the sticky wicket!
 
  • Like
Likes renormalize

Similar threads

Replies
11
Views
762
Replies
2
Views
1K
Replies
12
Views
2K
Replies
3
Views
2K
Replies
2
Views
799
Back
Top