3.14 \(\int \text {Li}_3(a x) \, dx\)

Optimal. Leaf size=34 \[ x (-\text {Li}_2(a x))+x \text {Li}_3(a x)+\frac {(1-a x) \log (1-a x)}{a}+x \]

[Out]

x+(-a*x+1)*ln(-a*x+1)/a-x*polylog(2,a*x)+x*polylog(3,a*x)

________________________________________________________________________________________

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 = {6586, 2389, 2295} \[ x (-\text {PolyLog}(2,a x))+x \text {PolyLog}(3,a x)+\frac {(1-a x) \log (1-a x)}{a}+x \]

Antiderivative was successfully verified.

[In]

Int[PolyLog[3, a*x],x]

[Out]

x + ((1 - a*x)*Log[1 - a*x])/a - x*PolyLog[2, a*x] + x*PolyLog[3, a*x]

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 6586

Int[PolyLog[n_, (a_.)*((b_.)*(x_)^(p_.))^(q_.)], x_Symbol] :> Simp[x*PolyLog[n, a*(b*x^p)^q], x] - Dist[p*q, I
nt[PolyLog[n - 1, a*(b*x^p)^q], x], x] /; FreeQ[{a, b, p, q}, x] && GtQ[n, 0]

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 {\operatorname {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 \[ x \left (-\text {Li}_2(a x)+\text {Li}_3(a x)+\frac {\log (1-a x)}{a x}-\log (1-a x)+1\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[PolyLog[3, a*x],x]

[Out]

x*(1 - Log[1 - a*x] + Log[1 - a*x]/(a*x) - PolyLog[2, a*x] + PolyLog[3, a*x])

________________________________________________________________________________________

fricas [C]  time = 0.49, size = 39, normalized size = 1.15 \[ -\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} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x),x, algorithm="fricas")

[Out]

-(a*x*dilog(a*x) - a*x*polylog(3, a*x) - a*x + (a*x - 1)*log(-a*x + 1))/a

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm Li}_{3}(a x)\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x),x, algorithm="giac")

[Out]

integrate(polylog(3, a*x), x)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 41, normalized size = 1.21 \[ \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} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(polylog(3,a*x),x)

[Out]

1/a*(a*x+1/2*(-2*a*x+2)*ln(-a*x+1)-a*x*polylog(2,a*x)+a*x*polylog(3,a*x))

________________________________________________________________________________________

maxima [A]  time = 0.32, size = 39, normalized size = 1.15 \[ -\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} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x),x, algorithm="maxima")

[Out]

-(a*x*dilog(a*x) - a*x*polylog(3, a*x) - a*x + (a*x - 1)*log(-a*x + 1))/a

________________________________________________________________________________________

mupad [B]  time = 0.84, size = 37, normalized size = 1.09 \[ 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 ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(polylog(3, a*x),x)

[Out]

x + log(a*x - 1)/a - x*polylog(2, a*x) + x*polylog(3, a*x) - x*log(1 - a*x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \operatorname {Li}_{3}\left (a x\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x),x)

[Out]

Integral(polylog(3, a*x), x)

________________________________________________________________________________________