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.04, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1114, 724, 204} \[ -\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]
[Out]
Rule 204
Rule 724
Rule 1114
Rubi steps
\begin {align*} \int \frac {1}{r \sqrt {-\alpha ^2+2 h r^2-2 k r^4}} \, dr &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{r \sqrt {-\alpha ^2+2 h r-2 k r^2}} \, dr,r,r^2\right )\\ &=-\operatorname {Subst}\left (\int \frac {1}{-4 \alpha ^2-r^2} \, dr,r,\frac {2 \left (-\alpha ^2+h r^2\right )}{\sqrt {-\alpha ^2+2 h r^2-2 k r^4}}\right )\\ &=\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 }\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 49, normalized size = 1.11 \[ \frac {\tan ^{-1}\left (\frac {2 h r^2-2 \alpha ^2}{2 \alpha \sqrt {-\alpha ^2+2 h r^2-2 k r^4}}\right )}{2 \alpha } \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 58, normalized size = 1.32 \[ -\frac {\arctan \left (\frac {\sqrt {-2 \, k r^{4} + 2 \, h r^{2} - \alpha ^{2}} {\left (h r^{2} - \alpha ^{2}\right )}}{2 \, \alpha k r^{4} - 2 \, \alpha h r^{2} + \alpha ^{3}}\right )}{2 \, \alpha } \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.15, size = 45, normalized size = 1.02 \[ \frac {\arctan \left (-\frac {\sqrt {2} \sqrt {-k} r^{2} - \sqrt {-2 \, k r^{4} + 2 \, h r^{2} - \alpha ^{2}}}{\alpha }\right )}{\alpha } \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 56, normalized size = 1.27 \[ -\frac {\ln \left (\frac {2 h \,r^{2}-2 \alpha ^{2}+2 \sqrt {-\alpha ^{2}}\, \sqrt {-2 k \,r^{4}+2 h \,r^{2}-\alpha ^{2}}}{r^{2}}\right )}{2 \sqrt {-\alpha ^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.40, size = 54, normalized size = 1.23 \[ -\frac {\ln \left (\frac {1}{r^2}\right )+\ln \left (h\,r^2-\alpha ^2+\sqrt {-\alpha ^2}\,\sqrt {-\alpha ^2-2\,k\,r^4+2\,h\,r^2}\right )}{2\,\sqrt {-\alpha ^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \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]
[Out]
________________________________________________________________________________________