
Why it's not equal?
HI all,
I encountered an integral
$\displaystyle \gamma(x,t)=\pi^{0.5} \frac{x}{2} \int^t_0 t'^{\frac{3}{2}} e^{\frac{x^2}{4t'}} dt' = \frac{2}{\sqrt{\pi}} \int^t_0 e^{(\frac{x}{2\sqrt{t'}})^2} d \frac{x}{2\sqrt{t'}} = \frac{2}{\sqrt{\pi}} \int^{\infty}_l e^{l'^2} d l' = erfc({\frac{x}{2\sqrt{t}}})$
So it's a complementary error function finally.
But it seems that when x=0, the lhs of the equation is equal to 0, while at the rhs, it's equal to 1. So x=0 may not be valid for the error function, since then the integral variable x/2/sqrt(t) is all the time 0. By arguing this, I believe that when x=0, gamma = 0, but then I think that the rhs should be valid for all the finite x, which means that when x is very small but not zero, the rhs and lhs should be the same, which seems not to be the case here.... what went wrong here? Thanks

Re: Why it's not equal?
How does $\displaystyle \frac{1}{2}xt'^{\frac{3}{2}}dt'=d\frac{x}{2\sqrt{t'}}$
What variable is t' being differentiated with respect to?

2 Attachment(s)
Re: Why it's not equal?
Hi Shakarri,
Thanks. I think one can view x as a constant here, so one can put it after the differentiation symbol, isn't it?
Yesterday I use spectrum method to directly integrate gamma as in the form on the lhs. The results are attached. It seems very stiff at small x, at large x, the numerical results give the same value as the complementary error function. I even used N=10000, which is incredibly high, but it can still not resolve the discontinuity at x=0.Attachment 29436Attachment 29437.