Optimal. Leaf size=12 \[ \tan ^{-1}\left (\sqrt{x^2+2 x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0073857, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {688, 203} \[ \tan ^{-1}\left (\sqrt{x^2+2 x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 688
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{(1+x) \sqrt{2 x+x^2}} \, dx &=4 \operatorname{Subst}\left (\int \frac{1}{4+4 x^2} \, dx,x,\sqrt{2 x+x^2}\right )\\ &=\tan ^{-1}\left (\sqrt{2 x+x^2}\right )\\ \end{align*}
Mathematica [B] time = 0.0095188, size = 37, normalized size = 3.08 \[ \frac{2 \sqrt{x} \sqrt{x+2} \tan ^{-1}\left (\frac{\sqrt{x}}{\sqrt{x+2}}\right )}{\sqrt{x (x+2)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0., size = 13, normalized size = 1.1 \begin{align*} -\arctan \left ({\frac{1}{\sqrt{ \left ( 1+x \right ) ^{2}-1}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.50601, size = 12, normalized size = 1. \begin{align*} -\arcsin \left (\frac{1}{{\left | x + 1 \right |}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48203, size = 49, normalized size = 4.08 \begin{align*} 2 \, \arctan \left (-x + \sqrt{x^{2} + 2 \, x} - 1\right ) \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{1}{\sqrt{x \left (x + 2\right )} \left (x + 1\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14065, size = 23, normalized size = 1.92 \begin{align*} 2 \, \arctan \left (-x + \sqrt{x^{2} + 2 \, x} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]