Optimal. Leaf size=65 \[ -\frac {1}{12 x^2}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{6 x^3}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {\cos ^{-1}(x)^2}{4 x^4}+\frac {\log (x)}{3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {4724, 4790,
4772, 29, 30} \begin {gather*} -\frac {\cos ^{-1}(x)^2}{4 x^4}-\frac {1}{12 x^2}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{6 x^3}+\frac {\log (x)}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 30
Rule 4724
Rule 4772
Rule 4790
Rubi steps
\begin {align*} \int \frac {\cos ^{-1}(x)^2}{x^5} \, dx &=-\frac {\cos ^{-1}(x)^2}{4 x^4}-\frac {1}{2} \int \frac {\cos ^{-1}(x)}{x^4 \sqrt {1-x^2}} \, dx\\ &=\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{6 x^3}-\frac {\cos ^{-1}(x)^2}{4 x^4}+\frac {1}{6} \int \frac {1}{x^3} \, dx-\frac {1}{3} \int \frac {\cos ^{-1}(x)}{x^2 \sqrt {1-x^2}} \, dx\\ &=-\frac {1}{12 x^2}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{6 x^3}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {\cos ^{-1}(x)^2}{4 x^4}+\frac {1}{3} \int \frac {1}{x} \, dx\\ &=-\frac {1}{12 x^2}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{6 x^3}+\frac {\sqrt {1-x^2} \cos ^{-1}(x)}{3 x}-\frac {\cos ^{-1}(x)^2}{4 x^4}+\frac {\log (x)}{3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 52, normalized size = 0.80 \begin {gather*} -\frac {1}{12 x^2}+\frac {\sqrt {1-x^2} \left (1+2 x^2\right ) \cos ^{-1}(x)}{6 x^3}-\frac {\cos ^{-1}(x)^2}{4 x^4}+\frac {\log (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: maximum recursion depth exceeded while calling a Python object} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 52, normalized size = 0.80
method | result | size |
default | \(-\frac {1}{12 x^{2}}-\frac {\arccos \left (x \right )^{2}}{4 x^{4}}+\frac {\ln \left (x \right )}{3}+\frac {\arccos \left (x \right ) \sqrt {-x^{2}+1}}{6 x^{3}}+\frac {\arccos \left (x \right ) \sqrt {-x^{2}+1}}{3 x}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 51, normalized size = 0.78 \begin {gather*} \frac {1}{6} \, {\left (\frac {2 \, \sqrt {-x^{2} + 1}}{x} + \frac {\sqrt {-x^{2} + 1}}{x^{3}}\right )} \arccos \left (x\right ) - \frac {1}{12 \, x^{2}} - \frac {\arccos \left (x\right )^{2}}{4 \, x^{4}} + \frac {1}{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 = 44, normalized size = 0.68 \begin {gather*} \frac {4 \, x^{4} \log \left (x\right ) + 2 \, {\left (2 \, x^{3} + x\right )} \sqrt {-x^{2} + 1} \arccos \left (x\right ) - x^{2} - 3 \, \arccos \left (x\right )^{2}}{12 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {acos}^{2}{\left (x \right )}}{x^{5}}\, dx \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. 104 vs.
\(2 (51) = 102\).
time = 0.02, size = 145, normalized size = 2.23 \begin {gather*} -\frac {2 x^{2}+1}{12 x^{2}}+\frac {\ln \left (x^{2}\right )}{6}+\left (\frac {\frac {256}{3} \left (-\frac {-2 \sqrt {-x^{2}+1}+2}{2 x}\right )^{3}-\frac {384 \left (-2 \sqrt {-x^{2}+1}+2\right )}{x}}{4096}+\frac {-9 \left (-\frac {-2 \sqrt {-x^{2}+1}+2}{2 x}\right )^{2}-1}{48 \left (-\frac {-2 \sqrt {-x^{2}+1}+2}{2 x}\right )^{3}}\right ) \arccos x-\frac {\arccos ^{2}x}{4 x^{4}} \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 )}^2}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________