For homework, I was looking for closed form solutions of exponential functions from this wiki site. https://en.wikipedia.org/wiki/List_of_integrals_of_exponential_functions
But I was not sure how to derive the steps for this particular integral,
$\int_{-\infty}^{\infty}e^{-ax^{2}}e^{-\frac{b}{x^{2}}}dx={\sqrt {\frac {\pi }{a}}}e^{-2{\sqrt {ab}}}\quad (a,b>0)$
I am fairly new to normal distribution but I assume this has to do with Taylor series..
Any pointers would be greatly appreciated!
As an elementary method, consider $$ \int_\mathbb{R} e^{-ax^2}e^{-bx^{-2}} \; dx = \int_\mathbb{R} e^{-(\sqrt{a}x - \sqrt{b}/x)^2} e^{-2\sqrt{ab}}\; dx $$ notice that we changed the sign inside the completed square. A clear observation is that the function is even, so we only need to solve half of it, i.e. find $$ I/2 = \int_0^\infty e^{-(\sqrt{a}x - \sqrt{b}/x)^2} \; dx $$ Consider a change of variable $$ u = \sqrt{\frac{b}{a}}/x, du = -\sqrt{\frac{b}{a}}/x^2 = -\sqrt{\frac{b}{a}}u^{-2} $$ so $$ I/2 = \int_0^\infty e^{-(\sqrt{a}x - \sqrt{b}/x)^2} \; dx = \sqrt{\frac{b}{a}}\int_0^\infty e^{-(\sqrt{a}u - \sqrt{b}/u)^2} \frac{1}{u^2} \; du $$ The negative sign that comes from change of variable cancels out as we changed the order of the integration bounds. As both integral are equal, we can in fact sum them to get $$ I = \int_0^\infty e^{-(\sqrt{a}x - \sqrt{b}/x)^2} \left(1+ \sqrt{\frac{b}{a}}\frac{1}{x^2}\right) \; dx $$ Did you see where are we going? $$ w = \sqrt{a}x - \sqrt{b}/x, dw = (\sqrt{a} + \sqrt{b}/x^2 )dx $$ this change of variable will result in $$ I = \int_0^\infty e^{-(\sqrt{a}x - \sqrt{b}/x)^2} \left(1+ \sqrt{\frac{b}{a}}x^2\right) \; dx = \frac{1}{\sqrt{a}} \int_\mathbb{R} e^{-w^2} dw = \sqrt{\frac{\pi}{a}} $$ :) $$ \int_\mathbb{R} e^{-ax^2}e^{-bx^{-2}} \; dx = \int_\mathbb{R} e^{-(\sqrt{a}x - \sqrt{b}/x)^2}e^{-2\sqrt{ab}} \; dx = \sqrt{\frac{\pi}{a}} e^{-2\sqrt{ab}} $$