Optimal. Leaf size=68 \[ \frac {x}{8 a}+\frac {x^2}{16}+\frac {\log (1-a x)}{8 a^2}-\frac {1}{8} x^2 \log (1-a x)-\frac {1}{4} x^2 \text {PolyLog}(2,a x)+\frac {1}{2} x^2 \text {PolyLog}(3,a x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6726, 2442, 45}
\begin {gather*} \frac {\log (1-a x)}{8 a^2}-\frac {1}{4} x^2 \text {Li}_2(a x)+\frac {1}{2} x^2 \text {Li}_3(a x)-\frac {1}{8} x^2 \log (1-a x)+\frac {x}{8 a}+\frac {x^2}{16} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2442
Rule 6726
Rubi steps
\begin {align*} \int x \text {Li}_3(a x) \, dx &=\frac {1}{2} x^2 \text {Li}_3(a x)-\frac {1}{2} \int x \text {Li}_2(a x) \, dx\\ &=-\frac {1}{4} x^2 \text {Li}_2(a x)+\frac {1}{2} x^2 \text {Li}_3(a x)-\frac {1}{4} \int x \log (1-a x) \, dx\\ &=-\frac {1}{8} x^2 \log (1-a x)-\frac {1}{4} x^2 \text {Li}_2(a x)+\frac {1}{2} x^2 \text {Li}_3(a x)-\frac {1}{8} a \int \frac {x^2}{1-a x} \, dx\\ &=-\frac {1}{8} x^2 \log (1-a x)-\frac {1}{4} x^2 \text {Li}_2(a x)+\frac {1}{2} x^2 \text {Li}_3(a x)-\frac {1}{8} a \int \left (-\frac {1}{a^2}-\frac {x}{a}-\frac {1}{a^2 (-1+a x)}\right ) \, dx\\ &=\frac {x}{8 a}+\frac {x^2}{16}+\frac {\log (1-a x)}{8 a^2}-\frac {1}{8} x^2 \log (1-a x)-\frac {1}{4} x^2 \text {Li}_2(a x)+\frac {1}{2} x^2 \text {Li}_3(a x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 69, normalized size = 1.01 \begin {gather*} \frac {2 a x+a^2 x^2+2 \log (1-a x)-2 a^2 x^2 \log (1-a x)-4 a^2 x^2 \text {PolyLog}(2,a x)+8 a^2 x^2 \text {PolyLog}(3,a x)}{16 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 62, normalized size = 0.91
method | result | size |
meijerg | \(-\frac {-\frac {a x \left (3 a x +6\right )}{48}-\frac {\left (-3 a^{2} x^{2}+3\right ) \ln \left (-a x +1\right )}{24}+\frac {a^{2} x^{2} \polylog \left (2, a x \right )}{4}-\frac {a^{2} x^{2} \polylog \left (3, a x \right )}{2}}{a^{2}}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 61, normalized size = 0.90 \begin {gather*} -\frac {4 \, a^{2} x^{2} {\rm Li}_2\left (a x\right ) - 8 \, a^{2} x^{2} {\rm Li}_{3}(a x) - a^{2} x^{2} - 2 \, a x + 2 \, {\left (a^{2} x^{2} - 1\right )} \log \left (-a x + 1\right )}{16 \, a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 61, normalized size = 0.90 \begin {gather*} -\frac {4 \, a^{2} x^{2} {\rm Li}_2\left (a x\right ) - 8 \, a^{2} x^{2} {\rm polylog}\left (3, a x\right ) - a^{2} x^{2} - 2 \, a x + 2 \, {\left (a^{2} x^{2} - 1\right )} \log \left (-a x + 1\right )}{16 \, a^{2}} \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 \operatorname {Li}_{3}\left (a x\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 [B]
time = 0.90, size = 55, normalized size = 0.81 \begin {gather*} \frac {\ln \left (a\,x-1\right )}{8\,a^2}-\frac {x^2\,\ln \left (1-a\,x\right )}{8}+\frac {x}{8\,a}+\frac {x^2}{16}-\frac {x^2\,\mathrm {polylog}\left (2,a\,x\right )}{4}+\frac {x^2\,\mathrm {polylog}\left (3,a\,x\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________