Optimal. Leaf size=101 \[ \frac{i \log (d (a+b x)) \text{PolyLog}(2,-i c (a+b x))}{2 b}-\frac{i \log (d (a+b x)) \text{PolyLog}(2,i c (a+b x))}{2 b}-\frac{i \text{PolyLog}(3,-i c (a+b x))}{2 b}+\frac{i \text{PolyLog}(3,i c (a+b x))}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.266421, antiderivative size = 101, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 7, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.292, Rules used = {4848, 2391, 5209, 2444, 2433, 2374, 6589} \[ \frac{i \log (d (a+b x)) \text{PolyLog}(2,-i c (a+b x))}{2 b}-\frac{i \log (d (a+b x)) \text{PolyLog}(2,i c (a+b x))}{2 b}-\frac{i \text{PolyLog}(3,-i c (a+b x))}{2 b}+\frac{i \text{PolyLog}(3,i c (a+b x))}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4848
Rule 2391
Rule 5209
Rule 2444
Rule 2433
Rule 2374
Rule 6589
Rubi steps
\begin{align*} \int \frac{\tan ^{-1}(c (a+b x)) \log (d (a+b x))}{a+b x} \, dx &=\frac{1}{2} i \int \frac{\log (d (a+b x)) \log (1-i c (a+b x))}{a+b x} \, dx-\frac{1}{2} i \int \frac{\log (d (a+b x)) \log (1+i c (a+b x))}{a+b x} \, dx\\ &=\frac{1}{2} i \int \frac{\log (d (a+b x)) \log (1-i a c-i b c x)}{a+b x} \, dx-\frac{1}{2} i \int \frac{\log (d (a+b x)) \log (1+i a c+i b c x)}{a+b x} \, dx\\ &=\frac{i \operatorname{Subst}\left (\int \frac{\log (d x) \log \left (\frac{i a b c+b (1-i a c)}{b}-i c x\right )}{x} \, dx,x,a+b x\right )}{2 b}-\frac{i \operatorname{Subst}\left (\int \frac{\log (d x) \log \left (\frac{-i a b c+b (1+i a c)}{b}+i c x\right )}{x} \, dx,x,a+b x\right )}{2 b}\\ &=\frac{i \log (d (a+b x)) \text{Li}_2(-i c (a+b x))}{2 b}-\frac{i \log (d (a+b x)) \text{Li}_2(i c (a+b x))}{2 b}-\frac{i \operatorname{Subst}\left (\int \frac{\text{Li}_2(-i c x)}{x} \, dx,x,a+b x\right )}{2 b}+\frac{i \operatorname{Subst}\left (\int \frac{\text{Li}_2(i c x)}{x} \, dx,x,a+b x\right )}{2 b}\\ &=\frac{i \log (d (a+b x)) \text{Li}_2(-i c (a+b x))}{2 b}-\frac{i \log (d (a+b x)) \text{Li}_2(i c (a+b x))}{2 b}-\frac{i \text{Li}_3(-i c (a+b x))}{2 b}+\frac{i \text{Li}_3(i c (a+b x))}{2 b}\\ \end{align*}
Mathematica [A] time = 0.137435, size = 79, normalized size = 0.78 \[ \frac{i (\log (d (a+b x)) \text{PolyLog}(2,-i c (a+b x))-\log (d (a+b x)) \text{PolyLog}(2,i c (a+b x))-\text{PolyLog}(3,-i c (a+b x))+\text{PolyLog}(3,i c (a+b x)))}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.936, size = 0, normalized size = 0. \begin{align*} \int{\frac{\arctan \left ( c \left ( bx+a \right ) \right ) \ln \left ( d \left ( bx+a \right ) \right ) }{bx+a}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \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{\arctan \left (b c x + a c\right ) \log \left (b d x + a d\right )}{b x + a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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{\arctan \left ({\left (b x + a\right )} c\right ) \log \left ({\left (b x + a\right )} d\right )}{b x + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]