Optimal. Leaf size=71 \[ \frac {a q^2 x^{3+q} \, _2F_1\left (1,\frac {3+q}{q};2+\frac {3}{q};a x^q\right )}{9 (3+q)}+\frac {1}{9} q x^3 \log \left (1-a x^q\right )+\frac {1}{3} x^3 \text {PolyLog}\left (2,a x^q\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 71, normalized size of antiderivative = 1.00, 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 = {6726, 2505,
371} \begin {gather*} \frac {a q^2 x^{q+3} \, _2F_1\left (1,\frac {q+3}{q};2+\frac {3}{q};a x^q\right )}{9 (q+3)}+\frac {1}{3} x^3 \text {Li}_2\left (a x^q\right )+\frac {1}{9} q x^3 \log \left (1-a x^q\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 2505
Rule 6726
Rubi steps
\begin {align*} \int x^2 \text {Li}_2\left (a x^q\right ) \, dx &=\frac {1}{3} x^3 \text {Li}_2\left (a x^q\right )+\frac {1}{3} q \int x^2 \log \left (1-a x^q\right ) \, dx\\ &=\frac {1}{9} q x^3 \log \left (1-a x^q\right )+\frac {1}{3} x^3 \text {Li}_2\left (a x^q\right )+\frac {1}{9} \left (a q^2\right ) \int \frac {x^{2+q}}{1-a x^q} \, dx\\ &=\frac {a q^2 x^{3+q} \, _2F_1\left (1,\frac {3+q}{q};2+\frac {3}{q};a x^q\right )}{9 (3+q)}+\frac {1}{9} q x^3 \log \left (1-a x^q\right )+\frac {1}{3} x^3 \text {Li}_2\left (a x^q\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 69, normalized size = 0.97 \begin {gather*} \frac {q x^3 \left (a q x^q \, _2F_1\left (1,\frac {3+q}{q};2+\frac {3}{q};a x^q\right )+(3+q) \log \left (1-a x^q\right )\right )}{9 (3+q)}+\frac {1}{3} x^3 \text {PolyLog}\left (2,a x^q\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
5.
time = 0.15, size = 108, normalized size = 1.52
method | result | size |
meijerg | \(-\frac {\left (-a \right )^{-\frac {3}{q}} \left (-\frac {q^{2} x^{3} \left (-a \right )^{\frac {3}{q}} \ln \left (1-a \,x^{q}\right )}{9}-\frac {q \,x^{3} \left (-a \right )^{\frac {3}{q}} \left (1+\frac {q}{3}\right ) \polylog \left (2, a \,x^{q}\right )}{3+q}-\frac {q^{2} x^{3+q} a \left (-a \right )^{\frac {3}{q}} \Phi \left (a \,x^{q}, 1, \frac {3+q}{q}\right )}{9}\right )}{q}\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \operatorname {Li}_{2}\left (a x^{q}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,\mathrm {polylog}\left (2,a\,x^q\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________