0
$\begingroup$

I am trying to input $R_{nl}$, which is the radial solution of the hydrogen atom and I would like to obtain an expectation value of particular potential. This is my code:

R[n_, l_, r_] := 
  Sqrt[4*Z^3*((n - l - 1)!/(Subscript[a, \[Mu]]^3*n^4*(n + l)!))]*
   Exp[(-Z)*(r/(n*Subscript[a, \[Mu]]))]*(2*Z*(r/(n*Subscript[a, \[Mu]])))^
    l*LaguerreL[n - l - 1, 2*l + 1, 2*Z*(r/(n*Subscript[a, \[Mu]]))]

This is the integration I would like to perform:

 FullSimplify[Integrate[r^2*R[n, l, r]^2*(Exp[(-s)*(r - R) - 1]/r), 
   {r, R, Infinity}], Assumptions -> 
   {n, l, R, Z, s, Subscript[a, \[Mu]]}*\[Epsilon]*Positive]

Mathematica only returns the input for me. Any suggestions that I can fix this?

$\endgroup$
1
  • $\begingroup$ Welcome to Mathematica.SE! I hope you will become a regular contributor. To get started, 1) take the introductory tour now, 2) when you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge, 3) remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign, and 4) give help too, by answering questions in your areas of expertise. $\endgroup$
    – LouisB
    Commented Sep 30, 2021 at 8:51

1 Answer 1

4
$\begingroup$

Note that your code uses $R$ as both a function and a constant in the potential and in the limits of integration. Also, the *ϵ*Positive doesn't do what you want it to do. Further, MMA usually is not able to perform symbolic integration with functions like LaguerreL. We must usually give numeric values for $n, l$.

For the ground state, we could write

ClearAll["Global`*"]

ψr[n_, l_, r_] := 
 Sqrt[4*Z^3*((n - l - 1)!/(Subscript[a, μ]^3*n^4*(n + l)!))]*
  Exp[(-Z)*(r/(n*Subscript[a, μ]))]*(2*
     Z*(r/(n*Subscript[a, μ])))^l*
  LaguerreL[n - l - 1, 2*l + 1, 2*Z*(r/(n*Subscript[a, μ]))]

With[{n = 1, l = 0},
 Integrate[r^2*ψr[n, l, r]^2*(Exp[(-s)*(r - R) - 1]/r),
  {r, R, Infinity}, Assumptions -> {0 < {Subscript[a, μ], Z, s}}]
 ]

$$\frac{4 Z^3 e^{-\frac{2 R Z}{a_{\mu }}-1} \left(a_{\mu } (R s+1)+2 R Z\right)}{a_{\mu }^2 \left(s a_{\mu }+2 Z\right){}^2}$$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.