Optimal. Leaf size=88 \[ -\frac{a q^3 x^{q+3} \text{Hypergeometric2F1}\left (1,\frac{q+3}{q},\frac{3}{q}+2,a x^q\right )}{27 (q+3)}-\frac{1}{9} q x^3 \text{PolyLog}\left (2,a x^q\right )+\frac{1}{3} x^3 \text{PolyLog}\left (3,a x^q\right )-\frac{1}{27} q^2 x^3 \log \left (1-a x^q\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0515477, antiderivative size = 88, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {6591, 2455, 364} \[ -\frac{1}{9} q x^3 \text{PolyLog}\left (2,a x^q\right )+\frac{1}{3} x^3 \text{PolyLog}\left (3,a x^q\right )-\frac{a q^3 x^{q+3} \, _2F_1\left (1,\frac{q+3}{q};2+\frac{3}{q};a x^q\right )}{27 (q+3)}-\frac{1}{27} q^2 x^3 \log \left (1-a x^q\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6591
Rule 2455
Rule 364
Rubi steps
\begin{align*} \int x^2 \text{Li}_3\left (a x^q\right ) \, dx &=\frac{1}{3} x^3 \text{Li}_3\left (a x^q\right )-\frac{1}{3} q \int x^2 \text{Li}_2\left (a x^q\right ) \, dx\\ &=-\frac{1}{9} q x^3 \text{Li}_2\left (a x^q\right )+\frac{1}{3} x^3 \text{Li}_3\left (a x^q\right )-\frac{1}{9} q^2 \int x^2 \log \left (1-a x^q\right ) \, dx\\ &=-\frac{1}{27} q^2 x^3 \log \left (1-a x^q\right )-\frac{1}{9} q x^3 \text{Li}_2\left (a x^q\right )+\frac{1}{3} x^3 \text{Li}_3\left (a x^q\right )-\frac{1}{27} \left (a q^3\right ) \int \frac{x^{2+q}}{1-a x^q} \, dx\\ &=-\frac{a q^3 x^{3+q} \, _2F_1\left (1,\frac{3+q}{q};2+\frac{3}{q};a x^q\right )}{27 (3+q)}-\frac{1}{27} q^2 x^3 \log \left (1-a x^q\right )-\frac{1}{9} q x^3 \text{Li}_2\left (a x^q\right )+\frac{1}{3} x^3 \text{Li}_3\left (a x^q\right )\\ \end{align*}
Mathematica [C] time = 0.0089413, size = 41, normalized size = 0.47 \[ -\frac{x^3 G_{5,5}^{1,5}\left (-a x^q|\begin{array}{c} 1,1,1,1,\frac{q-3}{q} \\ 1,0,0,0,-\frac{3}{q} \\\end{array}\right )}{q} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.345, size = 132, normalized size = 1.5 \begin{align*} -{\frac{1}{q} \left ( -a \right ) ^{-3\,{q}^{-1}} \left ({\frac{{q}^{3}{x}^{3}\ln \left ( 1-a{x}^{q} \right ) }{27} \left ( -a \right ) ^{3\,{q}^{-1}}}+{\frac{{q}^{2}{x}^{3}{\it polylog} \left ( 2,a{x}^{q} \right ) }{9} \left ( -a \right ) ^{3\,{q}^{-1}}}-{\frac{q{x}^{3}{\it polylog} \left ( 3,a{x}^{q} \right ) }{3+q} \left ( -a \right ) ^{3\,{q}^{-1}} \left ( 1+{\frac{q}{3}} \right ) }+{\frac{{q}^{3}{x}^{3+q}a}{27} \left ( -a \right ) ^{3\,{q}^{-1}}{\it LerchPhi} \left ( a{x}^{q},1,{\frac{3+q}{q}} \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{81} \, q^{3} x^{3} - \frac{1}{27} \, q^{2} x^{3} \log \left (-a x^{q} + 1\right ) - \frac{1}{9} \, q x^{3}{\rm Li}_2\left (a x^{q}\right ) + q^{3} \int \frac{x^{2}}{27 \,{\left (a x^{q} - 1\right )}}\,{d x} + \frac{1}{3} \, x^{3}{\rm Li}_{3}(a x^{q}) \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 (x^{2}{\rm polylog}\left (3, a x^{q}\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*} \int x^{2} \operatorname{Li}_{3}\left (a x^{q}\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}(a x^{q})\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]