Optimal. Leaf size=54 \[ \frac {1}{6 x^2}-\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x^3}-\frac {2 \sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {2 \log (x)}{3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {4790, 4772, 29,
30} \begin {gather*} \frac {1}{6 x^2}-\frac {2 \sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x^3}-\frac {2 \log (x)}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 30
Rule 4772
Rule 4790
Rubi steps
\begin {align*} \int \frac {\cos ^{-1}(x)}{x^4 \sqrt {1-x^2}} \, dx &=-\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x^3}-\frac {1}{3} \int \frac {1}{x^3} \, dx+\frac {2}{3} \int \frac {\cos ^{-1}(x)}{x^2 \sqrt {1-x^2}} \, dx\\ &=\frac {1}{6 x^2}-\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x^3}-\frac {2 \sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {2}{3} \int \frac {1}{x} \, dx\\ &=\frac {1}{6 x^2}-\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x^3}-\frac {2 \sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {2 \log (x)}{3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 38, normalized size = 0.70 \begin {gather*} \frac {x-2 \sqrt {1-x^2} \left (1+2 x^2\right ) \cos ^{-1}(x)-4 x^3 \log (x)}{6 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {cought exception: } \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 43, normalized size = 0.80
method | result | size |
default | \(\frac {1}{6 x^{2}}-\frac {2 \ln \left (x \right )}{3}-\frac {\arccos \left (x \right ) \sqrt {-x^{2}+1}}{3 x^{3}}-\frac {2 \arccos \left (x \right ) \sqrt {-x^{2}+1}}{3 x}\) | \(43\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 42, normalized size = 0.78 \begin {gather*} -\frac {1}{3} \, {\left (\frac {2 \, \sqrt {-x^{2} + 1}}{x} + \frac {\sqrt {-x^{2} + 1}}{x^{3}}\right )} \arccos \left (x\right ) + \frac {1}{6 \, x^{2}} - \frac {2}{3} \, \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 36, normalized size = 0.67 \begin {gather*} -\frac {4 \, x^{3} \log \left (x\right ) + 2 \, {\left (2 \, x^{2} + 1\right )} \sqrt {-x^{2} + 1} \arccos \left (x\right ) - x}{6 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 7.02, size = 49, normalized size = 0.91 \begin {gather*} \left (\begin {cases} - \frac {\sqrt {1 - x^{2}}}{x} - \frac {\left (1 - x^{2}\right )^{\frac {3}{2}}}{3 x^{3}} & \text {for}\: x > -1 \wedge x < 1 \end {cases}\right ) \operatorname {acos}{\left (x \right )} + \begin {cases} \text {NaN} & \text {for}\: x < -1 \\- \frac {2 \log {\left (x \right )}}{3} + \frac {1}{6 x^{2}} & \text {for}\: x < 1 \\\text {NaN} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 95 vs.
\(2 (42) = 84\).
time = 0.01, size = 134, normalized size = 2.48 \begin {gather*} -\frac {-2 x^{2}-1}{6 x^{2}}-\frac {\ln \left (x^{2}\right )}{3}+\left (\frac {-\frac {64}{3} \left (-\frac {-2 \sqrt {-x^{2}+1}+2}{2 x}\right )^{3}+\frac {96 \left (-2 \sqrt {-x^{2}+1}+2\right )}{x}}{512}+\frac {9 \left (-\frac {-2 \sqrt {-x^{2}+1}+2}{2 x}\right )^{2}+1}{24 \left (-\frac {-2 \sqrt {-x^{2}+1}+2}{2 x}\right )^{3}}\right ) \arccos x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\mathrm {acos}\left (x\right )}{x^4\,\sqrt {1-x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________