Optimal. Leaf size=4 \[ \tanh ^{-1}(x+1) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {247, 206} \[ \tanh ^{-1}(x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 247
Rubi steps
\begin {align*} \int \frac {1}{1-(1+x)^2} \, dx &=\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,1+x\right )\\ &=\tanh ^{-1}(1+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.00, size = 15, normalized size = 3.75 \[ \frac {1}{2} \log (x+2)-\frac {\log (x)}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.89, size = 11, normalized size = 2.75 \[ \frac {1}{2} \, \log \left (x + 2\right ) - \frac {1}{2} \, \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.35, size = 13, normalized size = 3.25 \[ \frac {1}{2} \, \log \left ({\left | x + 2 \right |}\right ) - \frac {1}{2} \, \log \left ({\left | x \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.00, size = 12, normalized size = 3.00 \[ -\frac {\ln \relax (x )}{2}+\frac {\ln \left (x +2\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.57, size = 11, normalized size = 2.75 \[ \frac {1}{2} \, \log \left (x + 2\right ) - \frac {1}{2} \, \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.15, size = 4, normalized size = 1.00 \[ \mathrm {atanh}\left (x+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.10, size = 10, normalized size = 2.50 \[ - \frac {\log {\relax (x )}}{2} + \frac {\log {\left (x + 2 \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________