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.0795967, antiderivative size = 57, normalized size of antiderivative = 1., 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 = {264, 4976, 446, 83, 63, 206} \[ -\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 ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 264
Rule 4976
Rule 446
Rule 83
Rule 63
Rule 206
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} \operatorname{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} \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x} x} \, dx,x,x^2\right )-\operatorname{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 \operatorname{Subst}\left (\int \frac{1}{2-x^2} \, dx,x,\sqrt{1-x^2}\right )-\operatorname{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.0676353, size = 77, normalized size = 1.35 \[ -\frac{\log \left (x^2+1\right )}{\sqrt{2}}+\frac{\log \left (-x^2+2 \sqrt{2-2 x^2}+3\right )}{\sqrt{2}}-\log \left (\sqrt{1-x^2}+1\right )-\frac{\sqrt{1-x^2} \tan ^{-1}(x)}{x}+\log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.214, size = 0, normalized size = 0. \begin{align*} \int{\frac{\arctan \left ( x \right ) }{{x}^{2}}{\frac{1}{\sqrt{-{x}^{2}+1}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\arctan \left (x\right )}{\sqrt{-x^{2} + 1} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.20663, size = 211, normalized size = 3.7 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{atan}{\left (x \right )}}{x^{2} \sqrt{- \left (x - 1\right ) \left (x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.10733, size = 140, normalized size = 2.46 \begin{align*} \frac{1}{2} \,{\left (\frac{x}{\sqrt{-x^{2} + 1} - 1} - \frac{\sqrt{-x^{2} + 1} - 1}{x}\right )} \arctan \left (x\right ) - \frac{1}{2} \, \sqrt{2} \log \left (\frac{\sqrt{2} - \sqrt{-x^{2} + 1}}{\sqrt{2} + \sqrt{-x^{2} + 1}}\right ) - \frac{1}{2} \, \log \left (\sqrt{-x^{2} + 1} + 1\right ) + \frac{1}{2} \, \log \left (-\sqrt{-x^{2} + 1} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]