jacophile
- 22
- 0
Hi, I am curious as to the strategy for integrating the lognormal function to calculate the mean.
The integral to be solved is:
\frac{1}{S\sqrt{2\pi}}\int_{0}^{\infty} \frac{e^{(lnx-M)^{2}}}{2S^{2}} dx
I was trying to do it by a substitution
y=lnx\;\rightarrow\;dy=\frac{1}{x}dx
x=e^{y}\;\rightarrow\;dx=e^{y}dy
to give
\frac{1}{S\sqrt{2\pi}}\int_{-\infty}^{\infty} \frac{e^{(y-M)^{2}}}{2S^{2}}e^{y} dy
and then integration by parts, but I keep going round in circles with vdu and what not…
Can anyone enlighten me on the trick to this?
The integral to be solved is:
\frac{1}{S\sqrt{2\pi}}\int_{0}^{\infty} \frac{e^{(lnx-M)^{2}}}{2S^{2}} dx
I was trying to do it by a substitution
y=lnx\;\rightarrow\;dy=\frac{1}{x}dx
x=e^{y}\;\rightarrow\;dx=e^{y}dy
to give
\frac{1}{S\sqrt{2\pi}}\int_{-\infty}^{\infty} \frac{e^{(y-M)^{2}}}{2S^{2}}e^{y} dy
and then integration by parts, but I keep going round in circles with vdu and what not…
Can anyone enlighten me on the trick to this?
Last edited: