Optimal. Leaf size=78 \[ -\frac{a q^2 x^{q-2} \text{Hypergeometric2F1}\left (1,-\frac{2-q}{q},2 \left (1-\frac{1}{q}\right ),a x^q\right )}{4 (2-q)}-\frac{\text{PolyLog}\left (2,a x^q\right )}{2 x^2}+\frac{q \log \left (1-a x^q\right )}{4 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0418889, antiderivative size = 78, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {6591, 2455, 364} \[ -\frac{\text{PolyLog}\left (2,a x^q\right )}{2 x^2}-\frac{a q^2 x^{q-2} \, _2F_1\left (1,-\frac{2-q}{q};2 \left (1-\frac{1}{q}\right );a x^q\right )}{4 (2-q)}+\frac{q \log \left (1-a x^q\right )}{4 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6591
Rule 2455
Rule 364
Rubi steps
\begin{align*} \int \frac{\text{Li}_2\left (a x^q\right )}{x^3} \, dx &=-\frac{\text{Li}_2\left (a x^q\right )}{2 x^2}-\frac{1}{2} q \int \frac{\log \left (1-a x^q\right )}{x^3} \, dx\\ &=\frac{q \log \left (1-a x^q\right )}{4 x^2}-\frac{\text{Li}_2\left (a x^q\right )}{2 x^2}+\frac{1}{4} \left (a q^2\right ) \int \frac{x^{-3+q}}{1-a x^q} \, dx\\ &=-\frac{a q^2 x^{-2+q} \, _2F_1\left (1,-\frac{2-q}{q};2 \left (1-\frac{1}{q}\right );a x^q\right )}{4 (2-q)}+\frac{q \log \left (1-a x^q\right )}{4 x^2}-\frac{\text{Li}_2\left (a x^q\right )}{2 x^2}\\ \end{align*}
Mathematica [A] time = 0.0521594, size = 61, normalized size = 0.78 \[ \frac{q \left (\frac{a q x^q \text{Hypergeometric2F1}\left (1,\frac{q-2}{q},2-\frac{2}{q},a x^q\right )}{q-2}+\log \left (1-a x^q\right )\right )-2 \text{PolyLog}\left (2,a x^q\right )}{4 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.209, size = 108, normalized size = 1.4 \begin{align*} -{\frac{1}{q} \left ( -a \right ) ^{2\,{q}^{-1}} \left ( -{\frac{{q}^{2}\ln \left ( 1-a{x}^{q} \right ) }{4\,{x}^{2}} \left ( -a \right ) ^{-2\,{q}^{-1}}}-{\frac{q{\it polylog} \left ( 2,a{x}^{q} \right ) }{ \left ( -2+q \right ){x}^{2}} \left ( -a \right ) ^{-2\,{q}^{-1}} \left ( 1-{\frac{q}{2}} \right ) }-{\frac{{q}^{2}{x}^{-2+q}a}{4} \left ( -a \right ) ^{-2\,{q}^{-1}}{\it LerchPhi} \left ( a{x}^{q},1,{\frac{-2+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*} -q^{2} \int \frac{1}{4 \,{\left (a x^{3} x^{q} - x^{3}\right )}}\,{d x} + \frac{q^{2} + 2 \, q \log \left (-a x^{q} + 1\right ) - 4 \,{\rm Li}_2\left (a x^{q}\right )}{8 \, x^{2}} \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{{\rm Li}_2\left (a x^{q}\right )}{x^{3}}, 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{{\rm Li}_2\left (a x^{q}\right )}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]