# Math Help - Convolution Of Exponential Function

1. ## Convolution Of Exponential Function

Let $f(x)=e^{-x^2}$. Compute $f*f$.

So I get:

$f*f=\int_{-\infty}^{\infty}e^{-y^2}e^{-(x-y)^2}dy$

$=\int_{-\infty}^{\infty}e^{-y^2}e^{-y^2+2xy-x^2}dy$

$=\int_{-\infty}^{\infty}e^{-2y^2+2xy-x^2}dy$

$=e^{-x^2}\int_{-\infty}^{\infty}e^{-2y^2+2xy}dy$

$=f(x)\int_{-\infty}^{\infty}e^{-2(y^2-xy)}dy$

$=f(x)\int_{-\infty}^{\infty}e^{-2(y-\frac{x}{2})^2+\frac{x^2}{2}}dy$

$=f(x)e^{\frac{x^2}{2}}\int_{-\infty}^{\infty}e^{-2(y-\frac{x}{2})^2}dy$

...and that's as far as I can get :-(

2. Looks good so far. Try the substitution $u=\sqrt{2}\,(y-x/2).$ Where does that lead you?

3. Leads me to a nice result using the improper integral of $e^{-u^2}du$, and the resulting following calculation.

Got it! Thanks! :-D

5. I ended up with $\sqrt{\frac{\pi}{2}}\cdot f(\frac{x}{\sqrt{2}})$ if I remember correctly.

6. Same here.