3.1.42 \(\int \frac {\text {PolyLog}(3,a x^2)}{x^2} \, dx\) [42]

Optimal. Leaf size=54 \[ 8 \sqrt {a} \tanh ^{-1}\left (\sqrt {a} x\right )+\frac {4 \log \left (1-a x^2\right )}{x}-\frac {2 \text {PolyLog}\left (2,a x^2\right )}{x}-\frac {\text {PolyLog}\left (3,a x^2\right )}{x} \]

[Out]

4*ln(-a*x^2+1)/x-2*polylog(2,a*x^2)/x-polylog(3,a*x^2)/x+8*arctanh(x*a^(1/2))*a^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {6726, 2505, 212} \begin {gather*} -\frac {2 \text {Li}_2\left (a x^2\right )}{x}-\frac {\text {Li}_3\left (a x^2\right )}{x}+\frac {4 \log \left (1-a x^2\right )}{x}+8 \sqrt {a} \tanh ^{-1}\left (\sqrt {a} x\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[PolyLog[3, a*x^2]/x^2,x]

[Out]

8*Sqrt[a]*ArcTanh[Sqrt[a]*x] + (4*Log[1 - a*x^2])/x - (2*PolyLog[2, a*x^2])/x - PolyLog[3, a*x^2]/x

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 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}_3\left (a x^2\right )}{x^2} \, dx &=-\frac {\text {Li}_3\left (a x^2\right )}{x}+2 \int \frac {\text {Li}_2\left (a x^2\right )}{x^2} \, dx\\ &=-\frac {2 \text {Li}_2\left (a x^2\right )}{x}-\frac {\text {Li}_3\left (a x^2\right )}{x}-4 \int \frac {\log \left (1-a x^2\right )}{x^2} \, dx\\ &=\frac {4 \log \left (1-a x^2\right )}{x}-\frac {2 \text {Li}_2\left (a x^2\right )}{x}-\frac {\text {Li}_3\left (a x^2\right )}{x}+(8 a) \int \frac {1}{1-a x^2} \, dx\\ &=8 \sqrt {a} \tanh ^{-1}\left (\sqrt {a} x\right )+\frac {4 \log \left (1-a x^2\right )}{x}-\frac {2 \text {Li}_2\left (a x^2\right )}{x}-\frac {\text {Li}_3\left (a x^2\right )}{x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 50, normalized size = 0.93 \begin {gather*} \frac {8 \sqrt {a} x \tanh ^{-1}\left (\sqrt {a} x\right )+4 \log \left (1-a x^2\right )-2 \text {PolyLog}\left (2,a x^2\right )-\text {PolyLog}\left (3,a x^2\right )}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[PolyLog[3, a*x^2]/x^2,x]

[Out]

(8*Sqrt[a]*x*ArcTanh[Sqrt[a]*x] + 4*Log[1 - a*x^2] - 2*PolyLog[2, a*x^2] - PolyLog[3, a*x^2])/x

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(111\) vs. \(2(50)=100\).
time = 0.12, size = 112, normalized size = 2.07

method result size
meijerg \(\frac {a \left (-\frac {8 x \sqrt {-a}\, \left (\ln \left (1-\sqrt {a \,x^{2}}\right )-\ln \left (1+\sqrt {a \,x^{2}}\right )\right )}{\sqrt {a \,x^{2}}}+\frac {8 \sqrt {-a}\, \ln \left (-a \,x^{2}+1\right )}{x a}-\frac {4 \sqrt {-a}\, \polylog \left (2, a \,x^{2}\right )}{x a}-\frac {2 \sqrt {-a}\, \polylog \left (3, a \,x^{2}\right )}{x a}\right )}{2 \sqrt {-a}}\) \(112\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*a/(-a)^(1/2)*(-8*x*(-a)^(1/2)/(a*x^2)^(1/2)*(ln(1-(a*x^2)^(1/2))-ln(1+(a*x^2)^(1/2)))+8/x*(-a)^(1/2)/a*ln(
-a*x^2+1)-4/x*(-a)^(1/2)/a*polylog(2,a*x^2)-2/x*(-a)^(1/2)/a*polylog(3,a*x^2))

________________________________________________________________________________________

Maxima [A]
time = 0.47, size = 58, normalized size = 1.07 \begin {gather*} -4 \, \sqrt {a} \log \left (\frac {a x - \sqrt {a}}{a x + \sqrt {a}}\right ) - \frac {2 \, {\rm Li}_2\left (a x^{2}\right ) - 4 \, \log \left (-a x^{2} + 1\right ) + {\rm Li}_{3}(a x^{2})}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x^2)/x^2,x, algorithm="maxima")

[Out]

-4*sqrt(a)*log((a*x - sqrt(a))/(a*x + sqrt(a))) - (2*dilog(a*x^2) - 4*log(-a*x^2 + 1) + polylog(3, a*x^2))/x

________________________________________________________________________________________

Fricas [A]
time = 0.52, size = 112, normalized size = 2.07 \begin {gather*} \left [\frac {4 \, \sqrt {a} x \log \left (\frac {a x^{2} + 2 \, \sqrt {a} x + 1}{a x^{2} - 1}\right ) - 2 \, {\rm Li}_2\left (a x^{2}\right ) + 4 \, \log \left (-a x^{2} + 1\right ) - {\rm polylog}\left (3, a x^{2}\right )}{x}, -\frac {8 \, \sqrt {-a} x \arctan \left (\sqrt {-a} x\right ) + 2 \, {\rm Li}_2\left (a x^{2}\right ) - 4 \, \log \left (-a x^{2} + 1\right ) + {\rm polylog}\left (3, a x^{2}\right )}{x}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x^2)/x^2,x, algorithm="fricas")

[Out]

[(4*sqrt(a)*x*log((a*x^2 + 2*sqrt(a)*x + 1)/(a*x^2 - 1)) - 2*dilog(a*x^2) + 4*log(-a*x^2 + 1) - polylog(3, a*x
^2))/x, -(8*sqrt(-a)*x*arctan(sqrt(-a)*x) + 2*dilog(a*x^2) - 4*log(-a*x^2 + 1) + polylog(3, a*x^2))/x]

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(polylog(3,a*x**2)/x**2,x)

[Out]

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

[Out]

integrate(polylog(3, a*x^2)/x^2, x)

________________________________________________________________________________________

Mupad [B]
time = 0.55, size = 53, normalized size = 0.98 \begin {gather*} \frac {4\,\ln \left (1-a\,x^2\right )}{x}-\frac {\mathrm {polylog}\left (3,a\,x^2\right )}{x}-\frac {2\,\mathrm {polylog}\left (2,a\,x^2\right )}{x}-\sqrt {a}\,\mathrm {atan}\left (\sqrt {a}\,x\,1{}\mathrm {i}\right )\,8{}\mathrm {i} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(polylog(3, a*x^2)/x^2,x)

[Out]

(4*log(1 - a*x^2))/x - (2*polylog(2, a*x^2))/x - polylog(3, a*x^2)/x - a^(1/2)*atan(a^(1/2)*x*1i)*8i

________________________________________________________________________________________