Optimal. Leaf size=10 \[ \frac{\tanh ^{-1}(c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0029759, antiderivative size = 10, 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 = {247, 206} \[ \frac{\tanh ^{-1}(c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 247
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{1-(c+d x)^2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac{\tanh ^{-1}(c+d x)}{d}\\ \end{align*}
Mathematica [B] time = 0.0052695, size = 32, normalized size = 3.2 \[ \frac{\log (c+d x+1)}{2 d}-\frac{\log (-c-d x+1)}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.007, size = 26, normalized size = 2.6 \begin{align*}{\frac{\ln \left ( dx+c+1 \right ) }{2\,d}}-{\frac{\ln \left ( dx+c-1 \right ) }{2\,d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.958947, size = 34, normalized size = 3.4 \begin{align*} \frac{\log \left (d x + c + 1\right )}{2 \, d} - \frac{\log \left (d x + c - 1\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.742, size = 61, normalized size = 6.1 \begin{align*} \frac{\log \left (d x + c + 1\right ) - \log \left (d x + c - 1\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.159961, size = 22, normalized size = 2.2 \begin{align*} - \frac{\frac{\log{\left (x + \frac{c - 1}{d} \right )}}{2} - \frac{\log{\left (x + \frac{c + 1}{d} \right )}}{2}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.11608, size = 36, normalized size = 3.6 \begin{align*} \frac{\log \left ({\left | d x + c + 1 \right |}\right )}{2 \, d} - \frac{\log \left ({\left | d x + c - 1 \right |}\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]