3.183 \(\int \frac{(g+h \log (f (d+e x)^n)) \text{PolyLog}(2,c (a+b x))}{x^4} \, dx\)

Optimal. Leaf size=3733 \[ \text{result too large to display} \]

[Out]

(b^2*c*e*h*n*Log[x])/(2*a*(1 - a*c)*d) - (b^2*c*e*h*n*Log[1 - a*c - b*c*x])/(3*a*(1 - a*c)*d) + (b*e*h*n*Log[1
 - a*c - b*c*x])/(3*a*d*x) - (b^3*g*Log[(b*c*x)/(1 - a*c)]*Log[1 - a*c - b*c*x])/(3*a^3) + (b^2*e*h*n*Log[(b*c
*x)/(1 - a*c)]*Log[1 - a*c - b*c*x])/(2*a^2*d) + (b*e^2*h*n*Log[(b*c*x)/(1 - a*c)]*Log[1 - a*c - b*c*x])/(2*a*
d^2) - (b^2*c*e*h*n*Log[d + e*x])/(6*a*(1 - a*c)*d) - (b^3*h*n*Log[(b*c*x)/(1 - a*c)]*Log[1 - a*c - b*c*x]*Log
[d + e*x])/(3*a^3) - (b^2*e*h*n*Log[1 - a*c - b*c*x]*Log[(b*c*(d + e*x))/(b*c*d + e - a*c*e)])/(3*a^2*d) - (b*
e^2*h*n*Log[1 - a*c - b*c*x]*Log[(b*c*(d + e*x))/(b*c*d + e - a*c*e)])/(6*a*d^2) - (b^3*h*n*(Log[(b*c*x)/(1 -
a*c)] + Log[(b*c*d + e - a*c*e)/(b*c*(d + e*x))] - Log[((b*c*d + e - a*c*e)*x)/((1 - a*c)*(d + e*x))])*Log[((1
 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))]^2)/(6*a^3) + (b^3*h*n*(Log[(b*c*x)/(1 - a*c)] - Log[-((e*x)/d)])*(Lo
g[1 - a*c - b*c*x] + Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))])^2)/(6*a^3) + (b^3*h*Log[(b*c*x)/(1 - a*
c)]*Log[1 - a*c - b*c*x]*(n*Log[d + e*x] - Log[f*(d + e*x)^n]))/(3*a^3) - (b^2*c*(g + h*Log[f*(d + e*x)^n]))/(
6*a*(1 - a*c)*x) + (b^3*c^2*Log[-((e*x)/d)]*(g + h*Log[f*(d + e*x)^n]))/(6*a*(1 - a*c)^2) - (b^3*c*Log[-((e*x)
/d)]*(g + h*Log[f*(d + e*x)^n]))/(3*a^2*(1 - a*c)) + (b*Log[1 - a*c - b*c*x]*(g + h*Log[f*(d + e*x)^n]))/(6*a*
x^2) - (b^2*Log[1 - a*c - b*c*x]*(g + h*Log[f*(d + e*x)^n]))/(3*a^2*x) - (b^3*c^2*Log[(e*(1 - a*c - b*c*x))/(b
*c*d + e - a*c*e)]*(g + h*Log[f*(d + e*x)^n]))/(6*a*(1 - a*c)^2) + (b^3*c*Log[(e*(1 - a*c - b*c*x))/(b*c*d + e
 - a*c*e)]*(g + h*Log[f*(d + e*x)^n]))/(3*a^2*(1 - a*c)) + (b^3*h*n*(Log[c*(a + b*x)] + Log[(b*c*d + e - a*c*e
)/(b*c*(d + e*x))] - Log[((b*c*d + e - a*c*e)*(a + b*x))/(b*(d + e*x))])*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c
*(a + b*x)))]^2)/(6*a^3) - (e^3*h*n*(Log[c*(a + b*x)] + Log[(b*c*d + e - a*c*e)/(b*c*(d + e*x))] - Log[((b*c*d
 + e - a*c*e)*(a + b*x))/(b*(d + e*x))])*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))]^2)/(6*d^3) + (e^3*
h*n*Log[x]*Log[1 + (b*x)/a]*Log[1 - c*(a + b*x)])/(3*d^3) + (b^3*h*n*Log[c*(a + b*x)]*Log[d + e*x]*Log[1 - c*(
a + b*x)])/(3*a^3) - (e^3*h*n*Log[c*(a + b*x)]*Log[d + e*x]*Log[1 - c*(a + b*x)])/(3*d^3) - (b^3*h*n*(Log[c*(a
 + b*x)] - Log[-((e*(a + b*x))/(b*d - a*e))])*(Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))] + Log[1 - c*
(a + b*x)])^2)/(6*a^3) + (e^3*h*n*(Log[c*(a + b*x)] - Log[-((e*(a + b*x))/(b*d - a*e))])*(Log[(b*(d + e*x))/((
b*d - a*e)*(1 - c*(a + b*x)))] + Log[1 - c*(a + b*x)])^2)/(6*d^3) + (e^3*h*n*(Log[1 + (b*x)/a] + Log[(1 - a*c)
/(1 - c*(a + b*x))] - Log[((1 - a*c)*(a + b*x))/(a*(1 - c*(a + b*x)))])*Log[-((a*(1 - c*(a + b*x)))/(b*x))]^2)
/(6*d^3) + (e^3*h*n*(Log[c*(a + b*x)] - Log[1 + (b*x)/a])*(Log[x] + Log[-((a*(1 - c*(a + b*x)))/(b*x))])^2)/(6
*d^3) + (e^3*h*n*(Log[1 - c*(a + b*x)] - Log[-((a*(1 - c*(a + b*x)))/(b*x))])*PolyLog[2, -((b*x)/a)])/(3*d^3)
- (b^3*g*PolyLog[2, c*(a + b*x)])/(3*a^3) + (b^2*e*h*n*PolyLog[2, c*(a + b*x)])/(6*a^2*d) + (b*e^2*h*n*PolyLog
[2, c*(a + b*x)])/(3*a*d^2) - (e*h*n*PolyLog[2, c*(a + b*x)])/(6*d*x^2) + (e^2*h*n*PolyLog[2, c*(a + b*x)])/(3
*d^2*x) + (e^3*h*n*Log[x]*PolyLog[2, c*(a + b*x)])/(3*d^3) - (e^3*h*n*Log[d + e*x]*PolyLog[2, c*(a + b*x)])/(3
*d^3) + (b^3*h*(n*Log[d + e*x] - Log[f*(d + e*x)^n])*PolyLog[2, c*(a + b*x)])/(3*a^3) - ((g + h*Log[f*(d + e*x
)^n])*PolyLog[2, c*(a + b*x)])/(3*x^3) - (b^2*e*h*n*PolyLog[2, (e*(1 - a*c - b*c*x))/(b*c*d + e - a*c*e)])/(3*
a^2*d) - (b*e^2*h*n*PolyLog[2, (e*(1 - a*c - b*c*x))/(b*c*d + e - a*c*e)])/(6*a*d^2) - (b^3*g*PolyLog[2, 1 - (
b*c*x)/(1 - a*c)])/(3*a^3) + (b^2*e*h*n*PolyLog[2, 1 - (b*c*x)/(1 - a*c)])/(2*a^2*d) + (b*e^2*h*n*PolyLog[2, 1
 - (b*c*x)/(1 - a*c)])/(2*a*d^2) - (b^3*h*n*(Log[d + e*x] - Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))])*
PolyLog[2, 1 - (b*c*x)/(1 - a*c)])/(3*a^3) + (b^3*h*(n*Log[d + e*x] - Log[f*(d + e*x)^n])*PolyLog[2, 1 - (b*c*
x)/(1 - a*c)])/(3*a^3) - (b^3*h*n*Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))]*PolyLog[2, (d*(1 - a*c - b*
c*x))/((1 - a*c)*(d + e*x))])/(3*a^3) + (b^3*h*n*Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))]*PolyLog[2, -
((e*(1 - a*c - b*c*x))/(b*c*(d + e*x)))])/(3*a^3) + (b^3*h*n*(Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x))
)] + Log[1 - c*(a + b*x)])*PolyLog[2, (b*(d + e*x))/(b*d - a*e)])/(3*a^3) - (e^3*h*n*(Log[(b*(d + e*x))/((b*d
- a*e)*(1 - c*(a + b*x)))] + Log[1 - c*(a + b*x)])*PolyLog[2, (b*(d + e*x))/(b*d - a*e)])/(3*d^3) - (b^3*c^2*h
*n*PolyLog[2, (b*c*(d + e*x))/(b*c*d + e - a*c*e)])/(6*a*(1 - a*c)^2) + (b^3*c*h*n*PolyLog[2, (b*c*(d + e*x))/
(b*c*d + e - a*c*e)])/(3*a^2*(1 - a*c)) + (b^3*c^2*h*n*PolyLog[2, 1 + (e*x)/d])/(6*a*(1 - a*c)^2) - (b^3*c*h*n
*PolyLog[2, 1 + (e*x)/d])/(3*a^2*(1 - a*c)) - (b^3*h*n*(Log[1 - a*c - b*c*x] + Log[((1 - a*c)*(d + e*x))/(d*(1
 - a*c - b*c*x))])*PolyLog[2, 1 + (e*x)/d])/(3*a^3) + (e^3*h*n*Log[-((a*(1 - c*(a + b*x)))/(b*x))]*PolyLog[2,
-((b*x)/(a*(1 - c*(a + b*x))))])/(3*d^3) - (e^3*h*n*Log[-((a*(1 - c*(a + b*x)))/(b*x))]*PolyLog[2, -((b*c*x)/(
1 - c*(a + b*x)))])/(3*d^3) + (b^3*h*n*(Log[d + e*x] - Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))])*Pol
yLog[2, 1 - c*(a + b*x)])/(3*a^3) - (e^3*h*n*(Log[d + e*x] - Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))
])*PolyLog[2, 1 - c*(a + b*x)])/(3*d^3) + (e^3*h*n*(Log[x] + Log[-((a*(1 - c*(a + b*x)))/(b*x))])*PolyLog[2, 1
 - c*(a + b*x)])/(3*d^3) - (b^3*h*n*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))]*PolyLog[2, -((e*(1 - c*
(a + b*x)))/(b*c*(d + e*x)))])/(3*a^3) + (e^3*h*n*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))]*PolyLog[2
, -((e*(1 - c*(a + b*x)))/(b*c*(d + e*x)))])/(3*d^3) + (b^3*h*n*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x
)))]*PolyLog[2, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x))])/(3*a^3) - (e^3*h*n*Log[(b*(d + e*x))/((b*d - a
*e)*(1 - c*(a + b*x)))]*PolyLog[2, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x))])/(3*d^3) - (e^3*h*n*PolyLog[
3, -((b*x)/a)])/(3*d^3) + (b^3*h*n*PolyLog[3, 1 - (b*c*x)/(1 - a*c)])/(3*a^3) - (b^3*h*n*PolyLog[3, (d*(1 - a*
c - b*c*x))/((1 - a*c)*(d + e*x))])/(3*a^3) + (b^3*h*n*PolyLog[3, -((e*(1 - a*c - b*c*x))/(b*c*(d + e*x)))])/(
3*a^3) - (b^3*h*n*PolyLog[3, (b*(d + e*x))/(b*d - a*e)])/(3*a^3) + (e^3*h*n*PolyLog[3, (b*(d + e*x))/(b*d - a*
e)])/(3*d^3) + (b^3*h*n*PolyLog[3, 1 + (e*x)/d])/(3*a^3) + (e^3*h*n*PolyLog[3, -((b*x)/(a*(1 - c*(a + b*x))))]
)/(3*d^3) - (e^3*h*n*PolyLog[3, -((b*c*x)/(1 - c*(a + b*x)))])/(3*d^3) - (b^3*h*n*PolyLog[3, 1 - c*(a + b*x)])
/(3*a^3) - (b^3*h*n*PolyLog[3, -((e*(1 - c*(a + b*x)))/(b*c*(d + e*x)))])/(3*a^3) + (e^3*h*n*PolyLog[3, -((e*(
1 - c*(a + b*x)))/(b*c*(d + e*x)))])/(3*d^3) + (b^3*h*n*PolyLog[3, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x
))])/(3*a^3) - (e^3*h*n*PolyLog[3, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x))])/(3*d^3)

________________________________________________________________________________________

Rubi [A]  time = 4.30785, antiderivative size = 3733, normalized size of antiderivative = 1., number of steps used = 78, number of rules used = 18, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667, Rules used = {6603, 2439, 44, 2416, 2395, 36, 29, 31, 2394, 2315, 2393, 2391, 2438, 2437, 2435, 2440, 6598, 6597} \[ \text{result too large to display} \]

Antiderivative was successfully verified.

[In]

Int[((g + h*Log[f*(d + e*x)^n])*PolyLog[2, c*(a + b*x)])/x^4,x]

[Out]

(b^2*c*e*h*n*Log[x])/(2*a*(1 - a*c)*d) - (b^2*c*e*h*n*Log[1 - a*c - b*c*x])/(3*a*(1 - a*c)*d) + (b*e*h*n*Log[1
 - a*c - b*c*x])/(3*a*d*x) - (b^3*g*Log[(b*c*x)/(1 - a*c)]*Log[1 - a*c - b*c*x])/(3*a^3) + (b^2*e*h*n*Log[(b*c
*x)/(1 - a*c)]*Log[1 - a*c - b*c*x])/(2*a^2*d) + (b*e^2*h*n*Log[(b*c*x)/(1 - a*c)]*Log[1 - a*c - b*c*x])/(2*a*
d^2) - (b^2*c*e*h*n*Log[d + e*x])/(6*a*(1 - a*c)*d) - (b^3*h*n*Log[(b*c*x)/(1 - a*c)]*Log[1 - a*c - b*c*x]*Log
[d + e*x])/(3*a^3) - (b^2*e*h*n*Log[1 - a*c - b*c*x]*Log[(b*c*(d + e*x))/(b*c*d + e - a*c*e)])/(3*a^2*d) - (b*
e^2*h*n*Log[1 - a*c - b*c*x]*Log[(b*c*(d + e*x))/(b*c*d + e - a*c*e)])/(6*a*d^2) - (b^3*h*n*(Log[(b*c*x)/(1 -
a*c)] + Log[(b*c*d + e - a*c*e)/(b*c*(d + e*x))] - Log[((b*c*d + e - a*c*e)*x)/((1 - a*c)*(d + e*x))])*Log[((1
 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))]^2)/(6*a^3) + (b^3*h*n*(Log[(b*c*x)/(1 - a*c)] - Log[-((e*x)/d)])*(Lo
g[1 - a*c - b*c*x] + Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))])^2)/(6*a^3) + (b^3*h*Log[(b*c*x)/(1 - a*
c)]*Log[1 - a*c - b*c*x]*(n*Log[d + e*x] - Log[f*(d + e*x)^n]))/(3*a^3) - (b^2*c*(g + h*Log[f*(d + e*x)^n]))/(
6*a*(1 - a*c)*x) + (b^3*c^2*Log[-((e*x)/d)]*(g + h*Log[f*(d + e*x)^n]))/(6*a*(1 - a*c)^2) - (b^3*c*Log[-((e*x)
/d)]*(g + h*Log[f*(d + e*x)^n]))/(3*a^2*(1 - a*c)) + (b*Log[1 - a*c - b*c*x]*(g + h*Log[f*(d + e*x)^n]))/(6*a*
x^2) - (b^2*Log[1 - a*c - b*c*x]*(g + h*Log[f*(d + e*x)^n]))/(3*a^2*x) - (b^3*c^2*Log[(e*(1 - a*c - b*c*x))/(b
*c*d + e - a*c*e)]*(g + h*Log[f*(d + e*x)^n]))/(6*a*(1 - a*c)^2) + (b^3*c*Log[(e*(1 - a*c - b*c*x))/(b*c*d + e
 - a*c*e)]*(g + h*Log[f*(d + e*x)^n]))/(3*a^2*(1 - a*c)) + (b^3*h*n*(Log[c*(a + b*x)] + Log[(b*c*d + e - a*c*e
)/(b*c*(d + e*x))] - Log[((b*c*d + e - a*c*e)*(a + b*x))/(b*(d + e*x))])*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c
*(a + b*x)))]^2)/(6*a^3) - (e^3*h*n*(Log[c*(a + b*x)] + Log[(b*c*d + e - a*c*e)/(b*c*(d + e*x))] - Log[((b*c*d
 + e - a*c*e)*(a + b*x))/(b*(d + e*x))])*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))]^2)/(6*d^3) + (e^3*
h*n*Log[x]*Log[1 + (b*x)/a]*Log[1 - c*(a + b*x)])/(3*d^3) + (b^3*h*n*Log[c*(a + b*x)]*Log[d + e*x]*Log[1 - c*(
a + b*x)])/(3*a^3) - (e^3*h*n*Log[c*(a + b*x)]*Log[d + e*x]*Log[1 - c*(a + b*x)])/(3*d^3) - (b^3*h*n*(Log[c*(a
 + b*x)] - Log[-((e*(a + b*x))/(b*d - a*e))])*(Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))] + Log[1 - c*
(a + b*x)])^2)/(6*a^3) + (e^3*h*n*(Log[c*(a + b*x)] - Log[-((e*(a + b*x))/(b*d - a*e))])*(Log[(b*(d + e*x))/((
b*d - a*e)*(1 - c*(a + b*x)))] + Log[1 - c*(a + b*x)])^2)/(6*d^3) + (e^3*h*n*(Log[1 + (b*x)/a] + Log[(1 - a*c)
/(1 - c*(a + b*x))] - Log[((1 - a*c)*(a + b*x))/(a*(1 - c*(a + b*x)))])*Log[-((a*(1 - c*(a + b*x)))/(b*x))]^2)
/(6*d^3) + (e^3*h*n*(Log[c*(a + b*x)] - Log[1 + (b*x)/a])*(Log[x] + Log[-((a*(1 - c*(a + b*x)))/(b*x))])^2)/(6
*d^3) + (e^3*h*n*(Log[1 - c*(a + b*x)] - Log[-((a*(1 - c*(a + b*x)))/(b*x))])*PolyLog[2, -((b*x)/a)])/(3*d^3)
- (b^3*g*PolyLog[2, c*(a + b*x)])/(3*a^3) + (b^2*e*h*n*PolyLog[2, c*(a + b*x)])/(6*a^2*d) + (b*e^2*h*n*PolyLog
[2, c*(a + b*x)])/(3*a*d^2) - (e*h*n*PolyLog[2, c*(a + b*x)])/(6*d*x^2) + (e^2*h*n*PolyLog[2, c*(a + b*x)])/(3
*d^2*x) + (e^3*h*n*Log[x]*PolyLog[2, c*(a + b*x)])/(3*d^3) - (e^3*h*n*Log[d + e*x]*PolyLog[2, c*(a + b*x)])/(3
*d^3) + (b^3*h*(n*Log[d + e*x] - Log[f*(d + e*x)^n])*PolyLog[2, c*(a + b*x)])/(3*a^3) - ((g + h*Log[f*(d + e*x
)^n])*PolyLog[2, c*(a + b*x)])/(3*x^3) - (b^2*e*h*n*PolyLog[2, (e*(1 - a*c - b*c*x))/(b*c*d + e - a*c*e)])/(3*
a^2*d) - (b*e^2*h*n*PolyLog[2, (e*(1 - a*c - b*c*x))/(b*c*d + e - a*c*e)])/(6*a*d^2) - (b^3*g*PolyLog[2, 1 - (
b*c*x)/(1 - a*c)])/(3*a^3) + (b^2*e*h*n*PolyLog[2, 1 - (b*c*x)/(1 - a*c)])/(2*a^2*d) + (b*e^2*h*n*PolyLog[2, 1
 - (b*c*x)/(1 - a*c)])/(2*a*d^2) - (b^3*h*n*(Log[d + e*x] - Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))])*
PolyLog[2, 1 - (b*c*x)/(1 - a*c)])/(3*a^3) + (b^3*h*(n*Log[d + e*x] - Log[f*(d + e*x)^n])*PolyLog[2, 1 - (b*c*
x)/(1 - a*c)])/(3*a^3) - (b^3*h*n*Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))]*PolyLog[2, (d*(1 - a*c - b*
c*x))/((1 - a*c)*(d + e*x))])/(3*a^3) + (b^3*h*n*Log[((1 - a*c)*(d + e*x))/(d*(1 - a*c - b*c*x))]*PolyLog[2, -
((e*(1 - a*c - b*c*x))/(b*c*(d + e*x)))])/(3*a^3) + (b^3*h*n*(Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x))
)] + Log[1 - c*(a + b*x)])*PolyLog[2, (b*(d + e*x))/(b*d - a*e)])/(3*a^3) - (e^3*h*n*(Log[(b*(d + e*x))/((b*d
- a*e)*(1 - c*(a + b*x)))] + Log[1 - c*(a + b*x)])*PolyLog[2, (b*(d + e*x))/(b*d - a*e)])/(3*d^3) - (b^3*c^2*h
*n*PolyLog[2, (b*c*(d + e*x))/(b*c*d + e - a*c*e)])/(6*a*(1 - a*c)^2) + (b^3*c*h*n*PolyLog[2, (b*c*(d + e*x))/
(b*c*d + e - a*c*e)])/(3*a^2*(1 - a*c)) + (b^3*c^2*h*n*PolyLog[2, 1 + (e*x)/d])/(6*a*(1 - a*c)^2) - (b^3*c*h*n
*PolyLog[2, 1 + (e*x)/d])/(3*a^2*(1 - a*c)) - (b^3*h*n*(Log[1 - a*c - b*c*x] + Log[((1 - a*c)*(d + e*x))/(d*(1
 - a*c - b*c*x))])*PolyLog[2, 1 + (e*x)/d])/(3*a^3) + (e^3*h*n*Log[-((a*(1 - c*(a + b*x)))/(b*x))]*PolyLog[2,
-((b*x)/(a*(1 - c*(a + b*x))))])/(3*d^3) - (e^3*h*n*Log[-((a*(1 - c*(a + b*x)))/(b*x))]*PolyLog[2, -((b*c*x)/(
1 - c*(a + b*x)))])/(3*d^3) + (b^3*h*n*(Log[d + e*x] - Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))])*Pol
yLog[2, 1 - c*(a + b*x)])/(3*a^3) - (e^3*h*n*(Log[d + e*x] - Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))
])*PolyLog[2, 1 - c*(a + b*x)])/(3*d^3) + (e^3*h*n*(Log[x] + Log[-((a*(1 - c*(a + b*x)))/(b*x))])*PolyLog[2, 1
 - c*(a + b*x)])/(3*d^3) - (b^3*h*n*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))]*PolyLog[2, -((e*(1 - c*
(a + b*x)))/(b*c*(d + e*x)))])/(3*a^3) + (e^3*h*n*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x)))]*PolyLog[2
, -((e*(1 - c*(a + b*x)))/(b*c*(d + e*x)))])/(3*d^3) + (b^3*h*n*Log[(b*(d + e*x))/((b*d - a*e)*(1 - c*(a + b*x
)))]*PolyLog[2, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x))])/(3*a^3) - (e^3*h*n*Log[(b*(d + e*x))/((b*d - a
*e)*(1 - c*(a + b*x)))]*PolyLog[2, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x))])/(3*d^3) - (e^3*h*n*PolyLog[
3, -((b*x)/a)])/(3*d^3) + (b^3*h*n*PolyLog[3, 1 - (b*c*x)/(1 - a*c)])/(3*a^3) - (b^3*h*n*PolyLog[3, (d*(1 - a*
c - b*c*x))/((1 - a*c)*(d + e*x))])/(3*a^3) + (b^3*h*n*PolyLog[3, -((e*(1 - a*c - b*c*x))/(b*c*(d + e*x)))])/(
3*a^3) - (b^3*h*n*PolyLog[3, (b*(d + e*x))/(b*d - a*e)])/(3*a^3) + (e^3*h*n*PolyLog[3, (b*(d + e*x))/(b*d - a*
e)])/(3*d^3) + (b^3*h*n*PolyLog[3, 1 + (e*x)/d])/(3*a^3) + (e^3*h*n*PolyLog[3, -((b*x)/(a*(1 - c*(a + b*x))))]
)/(3*d^3) - (e^3*h*n*PolyLog[3, -((b*c*x)/(1 - c*(a + b*x)))])/(3*d^3) - (b^3*h*n*PolyLog[3, 1 - c*(a + b*x)])
/(3*a^3) - (b^3*h*n*PolyLog[3, -((e*(1 - c*(a + b*x)))/(b*c*(d + e*x)))])/(3*a^3) + (e^3*h*n*PolyLog[3, -((e*(
1 - c*(a + b*x)))/(b*c*(d + e*x)))])/(3*d^3) + (b^3*h*n*PolyLog[3, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x
))])/(3*a^3) - (e^3*h*n*PolyLog[3, ((b*d - a*e)*(1 - c*(a + b*x)))/(b*(d + e*x))])/(3*d^3)

Rule 6603

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

Rule 2439

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

Rule 44

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] && L
tQ[m + n + 2, 0])

Rule 2416

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((h_.)*(x_))^(m_.)*((f_) + (g_.)*(x_)^(r_.))^(q
_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x)^n])^p, (h*x)^m*(f + g*x^r)^q, x], x] /; FreeQ[{a,
 b, c, d, e, f, g, h, m, n, p, q, r}, x] && IntegerQ[m] && IntegerQ[q]

Rule 2395

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 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 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 2394

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

Rule 2315

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

Rule 2393

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

Rule 2391

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 2438

Int[(((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*(Log[(h_.)*((i_.) + (j_.)*(x_))^(m_.)]*(g_.) + (f_))
)/(x_), x_Symbol] :> Dist[f, Int[(a + b*Log[c*(d + e*x)^n])/x, x], x] + Dist[g, Int[(Log[h*(i + j*x)^m]*(a + b
*Log[c*(d + e*x)^n]))/x, x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, j, m, n}, x] && NeQ[e*i - d*j, 0]

Rule 2437

Int[(Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*Log[(h_.)*((i_.) + (j_.)*(x_))^(m_.)])/(x_), x_Symbol] :> Dist[m, In
t[(Log[i + j*x]*Log[c*(d + e*x)^n])/x, x], x] - Dist[m*Log[i + j*x] - Log[h*(i + j*x)^m], Int[Log[c*(d + e*x)^
n]/x, x], x] /; FreeQ[{c, d, e, h, i, j, m, n}, x] && NeQ[e*i - d*j, 0] && NeQ[i + j*x, h*(i + j*x)^m]

Rule 2435

Int[(Log[(a_) + (b_.)*(x_)]*Log[(c_) + (d_.)*(x_)])/(x_), x_Symbol] :> Simp[Log[-((b*x)/a)]*Log[a + b*x]*Log[c
 + d*x], x] + (Simp[(1*(Log[-((b*x)/a)] - Log[-(((b*c - a*d)*x)/(a*(c + d*x)))] + Log[(b*c - a*d)/(b*(c + d*x)
)])*Log[(a*(c + d*x))/(c*(a + b*x))]^2)/2, x] - Simp[(1*(Log[-((b*x)/a)] - Log[-((d*x)/c)])*(Log[a + b*x] + Lo
g[(a*(c + d*x))/(c*(a + b*x))])^2)/2, x] + Simp[(Log[c + d*x] - Log[(a*(c + d*x))/(c*(a + b*x))])*PolyLog[2, 1
 + (b*x)/a], x] + Simp[(Log[a + b*x] + Log[(a*(c + d*x))/(c*(a + b*x))])*PolyLog[2, 1 + (d*x)/c], x] + Simp[Lo
g[(a*(c + d*x))/(c*(a + b*x))]*PolyLog[2, (c*(a + b*x))/(a*(c + d*x))], x] - Simp[Log[(a*(c + d*x))/(c*(a + b*
x))]*PolyLog[2, (d*(a + b*x))/(b*(c + d*x))], x] - Simp[PolyLog[3, 1 + (b*x)/a], x] - Simp[PolyLog[3, 1 + (d*x
)/c], x] + Simp[PolyLog[3, (c*(a + b*x))/(a*(c + d*x))], x] - Simp[PolyLog[3, (d*(a + b*x))/(b*(c + d*x))], x]
) /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 2440

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

Rule 6598

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

Rule 6597

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

Rubi steps

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

Mathematica [F]  time = 10.5193, size = 0, normalized size = 0. \[ \int \frac{\left (g+h \log \left (f (d+e x)^n\right )\right ) \text{PolyLog}(2,c (a+b x))}{x^4} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[((g + h*Log[f*(d + e*x)^n])*PolyLog[2, c*(a + b*x)])/x^4,x]

[Out]

Integrate[((g + h*Log[f*(d + e*x)^n])*PolyLog[2, c*(a + b*x)])/x^4, x]

________________________________________________________________________________________

Maple [F]  time = 0.537, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( g+h\ln \left ( f \left ( ex+d \right ) ^{n} \right ) \right ){\it polylog} \left ( 2,c \left ( bx+a \right ) \right ) }{{x}^{4}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g+h*ln(f*(e*x+d)^n))*polylog(2,c*(b*x+a))/x^4,x)

[Out]

int((g+h*ln(f*(e*x+d)^n))*polylog(2,c*(b*x+a))/x^4,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (h \log \left ({\left (e x + d\right )}^{n} f\right ) + g\right )}{\rm Li}_2\left ({\left (b x + a\right )} c\right )}{x^{4}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g+h*log(f*(e*x+d)^n))*polylog(2,c*(b*x+a))/x^4,x, algorithm="maxima")

[Out]

integrate((h*log((e*x + d)^n*f) + g)*dilog((b*x + a)*c)/x^4, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{h{\rm Li}_2\left (b c x + a c\right ) \log \left ({\left (e x + d\right )}^{n} f\right ) + g{\rm Li}_2\left (b c x + a c\right )}{x^{4}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g+h*log(f*(e*x+d)^n))*polylog(2,c*(b*x+a))/x^4,x, algorithm="fricas")

[Out]

integral((h*dilog(b*c*x + a*c)*log((e*x + d)^n*f) + g*dilog(b*c*x + a*c))/x^4, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g+h*ln(f*(e*x+d)**n))*polylog(2,c*(b*x+a))/x**4,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (h \log \left ({\left (e x + d\right )}^{n} f\right ) + g\right )}{\rm Li}_2\left ({\left (b x + a\right )} c\right )}{x^{4}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g+h*log(f*(e*x+d)^n))*polylog(2,c*(b*x+a))/x^4,x, algorithm="giac")

[Out]

integrate((h*log((e*x + d)^n*f) + g)*dilog((b*x + a)*c)/x^4, x)