Optimal. Leaf size=54 \[ \frac {a q^2 x^{q+1} \, _2F_1\left (1,1+\frac {1}{q};2+\frac {1}{q};a x^q\right )}{q+1}+x \text {Li}_2\left (a x^q\right )+q x \log \left (1-a x^q\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6586, 2448, 364} \[ x \text {PolyLog}\left (2,a x^q\right )+\frac {a q^2 x^{q+1} \, _2F_1\left (1,1+\frac {1}{q};2+\frac {1}{q};a x^q\right )}{q+1}+q x \log \left (1-a x^q\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 2448
Rule 6586
Rubi steps
\begin {align*} \int \text {Li}_2\left (a x^q\right ) \, dx &=x \text {Li}_2\left (a x^q\right )+q \int \log \left (1-a x^q\right ) \, dx\\ &=q x \log \left (1-a x^q\right )+x \text {Li}_2\left (a x^q\right )+\left (a q^2\right ) \int \frac {x^q}{1-a x^q} \, dx\\ &=\frac {a q^2 x^{1+q} \, _2F_1\left (1,1+\frac {1}{q};2+\frac {1}{q};a x^q\right )}{1+q}+q x \log \left (1-a x^q\right )+x \text {Li}_2\left (a x^q\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 51, normalized size = 0.94 \[ q x \left (\frac {a q x^q \, _2F_1\left (1,1+\frac {1}{q};2+\frac {1}{q};a x^q\right )}{q+1}+\log \left (1-a x^q\right )\right )+x \text {Li}_2\left (a x^q\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.51, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\rm Li}_2\left (a x^{q}\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm Li}_2\left (a x^{q}\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.14, size = 88, normalized size = 1.63 \[ -\frac {\left (-a \right )^{-\frac {1}{q}} \left (-q^{2} x \left (-a \right )^{\frac {1}{q}} \ln \left (1-a \,x^{q}\right )-q x \left (-a \right )^{\frac {1}{q}} \polylog \left (2, a \,x^{q}\right )-q^{2} x^{1+q} a \left (-a \right )^{\frac {1}{q}} \Phi \left (a \,x^{q}, 1, \frac {1+q}{q}\right )\right )}{q} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -q^{2} x - q^{2} \int \frac {1}{a x^{q} - 1}\,{d x} + q x \log \left (-a x^{q} + 1\right ) + x {\rm Li}_2\left (a x^{q}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \mathrm {polylog}\left (2,a\,x^q\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \operatorname {Li}_{2}\left (a x^{q}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________