Optimal. Leaf size=45 \[ -\sqrt {1-x^2} \tan ^{-1}(x)+\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x}{\sqrt {1-x^2}}\right )-\sin ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4974, 402, 216, 377, 203} \[ -\sqrt {1-x^2} \tan ^{-1}(x)+\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x}{\sqrt {1-x^2}}\right )-\sin ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 216
Rule 377
Rule 402
Rule 4974
Rubi steps
\begin {align*} \int \frac {x \tan ^{-1}(x)}{\sqrt {1-x^2}} \, dx &=-\sqrt {1-x^2} \tan ^{-1}(x)+\int \frac {\sqrt {1-x^2}}{1+x^2} \, dx\\ &=-\sqrt {1-x^2} \tan ^{-1}(x)+2 \int \frac {1}{\sqrt {1-x^2} \left (1+x^2\right )} \, dx-\int \frac {1}{\sqrt {1-x^2}} \, dx\\ &=-\sin ^{-1}(x)-\sqrt {1-x^2} \tan ^{-1}(x)+2 \operatorname {Subst}\left (\int \frac {1}{1+2 x^2} \, dx,x,\frac {x}{\sqrt {1-x^2}}\right )\\ &=-\sin ^{-1}(x)-\sqrt {1-x^2} \tan ^{-1}(x)+\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x}{\sqrt {1-x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 45, normalized size = 1.00 \[ -\sqrt {1-x^2} \tan ^{-1}(x)+\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x}{\sqrt {1-x^2}}\right )-\sin ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 69, normalized size = 1.53 \[ -\frac {1}{2} \, \sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (3 \, x^{2} - 1\right )} \sqrt {-x^{2} + 1}}{4 \, {\left (x^{3} - x\right )}}\right ) - \sqrt {-x^{2} + 1} \arctan \relax (x) + \arctan \left (\frac {\sqrt {-x^{2} + 1} x}{x^{2} - 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.02, size = 108, normalized size = 2.40 \[ -\frac {1}{2} \, \pi \mathrm {sgn}\relax (x) + \frac {1}{2} \, \sqrt {2} {\left (\pi \mathrm {sgn}\relax (x) + 2 \, \arctan \left (-\frac {\sqrt {2} x {\left (\frac {{\left (\sqrt {-x^{2} + 1} - 1\right )}^{2}}{x^{2}} - 1\right )}}{4 \, {\left (\sqrt {-x^{2} + 1} - 1\right )}}\right )\right )} - \sqrt {-x^{2} + 1} \arctan \relax (x) - \arctan \left (-\frac {x {\left (\frac {{\left (\sqrt {-x^{2} + 1} - 1\right )}^{2}}{x^{2}} - 1\right )}}{2 \, {\left (\sqrt {-x^{2} + 1} - 1\right )}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.23, size = 0, normalized size = 0.00 \[ \int \frac {x \arctan \relax (x )}{\sqrt {-x^{2}+1}}\, dx \]
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: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 37, normalized size = 0.82 \[ \sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,x}{\sqrt {1-x^2}}\right )-\mathrm {atan}\relax (x)\,\sqrt {1-x^2}-\mathrm {asin}\relax (x) \]
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 {x \operatorname {atan}{\relax (x )}}{\sqrt {- \left (x - 1\right ) \left (x + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________