I'm trying to reproduce the results of a paper which in one part of it, I have to calculate the asymptotic value of a function but I can't reproduce that result exactly. I will be so grateful if someone can tell me where is my fault. According to paper, there is a function as follows
nn = Sqrt[\[Pi]^(3/2) (8 + 5*\[Pi]^(1/2))^-1];
f[re_] =
2*nn^2*Exp[-1/2 re^2] ((\[Pi]/2)^(
1/2) (7/4 + 1/4*re^2 + (re + 1/re) Erf[2^(-1/2) re]) +
Exp[-1/2 re^2]);
and the asymptotic values of $\frac{\nabla^2f}{f}$ and $(\frac{\nabla f}{f})^2$ in $r_e\rightarrow \infty$ are $(r_e^2-7)$ and $-(r_e^2-4)$ respectively. I tried the following code to reproduce these results, but I can't get $7$ and $4$!
lap[re_] = D[f[re], {re, 2}] + 2/re *D[f[re], re];
grad[re_] = re*D[f[re], re];
f2[re_] = lap[re]/f[re];
f3[re_] = grad[re]/f[re];
Asymptotic[f2[re], re -> \[Infinity]]
Asymptotic[f3[re], re -> \[Infinity]]
(*re^2*)
(*-re^2*)
Addendum
When I calculate the asymptotic value of f[re]
from the beginning
Asymptotic[f[re], re -> \[Infinity]]
(*(\[ExponentialE]^(-(re^2/2)) \[Pi]^2 re^2)/(Sqrt[2] (16+10 Sqrt[\
\[Pi]])) *)
and continue the process with it I reach an answer which is very similar to main answer other than an extra 1/re^2
term:
f5[re_] = (E^(-(re^2/2)) \[Pi]^2 re^2)/(Sqrt[2] (16 + 10 Sqrt[\[Pi]]))
;
lapE5[re_] = (D[f5[re], {re, 2}] + 2/re *D[f5[re], re])/f5[re] //
Simplify
grad2[re_] = (D[f5[re], re]/f5[re])^2 // Simplify
(*-7+6/re^2+re^2 *)
(*-4+4/re^2+re^2 *)
re
is arbitrarily large, the constants7
or4
are meaningless in comparison withre
orre^2
. $\endgroup$