Optimal. Leaf size=34 \[ x+\frac {(1-a x) \log (1-a x)}{a}-x \text {PolyLog}(2,a x)+x \text {PolyLog}(3,a x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {6721, 2436,
2332} \begin {gather*} x (-\text {Li}_2(a x))+x \text {Li}_3(a x)+\frac {(1-a x) \log (1-a x)}{a}+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2436
Rule 6721
Rubi steps
\begin {align*} \int \text {Li}_3(a x) \, dx &=x \text {Li}_3(a x)-\int \text {Li}_2(a x) \, dx\\ &=-x \text {Li}_2(a x)+x \text {Li}_3(a x)-\int \log (1-a x) \, dx\\ &=-x \text {Li}_2(a x)+x \text {Li}_3(a x)+\frac {\text {Subst}(\int \log (x) \, dx,x,1-a x)}{a}\\ &=x+\frac {(1-a x) \log (1-a x)}{a}-x \text {Li}_2(a x)+x \text {Li}_3(a x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 39, normalized size = 1.15 \begin {gather*} x \left (1-\log (1-a x)+\frac {\log (1-a x)}{a x}-\text {PolyLog}(2,a x)+\text {PolyLog}(3,a x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 41, normalized size = 1.21
method | result | size |
meijerg | \(\frac {a x +\frac {\left (-2 a x +2\right ) \ln \left (-a x +1\right )}{2}-a x \polylog \left (2, a x \right )+a x \polylog \left (3, a x \right )}{a}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 39, normalized size = 1.15 \begin {gather*} -\frac {a x {\rm Li}_2\left (a x\right ) - a x {\rm Li}_{3}(a x) - a x + {\left (a x - 1\right )} \log \left (-a x + 1\right )}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 39, normalized size = 1.15 \begin {gather*} -\frac {a x {\rm Li}_2\left (a x\right ) - a x {\rm polylog}\left (3, a x\right ) - a x + {\left (a x - 1\right )} \log \left (-a x + 1\right )}{a} \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 \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.84, size = 37, normalized size = 1.09 \begin {gather*} x+\frac {\ln \left (a\,x-1\right )}{a}-x\,\mathrm {polylog}\left (2,a\,x\right )+x\,\mathrm {polylog}\left (3,a\,x\right )-x\,\ln \left (1-a\,x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________