Integrand size = 28, antiderivative size = 132 \[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=-\frac {2 i \cot ^{-1}(a+b x) \arctan \left (\frac {\sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b}-\frac {i \operatorname {PolyLog}\left (2,-\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b}+\frac {i \operatorname {PolyLog}\left (2,\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {5164, 5007} \[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=-\frac {2 i \arctan \left (\frac {\sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right ) \cot ^{-1}(a+b x)}{b}-\frac {i \operatorname {PolyLog}\left (2,-\frac {i \sqrt {i (a+b x)+1}}{\sqrt {1-i (a+b x)}}\right )}{b}+\frac {i \operatorname {PolyLog}\left (2,\frac {i \sqrt {i (a+b x)+1}}{\sqrt {1-i (a+b x)}}\right )}{b} \]
[In]
[Out]
Rule 5007
Rule 5164
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\cot ^{-1}(x)}{\sqrt {1+x^2}} \, dx,x,a+b x\right )}{b} \\ & = -\frac {2 i \cot ^{-1}(a+b x) \arctan \left (\frac {\sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b}-\frac {i \operatorname {PolyLog}\left (2,-\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b}+\frac {i \operatorname {PolyLog}\left (2,\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b} \\ \end{align*}
Time = 0.13 (sec) , antiderivative size = 127, normalized size of antiderivative = 0.96 \[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=-\frac {\sqrt {1+a^2+2 a b x+b^2 x^2} \left (\cot ^{-1}(a+b x) \left (\log \left (1-e^{i \cot ^{-1}(a+b x)}\right )-\log \left (1+e^{i \cot ^{-1}(a+b x)}\right )\right )+i \operatorname {PolyLog}\left (2,-e^{i \cot ^{-1}(a+b x)}\right )-i \operatorname {PolyLog}\left (2,e^{i \cot ^{-1}(a+b x)}\right )\right )}{b (a+b x) \sqrt {1+\frac {1}{(a+b x)^2}}} \]
[In]
[Out]
Time = 1.28 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.89
method | result | size |
default | \(-\frac {\operatorname {arccot}\left (b x +a \right ) \ln \left (1-\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}\right )-\operatorname {arccot}\left (b x +a \right ) \ln \left (\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}+1\right )+i \operatorname {dilog}\left (\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}+1\right )-i \operatorname {dilog}\left (1-\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}\right )}{b}\) | \(118\) |
[In]
[Out]
\[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=\int { \frac {\operatorname {arccot}\left (b x + a\right )}{\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=\int \frac {\operatorname {acot}{\left (a + b x \right )}}{\sqrt {a^{2} + 2 a b x + b^{2} x^{2} + 1}}\, dx \]
[In]
[Out]
\[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=\int { \frac {\operatorname {arccot}\left (b x + a\right )}{\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=\int { \frac {\operatorname {arccot}\left (b x + a\right )}{\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\cot ^{-1}(a+b x)}{\sqrt {1+a^2+2 a b x+b^2 x^2}} \, dx=\int \frac {\mathrm {acot}\left (a+b\,x\right )}{\sqrt {a^2+2\,a\,b\,x+b^2\,x^2+1}} \,d x \]
[In]
[Out]