Optimal. Leaf size=347 \[ -\frac{\left (a^3-b^3 x^3\right ) \text{PolyLog}(3,c (a+b x))}{3 b^3}-\frac{11 a^3 \text{PolyLog}(2,c (a+b x))}{18 b^3}+\frac{2 a^3 \text{PolyLog}(3,c (a+b x))}{3 b^3}-\frac{a^2 x \text{PolyLog}(2,c (a+b x))}{3 b^2}+\frac{a x^2 \text{PolyLog}(2,c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{PolyLog}(2,c (a+b x))+\frac{11 a^2 (-a c-b c x+1) \log (-a c-b c x+1)}{18 b^3 c}+\frac{11 a^2 x}{18 b^2}+\frac{x (1-a c)^2}{27 b^2 c^2}-\frac{5 a (1-a c)^2 \log (-a c-b c x+1)}{36 b^3 c^2}+\frac{(1-a c)^3 \log (-a c-b c x+1)}{27 b^3 c^3}-\frac{5 a x (1-a c)}{36 b^2 c}+\frac{x^2 (1-a c)}{54 b c}+\frac{5 a x^2 \log (-a c-b c x+1)}{36 b}-\frac{1}{27} x^3 \log (-a c-b c x+1)-\frac{5 a x^2}{72 b}+\frac{x^3}{81} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.637739, antiderivative size = 347, normalized size of antiderivative = 1., number of steps used = 33, number of rules used = 13, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 1., Rules used = {6599, 6595, 2444, 2389, 2295, 2421, 2393, 2391, 6598, 43, 2416, 2395, 6589} \[ -\frac{\left (a^3-b^3 x^3\right ) \text{PolyLog}(3,c (a+b x))}{3 b^3}-\frac{11 a^3 \text{PolyLog}(2,c (a+b x))}{18 b^3}+\frac{2 a^3 \text{PolyLog}(3,c (a+b x))}{3 b^3}-\frac{a^2 x \text{PolyLog}(2,c (a+b x))}{3 b^2}+\frac{a x^2 \text{PolyLog}(2,c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{PolyLog}(2,c (a+b x))+\frac{11 a^2 (-a c-b c x+1) \log (-a c-b c x+1)}{18 b^3 c}+\frac{11 a^2 x}{18 b^2}+\frac{x (1-a c)^2}{27 b^2 c^2}-\frac{5 a (1-a c)^2 \log (-a c-b c x+1)}{36 b^3 c^2}+\frac{(1-a c)^3 \log (-a c-b c x+1)}{27 b^3 c^3}-\frac{5 a x (1-a c)}{36 b^2 c}+\frac{x^2 (1-a c)}{54 b c}+\frac{5 a x^2 \log (-a c-b c x+1)}{36 b}-\frac{1}{27} x^3 \log (-a c-b c x+1)-\frac{5 a x^2}{72 b}+\frac{x^3}{81} \]
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
Rule 6589
Rubi steps
\begin{align*} \int x^2 \text{Li}_3(c (a+b x)) \, dx &=-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}+\frac{\int \left (-a^2 \text{Li}_2(c (a+b x))+a b x \text{Li}_2(c (a+b x))-b^2 x^2 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_2(c (a+b x))}{a+b x}\right ) \, dx}{3 b^2}\\ &=-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}-\frac{1}{3} \int x^2 \text{Li}_2(c (a+b x)) \, dx-\frac{a^2 \int \text{Li}_2(c (a+b x)) \, dx}{3 b^2}+\frac{\left (2 a^3\right ) \int \frac{\text{Li}_2(c (a+b x))}{a+b x} \, dx}{3 b^2}+\frac{a \int x \text{Li}_2(c (a+b x)) \, dx}{3 b}\\ &=-\frac{a^2 x \text{Li}_2(c (a+b x))}{3 b^2}+\frac{a x^2 \text{Li}_2(c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_3(c (a+b x))}{3 b^3}-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}+\frac{1}{6} a \int \frac{x^2 \log (1-a c-b c x)}{a+b x} \, dx-\frac{a^2 \int \log (1-c (a+b x)) \, dx}{3 b^2}+\frac{a^3 \int \frac{\log (1-c (a+b x))}{a+b x} \, dx}{3 b^2}-\frac{1}{9} b \int \frac{x^3 \log (1-a c-b c x)}{a+b x} \, dx\\ &=-\frac{a^2 x \text{Li}_2(c (a+b x))}{3 b^2}+\frac{a x^2 \text{Li}_2(c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_3(c (a+b x))}{3 b^3}-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}+\frac{1}{6} a \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^2 \int \log (1-a c-b c x) \, dx}{3 b^2}+\frac{a^3 \int \frac{\log (1-a c-b c x)}{a+b x} \, dx}{3 b^2}-\frac{1}{9} b \int \left (\frac{a^2 \log (1-a c-b c x)}{b^3}-\frac{a x \log (1-a c-b c x)}{b^2}+\frac{x^2 \log (1-a c-b c x)}{b}-\frac{a^3 \log (1-a c-b c x)}{b^3 (a+b x)}\right ) \, dx\\ &=-\frac{a^2 x \text{Li}_2(c (a+b x))}{3 b^2}+\frac{a x^2 \text{Li}_2(c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_3(c (a+b x))}{3 b^3}-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}-\frac{1}{9} \int x^2 \log (1-a c-b c x) \, dx+\frac{a^3 \operatorname{Subst}\left (\int \frac{\log (1-c x)}{x} \, dx,x,a+b x\right )}{3 b^3}-\frac{a^2 \int \log (1-a c-b c x) \, dx}{9 b^2}-\frac{a^2 \int \log (1-a c-b c x) \, dx}{6 b^2}+\frac{a^3 \int \frac{\log (1-a c-b c x)}{a+b x} \, dx}{9 b^2}+\frac{a^3 \int \frac{\log (1-a c-b c x)}{a+b x} \, dx}{6 b^2}+\frac{a \int x \log (1-a c-b c x) \, dx}{9 b}+\frac{a \int x \log (1-a c-b c x) \, dx}{6 b}+\frac{a^2 \operatorname{Subst}(\int \log (x) \, dx,x,1-a c-b c x)}{3 b^3 c}\\ &=\frac{a^2 x}{3 b^2}+\frac{5 a x^2 \log (1-a c-b c x)}{36 b}-\frac{1}{27} x^3 \log (1-a c-b c x)+\frac{a^2 (1-a c-b c x) \log (1-a c-b c x)}{3 b^3 c}-\frac{a^3 \text{Li}_2(c (a+b x))}{3 b^3}-\frac{a^2 x \text{Li}_2(c (a+b x))}{3 b^2}+\frac{a x^2 \text{Li}_2(c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_3(c (a+b x))}{3 b^3}-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}+\frac{a^3 \operatorname{Subst}\left (\int \frac{\log (1-c x)}{x} \, dx,x,a+b x\right )}{9 b^3}+\frac{a^3 \operatorname{Subst}\left (\int \frac{\log (1-c x)}{x} \, dx,x,a+b x\right )}{6 b^3}+\frac{a^2 \operatorname{Subst}(\int \log (x) \, dx,x,1-a c-b c x)}{9 b^3 c}+\frac{a^2 \operatorname{Subst}(\int \log (x) \, dx,x,1-a c-b c x)}{6 b^3 c}+\frac{1}{18} (a c) \int \frac{x^2}{1-a c-b c x} \, dx+\frac{1}{12} (a c) \int \frac{x^2}{1-a c-b c x} \, dx-\frac{1}{27} (b c) \int \frac{x^3}{1-a c-b c x} \, dx\\ &=\frac{11 a^2 x}{18 b^2}+\frac{5 a x^2 \log (1-a c-b c x)}{36 b}-\frac{1}{27} x^3 \log (1-a c-b c x)+\frac{11 a^2 (1-a c-b c x) \log (1-a c-b c x)}{18 b^3 c}-\frac{11 a^3 \text{Li}_2(c (a+b x))}{18 b^3}-\frac{a^2 x \text{Li}_2(c (a+b x))}{3 b^2}+\frac{a x^2 \text{Li}_2(c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_3(c (a+b x))}{3 b^3}-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}+\frac{1}{18} (a 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{1}{12} (a 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{1}{27} (b c) \int \left (-\frac{(-1+a c)^2}{b^3 c^3}+\frac{(-1+a c) x}{b^2 c^2}-\frac{x^2}{b c}+\frac{(-1+a c)^3}{b^3 c^3 (-1+a c+b c x)}\right ) \, dx\\ &=\frac{11 a^2 x}{18 b^2}-\frac{5 a (1-a c) x}{36 b^2 c}+\frac{(1-a c)^2 x}{27 b^2 c^2}-\frac{5 a x^2}{72 b}+\frac{(1-a c) x^2}{54 b c}+\frac{x^3}{81}-\frac{5 a (1-a c)^2 \log (1-a c-b c x)}{36 b^3 c^2}+\frac{(1-a c)^3 \log (1-a c-b c x)}{27 b^3 c^3}+\frac{5 a x^2 \log (1-a c-b c x)}{36 b}-\frac{1}{27} x^3 \log (1-a c-b c x)+\frac{11 a^2 (1-a c-b c x) \log (1-a c-b c x)}{18 b^3 c}-\frac{11 a^3 \text{Li}_2(c (a+b x))}{18 b^3}-\frac{a^2 x \text{Li}_2(c (a+b x))}{3 b^2}+\frac{a x^2 \text{Li}_2(c (a+b x))}{6 b}-\frac{1}{9} x^3 \text{Li}_2(c (a+b x))+\frac{2 a^3 \text{Li}_3(c (a+b x))}{3 b^3}-\frac{\left (a^3-b^3 x^3\right ) \text{Li}_3(c (a+b x))}{3 b^3}\\ \end{align*}
Mathematica [A] time = 0.0681564, size = 296, normalized size = 0.85 \[ \frac{-36 c^3 \left (6 a^2 b x+11 a^3-3 a b^2 x^2+2 b^3 x^3\right ) \text{PolyLog}(2,c (a+b x))+216 c^3 \left (a^3+b^3 x^3\right ) \text{PolyLog}(3,c (a+b x))+510 a^2 b c^3 x-510 a^3 c^3 \log (-a c-b c x+1)-396 a^2 b c^3 x \log (-a c-b c x+1)+648 a^2 c^2 \log (-a c-b c x+1)+575 a^3 c^3-150 a^2 c^2-57 a b^2 c^3 x^2-24 b^3 c^3 x^3 \log (-a c-b c x+1)+90 a b^2 c^3 x^2 \log (-a c-b c x+1)-138 a b c^2 x-162 a c \log (-a c-b c x+1)+24 \log (-a c-b c x+1)+24 a c+8 b^3 c^3 x^3+12 b^2 c^2 x^2+24 b c x}{648 b^3 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.005, size = 0, normalized size = 0. \begin{align*} \int{x}^{2}{\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.03005, size = 356, normalized size = 1.03 \begin{align*} \frac{11 \,{\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^{3}}{18 \, b^{3}} + \frac{a^{3}{\rm Li}_{3}(b c x + a c)}{3 \, b^{3}} + \frac{216 \, b^{3} c^{3} x^{3}{\rm Li}_{3}(b c x + a c) + 8 \, b^{3} c^{3} x^{3} - 3 \,{\left (19 \, a b^{2} c^{3} - 4 \, b^{2} c^{2}\right )} x^{2} + 6 \,{\left (85 \, a^{2} b c^{3} - 23 \, a b c^{2} + 4 \, b c\right )} x - 36 \,{\left (2 \, b^{3} c^{3} x^{3} - 3 \, a b^{2} c^{3} x^{2} + 6 \, a^{2} b c^{3} x\right )}{\rm Li}_2\left (b c x + a c\right ) - 6 \,{\left (4 \, b^{3} c^{3} x^{3} - 15 \, a b^{2} c^{3} x^{2} + 66 \, a^{2} b c^{3} x + 85 \, a^{3} c^{3} - 108 \, a^{2} c^{2} + 27 \, a c - 4\right )} \log \left (-b c x - a c + 1\right )}{648 \, b^{3} c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 2.34524, size = 675, normalized size = 1.95 \begin{align*} \frac{8 \, b^{3} c^{3} x^{3} - 3 \,{\left (19 \, a b^{2} c^{3} - 4 \, b^{2} c^{2}\right )} x^{2} + 6 \,{\left (85 \, a^{2} b c^{3} - 23 \, a b c^{2} + 4 \, b c\right )} x - 36 \,{\left (2 \, b^{3} c^{3} x^{3} - 3 \, a b^{2} c^{3} x^{2} + 6 \, a^{2} b c^{3} x + 11 \, a^{3} c^{3}\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 ) - 6 \,{\left (4 \, b^{3} c^{3} x^{3} - 15 \, a b^{2} c^{3} x^{2} + 66 \, a^{2} b c^{3} x + 85 \, a^{3} c^{3} - 108 \, a^{2} c^{2} + 27 \, a c - 4\right )} \log \left (-b c x - a c + 1\right ) + 216 \,{\left (b^{3} c^{3} x^{3} + a^{3} c^{3}\right )}{\rm polylog}\left (3, b c x + a c\right )}{648 \, b^{3} c^{3}} \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^{2} \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^{2}{\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]