3.1.51 \(\int \frac {\text {PolyLog}(2,a x^q)}{x^4} \, dx\) [51]

Optimal. Leaf size=76 \[ -\frac {a q^2 x^{-3+q} \, _2F_1\left (1,-\frac {3-q}{q};2-\frac {3}{q};a x^q\right )}{9 (3-q)}+\frac {q \log \left (1-a x^q\right )}{9 x^3}-\frac {\text {PolyLog}\left (2,a x^q\right )}{3 x^3} \]

[Out]

-1/9*a*q^2*x^(-3+q)*hypergeom([1, (-3+q)/q],[2-3/q],a*x^q)/(3-q)+1/9*q*ln(1-a*x^q)/x^3-1/3*polylog(2,a*x^q)/x^
3

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {6726, 2505, 371} \begin {gather*} -\frac {a q^2 x^{q-3} \, _2F_1\left (1,-\frac {3-q}{q};2-\frac {3}{q};a x^q\right )}{9 (3-q)}-\frac {\text {Li}_2\left (a x^q\right )}{3 x^3}+\frac {q \log \left (1-a x^q\right )}{9 x^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[PolyLog[2, a*x^q]/x^4,x]

[Out]

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

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 2505

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

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]

Rubi steps

\begin {align*} \int \frac {\text {Li}_2\left (a x^q\right )}{x^4} \, dx &=-\frac {\text {Li}_2\left (a x^q\right )}{3 x^3}-\frac {1}{3} q \int \frac {\log \left (1-a x^q\right )}{x^4} \, dx\\ &=\frac {q \log \left (1-a x^q\right )}{9 x^3}-\frac {\text {Li}_2\left (a x^q\right )}{3 x^3}+\frac {1}{9} \left (a q^2\right ) \int \frac {x^{-4+q}}{1-a x^q} \, dx\\ &=-\frac {a q^2 x^{-3+q} \, _2F_1\left (1,-\frac {3-q}{q};2-\frac {3}{q};a x^q\right )}{9 (3-q)}+\frac {q \log \left (1-a x^q\right )}{9 x^3}-\frac {\text {Li}_2\left (a x^q\right )}{3 x^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 61, normalized size = 0.80 \begin {gather*} \frac {q \left (\frac {a q x^q \, _2F_1\left (1,\frac {-3+q}{q};2-\frac {3}{q};a x^q\right )}{-3+q}+\log \left (1-a x^q\right )\right )-3 \text {PolyLog}\left (2,a x^q\right )}{9 x^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[PolyLog[2, a*x^q]/x^4,x]

[Out]

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

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 5.
time = 0.12, size = 108, normalized size = 1.42

method result size
meijerg \(-\frac {\left (-a \right )^{\frac {3}{q}} \left (-\frac {q^{2} \left (-a \right )^{-\frac {3}{q}} \ln \left (1-a \,x^{q}\right )}{9 x^{3}}-\frac {q \left (-a \right )^{-\frac {3}{q}} \left (1-\frac {q}{3}\right ) \polylog \left (2, a \,x^{q}\right )}{\left (-3+q \right ) x^{3}}-\frac {q^{2} x^{-3+q} a \left (-a \right )^{-\frac {3}{q}} \Phi \left (a \,x^{q}, 1, \frac {-3+q}{q}\right )}{9}\right )}{q}\) \(108\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(polylog(2,a*x^q)/x^4,x,method=_RETURNVERBOSE)

[Out]

-(-a)^(3/q)/q*(-1/9*q^2/x^3*(-a)^(-3/q)*ln(1-a*x^q)-q/(-3+q)/x^3*(-a)^(-3/q)*(1-1/3*q)*polylog(2,a*x^q)-1/9*q^
2*x^(-3+q)*a*(-a)^(-3/q)*LerchPhi(a*x^q,1,(-3+q)/q))

________________________________________________________________________________________

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(polylog(2,a*x^q)/x^4,x, algorithm="maxima")

[Out]

-q^2*integrate(1/9/(a*x^4*x^q - x^4), x) + 1/27*(q^2 + 3*q*log(-a*x^q + 1) - 9*dilog(a*x^q))/x^3

________________________________________________________________________________________

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(polylog(2,a*x^q)/x^4,x, algorithm="fricas")

[Out]

integral(dilog(a*x^q)/x^4, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {Li}_{2}\left (a x^{q}\right )}{x^{4}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(2,a*x**q)/x**4,x)

[Out]

Integral(polylog(2, a*x**q)/x**4, 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(polylog(2,a*x^q)/x^4,x, algorithm="giac")

[Out]

integrate(dilog(a*x^q)/x^4, x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(polylog(2, a*x^q)/x^4,x)

[Out]

int(polylog(2, a*x^q)/x^4, x)

________________________________________________________________________________________