Optimal. Leaf size=46 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {-\alpha ^2-\epsilon ^2+2 h r^2}}{\sqrt {\alpha ^2+\epsilon ^2}}\right )}{\sqrt {\alpha ^2+\epsilon ^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {272, 65, 211}
\begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {-\alpha ^2-\epsilon ^2+2 h r^2}}{\sqrt {\alpha ^2+\epsilon ^2}}\right )}{\sqrt {\alpha ^2+\epsilon ^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 211
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{r \sqrt {-\alpha ^2-\epsilon ^2+2 h r^2}} \, dr &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{r \sqrt {-\alpha ^2-\epsilon ^2+2 h r}} \, dr,r,r^2\right )\\ &=\frac {\text {Subst}\left (\int \frac {1}{-\frac {-\alpha ^2-\epsilon ^2}{2 h}+\frac {r^2}{2 h}} \, dr,r,\sqrt {-\alpha ^2-\epsilon ^2+2 h r^2}\right )}{2 h}\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {-\alpha ^2-\epsilon ^2+2 h r^2}}{\sqrt {\alpha ^2+\epsilon ^2}}\right )}{\sqrt {\alpha ^2+\epsilon ^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 46, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {-\alpha ^2-\epsilon ^2+2 h r^2}}{\sqrt {\alpha ^2+\epsilon ^2}}\right )}{\sqrt {\alpha ^2+\epsilon ^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 2.57, size = 42, normalized size = 0.91 \begin {gather*} -\frac {\text {ArcSinh}\left [\frac {\sqrt {2} \sqrt {\text {polar\_lift}\left [-\text {alpha}^2-\text {epsilon}^2\right ]}}{2 \sqrt {h} r}\right ]}{\sqrt {\text {polar\_lift}\left [-\text {alpha}^2-\text {epsilon}^2\right ]}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 66, normalized size = 1.43
method | result | size |
default | \(-\frac {\ln \left (\frac {-2 \alpha ^{2}-2 \epsilon ^{2}+2 \sqrt {-\alpha ^{2}-\epsilon ^{2}}\, \sqrt {2 h \,r^{2}-\alpha ^{2}-\epsilon ^{2}}}{r}\right )}{\sqrt {-\alpha ^{2}-\epsilon ^{2}}}\) | \(66\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 57, normalized size = 1.24 \begin {gather*} -\frac {\arcsin \left (\frac {\sqrt {2} \alpha ^{2}}{2 \, \sqrt {{\left (\alpha ^{2} + \epsilon ^{2}\right )} h} r} + \frac {\sqrt {2} \epsilon ^{2}}{2 \, \sqrt {{\left (\alpha ^{2} + \epsilon ^{2}\right )} h} r}\right )}{\sqrt {\alpha ^{2} + \epsilon ^{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 41, normalized size = 0.89 \begin {gather*} -\frac {\arctan \left (\frac {\sqrt {\alpha ^{2} + \epsilon ^{2}}}{\sqrt {2 \, h r^{2} - \alpha ^{2} - \epsilon ^{2}}}\right )}{\sqrt {\alpha ^{2} + \epsilon ^{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.55, size = 42, normalized size = 0.91 \begin {gather*} - \frac {\operatorname {asinh}{\left (\frac {\sqrt {2} \sqrt {\operatorname {polar\_lift}{\left (- \alpha ^{2} - \epsilon ^{2} \right )}}}{2 \sqrt {h} r} \right )}}{\sqrt {\operatorname {polar\_lift}{\left (- \alpha ^{2} - \epsilon ^{2} \right )}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 46, normalized size = 1.00 \begin {gather*} \frac {\left (5.0\times 10^{-13}\right )\cdot \left (2.0\times 10^{24}\right ) h\cdot 2.0\cdot 0.5 \arctan \left (\frac {\sqrt {-\left (1.0\times 10^{24}\right ) \alpha ^{2}+\left (2.0\times 10^{24}\right ) h r^{2}-1.0}}{\sqrt {\left (1.0\times 10^{24}\right ) \alpha ^{2}+1.0}}\right )}{h \sqrt {\left (1.0\times 10^{24}\right ) \alpha ^{2}+1.0}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.66, size = 40, normalized size = 0.87 \begin {gather*} \frac {\mathrm {atan}\left (\frac {\sqrt {-\alpha ^2-\epsilon ^2+2\,h\,r^2}}{\sqrt {\alpha ^2+\epsilon ^2}}\right )}{\sqrt {\alpha ^2+\epsilon ^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________