3.133 \(\int \text{PolyLog}(3,c (a+b x)) \, dx\)

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

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.0692237, antiderivative size = 84, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.889, Rules used = {6595, 2444, 2389, 2295, 2421, 2393, 2391, 6589} \[ x (-\text{PolyLog}(2,c (a+b x)))+x \text{PolyLog}(3,c (a+b x))-\frac{a \text{PolyLog}(2,c (a+b x))}{b}+\frac{a \text{PolyLog}(3,c (a+b x))}{b}+\frac{(-a c-b c x+1) \log (-a c-b c x+1)}{b c}+x \]

Antiderivative was successfully verified.

[In]

Int[PolyLog[3, c*(a + b*x)],x]

[Out]

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

Rule 6595

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

Rule 2444

Int[((a_.) + Log[(c_.)*(v_)^(n_.)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Int[u*(a + b*Log[c*ExpandToSum[v, x]^n])^p
, x] /; FreeQ[{a, b, c, n, p}, x] && LinearQ[v, x] &&  !LinearMatchQ[v, x] &&  !(EqQ[n, 1] && MatchQ[c*v, (e_.
)*((f_) + (g_.)*x) /; FreeQ[{e, f, g}, 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 2295

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

Rule 2421

Int[((a_.) + Log[(c_.)*(v_)^(n_.)]*(b_.))^(p_.)*(u_)^(q_.), x_Symbol] :> Int[ExpandToSum[u, x]^q*(a + b*Log[c*
ExpandToSum[v, x]^n])^p, x] /; FreeQ[{a, b, c, n, p, q}, x] && BinomialQ[u, x] && LinearQ[v, x] &&  !(Binomial
MatchQ[u, x] && LinearMatchQ[v, x])

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 6589

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]

Rubi steps

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

Mathematica [A]  time = 0.0232919, size = 66, normalized size = 0.79 \[ \frac{(a+b x) \left (-\text{PolyLog}(2,c (a+b x))+\text{PolyLog}(3,c (a+b x))+\frac{\log (1-c (a+b x))}{c (a+b x)}-\log (1-c (a+b x))+1\right )}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[PolyLog[3, c*(a + b*x)],x]

[Out]

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

________________________________________________________________________________________

Maple [F]  time = 0.005, size = 0, normalized size = 0. \begin{align*} \int{\it polylog} \left ( 3,c \left ( bx+a \right ) \right ) \, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(polylog(3,c*(b*x+a)),x)

[Out]

int(polylog(3,c*(b*x+a)),x)

________________________________________________________________________________________

Maxima [A]  time = 1.03029, size = 162, normalized size = 1.93 \begin{align*} \frac{{\left (\log \left (b c x + a c\right ) \log \left (-b c x - a c + 1\right ) +{\rm Li}_2\left (-b c x - a c + 1\right )\right )} a}{b} + \frac{a{\rm Li}_{3}(b c x + a c)}{b} - \frac{b c x{\rm Li}_2\left (b c x + a c\right ) - b c x{\rm Li}_{3}(b c x + a c) - b c x +{\left (b c x + a c - 1\right )} \log \left (-b c x - a c + 1\right )}{b c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [C]  time = 2.3553, size = 355, normalized size = 4.23 \begin{align*} \frac{b c x -{\left (b c x + a c\right )}{\rm \%iint}\left (a, b, c, x, -\frac{\log \left (-b c x - a c + 1\right )}{b x + a}, -\frac{x \log \left (-b c x - a c + 1\right )}{b x + a}, -\frac{\log \left (-b c x - a c + 1\right )}{c}, -\frac{b \log \left (-b c x - a c + 1\right )}{b x + a}\right ) -{\left (b c x + a c - 1\right )} \log \left (-b c x - a c + 1\right ) +{\left (b c x + a c\right )}{\rm polylog}\left (3, b c x + a c\right )}{b c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(b*c*x - (b*c*x + a*c)*\%iint(a, b, c, x, -log(-b*c*x - a*c + 1)/(b*x + a), -x*log(-b*c*x - a*c + 1)/(b*x + a),
 -log(-b*c*x - a*c + 1)/c, -b*log(-b*c*x - a*c + 1)/(b*x + a)) - (b*c*x + a*c - 1)*log(-b*c*x - a*c + 1) + (b*
c*x + a*c)*polylog(3, b*c*x + a*c))/(b*c)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{Li}_{3}\left (c \left (a + b x\right )\right )\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,c*(b*x+a)),x)

[Out]

Integral(polylog(3, c*(a + b*x)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\rm Li}_{3}({\left (b x + a\right )} c)\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(polylog(3, (b*x + a)*c), x)