Integrand size = 19, antiderivative size = 45 \[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=-\frac {i \operatorname {PolyLog}\left (2,-\frac {i}{a+b x}\right )}{2 d}+\frac {i \operatorname {PolyLog}\left (2,\frac {i}{a+b x}\right )}{2 d} \] Output:
-1/2*I*polylog(2,-I/(b*x+a))/d+1/2*I*polylog(2,I/(b*x+a))/d
Time = 0.01 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.84 \[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=-\frac {i \left (\operatorname {PolyLog}\left (2,-\frac {i}{a+b x}\right )-\operatorname {PolyLog}\left (2,\frac {i}{a+b x}\right )\right )}{2 d} \] Input:
Integrate[ArcCot[a + b*x]/((a*d)/b + d*x),x]
Output:
((-1/2*I)*(PolyLog[2, (-I)/(a + b*x)] - PolyLog[2, I/(a + b*x)]))/d
Time = 0.28 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.96, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.211, Rules used = {5567, 27, 5356, 2838}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx\) |
\(\Big \downarrow \) 5567 |
\(\displaystyle \frac {\int \frac {b \cot ^{-1}(a+b x)}{d (a+b x)}d(a+b x)}{b}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {\cot ^{-1}(a+b x)}{a+b x}d(a+b x)}{d}\) |
\(\Big \downarrow \) 5356 |
\(\displaystyle \frac {\frac {1}{2} i \int \frac {\log \left (1-\frac {i}{a+b x}\right )}{a+b x}d(a+b x)-\frac {1}{2} i \int \frac {\log \left (1+\frac {i}{a+b x}\right )}{a+b x}d(a+b x)}{d}\) |
\(\Big \downarrow \) 2838 |
\(\displaystyle \frac {\frac {1}{2} i \operatorname {PolyLog}\left (2,\frac {i}{a+b x}\right )-\frac {1}{2} i \operatorname {PolyLog}\left (2,-\frac {i}{a+b x}\right )}{d}\) |
Input:
Int[ArcCot[a + b*x]/((a*d)/b + d*x),x]
Output:
((-1/2*I)*PolyLog[2, (-I)/(a + b*x)] + (I/2)*PolyLog[2, I/(a + b*x)])/d
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2 , (-c)*e*x^n]/n, x] /; FreeQ[{c, d, e, n}, x] && EqQ[c*d, 1]
Int[((a_.) + ArcCot[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (-Simp[I*(b/2) Int[Log[1 + I/(c*x)]/x, x], x] + Simp[I*(b/2) Int[Log [1 - I/(c*x)]/x, x], x]) /; FreeQ[{a, b, c}, x]
Int[((a_.) + ArcCot[(c_) + (d_.)*(x_)]*(b_.))^(p_.)*((e_.) + (f_.)*(x_))^(m _.), x_Symbol] :> Simp[1/d Subst[Int[(f*(x/d))^m*(a + b*ArcCot[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]
Time = 0.66 (sec) , antiderivative size = 55, normalized size of antiderivative = 1.22
method | result | size |
risch | \(\frac {i \operatorname {dilog}\left (-b x i-a i+1\right )}{2 d}+\frac {\pi \ln \left (-b x i-a i\right )}{2 d}-\frac {i \operatorname {dilog}\left (b x i+a i+1\right )}{2 d}\) | \(55\) |
parts | \(\frac {\ln \left (b x +a \right ) \operatorname {arccot}\left (b x +a \right )}{d}+\frac {-\frac {i \ln \left (b x +a \right ) \ln \left (1+i \left (b x +a \right )\right )}{2}+\frac {i \ln \left (b x +a \right ) \ln \left (1-i \left (b x +a \right )\right )}{2}-\frac {i \operatorname {dilog}\left (1+i \left (b x +a \right )\right )}{2}+\frac {i \operatorname {dilog}\left (1-i \left (b x +a \right )\right )}{2}}{d}\) | \(91\) |
derivativedivides | \(\frac {\frac {b \ln \left (b x +a \right ) \operatorname {arccot}\left (b x +a \right )}{d}+\frac {b \left (-\frac {i \ln \left (b x +a \right ) \ln \left (1+i \left (b x +a \right )\right )}{2}+\frac {i \ln \left (b x +a \right ) \ln \left (1-i \left (b x +a \right )\right )}{2}-\frac {i \operatorname {dilog}\left (1+i \left (b x +a \right )\right )}{2}+\frac {i \operatorname {dilog}\left (1-i \left (b x +a \right )\right )}{2}\right )}{d}}{b}\) | \(97\) |
default | \(\frac {\frac {b \ln \left (b x +a \right ) \operatorname {arccot}\left (b x +a \right )}{d}+\frac {b \left (-\frac {i \ln \left (b x +a \right ) \ln \left (1+i \left (b x +a \right )\right )}{2}+\frac {i \ln \left (b x +a \right ) \ln \left (1-i \left (b x +a \right )\right )}{2}-\frac {i \operatorname {dilog}\left (1+i \left (b x +a \right )\right )}{2}+\frac {i \operatorname {dilog}\left (1-i \left (b x +a \right )\right )}{2}\right )}{d}}{b}\) | \(97\) |
Input:
int(arccot(b*x+a)/(a*d/b+d*x),x,method=_RETURNVERBOSE)
Output:
1/2*I/d*dilog(1-I*a-I*b*x)+1/2/d*Pi*ln(-I*b*x-I*a)-1/2*I/d*dilog(1+I*a+I*b *x)
\[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=\int { \frac {\operatorname {arccot}\left (b x + a\right )}{d x + \frac {a d}{b}} \,d x } \] Input:
integrate(arccot(b*x+a)/(a*d/b+d*x),x, algorithm="fricas")
Output:
integral(b*arccot(b*x + a)/(b*d*x + a*d), x)
\[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=\frac {b \int \frac {\operatorname {acot}{\left (a + b x \right )}}{a + b x}\, dx}{d} \] Input:
integrate(acot(b*x+a)/(a*d/b+d*x),x)
Output:
b*Integral(acot(a + b*x)/(a + b*x), x)/d
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 122 vs. \(2 (31) = 62\).
Time = 0.18 (sec) , antiderivative size = 122, normalized size of antiderivative = 2.71 \[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=\frac {\operatorname {arccot}\left (b x + a\right ) \log \left (d x + \frac {a d}{b}\right )}{d} + \frac {\arctan \left (\frac {b^{2} x + a b}{b}\right ) \log \left (d x + \frac {a d}{b}\right )}{d} + \frac {\arctan \left (b x + a, 0\right ) \log \left (b^{2} x^{2} + 2 \, a b x + a^{2} + 1\right ) - 2 \, \arctan \left (b x + a\right ) \log \left ({\left | b x + a \right |}\right ) + i \, {\rm Li}_2\left (i \, b x + i \, a + 1\right ) - i \, {\rm Li}_2\left (-i \, b x - i \, a + 1\right )}{2 \, d} \] Input:
integrate(arccot(b*x+a)/(a*d/b+d*x),x, algorithm="maxima")
Output:
arccot(b*x + a)*log(d*x + a*d/b)/d + arctan((b^2*x + a*b)/b)*log(d*x + a*d /b)/d + 1/2*(arctan2(b*x + a, 0)*log(b^2*x^2 + 2*a*b*x + a^2 + 1) - 2*arct an(b*x + a)*log(abs(b*x + a)) + I*dilog(I*b*x + I*a + 1) - I*dilog(-I*b*x - I*a + 1))/d
Leaf count of result is larger than twice the leaf count of optimal. 103 vs. \(2 (31) = 62\).
Time = 0.36 (sec) , antiderivative size = 103, normalized size of antiderivative = 2.29 \[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=-\frac {\arctan \left (\frac {1}{b x + a}\right ) \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x + a}\right )\right )^{4} + 2 \, \arctan \left (\frac {1}{b x + a}\right ) \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x + a}\right )\right )^{2} - 2 \, \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x + a}\right )\right )^{3} + \arctan \left (\frac {1}{b x + a}\right ) + 2 \, \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x + a}\right )\right )}{8 \, b d \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x + a}\right )\right )^{2}} \] Input:
integrate(arccot(b*x+a)/(a*d/b+d*x),x, algorithm="giac")
Output:
-1/8*(arctan(1/(b*x + a))*tan(1/2*arctan(1/(b*x + a)))^4 + 2*arctan(1/(b*x + a))*tan(1/2*arctan(1/(b*x + a)))^2 - 2*tan(1/2*arctan(1/(b*x + a)))^3 + arctan(1/(b*x + a)) + 2*tan(1/2*arctan(1/(b*x + a))))/(b*d*tan(1/2*arctan (1/(b*x + a)))^2)
Timed out. \[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=\int \frac {\mathrm {acot}\left (a+b\,x\right )}{d\,x+\frac {a\,d}{b}} \,d x \] Input:
int(acot(a + b*x)/(d*x + (a*d)/b),x)
Output:
int(acot(a + b*x)/(d*x + (a*d)/b), x)
\[ \int \frac {\cot ^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx=\frac {\left (\int \frac {\mathit {acot} \left (b x +a \right )}{b x +a}d x \right ) b}{d} \] Input:
int(acot(b*x+a)/(a*d/b+d*x),x)
Output:
(int(acot(a + b*x)/(a + b*x),x)*b)/d