3.2.96 \(\int \frac {(a+b x+c x^2) \log (1-d x) \text {PolyLog}(2,d x)}{x^3} \, dx\) [196]

Optimal. Leaf size=343 \[ -a d^2 \log (x)+a d^2 \log (1-d x)-\frac {a d \log (1-d x)}{x}-\frac {1}{4} a d^2 \log ^2(1-d x)+\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {(b+a d)^2 \log (d x) \log ^2(1-d x)}{2 a}-2 b d \text {PolyLog}(2,d x)-\frac {1}{2} a d^2 \text {PolyLog}(2,d x)+\frac {a d \text {PolyLog}(2,d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {PolyLog}(2,d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {PolyLog}(2,d x)}{2 a x^2}-\frac {1}{2} c \text {PolyLog}(2,d x)^2-\frac {b^2 \log (1-d x) \text {PolyLog}(2,1-d x)}{a}+\frac {(b+a d)^2 \log (1-d x) \text {PolyLog}(2,1-d x)}{a}-\frac {1}{2} d (2 b+a d) \text {PolyLog}(3,d x)+\frac {b^2 \text {PolyLog}(3,1-d x)}{a}-\frac {(b+a d)^2 \text {PolyLog}(3,1-d x)}{a} \]

[Out]

-a*d^2*ln(x)+a*d^2*ln(-d*x+1)-a*d*ln(-d*x+1)/x-1/4*a*d^2*ln(-d*x+1)^2+1/4*a*ln(-d*x+1)^2/x^2+b*(-d*x+1)*ln(-d*
x+1)^2/x-1/2*b^2*ln(d*x)*ln(-d*x+1)^2/a+1/2*(a*d+b)^2*ln(d*x)*ln(-d*x+1)^2/a-2*b*d*polylog(2,d*x)-1/2*a*d^2*po
lylog(2,d*x)+1/2*a*d*polylog(2,d*x)/x+1/2*(a*d+b)^2*ln(-d*x+1)*polylog(2,d*x)/a-1/2*(b*x+a)^2*ln(-d*x+1)*polyl
og(2,d*x)/a/x^2-1/2*c*polylog(2,d*x)^2-b^2*ln(-d*x+1)*polylog(2,-d*x+1)/a+(a*d+b)^2*ln(-d*x+1)*polylog(2,-d*x+
1)/a-1/2*d*(a*d+2*b)*polylog(3,d*x)+b^2*polylog(3,-d*x+1)/a-(a*d+b)^2*polylog(3,-d*x+1)/a

________________________________________________________________________________________

Rubi [A]
time = 0.48, antiderivative size = 343, normalized size of antiderivative = 1.00, number of steps used = 32, number of rules used = 22, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.846, Rules used = {6874, 6726, 2442, 46, 36, 29, 31, 6724, 6740, 6736, 37, 6741, 2445, 2457, 2438, 2437, 2338, 2444, 2443, 2481, 2421, 6731} \begin {gather*} \frac {b^2 \text {Li}_3(1-d x)}{a}-\frac {b^2 \text {Li}_2(1-d x) \log (1-d x)}{a}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}-\frac {(a+b x)^2 \text {Li}_2(d x) \log (1-d x)}{2 a x^2}-\frac {1}{2} d (a d+2 b) \text {Li}_3(d x)-\frac {(a d+b)^2 \text {Li}_3(1-d x)}{a}+\frac {(a d+b)^2 \text {Li}_2(d x) \log (1-d x)}{2 a}+\frac {(a d+b)^2 \text {Li}_2(1-d x) \log (1-d x)}{a}+\frac {(a d+b)^2 \log (d x) \log ^2(1-d x)}{2 a}-\frac {1}{2} a d^2 \text {Li}_2(d x)-\frac {1}{4} a d^2 \log ^2(1-d x)-a d^2 \log (x)+a d^2 \log (1-d x)+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {a \log ^2(1-d x)}{4 x^2}-\frac {a d \log (1-d x)}{x}-2 b d \text {Li}_2(d x)+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {1}{2} c \text {Li}_2(d x){}^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + b*x + c*x^2)*Log[1 - d*x]*PolyLog[2, d*x])/x^3,x]

[Out]

-(a*d^2*Log[x]) + a*d^2*Log[1 - d*x] - (a*d*Log[1 - d*x])/x - (a*d^2*Log[1 - d*x]^2)/4 + (a*Log[1 - d*x]^2)/(4
*x^2) + (b*(1 - d*x)*Log[1 - d*x]^2)/x - (b^2*Log[d*x]*Log[1 - d*x]^2)/(2*a) + ((b + a*d)^2*Log[d*x]*Log[1 - d
*x]^2)/(2*a) - 2*b*d*PolyLog[2, d*x] - (a*d^2*PolyLog[2, d*x])/2 + (a*d*PolyLog[2, d*x])/(2*x) + ((b + a*d)^2*
Log[1 - d*x]*PolyLog[2, d*x])/(2*a) - ((a + b*x)^2*Log[1 - d*x]*PolyLog[2, d*x])/(2*a*x^2) - (c*PolyLog[2, d*x
]^2)/2 - (b^2*Log[1 - d*x]*PolyLog[2, 1 - d*x])/a + ((b + a*d)^2*Log[1 - d*x]*PolyLog[2, 1 - d*x])/a - (d*(2*b
 + a*d)*PolyLog[3, d*x])/2 + (b^2*PolyLog[3, 1 - d*x])/a - ((b + a*d)^2*PolyLog[3, 1 - d*x])/a

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 46

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*x
)^n, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && ILtQ[m, 0] && IntegerQ[n] &&  !(IGtQ[n, 0] && Lt
Q[m + n + 2, 0])

Rule 2338

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/(x_), x_Symbol] :> Simp[(a + b*Log[c*x^n])^2/(2*b*n), x] /; FreeQ[{a
, b, c, n}, x]

Rule 2421

Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.))/(x_), x_Symbol] :> Simp
[(-PolyLog[2, (-d)*f*x^m])*((a + b*Log[c*x^n])^p/m), x] + Dist[b*n*(p/m), Int[PolyLog[2, (-d)*f*x^m]*((a + b*L
og[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]

Rule 2437

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_) + (g_.)*(x_))^(q_.), x_Symbol] :> Dist[1/
e, Subst[Int[(f*(x/d))^q*(a + b*Log[c*x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, q}, x]
 && EqQ[e*f - d*g, 0]

Rule 2438

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

Rule 2442

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[(f + g*
x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/(g*(q + 1))), x] - Dist[b*e*(n/(g*(q + 1))), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rule 2443

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[Log[e*((
f + g*x)/(e*f - d*g))]*((a + b*Log[c*(d + e*x)^n])^p/g), x] - Dist[b*e*n*(p/g), Int[Log[(e*(f + g*x))/(e*f - d
*g)]*((a + b*Log[c*(d + e*x)^n])^(p - 1)/(d + e*x)), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && NeQ[e*
f - d*g, 0] && IGtQ[p, 1]

Rule 2444

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)/((f_.) + (g_.)*(x_))^2, x_Symbol] :> Simp[(d + e
*x)*((a + b*Log[c*(d + e*x)^n])^p/((e*f - d*g)*(f + g*x))), x] - Dist[b*e*n*(p/(e*f - d*g)), Int[(a + b*Log[c*
(d + e*x)^n])^(p - 1)/(f + g*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0] && GtQ[p, 0
]

Rule 2445

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[(f
 + g*x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])^p/(g*(q + 1))), x] - Dist[b*e*n*(p/(g*(q + 1))), Int[(f + g*x)^(q
+ 1)*((a + b*Log[c*(d + e*x)^n])^(p - 1)/(d + e*x)), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*
f - d*g, 0] && GtQ[p, 0] && NeQ[q, -1] && IntegersQ[2*p, 2*q] && ( !IGtQ[q, 0] || (EqQ[p, 2] && NeQ[q, 1]))

Rule 2457

Int[(Log[(c_.)*((d_) + (e_.)*(x_))]*(x_)^(m_.))/((f_) + (g_.)*(x_)), x_Symbol] :> Int[ExpandIntegrand[Log[c*(d
 + e*x)], x^m/(f + g*x), x], x] /; FreeQ[{c, d, e, f, g}, x] && EqQ[e*f - d*g, 0] && EqQ[c*d, 1] && IntegerQ[m
]

Rule 2481

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_.) + Log[(h_.)*((i_.) + (j_.)*(x_))^(m_.)]*
(g_.))*((k_.) + (l_.)*(x_))^(r_.), x_Symbol] :> Dist[1/e, Subst[Int[(k*(x/d))^r*(a + b*Log[c*x^n])^p*(f + g*Lo
g[h*((e*i - d*j)/e + j*(x/e))^m]), x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, j, k, l, n, p, r},
 x] && EqQ[e*k - d*l, 0]

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 6726

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

Rule 6731

Int[PolyLog[2, (c_.)*((a_.) + (b_.)*(x_))]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[Log[1 - a*c - b*c*x]*(PolyL
og[2, c*(a + b*x)]/e), x] + Dist[b/e, Int[Log[1 - a*c - b*c*x]^2/(a + b*x), x], x] /; FreeQ[{a, b, c, d, e}, x
] && EqQ[c*(b*d - a*e) + e, 0]

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 6740

Int[((g_.) + Log[1 + (e_.)*(x_)]*(h_.))*(Px_)*(x_)^(m_)*PolyLog[2, (c_.)*(x_)], x_Symbol] :> Dist[Coeff[Px, x,
 -m - 1], Int[(g + h*Log[1 + e*x])*(PolyLog[2, c*x]/x), x], x] + Int[x^m*(Px - Coeff[Px, x, -m - 1]*x^(-m - 1)
)*(g + h*Log[1 + e*x])*PolyLog[2, c*x], x] /; FreeQ[{c, e, g, h}, x] && PolyQ[Px, x] && ILtQ[m, 0] && EqQ[c +
e, 0] && NeQ[Coeff[Px, x, -m - 1], 0]

Rule 6741

Int[((g_.) + Log[(f_.)*((d_.) + (e_.)*(x_))^(n_.)]*(h_.))*(Px_)*(x_)^(m_.)*PolyLog[2, (c_.)*((a_.) + (b_.)*(x_
))], x_Symbol] :> With[{u = IntHide[x^m*Px, x]}, Simp[u*(g + h*Log[f*(d + e*x)^n])*PolyLog[2, c*(a + b*x)], x]
 + (Dist[b, Int[ExpandIntegrand[(g + h*Log[f*(d + e*x)^n])*Log[1 - a*c - b*c*x], u/(a + b*x), x], x], x] - Dis
t[e*h*n, Int[ExpandIntegrand[PolyLog[2, c*(a + b*x)], u/(d + e*x), x], x], x])] /; FreeQ[{a, b, c, d, e, f, g,
 h, n}, x] && PolyQ[Px, x] && IntegerQ[m]

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps

\begin {align*} \int \frac {\left (a+b x+c x^2\right ) \log (1-d x) \text {Li}_2(d x)}{x^3} \, dx &=c \int \frac {\log (1-d x) \text {Li}_2(d x)}{x} \, dx+\int \frac {(a+b x) \log (1-d x) \text {Li}_2(d x)}{x^3} \, dx\\ &=-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2+d \int \left (-\frac {a \text {Li}_2(d x)}{2 x^2}+\frac {(-2 b-a d) \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \text {Li}_2(d x)}{2 a (-1+d x)}\right ) \, dx+\int \left (-\frac {a \log ^2(1-d x)}{2 x^3}-\frac {b \log ^2(1-d x)}{x^2}-\frac {b^2 \log ^2(1-d x)}{2 a x}\right ) \, dx\\ &=-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {1}{2} a \int \frac {\log ^2(1-d x)}{x^3} \, dx-b \int \frac {\log ^2(1-d x)}{x^2} \, dx-\frac {b^2 \int \frac {\log ^2(1-d x)}{x} \, dx}{2 a}-\frac {1}{2} (a d) \int \frac {\text {Li}_2(d x)}{x^2} \, dx+\frac {\left (d (b+a d)^2\right ) \int \frac {\text {Li}_2(d x)}{-1+d x} \, dx}{2 a}-\frac {1}{2} (d (2 b+a d)) \int \frac {\text {Li}_2(d x)}{x} \, dx\\ &=\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {1}{2} d (2 b+a d) \text {Li}_3(d x)+\frac {1}{2} (a d) \int \frac {\log (1-d x)}{x^2} \, dx+\frac {1}{2} (a d) \int \frac {\log (1-d x)}{x^2 (1-d x)} \, dx+(2 b d) \int \frac {\log (1-d x)}{x} \, dx-\frac {\left (b^2 d\right ) \int \frac {\log (d x) \log (1-d x)}{1-d x} \, dx}{a}+\frac {(b+a d)^2 \int \frac {\log ^2(1-d x)}{x} \, dx}{2 a}\\ &=-\frac {a d \log (1-d x)}{2 x}+\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {(b+a d)^2 \log (d x) \log ^2(1-d x)}{2 a}-2 b d \text {Li}_2(d x)+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {1}{2} d (2 b+a d) \text {Li}_3(d x)+\frac {b^2 \text {Subst}\left (\int \frac {\log (x) \log \left (d \left (\frac {1}{d}-\frac {x}{d}\right )\right )}{x} \, dx,x,1-d x\right )}{a}+\frac {1}{2} (a d) \int \left (\frac {\log (1-d x)}{x^2}+\frac {d \log (1-d x)}{x}-\frac {d^2 \log (1-d x)}{-1+d x}\right ) \, dx-\frac {1}{2} \left (a d^2\right ) \int \frac {1}{x (1-d x)} \, dx+\frac {\left (d (b+a d)^2\right ) \int \frac {\log (d x) \log (1-d x)}{1-d x} \, dx}{a}\\ &=-\frac {a d \log (1-d x)}{2 x}+\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {(b+a d)^2 \log (d x) \log ^2(1-d x)}{2 a}-2 b d \text {Li}_2(d x)+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {b^2 \log (1-d x) \text {Li}_2(1-d x)}{a}-\frac {1}{2} d (2 b+a d) \text {Li}_3(d x)+\frac {b^2 \text {Subst}\left (\int \frac {\text {Li}_2(x)}{x} \, dx,x,1-d x\right )}{a}+\frac {1}{2} (a d) \int \frac {\log (1-d x)}{x^2} \, dx-\frac {1}{2} \left (a d^2\right ) \int \frac {1}{x} \, dx+\frac {1}{2} \left (a d^2\right ) \int \frac {\log (1-d x)}{x} \, dx-\frac {1}{2} \left (a d^3\right ) \int \frac {1}{1-d x} \, dx-\frac {1}{2} \left (a d^3\right ) \int \frac {\log (1-d x)}{-1+d x} \, dx-\frac {(b+a d)^2 \text {Subst}\left (\int \frac {\log (x) \log \left (d \left (\frac {1}{d}-\frac {x}{d}\right )\right )}{x} \, dx,x,1-d x\right )}{a}\\ &=-\frac {1}{2} a d^2 \log (x)+\frac {1}{2} a d^2 \log (1-d x)-\frac {a d \log (1-d x)}{x}+\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {(b+a d)^2 \log (d x) \log ^2(1-d x)}{2 a}-2 b d \text {Li}_2(d x)-\frac {1}{2} a d^2 \text {Li}_2(d x)+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {b^2 \log (1-d x) \text {Li}_2(1-d x)}{a}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(1-d x)}{a}-\frac {1}{2} d (2 b+a d) \text {Li}_3(d x)+\frac {b^2 \text {Li}_3(1-d x)}{a}-\frac {1}{2} \left (a d^2\right ) \int \frac {1}{x (1-d x)} \, dx-\frac {1}{2} \left (a d^2\right ) \text {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,1-d x\right )-\frac {(b+a d)^2 \text {Subst}\left (\int \frac {\text {Li}_2(x)}{x} \, dx,x,1-d x\right )}{a}\\ &=-\frac {1}{2} a d^2 \log (x)+\frac {1}{2} a d^2 \log (1-d x)-\frac {a d \log (1-d x)}{x}-\frac {1}{4} a d^2 \log ^2(1-d x)+\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {(b+a d)^2 \log (d x) \log ^2(1-d x)}{2 a}-2 b d \text {Li}_2(d x)-\frac {1}{2} a d^2 \text {Li}_2(d x)+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {b^2 \log (1-d x) \text {Li}_2(1-d x)}{a}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(1-d x)}{a}-\frac {1}{2} d (2 b+a d) \text {Li}_3(d x)+\frac {b^2 \text {Li}_3(1-d x)}{a}-\frac {(b+a d)^2 \text {Li}_3(1-d x)}{a}-\frac {1}{2} \left (a d^2\right ) \int \frac {1}{x} \, dx-\frac {1}{2} \left (a d^3\right ) \int \frac {1}{1-d x} \, dx\\ &=-a d^2 \log (x)+a d^2 \log (1-d x)-\frac {a d \log (1-d x)}{x}-\frac {1}{4} a d^2 \log ^2(1-d x)+\frac {a \log ^2(1-d x)}{4 x^2}+\frac {b (1-d x) \log ^2(1-d x)}{x}-\frac {b^2 \log (d x) \log ^2(1-d x)}{2 a}+\frac {(b+a d)^2 \log (d x) \log ^2(1-d x)}{2 a}-2 b d \text {Li}_2(d x)-\frac {1}{2} a d^2 \text {Li}_2(d x)+\frac {a d \text {Li}_2(d x)}{2 x}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(d x)}{2 a}-\frac {(a+b x)^2 \log (1-d x) \text {Li}_2(d x)}{2 a x^2}-\frac {1}{2} c \text {Li}_2(d x){}^2-\frac {b^2 \log (1-d x) \text {Li}_2(1-d x)}{a}+\frac {(b+a d)^2 \log (1-d x) \text {Li}_2(1-d x)}{a}-\frac {1}{2} d (2 b+a d) \text {Li}_3(d x)+\frac {b^2 \text {Li}_3(1-d x)}{a}-\frac {(b+a d)^2 \text {Li}_3(1-d x)}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 1.21, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a+b x+c x^2\right ) \log (1-d x) \text {PolyLog}(2,d x)}{x^3} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[((a + b*x + c*x^2)*Log[1 - d*x]*PolyLog[2, d*x])/x^3,x]

[Out]

Integrate[((a + b*x + c*x^2)*Log[1 - d*x]*PolyLog[2, d*x])/x^3, x]

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (c \,x^{2}+b x +a \right ) \ln \left (-d x +1\right ) \polylog \left (2, d x \right )}{x^{3}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+b*x+a)*ln(-d*x+1)*polylog(2,d*x)/x^3,x)

[Out]

int((c*x^2+b*x+a)*ln(-d*x+1)*polylog(2,d*x)/x^3,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((c*x^2+b*x+a)*log(-d*x+1)*polylog(2,d*x)/x^3,x, algorithm="maxima")

[Out]

integrate((c*x^2 + b*x + a)*dilog(d*x)*log(-d*x + 1)/x^3, 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((c*x^2+b*x+a)*log(-d*x+1)*polylog(2,d*x)/x^3,x, algorithm="fricas")

[Out]

integral((c*x^2 + b*x + a)*dilog(d*x)*log(-d*x + 1)/x^3, x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+b*x+a)*ln(-d*x+1)*polylog(2,d*x)/x**3,x)

[Out]

Integral((a + b*x + c*x**2)*log(-d*x + 1)*polylog(2, d*x)/x**3, 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((c*x^2+b*x+a)*log(-d*x+1)*polylog(2,d*x)/x^3,x, algorithm="giac")

[Out]

integrate((c*x^2 + b*x + a)*dilog(d*x)*log(-d*x + 1)/x^3, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\ln \left (1-d\,x\right )\,\mathrm {polylog}\left (2,d\,x\right )\,\left (c\,x^2+b\,x+a\right )}{x^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((log(1 - d*x)*polylog(2, d*x)*(a + b*x + c*x^2))/x^3,x)

[Out]

int((log(1 - d*x)*polylog(2, d*x)*(a + b*x + c*x^2))/x^3, x)

________________________________________________________________________________________