3.7.57 \(\int \frac {(1-x^2)^{3/2} \cos ^{-1}(x)}{x} \, dx\) [657]

Optimal. Leaf size=95 \[ \frac {4 x}{3}-\frac {x^3}{9}+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)+2 i \cos ^{-1}(x) \tan ^{-1}\left (e^{i \cos ^{-1}(x)}\right )-i \text {Li}_2\left (-i e^{i \cos ^{-1}(x)}\right )+i \text {Li}_2\left (i e^{i \cos ^{-1}(x)}\right ) \]

[Out]

4/3*x-1/9*x^3+1/3*(-x^2+1)^(3/2)*arccos(x)+2*I*arccos(x)*arctan(x+I*(-x^2+1)^(1/2))-I*polylog(2,-I*(x+I*(-x^2+
1)^(1/2)))+I*polylog(2,I*(x+I*(-x^2+1)^(1/2)))+arccos(x)*(-x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.11, antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 7, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.412, Rules used = {4788, 4784, 4804, 4266, 2317, 2438, 8} \begin {gather*} -i \text {PolyLog}\left (2,-i e^{i \text {ArcCos}(x)}\right )+i \text {PolyLog}\left (2,i e^{i \text {ArcCos}(x)}\right )+2 i \text {ArcCos}(x) \text {ArcTan}\left (e^{i \text {ArcCos}(x)}\right )+\frac {1}{3} \left (1-x^2\right )^{3/2} \text {ArcCos}(x)+\sqrt {1-x^2} \text {ArcCos}(x)-\frac {x^3}{9}+\frac {4 x}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((1 - x^2)^(3/2)*ArcCos[x])/x,x]

[Out]

(4*x)/3 - x^3/9 + Sqrt[1 - x^2]*ArcCos[x] + ((1 - x^2)^(3/2)*ArcCos[x])/3 + (2*I)*ArcCos[x]*ArcTan[E^(I*ArcCos
[x])] - I*PolyLog[2, (-I)*E^(I*ArcCos[x])] + I*PolyLog[2, I*E^(I*ArcCos[x])]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 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 4266

Int[csc[(e_.) + Pi*(k_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c + d*x)^m*(ArcTanh[E
^(I*k*Pi)*E^(I*(e + f*x))]/f), x] + (-Dist[d*(m/f), Int[(c + d*x)^(m - 1)*Log[1 - E^(I*k*Pi)*E^(I*(e + f*x))],
 x], x] + Dist[d*(m/f), Int[(c + d*x)^(m - 1)*Log[1 + E^(I*k*Pi)*E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e,
f}, x] && IntegerQ[2*k] && IGtQ[m, 0]

Rule 4784

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[(f
*x)^(m + 1)*Sqrt[d + e*x^2]*((a + b*ArcCos[c*x])^n/(f*(m + 2))), x] + (Dist[(1/(m + 2))*Simp[Sqrt[d + e*x^2]/S
qrt[1 - c^2*x^2]], Int[(f*x)^m*((a + b*ArcCos[c*x])^n/Sqrt[1 - c^2*x^2]), x], x] + Dist[b*c*(n/(f*(m + 2)))*Si
mp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[(f*x)^(m + 1)*(a + b*ArcCos[c*x])^(n - 1), x], x]) /; FreeQ[{a, b,
c, d, e, f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && (IGtQ[m, -2] || EqQ[n, 1])

Rule 4788

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

Rule 4804

Int[(((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Dist[(-(c^(m
+ 1))^(-1))*Simp[Sqrt[1 - c^2*x^2]/Sqrt[d + e*x^2]], Subst[Int[(a + b*x)^n*Cos[x]^m, x], x, ArcCos[c*x]], x] /
; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {\left (1-x^2\right )^{3/2} \cos ^{-1}(x)}{x} \, dx &=\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)+\frac {1}{3} \int \left (1-x^2\right ) \, dx+\int \frac {\sqrt {1-x^2} \cos ^{-1}(x)}{x} \, dx\\ &=\frac {x}{3}-\frac {x^3}{9}+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)+\int 1 \, dx+\int \frac {\cos ^{-1}(x)}{x \sqrt {1-x^2}} \, dx\\ &=\frac {4 x}{3}-\frac {x^3}{9}+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)-\text {Subst}\left (\int x \sec (x) \, dx,x,\cos ^{-1}(x)\right )\\ &=\frac {4 x}{3}-\frac {x^3}{9}+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)+2 i \cos ^{-1}(x) \tan ^{-1}\left (e^{i \cos ^{-1}(x)}\right )+\text {Subst}\left (\int \log \left (1-i e^{i x}\right ) \, dx,x,\cos ^{-1}(x)\right )-\text {Subst}\left (\int \log \left (1+i e^{i x}\right ) \, dx,x,\cos ^{-1}(x)\right )\\ &=\frac {4 x}{3}-\frac {x^3}{9}+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)+2 i \cos ^{-1}(x) \tan ^{-1}\left (e^{i \cos ^{-1}(x)}\right )-i \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{i \cos ^{-1}(x)}\right )+i \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{i \cos ^{-1}(x)}\right )\\ &=\frac {4 x}{3}-\frac {x^3}{9}+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{3} \left (1-x^2\right )^{3/2} \cos ^{-1}(x)+2 i \cos ^{-1}(x) \tan ^{-1}\left (e^{i \cos ^{-1}(x)}\right )-i \text {Li}_2\left (-i e^{i \cos ^{-1}(x)}\right )+i \text {Li}_2\left (i e^{i \cos ^{-1}(x)}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.18, size = 119, normalized size = 1.25 \begin {gather*} x+\sqrt {1-x^2} \cos ^{-1}(x)+\frac {1}{36} \left (9 x+12 \left (1-x^2\right )^{3/2} \cos ^{-1}(x)-\cos \left (3 \cos ^{-1}(x)\right )\right )-\cos ^{-1}(x) \log \left (1-i e^{i \cos ^{-1}(x)}\right )+\cos ^{-1}(x) \log \left (1+i e^{i \cos ^{-1}(x)}\right )-i \text {Li}_2\left (-i e^{i \cos ^{-1}(x)}\right )+i \text {Li}_2\left (i e^{i \cos ^{-1}(x)}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((1 - x^2)^(3/2)*ArcCos[x])/x,x]

[Out]

x + Sqrt[1 - x^2]*ArcCos[x] + (9*x + 12*(1 - x^2)^(3/2)*ArcCos[x] - Cos[3*ArcCos[x]])/36 - ArcCos[x]*Log[1 - I
*E^(I*ArcCos[x])] + ArcCos[x]*Log[1 + I*E^(I*ArcCos[x])] - I*PolyLog[2, (-I)*E^(I*ArcCos[x])] + I*PolyLog[2, I
*E^(I*ArcCos[x])]

________________________________________________________________________________________

Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 229 vs. \(2 (98 ) = 196\).
time = 0.29, size = 230, normalized size = 2.42

method result size
default \(\frac {\left (i+3 \arccos \left (x \right )\right ) \left (4 i x^{3}-4 x^{2} \sqrt {-x^{2}+1}-3 i x +\sqrt {-x^{2}+1}\right )}{72}-\frac {5 \left (\arccos \left (x \right )+i\right ) \left (i x -\sqrt {-x^{2}+1}\right )}{8}+\frac {5 \left (\arccos \left (x \right )-i\right ) \left (i x +\sqrt {-x^{2}+1}\right )}{8}-\frac {\left (-i+3 \arccos \left (x \right )\right ) \left (4 i x^{3}+4 x^{2} \sqrt {-x^{2}+1}-3 i x -\sqrt {-x^{2}+1}\right )}{72}-i \left (i \arccos \left (x \right ) \ln \left (1+i \left (x +i \sqrt {-x^{2}+1}\right )\right )-i \arccos \left (x \right ) \ln \left (1-i \left (x +i \sqrt {-x^{2}+1}\right )\right )+\dilog \left (1+i \left (x +i \sqrt {-x^{2}+1}\right )\right )-\dilog \left (1-i \left (x +i \sqrt {-x^{2}+1}\right )\right )\right )\) \(230\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-x^2+1)^(3/2)*arccos(x)/x,x,method=_RETURNVERBOSE)

[Out]

1/72*(I+3*arccos(x))*(4*I*x^3-4*x^2*(-x^2+1)^(1/2)-3*I*x+(-x^2+1)^(1/2))-5/8*(arccos(x)+I)*(I*x-(-x^2+1)^(1/2)
)+5/8*(arccos(x)-I)*(I*x+(-x^2+1)^(1/2))-1/72*(-I+3*arccos(x))*(4*I*x^3+4*x^2*(-x^2+1)^(1/2)-3*I*x-(-x^2+1)^(1
/2))-I*(I*arccos(x)*ln(1+I*(x+I*(-x^2+1)^(1/2)))-I*arccos(x)*ln(1-I*(x+I*(-x^2+1)^(1/2)))+dilog(1+I*(x+I*(-x^2
+1)^(1/2)))-dilog(1-I*(x+I*(-x^2+1)^(1/2))))

________________________________________________________________________________________

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((-x^2+1)^(3/2)*arccos(x)/x,x, algorithm="maxima")

[Out]

integrate((-x^2 + 1)^(3/2)*arccos(x)/x, 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((-x^2+1)^(3/2)*arccos(x)/x,x, algorithm="fricas")

[Out]

integral(-(x^2 - 1)*sqrt(-x^2 + 1)*arccos(x)/x, x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-x**2+1)**(3/2)*acos(x)/x,x)

[Out]

Timed out

________________________________________________________________________________________

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((-x^2+1)^(3/2)*arccos(x)/x,x, algorithm="giac")

[Out]

integrate((-x^2 + 1)^(3/2)*arccos(x)/x, x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((acos(x)*(1 - x^2)^(3/2))/x,x)

[Out]

int((acos(x)*(1 - x^2)^(3/2))/x, x)

________________________________________________________________________________________