Optimal. Leaf size=216 \[ -\frac {i \sqrt {(a+b x)^2+1} \text {Li}_2\left (-\frac {i \sqrt {i (a+b x)+1}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c (a+b x)^2+c}}+\frac {i \sqrt {(a+b x)^2+1} \text {Li}_2\left (\frac {i \sqrt {i (a+b x)+1}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c (a+b x)^2+c}}-\frac {2 i \sqrt {(a+b x)^2+1} \tan ^{-1}\left (\frac {\sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right ) \cot ^{-1}(a+b x)}{b \sqrt {c (a+b x)^2+c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 216, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {5056, 4891, 4887} \[ -\frac {i \sqrt {(a+b x)^2+1} \text {PolyLog}\left (2,-\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c (a+b x)^2+c}}+\frac {i \sqrt {(a+b x)^2+1} \text {PolyLog}\left (2,\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c (a+b x)^2+c}}-\frac {2 i \sqrt {(a+b x)^2+1} \tan ^{-1}\left (\frac {\sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right ) \cot ^{-1}(a+b x)}{b \sqrt {c (a+b x)^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4887
Rule 4891
Rule 5056
Rubi steps
\begin {align*} \int \frac {\cot ^{-1}(a+b x)}{\sqrt {\left (1+a^2\right ) c+2 a b c x+b^2 c x^2}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\cot ^{-1}(x)}{\sqrt {c+c x^2}} \, dx,x,a+b x\right )}{b}\\ &=\frac {\sqrt {1+(a+b x)^2} \operatorname {Subst}\left (\int \frac {\cot ^{-1}(x)}{\sqrt {1+x^2}} \, dx,x,a+b x\right )}{b \sqrt {c+c (a+b x)^2}}\\ &=-\frac {2 i \sqrt {1+(a+b x)^2} \cot ^{-1}(a+b x) \tan ^{-1}\left (\frac {\sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c+c (a+b x)^2}}-\frac {i \sqrt {1+(a+b x)^2} \text {Li}_2\left (-\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c+c (a+b x)^2}}+\frac {i \sqrt {1+(a+b x)^2} \text {Li}_2\left (\frac {i \sqrt {1+i (a+b x)}}{\sqrt {1-i (a+b x)}}\right )}{b \sqrt {c+c (a+b x)^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 138, normalized size = 0.64 \[ -\frac {\left ((a+b x)^2+1\right ) \left (i \text {Li}_2\left (-e^{i \cot ^{-1}(a+b x)}\right )-i \text {Li}_2\left (e^{i \cot ^{-1}(a+b x)}\right )+\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 )\right )}{b (a+b x) \sqrt {\frac {1}{(a+b x)^2}+1} \sqrt {c \left (a^2+2 a b x+b^2 x^2+1\right )}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.61, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\operatorname {arccot}\left (b x + a\right )}{\sqrt {b^{2} c x^{2} + 2 \, a b c x + {\left (a^{2} + 1\right )} c}}, x\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 {arccot}\left (b x + a\right )}{\sqrt {b^{2} c x^{2} + 2 \, a b c x + {\left (a^{2} + 1\right )} c}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.02, size = 156, normalized size = 0.72 \[ \frac {i \left (i \ln \left (1-\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}\right ) \mathrm {arccot}\left (b x +a \right )-i \ln \left (1+\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}\right ) \mathrm {arccot}\left (b x +a \right )+\polylog \left (2, \frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}\right )-\polylog \left (2, -\frac {b x +a +i}{\sqrt {1+\left (b x +a \right )^{2}}}\right )\right ) \sqrt {c \left (b x +a -i\right ) \left (b x +a +i\right )}}{\sqrt {b^{2} x^{2}+2 a b x +a^{2}+1}\, b c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arccot}\left (b x + a\right )}{\sqrt {b^{2} c x^{2} + 2 \, a b c x + {\left (a^{2} + 1\right )} c}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\mathrm {acot}\left (a+b\,x\right )}{\sqrt {c\,b^2\,x^2+2\,a\,c\,b\,x+c\,\left (a^2+1\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {acot}{\left (a + b x \right )}}{\sqrt {c \left (a^{2} + 2 a b x + b^{2} x^{2} + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________