Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Knowing that $$\int_0^\infty e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2},$$ evaluate the integral $$\int_0^\infty e^{-x^2y+1}\,dx.$$ for $y > 0$

share|cite|improve this question
Presumably you need $y>0$? – copper.hat Dec 28 '12 at 19:26
up vote 4 down vote accepted

Hint: The integral diverges if $y \le 0$. For $y\gt 0$, let $x\sqrt{y}=u$.

share|cite|improve this answer
and then do what? – Muhammad Khalifa Dec 28 '12 at 19:32
We are integrating $e\cdot e^{-x^2y}$. Let $u$ be as in post. Then $dx=\frac{du}{\sqrt{y}}$. Do the substitution. We want $\int_0^\infty \frac{e}{\sqrt{y}}e^{-u^2}\,du$. This is a "constant" times an integral you have been told the value of. – André Nicolas Dec 28 '12 at 19:38
but shouldn't it be $dx=du/2√y$ ? – Muhammad Khalifa Dec 28 '12 at 19:46
No, it shouldn't. We have $u=x\sqrt{y}$. Think of $y$ as a constant. Then $\frac{du}{dx}=\sqrt{y}$, so $du=\sqrt{y}\,dx$, or equivalently $dx=\frac{du}{\sqrt{y}}$. – André Nicolas Dec 28 '12 at 19:50
yes right thanks a lot my friend :) – Muhammad Khalifa Dec 28 '12 at 19:56

$$u^2=x^2y\Longrightarrow2udu=2xydx\Longrightarrow dx=\frac{u}{\frac{u}{\sqrt y}y}du=\frac{du}{\sqrt y}\Longrightarrow$$

$$\int_0^\infty e^{-x^2y+1}dx=\frac{e}{\sqrt y}\int_0^\infty e^{-u^2}du=\frac{e}{2}\sqrt{\frac{\pi}{u}}$$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.