- #1
skate_nerd
- 176
- 0
Is there a formula for Gaussian integrals of the form
$$\int_{-\infty}^{\infty}{x^n}{e^{-a(x-b)^2}}dx$$
I've looked all over, and all I could find were formulas saying
$$\int_{-\infty}^{\infty}{e^{-a(x-b)^2}}dx=\sqrt{\frac{\pi}{a}}$$
and
$$\int_{-\infty}^{\infty}{x}{e^{-a(x-b)^2}}dx=b{\sqrt{\frac{\pi}{a}}}$$
via Wikipedia. Wolframalpha can do the integrals I want only if I plug in actual numbers for \(a\) and \(b\), but I am unable to tell from those answers what role the \(a\) and \(b\) play. Some guidance would be appreciated! Just a formula is what I'm looking for, no derivations.
$$\int_{-\infty}^{\infty}{x^n}{e^{-a(x-b)^2}}dx$$
I've looked all over, and all I could find were formulas saying
$$\int_{-\infty}^{\infty}{e^{-a(x-b)^2}}dx=\sqrt{\frac{\pi}{a}}$$
and
$$\int_{-\infty}^{\infty}{x}{e^{-a(x-b)^2}}dx=b{\sqrt{\frac{\pi}{a}}}$$
via Wikipedia. Wolframalpha can do the integrals I want only if I plug in actual numbers for \(a\) and \(b\), but I am unable to tell from those answers what role the \(a\) and \(b\) play. Some guidance would be appreciated! Just a formula is what I'm looking for, no derivations.