meng said:
Hi, may I know how do you solve for \int_{0}^{\infty}\mbox{erf}(\sqrt{x})\exp(-x)dx?
Could you detail the assignment of 'u' in each iteration of integration, and how do you get the eventual term in arctan?
Could you give me some hints on solving that because it seems to me that the integrations would loop infinitely.
I dearly need your advice. Thanks.
Sorry about the very late reply meng, I don't come on physicsforums very often anymore because of my studies. To others reading, I'm reviving this thread because I got a PM which stated this problem was in their research, so I thought I should help.
Here you go meng:
I = \int^{\infty}_0 \mbox{erf}(\sqrt{x}) e^{-x} dx
Integrate by parts, letting u = \mbox{erf} \sqrt{x} , du = \frac{1}{2\sqrt{x}} \cdot \frac{2}{\sqrt{\pi}} e^{-x} dx and dv = e^{-x} dx, v = - e^{-x}, where we found the derivative of u by the fundamental theorem of calculus.
This gives:
I = \left[ -\mbox{erf}\sqrt{x} e^{-x} \right]^{\infty}_0 + \int^{\infty}_0 \frac{ e^{-2x} }{ \sqrt{\pi x} } dx.
For the 1st term, as x goes to infinity, the erf term goes to a constant since \int^{\infty}_0 e^{-x^2} dx = \sqrt{\pi}/2 while the exp goes to zero, so that's zero. And when x=0, the erf term is 0 while the exp term is 1, so zero as well. So we just have the integral remaining, in which we let u = \sqrt{x} which leaves us with
I = \frac{2}{\sqrt{\pi}} \int^{\infty}_0 e^{-2u^2} du.
Let t = \sqrt{2} u,
I = \frac{ \sqrt{2}}{\sqrt{\pi}} \int^{\infty}_0 e^{-t^2} dt = \frac{1}{\sqrt{2}}