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