3.2.73 \(\int \frac {(g+h \log (1-c x)) \text {PolyLog}(2,c x)}{x} \, dx\) [173]

Optimal. Leaf size=20 \[ -\frac {1}{2} h \text {PolyLog}(2,c x)^2+g \text {PolyLog}(3,c x) \]

[Out]

-1/2*h*polylog(2,c*x)^2+g*polylog(3,c*x)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {6737, 6724, 6736} \begin {gather*} g \text {Li}_3(c x)-\frac {1}{2} h \text {Li}_2(c x){}^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((g + h*Log[1 - c*x])*PolyLog[2, c*x])/x,x]

[Out]

-1/2*(h*PolyLog[2, c*x]^2) + g*PolyLog[3, c*x]

Rule 6724

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

Rule 6736

Int[(Log[1 + (e_.)*(x_)]*PolyLog[2, (c_.)*(x_)])/(x_), x_Symbol] :> Simp[-PolyLog[2, c*x]^2/2, x] /; FreeQ[{c,
 e}, x] && EqQ[c + e, 0]

Rule 6737

Int[((Log[1 + (e_.)*(x_)]*(h_.) + (g_))*PolyLog[2, (c_.)*(x_)])/(x_), x_Symbol] :> Dist[g, Int[PolyLog[2, c*x]
/x, x], x] + Dist[h, Int[(Log[1 + e*x]*PolyLog[2, c*x])/x, x], x] /; FreeQ[{c, e, g, h}, x] && EqQ[c + e, 0]

Rubi steps

\begin {align*} \int \frac {(g+h \log (1-c x)) \text {Li}_2(c x)}{x} \, dx &=g \int \frac {\text {Li}_2(c x)}{x} \, dx+h \int \frac {\log (1-c x) \text {Li}_2(c x)}{x} \, dx\\ &=-\frac {1}{2} h \text {Li}_2(c x){}^2+g \text {Li}_3(c x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 20, normalized size = 1.00 \begin {gather*} -\frac {1}{2} h \text {PolyLog}(2,c x)^2+g \text {PolyLog}(3,c x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((g + h*Log[1 - c*x])*PolyLog[2, c*x])/x,x]

[Out]

-1/2*(h*PolyLog[2, c*x]^2) + g*PolyLog[3, c*x]

________________________________________________________________________________________

Maple [A]
time = 0.15, size = 19, normalized size = 0.95

method result size
default \(-\frac {h \polylog \left (2, c x \right )^{2}}{2}+g \polylog \left (3, c x \right )\) \(19\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g+h*ln(-c*x+1))*polylog(2,c*x)/x,x,method=_RETURNVERBOSE)

[Out]

-1/2*h*polylog(2,c*x)^2+g*polylog(3,c*x)

________________________________________________________________________________________

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]

integrate((g+h*log(-c*x+1))*polylog(2,c*x)/x,x, algorithm="maxima")

[Out]

integrate((h*log(-c*x + 1) + g)*dilog(c*x)/x, x)

________________________________________________________________________________________

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]

integrate((g+h*log(-c*x+1))*polylog(2,c*x)/x,x, algorithm="fricas")

[Out]

integral((h*dilog(c*x)*log(-c*x + 1) + g*dilog(c*x))/x, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (g + h \log {\left (- c x + 1 \right )}\right ) \operatorname {Li}_{2}\left (c x\right )}{x}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g+h*ln(-c*x+1))*polylog(2,c*x)/x,x)

[Out]

Integral((g + h*log(-c*x + 1))*polylog(2, c*x)/x, x)

________________________________________________________________________________________

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]

integrate((g+h*log(-c*x+1))*polylog(2,c*x)/x,x, algorithm="giac")

[Out]

integrate((h*log(-c*x + 1) + g)*dilog(c*x)/x, x)

________________________________________________________________________________________

Mupad [B]
time = 0.25, size = 18, normalized size = 0.90 \begin {gather*} g\,\mathrm {polylog}\left (3,c\,x\right )-\frac {h\,{\mathrm {polylog}\left (2,c\,x\right )}^2}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((g + h*log(1 - c*x))*polylog(2, c*x))/x,x)

[Out]

g*polylog(3, c*x) - (h*polylog(2, c*x)^2)/2

________________________________________________________________________________________