Optimal. Leaf size=58 \[ -x \tan ^{-1}(x)+\frac {1}{2} \log \left (1+x^2\right )+\sqrt {1+x^2} \tan ^{-1}(x) \log \left (x+\sqrt {1+x^2}\right )-\frac {1}{2} \log ^2\left (x+\sqrt {1+x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 9, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.360, Rules used = {5050, 221, 267,
2634, 8, 5320, 6818, 4930, 266} \begin {gather*} \sqrt {x^2+1} \text {ArcTan}(x) \log \left (\sqrt {x^2+1}+x\right )-x \text {ArcTan}(x)-\frac {1}{2} \log ^2\left (\sqrt {x^2+1}+x\right )+\frac {1}{2} \log \left (x^2+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 221
Rule 266
Rule 267
Rule 2634
Rule 4930
Rule 5050
Rule 5320
Rule 6818
Rubi steps
\begin {align*} \int \frac {x \tan ^{-1}(x) \log \left (x+\sqrt {1+x^2}\right )}{\sqrt {1+x^2}} \, dx &=\sqrt {1+x^2} \tan ^{-1}(x) \log \left (x+\sqrt {1+x^2}\right )-\int \tan ^{-1}(x) \, dx-\int \frac {\log \left (x+\sqrt {1+x^2}\right )}{\sqrt {1+x^2}} \, dx\\ &=-x \tan ^{-1}(x)+\sqrt {1+x^2} \tan ^{-1}(x) \log \left (x+\sqrt {1+x^2}\right )-\frac {1}{2} \log ^2\left (x+\sqrt {1+x^2}\right )+\int \frac {x}{1+x^2} \, dx\\ &=-x \tan ^{-1}(x)+\frac {1}{2} \log \left (1+x^2\right )+\sqrt {1+x^2} \tan ^{-1}(x) \log \left (x+\sqrt {1+x^2}\right )-\frac {1}{2} \log ^2\left (x+\sqrt {1+x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 58, normalized size = 1.00 \begin {gather*} -x \tan ^{-1}(x)+\frac {1}{2} \log \left (1+x^2\right )+\sqrt {1+x^2} \tan ^{-1}(x) \log \left (x+\sqrt {1+x^2}\right )-\frac {1}{2} \log ^2\left (x+\sqrt {1+x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {x \arctan \left (x \right ) \ln \left (x +\sqrt {x^{2}+1}\right )}{\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.47, size = 48, normalized size = 0.83 \begin {gather*} \sqrt {x^{2} + 1} \arctan \left (x\right ) \log \left (x + \sqrt {x^{2} + 1}\right ) - x \arctan \left (x\right ) - \frac {1}{2} \, \log \left (x + \sqrt {x^{2} + 1}\right )^{2} + \frac {1}{2} \, \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 {x\,\mathrm {atan}\left (x\right )\,\ln \left (x+\sqrt {x^2+1}\right )}{\sqrt {x^2+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________