Optimal. Leaf size=35 \[ \frac{1}{4} i \text{PolyLog}\left (2,\frac{i}{x+1}\right )-\frac{1}{4} i \text{PolyLog}\left (2,-\frac{i}{x+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.036544, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5044, 12, 4849, 2391} \[ \frac{1}{4} i \text{PolyLog}\left (2,\frac{i}{x+1}\right )-\frac{1}{4} i \text{PolyLog}\left (2,-\frac{i}{x+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5044
Rule 12
Rule 4849
Rule 2391
Rubi steps
\begin{align*} \int \frac{\cot ^{-1}(1+x)}{2+2 x} \, dx &=\operatorname{Subst}\left (\int \frac{\cot ^{-1}(x)}{2 x} \, dx,x,1+x\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{\cot ^{-1}(x)}{x} \, dx,x,1+x\right )\\ &=\frac{1}{4} i \operatorname{Subst}\left (\int \frac{\log \left (1-\frac{i}{x}\right )}{x} \, dx,x,1+x\right )-\frac{1}{4} i \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{i}{x}\right )}{x} \, dx,x,1+x\right )\\ &=-\frac{1}{4} i \text{Li}_2\left (-\frac{i}{1+x}\right )+\frac{1}{4} i \text{Li}_2\left (\frac{i}{1+x}\right )\\ \end{align*}
Mathematica [A] time = 0.0043733, size = 35, normalized size = 1. \[ \frac{1}{4} i \text{PolyLog}\left (2,\frac{i}{x+1}\right )-\frac{1}{4} i \text{PolyLog}\left (2,-\frac{i}{x+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.036, size = 68, normalized size = 1.9 \begin{align*}{\frac{\ln \left ( x+1 \right ){\rm arccot} \left (x+1\right )}{2}}-{\frac{i}{4}}\ln \left ( x+1 \right ) \ln \left ( 1+i \left ( x+1 \right ) \right ) +{\frac{i}{4}}\ln \left ( x+1 \right ) \ln \left ( 1-i \left ( x+1 \right ) \right ) -{\frac{i}{4}}{\it dilog} \left ( 1+i \left ( x+1 \right ) \right ) +{\frac{i}{4}}{\it dilog} \left ( 1-i \left ( x+1 \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.59732, size = 86, normalized size = 2.46 \begin{align*} \frac{1}{4} \, \arctan \left (x + 1, 0\right ) \log \left (x^{2} + 2 \, x + 2\right ) + \frac{1}{2} \, \operatorname{arccot}\left (x + 1\right ) \log \left (x + 1\right ) + \frac{1}{2} \, \arctan \left (x + 1\right ) \log \left (x + 1\right ) - \frac{1}{2} \, \arctan \left (x + 1\right ) \log \left ({\left | x + 1 \right |}\right ) + \frac{1}{4} i \,{\rm Li}_2\left (i \, x + i + 1\right ) - \frac{1}{4} i \,{\rm Li}_2\left (-i \, x - i + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\operatorname{arccot}\left (x + 1\right )}{2 \,{\left (x + 1\right )}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{\operatorname{acot}{\left (x + 1 \right )}}{x + 1}\, dx}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{arccot}\left (x + 1\right )}{2 \,{\left (x + 1\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]