Integrand size = 9, antiderivative size = 57 \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=-\frac {1}{2} i \operatorname {PolyLog}\left (2,-\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}\left (2,\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}(2,-i x)-\frac {1}{2} i \operatorname {PolyLog}(2,i x) \]
[Out]
Time = 0.06 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {14, 4941, 2438, 4940} \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=-\frac {1}{2} i \operatorname {PolyLog}\left (2,-\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}\left (2,\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}(2,-i x)-\frac {1}{2} i \operatorname {PolyLog}(2,i x) \]
[In]
[Out]
Rule 14
Rule 2438
Rule 4940
Rule 4941
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\cot ^{-1}(x)}{x}+\frac {\arctan (x)}{x}\right ) \, dx \\ & = \int \frac {\cot ^{-1}(x)}{x} \, dx+\int \frac {\arctan (x)}{x} \, dx \\ & = \frac {1}{2} i \int \frac {\log \left (1-\frac {i}{x}\right )}{x} \, dx-\frac {1}{2} i \int \frac {\log \left (1+\frac {i}{x}\right )}{x} \, dx+\frac {1}{2} i \int \frac {\log (1-i x)}{x} \, dx-\frac {1}{2} i \int \frac {\log (1+i x)}{x} \, dx \\ & = -\frac {1}{2} i \operatorname {PolyLog}\left (2,-\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}\left (2,\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}(2,-i x)-\frac {1}{2} i \operatorname {PolyLog}(2,i x) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.00 \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=-\frac {1}{2} i \operatorname {PolyLog}\left (2,-\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}\left (2,\frac {i}{x}\right )+\frac {1}{2} i \operatorname {PolyLog}(2,-i x)-\frac {1}{2} i \operatorname {PolyLog}(2,i x) \]
[In]
[Out]
Time = 0.06 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.21
method | result | size |
default | \(\ln \left (x \right ) \operatorname {arccot}\left (x \right )+\ln \left (x \right ) \arctan \left (x \right )\) | \(12\) |
parts | \(\ln \left (x \right ) \operatorname {arccot}\left (x \right )+\ln \left (x \right ) \arctan \left (x \right )\) | \(12\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.09 \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=-\frac {1}{2} \, \pi \log \left (x\right ) \]
[In]
[Out]
\[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=\int \frac {\operatorname {acot}{\left (x \right )} + \operatorname {atan}{\left (x \right )}}{x}\, dx \]
[In]
[Out]
none
Time = 0.42 (sec) , antiderivative size = 9, normalized size of antiderivative = 0.16 \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx={\left (\arctan \left (x\right ) + \arctan \left (1, x\right )\right )} \log \left (x\right ) \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.09 \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=-\frac {1}{2} \, \pi \log \left (x\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {\cot ^{-1}(x)+\arctan (x)}{x} \, dx=\int \frac {\mathrm {atan}\left (x\right )+\mathrm {acot}\left (x\right )}{x} \,d x \]
[In]
[Out]