Optimal. Leaf size=198 \[ -\frac{\left (a^2-b^2 x^2\right ) \text{PolyLog}(3,c (a+b x))}{2 b^2}+\frac{3 a^2 \text{PolyLog}(2,c (a+b x))}{4 b^2}-\frac{1}{4} x^2 \text{PolyLog}(2,c (a+b x))+\frac{a x \text{PolyLog}(2,c (a+b x))}{2 b}+\frac{(1-a c)^2 \log (-a c-b c x+1)}{8 b^2 c^2}-\frac{3 a (-a c-b c x+1) \log (-a c-b c x+1)}{4 b^2 c}-\frac{1}{8} x^2 \log (-a c-b c x+1)+\frac{x (1-a c)}{8 b c}-\frac{3 a x}{4 b}+\frac{x^2}{16} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.2869, antiderivative size = 198, normalized size of antiderivative = 1., number of steps used = 19, number of rules used = 12, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 1.091, Rules used = {6599, 6595, 2444, 2389, 2295, 2421, 2393, 2391, 6598, 43, 2416, 2395} \[ -\frac{\left (a^2-b^2 x^2\right ) \text{PolyLog}(3,c (a+b x))}{2 b^2}+\frac{3 a^2 \text{PolyLog}(2,c (a+b x))}{4 b^2}-\frac{1}{4} x^2 \text{PolyLog}(2,c (a+b x))+\frac{a x \text{PolyLog}(2,c (a+b x))}{2 b}+\frac{(1-a c)^2 \log (-a c-b c x+1)}{8 b^2 c^2}-\frac{3 a (-a c-b c x+1) \log (-a c-b c x+1)}{4 b^2 c}-\frac{1}{8} x^2 \log (-a c-b c x+1)+\frac{x (1-a c)}{8 b c}-\frac{3 a x}{4 b}+\frac{x^2}{16} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6599
Rule 6595
Rule 2444
Rule 2389
Rule 2295
Rule 2421
Rule 2393
Rule 2391
Rule 6598
Rule 43
Rule 2416
Rule 2395
Rubi steps
\begin{align*} \int x \text{Li}_3(c (a+b x)) \, dx &=-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}+\frac{\int (a \text{Li}_2(c (a+b x))-b x \text{Li}_2(c (a+b x))) \, dx}{2 b}\\ &=-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}-\frac{1}{2} \int x \text{Li}_2(c (a+b x)) \, dx+\frac{a \int \text{Li}_2(c (a+b x)) \, dx}{2 b}\\ &=\frac{a x \text{Li}_2(c (a+b x))}{2 b}-\frac{1}{4} x^2 \text{Li}_2(c (a+b x))-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}+\frac{a \int \log (1-c (a+b x)) \, dx}{2 b}-\frac{a^2 \int \frac{\log (1-c (a+b x))}{a+b x} \, dx}{2 b}-\frac{1}{4} b \int \frac{x^2 \log (1-a c-b c x)}{a+b x} \, dx\\ &=\frac{a x \text{Li}_2(c (a+b x))}{2 b}-\frac{1}{4} x^2 \text{Li}_2(c (a+b x))-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}+\frac{a \int \log (1-a c-b c x) \, dx}{2 b}-\frac{a^2 \int \frac{\log (1-a c-b c x)}{a+b x} \, dx}{2 b}-\frac{1}{4} b \int \left (-\frac{a \log (1-a c-b c x)}{b^2}+\frac{x \log (1-a c-b c x)}{b}+\frac{a^2 \log (1-a c-b c x)}{b^2 (a+b x)}\right ) \, dx\\ &=\frac{a x \text{Li}_2(c (a+b x))}{2 b}-\frac{1}{4} x^2 \text{Li}_2(c (a+b x))-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}-\frac{1}{4} \int x \log (1-a c-b c x) \, dx-\frac{a^2 \operatorname{Subst}\left (\int \frac{\log (1-c x)}{x} \, dx,x,a+b x\right )}{2 b^2}+\frac{a \int \log (1-a c-b c x) \, dx}{4 b}-\frac{a^2 \int \frac{\log (1-a c-b c x)}{a+b x} \, dx}{4 b}-\frac{a \operatorname{Subst}(\int \log (x) \, dx,x,1-a c-b c x)}{2 b^2 c}\\ &=-\frac{a x}{2 b}-\frac{1}{8} x^2 \log (1-a c-b c x)-\frac{a (1-a c-b c x) \log (1-a c-b c x)}{2 b^2 c}+\frac{a^2 \text{Li}_2(c (a+b x))}{2 b^2}+\frac{a x \text{Li}_2(c (a+b x))}{2 b}-\frac{1}{4} x^2 \text{Li}_2(c (a+b x))-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}-\frac{a^2 \operatorname{Subst}\left (\int \frac{\log (1-c x)}{x} \, dx,x,a+b x\right )}{4 b^2}-\frac{a \operatorname{Subst}(\int \log (x) \, dx,x,1-a c-b c x)}{4 b^2 c}-\frac{1}{8} (b c) \int \frac{x^2}{1-a c-b c x} \, dx\\ &=-\frac{3 a x}{4 b}-\frac{1}{8} x^2 \log (1-a c-b c x)-\frac{3 a (1-a c-b c x) \log (1-a c-b c x)}{4 b^2 c}+\frac{3 a^2 \text{Li}_2(c (a+b x))}{4 b^2}+\frac{a x \text{Li}_2(c (a+b x))}{2 b}-\frac{1}{4} x^2 \text{Li}_2(c (a+b x))-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}-\frac{1}{8} (b c) \int \left (\frac{-1+a c}{b^2 c^2}-\frac{x}{b c}-\frac{(-1+a c)^2}{b^2 c^2 (-1+a c+b c x)}\right ) \, dx\\ &=-\frac{3 a x}{4 b}+\frac{(1-a c) x}{8 b c}+\frac{x^2}{16}+\frac{(1-a c)^2 \log (1-a c-b c x)}{8 b^2 c^2}-\frac{1}{8} x^2 \log (1-a c-b c x)-\frac{3 a (1-a c-b c x) \log (1-a c-b c x)}{4 b^2 c}+\frac{3 a^2 \text{Li}_2(c (a+b x))}{4 b^2}+\frac{a x \text{Li}_2(c (a+b x))}{2 b}-\frac{1}{4} x^2 \text{Li}_2(c (a+b x))-\frac{\left (a^2-b^2 x^2\right ) \text{Li}_3(c (a+b x))}{2 b^2}\\ \end{align*}
Mathematica [A] time = 0.0466226, size = 198, normalized size = 1. \[ \frac{4 c^2 \left (3 a^2+2 a b x-b^2 x^2\right ) \text{PolyLog}(2,c (a+b x))-8 c^2 \left (a^2-b^2 x^2\right ) \text{PolyLog}(3,c (a+b x))+14 a^2 c^2 \log (-a c-b c x+1)-15 a^2 c^2-2 b^2 c^2 x^2 \log (-a c-b c x+1)-14 a b c^2 x+12 a b c^2 x \log (-a c-b c x+1)-16 a c \log (-a c-b c x+1)+2 \log (-a c-b c x+1)+2 a c+b^2 c^2 x^2+2 b c x}{16 b^2 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.006, size = 0, normalized size = 0. \begin{align*} \int x{\it polylog} \left ( 3,c \left ( bx+a \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01089, size = 261, normalized size = 1.32 \begin{align*} -\frac{3 \,{\left (\log \left (b c x + a c\right ) \log \left (-b c x - a c + 1\right ) +{\rm Li}_2\left (-b c x - a c + 1\right )\right )} a^{2}}{4 \, b^{2}} - \frac{a^{2}{\rm Li}_{3}(b c x + a c)}{2 \, b^{2}} + \frac{8 \, b^{2} c^{2} x^{2}{\rm Li}_{3}(b c x + a c) + b^{2} c^{2} x^{2} - 2 \,{\left (7 \, a b c^{2} - b c\right )} x - 4 \,{\left (b^{2} c^{2} x^{2} - 2 \, a b c^{2} x\right )}{\rm Li}_2\left (b c x + a c\right ) - 2 \,{\left (b^{2} c^{2} x^{2} - 6 \, a b c^{2} x - 7 \, a^{2} c^{2} + 8 \, a c - 1\right )} \log \left (-b c x - a c + 1\right )}{16 \, b^{2} c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 2.51134, size = 510, normalized size = 2.58 \begin{align*} \frac{b^{2} c^{2} x^{2} - 2 \,{\left (7 \, a b c^{2} - b c\right )} x - 4 \,{\left (b^{2} c^{2} x^{2} - 2 \, a b c^{2} x - 3 \, a^{2} c^{2}\right )}{\rm \%iint}\left (a, b, c, x, -\frac{\log \left (-b c x - a c + 1\right )}{b x + a}, -\frac{x \log \left (-b c x - a c + 1\right )}{b x + a}, -\frac{\log \left (-b c x - a c + 1\right )}{c}, -\frac{b \log \left (-b c x - a c + 1\right )}{b x + a}\right ) - 2 \,{\left (b^{2} c^{2} x^{2} - 6 \, a b c^{2} x - 7 \, a^{2} c^{2} + 8 \, a c - 1\right )} \log \left (-b c x - a c + 1\right ) + 8 \,{\left (b^{2} c^{2} x^{2} - a^{2} c^{2}\right )}{\rm polylog}\left (3, b c x + a c\right )}{16 \, b^{2} c^{2}} \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*} \int x \operatorname{Li}_{3}\left (a c + b c x\right )\, dx \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 x{\rm Li}_{3}({\left (b x + a\right )} c)\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]