Optimal. Leaf size=44 \[ -\frac{\tan ^{-1}\left (\frac{\alpha ^2-h r^2}{\alpha \sqrt{-\alpha ^2+2 h r^2-2 k r^4}}\right )}{2 \alpha } \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0942891, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115 \[ -\frac{\tan ^{-1}\left (\frac{\alpha ^2-h r^2}{\alpha \sqrt{-\alpha ^2+2 h r^2-2 k r^4}}\right )}{2 \alpha } \]
Antiderivative was successfully verified.
[In] Int[1/(r*Sqrt[-alpha^2 + 2*h*r^2 - 2*k*r^4]),r]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 7.00375, size = 39, normalized size = 0.89 \[ \frac{\operatorname{atan}{\left (\frac{- 2 \alpha ^{2} + 2 h r^{2}}{2 \alpha \sqrt{- \alpha ^{2} + 2 h r^{2} - 2 k r^{4}}} \right )}}{2 \alpha } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/r/(-2*k*r**4+2*h*r**2-alpha**2)**(1/2),r)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.129645, size = 59, normalized size = 1.34 \[ -\frac{i \log \left (\frac{2 \alpha \sqrt{2 r^2 \left (h-k r^2\right )-\alpha ^2}-2 i \alpha ^2+2 i h r^2}{\alpha r^2}\right )}{2 \alpha } \]
Antiderivative was successfully verified.
[In] Integrate[1/(r*Sqrt[-alpha^2 + 2*h*r^2 - 2*k*r^4]),r]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.011, size = 56, normalized size = 1.3 \[ -{\frac{1}{2}\ln \left ({\frac{1}{{r}^{2}} \left ( -2\,{\alpha }^{2}+2\,h{r}^{2}+2\,\sqrt{-{\alpha }^{2}}\sqrt{-2\,k{r}^{4}+2\,h{r}^{2}-{\alpha }^{2}} \right ) } \right ){\frac{1}{\sqrt{-{\alpha }^{2}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/r/(-2*k*r^4+2*h*r^2-alpha^2)^(1/2),r)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-2*k*r^4 + 2*h*r^2 - alpha^2)*r),r, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.221156, size = 55, normalized size = 1.25 \[ \frac{\arctan \left (\frac{h r^{2} - \alpha ^{2}}{\sqrt{-2 \, k r^{4} + 2 \, h r^{2} - \alpha ^{2}} \alpha }\right )}{2 \, \alpha } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-2*k*r^4 + 2*h*r^2 - alpha^2)*r),r, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{r \sqrt{- \alpha ^{2} + 2 h r^{2} - 2 k r^{4}}}\, dr \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/r/(-2*k*r**4+2*h*r**2-alpha**2)**(1/2),r)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.263174, size = 42, normalized size = 0.95 \[ -\frac{\arcsin \left (-\frac{h - \frac{\alpha ^{2}}{r^{2}}}{\sqrt{-2 \, \alpha ^{2} k + h^{2}}}\right )}{2 \,{\left | \alpha \right |}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-2*k*r^4 + 2*h*r^2 - alpha^2)*r),r, algorithm="giac")
[Out]