Optimal. Leaf size=48 \[ \frac {\log (a+b x)}{b}-\frac {\log \left (1-(a+b x)^2\right )}{2 b}-\frac {\coth ^{-1}(a+b x)}{b (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6108, 5917, 266, 36, 31, 29} \[ \frac {\log (a+b x)}{b}-\frac {\log \left (1-(a+b x)^2\right )}{2 b}-\frac {\coth ^{-1}(a+b x)}{b (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 266
Rule 5917
Rule 6108
Rubi steps
\begin {align*} \int \frac {\coth ^{-1}(a+b x)}{(a+b x)^2} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\coth ^{-1}(x)}{x^2} \, dx,x,a+b x\right )}{b}\\ &=-\frac {\coth ^{-1}(a+b x)}{b (a+b x)}+\frac {\operatorname {Subst}\left (\int \frac {1}{x \left (1-x^2\right )} \, dx,x,a+b x\right )}{b}\\ &=-\frac {\coth ^{-1}(a+b x)}{b (a+b x)}+\frac {\operatorname {Subst}\left (\int \frac {1}{(1-x) x} \, dx,x,(a+b x)^2\right )}{2 b}\\ &=-\frac {\coth ^{-1}(a+b x)}{b (a+b x)}+\frac {\operatorname {Subst}\left (\int \frac {1}{1-x} \, dx,x,(a+b x)^2\right )}{2 b}+\frac {\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,(a+b x)^2\right )}{2 b}\\ &=-\frac {\coth ^{-1}(a+b x)}{b (a+b x)}+\frac {\log (a+b x)}{b}-\frac {\log \left (1-(a+b x)^2\right )}{2 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 43, normalized size = 0.90 \[ -\frac {-2 \log (a+b x)+\log \left (1-(a+b x)^2\right )+\frac {2 \coth ^{-1}(a+b x)}{a+b x}}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 67, normalized size = 1.40 \[ -\frac {{\left (b x + a\right )} \log \left (b^{2} x^{2} + 2 \, a b x + a^{2} - 1\right ) - 2 \, {\left (b x + a\right )} \log \left (b x + a\right ) + \log \left (\frac {b x + a + 1}{b x + a - 1}\right )}{2 \, {\left (b^{2} x + a b\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arcoth}\left (b x + a\right )}{{\left (b x + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 54, normalized size = 1.12 \[ -\frac {\mathrm {arccoth}\left (b x +a \right )}{b \left (b x +a \right )}+\frac {\ln \left (b x +a \right )}{b}-\frac {\ln \left (b x +a -1\right )}{2 b}-\frac {\ln \left (b x +a +1\right )}{2 b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 53, normalized size = 1.10 \[ -\frac {\log \left (b x + a + 1\right )}{2 \, b} + \frac {\log \left (b x + a\right )}{b} - \frac {\log \left (b x + a - 1\right )}{2 \, b} - \frac {\operatorname {arcoth}\left (b x + a\right )}{{\left (b x + a\right )} b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.41, size = 93, normalized size = 1.94 \[ \frac {\ln \left (a+b\,x\right )}{b}-\frac {\ln \left (a^2+2\,a\,b\,x+b^2\,x^2-1\right )}{2\,b}-\frac {\ln \left (\frac {a+b\,x+1}{a+b\,x}\right )}{2\,\left (x\,b^2+a\,b\right )}+\frac {\ln \left (\frac {a+b\,x-1}{a+b\,x}\right )}{2\,x\,b^2+2\,a\,b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.40, size = 136, normalized size = 2.83 \[ \begin {cases} \frac {a \log {\left (\frac {a}{b} + x \right )}}{a b + b^{2} x} - \frac {a \log {\left (\frac {a}{b} + x + \frac {1}{b} \right )}}{a b + b^{2} x} + \frac {a \operatorname {acoth}{\left (a + b x \right )}}{a b + b^{2} x} + \frac {b x \log {\left (\frac {a}{b} + x \right )}}{a b + b^{2} x} - \frac {b x \log {\left (\frac {a}{b} + x + \frac {1}{b} \right )}}{a b + b^{2} x} + \frac {b x \operatorname {acoth}{\left (a + b x \right )}}{a b + b^{2} x} - \frac {\operatorname {acoth}{\left (a + b x \right )}}{a b + b^{2} x} & \text {for}\: b \neq 0 \\\frac {x \operatorname {acoth}{\relax (a )}}{a^{2}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________