I need to evaluate $$ \int_{0}^{+\infty} \left(\frac{\sqrt\pi}{2}-\int_{0}^{x}\mathrm{e}^{-t^2}dt\right)dx $$ in my homework problem, which should probably be equal to $\frac{1}{2}$. I know $\frac{\sqrt\pi}{2}=\lim\limits_{x\to+\infty}\int_{0}^{x}\mathrm{e}^{-t^2}dt$, but I have no idea on how to evaluate the integral.


1 Answer 1


Inasmuch as $\frac{\sqrt \pi}{2}=\int_0^\infty e^{-t^2}\,dt$, we have

$$\begin{align} \int_0^\infty \left( \frac{\sqrt \pi}{2}-\int_0^x e^{-t^2}\,dt\right)\,dx &=\int_0^\infty \int_x^\infty e^{-t^2}\,dt\,dx\\\\ &=\int_0^\infty e^{-t^2}\left(\int_0^t 1\,dx\right) \,dt \end{align}$$

Can you finish?

  • 2
    $\begingroup$ Hi Mark ! Nice to see you here today. Cheers :-) $\endgroup$ Feb 13, 2020 at 4:56
  • 1
    $\begingroup$ Hi Claude my friend!! How are you? $\endgroup$
    – Mark Viola
    Feb 13, 2020 at 5:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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