Optimal. Leaf size=57 \[ -\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}-\tanh ^{-1}\left (\sqrt {1-x^2}\right )+\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {270, 5096, 457,
85, 65, 212} \begin {gather*} -\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}-\tanh ^{-1}\left (\sqrt {1-x^2}\right )+\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 85
Rule 212
Rule 270
Rule 457
Rule 5096
Rubi steps
\begin {align*} \int \frac {\tan ^{-1}(x)}{x^2 \sqrt {1-x^2}} \, dx &=-\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}+\int \frac {\sqrt {1-x^2}}{x \left (1+x^2\right )} \, dx\\ &=-\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}+\frac {1}{2} \text {Subst}\left (\int \frac {\sqrt {1-x}}{x (1+x)} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1-x} x} \, dx,x,x^2\right )-\text {Subst}\left (\int \frac {1}{\sqrt {1-x} (1+x)} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}+2 \text {Subst}\left (\int \frac {1}{2-x^2} \, dx,x,\sqrt {1-x^2}\right )-\text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-x^2}\right )\\ &=-\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}-\tanh ^{-1}\left (\sqrt {1-x^2}\right )+\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 77, normalized size = 1.35 \begin {gather*} -\frac {\sqrt {1-x^2} \tan ^{-1}(x)}{x}+\log (x)-\frac {\log \left (1+x^2\right )}{\sqrt {2}}+\frac {\log \left (3-x^2+2 \sqrt {2-2 x^2}\right )}{\sqrt {2}}-\log \left (1+\sqrt {1-x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-1)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.12, size = 0, normalized size = 0.00 \[\int \frac {\arctan \left (x \right )}{x^{2} \sqrt {-x^{2}+1}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 81, normalized size = 1.42 \begin {gather*} \frac {\sqrt {2} x \log \left (\frac {x^{2} - 2 \, \sqrt {2} \sqrt {-x^{2} + 1} - 3}{x^{2} + 1}\right ) - x \log \left (\sqrt {-x^{2} + 1} + 1\right ) + x \log \left (\sqrt {-x^{2} + 1} - 1\right ) - 2 \, \sqrt {-x^{2} + 1} \arctan \left (x\right )}{2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {atan}{\left (x \right )}}{x^{2} \sqrt {- \left (x - 1\right ) \left (x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 104 vs.
\(2 (48) = 96\).
time = 0.01, size = 130, normalized size = 2.28 \begin {gather*} \frac {\ln \left (-\sqrt {-x^{2}+1}+1\right )}{2}-\frac {\ln \left (\sqrt {-x^{2}+1}+1\right )}{2}-\frac {\ln \left (\frac {-2 \sqrt {-x^{2}+1}+2 \sqrt {2}}{2 \sqrt {-x^{2}+1}+2 \sqrt {2}}\right )}{\sqrt {2}}+\left (-\frac {x}{-2 \sqrt {-x^{2}+1}+2}+\frac {-2 \sqrt {-x^{2}+1}+2}{4 x}\right ) \arctan x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\mathrm {atan}\left (x\right )}{x^2\,\sqrt {1-x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________