heman said:
That's exactly what i have done,but later it is unsolvable,or rather solution is not clear to me.
Alright, this is how I see it starting from:
d\left[e^{x^2/2}z\right]=-e^{x^2/2}
Integrating:
\int_{x_0,z_0}^{x,z} d\left[e^{x^2/2}z\right]=-\int_{x_0}^x e^{x^2/2}dx
Yielding:
z=Ke^{-x^2/2}-e^{-x^2/2}\int_{x_0}^x e^{t^2/2}dt
Noting that:
\int_{x_0}^x f(t)dt=K+\int_0^x f(t)dt
We can write the above expression as:
z(y)=Ce^{-x^2/2}-e^{-x^2/2}\int_0^x e^{t^2/2}dt
Letting u=t/\sqrt{2} we obtain:
z(y)=Ce^{-x^2/2}-\sqrt{2}e^{-x^2/2}\int_0^{x/\sqrt{2}} e^{u^2}du\quad\tag{1}
Now, it just so happens that:
Erfi[x]=\frac{Erf[ix]}{i}
and:
Erf[ix]=\frac{2i}{\sqrt{\pi}}\int_0^{x} e^{t^2}dt
so the i's cancel and we're left with:
Erfi[x]=\frac{2}{\sqrt{\pi}}\int_0^{x} e^{t^2}dt
or:
\int_0^{x} e^{t^2}dt=\frac{\sqrt{\pi}}{2}Erfi[x]
Substituting that into (1) we get what Mathematica reports:
z(y)=Ce^{-x^2/2}-e^{-x^2/2}\sqrt{\frac{\pi}{2}}<br />
Erfi\left[\frac{x}{\sqrt{2}}\right]
But z is 1/y so then 1 over all that stuf is the answer (if I didn't make any mistakes). How about a plot?
Also, I'll quote someone in here:
"Equal rights for special functions"
That means, treat Erfi[x] in the same way as Sin[x]. You wouldn't mind if the answer was:
z(x)=Ce^{-x^2/2}Sin[x]
would you? Same dif.