3.1.98 \(\int \frac {\coth ^{-1}(a+b x)}{a+b x} \, dx\) [98]

Optimal. Leaf size=35 \[ \frac {\text {PolyLog}\left (2,-\frac {1}{a+b x}\right )}{2 b}-\frac {\text {PolyLog}\left (2,\frac {1}{a+b x}\right )}{2 b} \]

[Out]

1/2*polylog(2,-1/(b*x+a))/b-1/2*polylog(2,1/(b*x+a))/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {6243, 6032} \begin {gather*} \frac {\text {Li}_2\left (-\frac {1}{a+b x}\right )}{2 b}-\frac {\text {Li}_2\left (\frac {1}{a+b x}\right )}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcCoth[a + b*x]/(a + b*x),x]

[Out]

PolyLog[2, -(a + b*x)^(-1)]/(2*b) - PolyLog[2, (a + b*x)^(-1)]/(2*b)

Rule 6032

Int[((a_.) + ArcCoth[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (Simp[(b/2)*PolyLog[2, -(c*x)^(
-1)], x] - Simp[(b/2)*PolyLog[2, 1/(c*x)], x]) /; FreeQ[{a, b, c}, x]

Rule 6243

Int[((a_.) + ArcCoth[(c_) + (d_.)*(x_)]*(b_.))^(p_.)*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Dist[1/d, Subst[
Int[(f*(x/d))^m*(a + b*ArcCoth[x])^p, x], x, c + d*x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[d*e - c*f,
 0] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \frac {\coth ^{-1}(a+b x)}{a+b x} \, dx &=\frac {\text {Subst}\left (\int \frac {\coth ^{-1}(x)}{x} \, dx,x,a+b x\right )}{b}\\ &=\frac {\text {Li}_2\left (-\frac {1}{a+b x}\right )}{2 b}-\frac {\text {Li}_2\left (\frac {1}{a+b x}\right )}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(286\) vs. \(2(35)=70\).
time = 0.02, size = 286, normalized size = 8.17 \begin {gather*} -\frac {\log \left (\frac {b (-1+a+b x)}{(-1+a) b-a b}\right ) \log \left (\frac {-((-1+a) b)+a b}{b (a+b x)}\right )}{2 b}-\frac {\log ^2\left (\frac {-((-1+a) b)+a b}{b (a+b x)}\right )}{4 b}+\frac {\log \left (\frac {b (-1-a-b x)}{(-1-a) b+a b}\right ) \log \left (\frac {a b-(1+a) b}{b (a+b x)}\right )}{2 b}+\frac {\log ^2\left (\frac {a b-(1+a) b}{b (a+b x)}\right )}{4 b}+\frac {\log \left (\frac {-((-1+a) b)+a b}{b (a+b x)}\right ) \log \left (\frac {-1+a+b x}{a+b x}\right )}{2 b}-\frac {\log \left (\frac {a b-(1+a) b}{b (a+b x)}\right ) \log \left (\frac {1+a+b x}{a+b x}\right )}{2 b}-\frac {\text {PolyLog}(2,-a-b x)}{2 b}+\frac {\text {PolyLog}(2,a+b x)}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcCoth[a + b*x]/(a + b*x),x]

[Out]

-1/2*(Log[(b*(-1 + a + b*x))/((-1 + a)*b - a*b)]*Log[(-((-1 + a)*b) + a*b)/(b*(a + b*x))])/b - Log[(-((-1 + a)
*b) + a*b)/(b*(a + b*x))]^2/(4*b) + (Log[(b*(-1 - a - b*x))/((-1 - a)*b + a*b)]*Log[(a*b - (1 + a)*b)/(b*(a +
b*x))])/(2*b) + Log[(a*b - (1 + a)*b)/(b*(a + b*x))]^2/(4*b) + (Log[(-((-1 + a)*b) + a*b)/(b*(a + b*x))]*Log[(
-1 + a + b*x)/(a + b*x)])/(2*b) - (Log[(a*b - (1 + a)*b)/(b*(a + b*x))]*Log[(1 + a + b*x)/(a + b*x)])/(2*b) -
PolyLog[2, -a - b*x]/(2*b) + PolyLog[2, a + b*x]/(2*b)

________________________________________________________________________________________

Maple [A]
time = 0.11, size = 51, normalized size = 1.46

method result size
risch \(-\frac {\ln \left (b x +a -1\right ) \ln \left (b x +a \right )}{2 b}-\frac {\dilog \left (b x +a \right )}{2 b}-\frac {\dilog \left (b x +a +1\right )}{2 b}\) \(43\)
derivativedivides \(\frac {\ln \left (b x +a \right ) \mathrm {arccoth}\left (b x +a \right )-\frac {\dilog \left (b x +a \right )}{2}-\frac {\dilog \left (b x +a +1\right )}{2}-\frac {\ln \left (b x +a \right ) \ln \left (b x +a +1\right )}{2}}{b}\) \(51\)
default \(\frac {\ln \left (b x +a \right ) \mathrm {arccoth}\left (b x +a \right )-\frac {\dilog \left (b x +a \right )}{2}-\frac {\dilog \left (b x +a +1\right )}{2}-\frac {\ln \left (b x +a \right ) \ln \left (b x +a +1\right )}{2}}{b}\) \(51\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arccoth(b*x+a)/(b*x+a),x,method=_RETURNVERBOSE)

[Out]

1/b*(ln(b*x+a)*arccoth(b*x+a)-1/2*dilog(b*x+a)-1/2*dilog(b*x+a+1)-1/2*ln(b*x+a)*ln(b*x+a+1))

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 112 vs. \(2 (29) = 58\).
time = 0.29, size = 112, normalized size = 3.20 \begin {gather*} -\frac {1}{2} \, b {\left (\frac {\log \left (b x + a\right ) \log \left (b x + a - 1\right ) + {\rm Li}_2\left (-b x - a + 1\right )}{b^{2}} - \frac {\log \left (b x + a + 1\right ) \log \left (-b x - a\right ) + {\rm Li}_2\left (b x + a + 1\right )}{b^{2}}\right )} - \frac {1}{2} \, {\left (\frac {\log \left (b x + a + 1\right )}{b} - \frac {\log \left (b x + a - 1\right )}{b}\right )} \log \left (b x + a\right ) + \frac {\operatorname {arcoth}\left (b x + a\right ) \log \left (b x + a\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccoth(b*x+a)/(b*x+a),x, algorithm="maxima")

[Out]

-1/2*b*((log(b*x + a)*log(b*x + a - 1) + dilog(-b*x - a + 1))/b^2 - (log(b*x + a + 1)*log(-b*x - a) + dilog(b*
x + a + 1))/b^2) - 1/2*(log(b*x + a + 1)/b - log(b*x + a - 1)/b)*log(b*x + a) + arccoth(b*x + a)*log(b*x + a)/
b

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccoth(b*x+a)/(b*x+a),x, algorithm="fricas")

[Out]

integral(arccoth(b*x + a)/(b*x + a), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {acoth}{\left (a + b x \right )}}{a + b x}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(acoth(b*x+a)/(b*x+a),x)

[Out]

Integral(acoth(a + b*x)/(a + b*x), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccoth(b*x+a)/(b*x+a),x, algorithm="giac")

[Out]

integrate(arccoth(b*x + a)/(b*x + a), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\mathrm {acoth}\left (a+b\,x\right )}{a+b\,x} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(acoth(a + b*x)/(a + b*x),x)

[Out]

int(acoth(a + b*x)/(a + b*x), x)

________________________________________________________________________________________