4
$\begingroup$

Does

$\int_{-\infty}^\infty \text{e}^{\ a\ (x+b)^2}\ \text dx=\int_{-\infty}^\infty \text{e}^{\ a\ x^2}\ \text dx\ \ \ \ \ ?$

hold, even if the imaginary part of $b$ is nonzero?

What I really want to understand is what the phrase "By analogy with the previous integrals" means in that link. There, the expression $\frac{J}{a}$ is complex but they seem to imply the integral can be solved like above anyway.

The reusult tells us that the integral is really independend of $J$, which is assumed to be real here. I wonder if we can also generalize this integral to include complex $J$. In case that the shift above is possible, this should work out.

But even if the idea is here to perform that substitution, how to get rid of the complex $a$ to obtain the result. If everything is purely real or imaginary, then this solves the rest of the problem.

  • 1
    Links to the answer by username *RaymondManzoni*, see [here](https://ccrma.stanford.edu/~jos/sasp/Integral_Complex_Gaussian.html) as well as [here](https://ccrma.stanford.edu/~jos/sasp/Gaussian_Integral_Complex_Offset.html).2012-08-16

3 Answers 3

3

Let us write $b= r+it$. The real part of $b$ does not matter as you have already proven yourself. So wlog $r=0$.

For shifting along the imaginary axis, we have to employ the residue theorem. We have $ \begin{align} \int_{-\infty}^\infty f(x+i t) \,dx&- \int_{-\infty}^\infty f(x)\, dx\\ &=\int_{-\infty-it}^{\infty-it} f(x) \,dx- \int_{-\infty}^\infty f(x)\, dx \\ &= 2\pi i \sum \text{Res}(f)+ \int_{\infty-it}^{\infty} f(x) \,dx - \int_{-\infty-it}^{-\infty} f(x) \,dx \end{align},$ where $\sum \text{Res}(f)$ is the sum over the residues of $f$ in the area $z\in \mathbb{C}$ with $-t<\text{Im}\, z<0$.

So the two integrals are the same if there are no residues and if the two integral at $\pm \infty$ vanish (both of which is the case for your example as long as $\text{Re}\,a <0$).

2

Another approach that sometimes simplifies this sort of issue is to invoke the "identity principle": when the integral is holomorphic as a function of the parameter (some potential danger here!), the outcome can be computed in a convenient range, and then invoke the identity principle to know that the same formula holds for all (!) parameter values.

In the case at hand, this approach does succeed.

Beware, in cases like Cauchy's formula for $z$ inside a circle $\gamma$, $f(z)={1\over 2\pi i}\int_\gamma {f(\zeta)\;d\zeta\over \zeta-z}$, the integrand is not holomorphic in the parameter $z$ as it crosses the circle. That is, certainly the integral represents $f(z)$ for $z$ inside, but not outside, where it is $0$.

Also, in the context in which such questions would arise, it might be reasonable to be more careful about "moving contours": note that $\int_{=\infty}^{+\infty}$ is really a limit of integrals $\int_{-M}^N$, and, thus, a contour-shift uses an integral over a rectangle (or parallelogram!) with one side the interval $[-M,N]$. This, too, legitimizes the change of variables for complex parameter values.

-2

Put $(x+b)^2=u^2\Longrightarrow 2(x+b)dx=2udu\Longrightarrow dx= du$ so we get

$\int_{-\infty}^\infty e^{a(x+b)^2}dx=\int_{-\infty}^\infty e^{au^2}du$ and your question's answered in the affirmative.

Added: You may want to divide the integral in two rays $\,(-\infty,0)\,,\,(0,\infty)\,$ and then do the above, to avoid problems with the signs after taking the square root.

  • 0
    Once again,$a$wrong answer. You didn't do what the OP asked.2017-06-22