Optimal. Leaf size=17 \[ \sqrt{x^2+1} \tan ^{-1}(x)-\sinh ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0280095, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {4930, 215} \[ \sqrt{x^2+1} \tan ^{-1}(x)-\sinh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4930
Rule 215
Rubi steps
\begin{align*} \int \frac{x \tan ^{-1}(x)}{\sqrt{1+x^2}} \, dx &=\sqrt{1+x^2} \tan ^{-1}(x)-\int \frac{1}{\sqrt{1+x^2}} \, dx\\ &=-\sinh ^{-1}(x)+\sqrt{1+x^2} \tan ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0147078, size = 17, normalized size = 1. \[ \sqrt{x^2+1} \tan ^{-1}(x)-\sinh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.104, size = 54, normalized size = 3.2 \begin{align*} \sqrt{ \left ( x-i \right ) \left ( x+i \right ) }\arctan \left ( x \right ) -\ln \left ({(1+ix){\frac{1}{\sqrt{{x}^{2}+1}}}}+i \right ) +\ln \left ({(1+ix){\frac{1}{\sqrt{{x}^{2}+1}}}}-i \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.42233, size = 20, normalized size = 1.18 \begin{align*} \sqrt{x^{2} + 1} \arctan \left (x\right ) - \operatorname{arsinh}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.10871, size = 69, normalized size = 4.06 \begin{align*} \sqrt{x^{2} + 1} \arctan \left (x\right ) + \log \left (-x + \sqrt{x^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 2.71983, size = 29, normalized size = 1.71 \begin{align*} \frac{x^{2} \operatorname{atan}{\left (x \right )}}{\sqrt{x^{2} + 1}} - \operatorname{asinh}{\left (x \right )} + \frac{\operatorname{atan}{\left (x \right )}}{\sqrt{x^{2} + 1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10476, size = 31, normalized size = 1.82 \begin{align*} \sqrt{x^{2} + 1} \arctan \left (x\right ) + \log \left (-x + \sqrt{x^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]