I'm currently trying to calculate a weird gaussian integral: $$ \int\limits_{\mathbb{R}^3} \mathrm{d}^3\vec x \ |\vec x| \exp( -a \cdot x^2) $$ where $a > 0$ of course.
I can easily evaluate it if there is only $x_1, x_2$ or $x_3$ or products of those in front of the exponential function. But I have now idea how to seperate $|\vec x| = \sqrt{ x_1 + x_2 + x_3}$.
any ideas?
Since your integral only depends on $|\vec x|$, you can compute it in spherical coordinates $(r=|\vec x|,\theta,\phi)$ because the integration over $\theta$ and $\phi$ is simply a constant.
You get : $$\int\limits_{\mathbb{R}^3} \mathrm{d}^3\vec x \ |\vec x| \exp( -a \cdot x^2)=\int_{r=0}^{+\infty}\int_{\theta=0}^\pi\int_{\phi=0}^{2\pi}r\exp( -a \cdot r^2)\cdot r^2\sin\theta \mathrm{d} \phi\mathrm{d} \theta\mathrm{d}r$$ The first two integrals gives $4\pi$ and : $$\int\limits_{\mathbb{R}^3} \mathrm{d}^3\vec x \ |\vec x| \exp( -a \cdot x^2)=4\pi\int_{0}^{+\infty}r^3\exp( -a \cdot r^2)\mathrm{d}r$$ which is a fairly simple gaussian integral ($\frac{2\pi}{a^2}$ says Maple)