I input 3 functions as following,

g[n_, r_]=(2*Z^(3/2)*Hypergeometric1F1[1 - n, 2, (2*r*Z)/n])/(E^((r*Z)/n)*n^(3/2));
g1[n_, r_]=g[n,r]/.Z->m Z;
g2[n_, r_]=g[n,r]/.Z->m Z \[Alpha]; 

How ever the following three integral results shows Integral Results

Third Integral

Integrate[g2[n, r] g2[1, r] (m Z \[Alpha])/r r^2, {r, 0, \[Infinity]},
     Assumptions -> 
     n \[Element] Integers && n > 1 && m > 0 && Z > 0 && \[Alpha] > 0]

MMA says that the third integral does not converge. But since $mZ\alpha$ always product together, I expected that the third integral should just be the first integral with $Z\to mZ\alpha$. How to understand such results?

My MMA version number is and the platform is Linux x86(64-bit).

  • $\begingroup$ Mathematica 11.3.0 on Windows outputs $$\frac{4 a m^2 \sqrt{n} \left(\frac{1-n}{n+1}\right)^n Z^2 (-\alpha )^n \alpha ^{1-n}}{n^2-1} $$ for the third integral. $\endgroup$ – user64494 Nov 19 '18 at 8:43
  • $\begingroup$ @user64494 Sadly my mma 11.3.0 outputs divergence as superfishyrr did, in both Linux and Windows version. Did you type something wrong? $\endgroup$ – Turgon Nov 20 '18 at 6:21
  • $\begingroup$ You are right. I replaced $\alpha$ by $a$, but only in the integral, not in $g2$. $\endgroup$ – user64494 Nov 20 '18 at 12:11
  • $\begingroup$ I can't explain why MMA's algorithm can't address this. But I can offer this: Your finding is not surprising. On this site, you'll find many examples of posters asking for help with challenging integrals that MMA can't solve, where the working solution is to simplify the integral into an equivalent form that MMA can. Here you've done the opposite; you've taken a challenging integral MMA can solve, and you've successively increased the complexity of the conditions to the point where the integral is in an equivalent form that MMA can't solve $\endgroup$ – theorist Nov 20 '18 at 21:46
  • $\begingroup$ perhaps related: mathematica.stackexchange.com/questions/23080/… $\endgroup$ – theorist Nov 20 '18 at 22:38

Your Answer

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

Browse other questions tagged or ask your own question.