Optimal. Leaf size=36 \[ \frac {\left (-2+x^3\right ) \sqrt {-1+x^3}}{12 x^6}+\frac {1}{12} \text {ArcTan}\left (\sqrt {-1+x^3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 47, normalized size of antiderivative = 1.31, number of steps
used = 5, number of rules used = 5, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.385, Rules used = {272, 43, 44, 65,
209} \begin {gather*} \frac {1}{12} \text {ArcTan}\left (\sqrt {x^3-1}\right )+\frac {\sqrt {x^3-1}}{12 x^3}-\frac {\sqrt {x^3-1}}{6 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 44
Rule 65
Rule 209
Rule 272
Rubi steps
\begin {align*} \int \frac {\sqrt {-1+x^3}}{x^7} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {\sqrt {-1+x}}{x^3} \, dx,x,x^3\right )\\ &=-\frac {\sqrt {-1+x^3}}{6 x^6}+\frac {1}{12} \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} x^2} \, dx,x,x^3\right )\\ &=-\frac {\sqrt {-1+x^3}}{6 x^6}+\frac {\sqrt {-1+x^3}}{12 x^3}+\frac {1}{24} \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} x} \, dx,x,x^3\right )\\ &=-\frac {\sqrt {-1+x^3}}{6 x^6}+\frac {\sqrt {-1+x^3}}{12 x^3}+\frac {1}{12} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+x^3}\right )\\ &=-\frac {\sqrt {-1+x^3}}{6 x^6}+\frac {\sqrt {-1+x^3}}{12 x^3}+\frac {1}{12} \tan ^{-1}\left (\sqrt {-1+x^3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 33, normalized size = 0.92 \begin {gather*} \frac {1}{12} \left (\frac {\left (-2+x^3\right ) \sqrt {-1+x^3}}{x^6}+\text {ArcTan}\left (\sqrt {-1+x^3}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.26, size = 36, normalized size = 1.00
method | result | size |
risch | \(\frac {x^{6}-3 x^{3}+2}{12 x^{6} \sqrt {x^{3}-1}}+\frac {\arctan \left (\sqrt {x^{3}-1}\right )}{12}\) | \(34\) |
default | \(-\frac {\sqrt {x^{3}-1}}{6 x^{6}}+\frac {\sqrt {x^{3}-1}}{12 x^{3}}+\frac {\arctan \left (\sqrt {x^{3}-1}\right )}{12}\) | \(36\) |
elliptic | \(-\frac {\sqrt {x^{3}-1}}{6 x^{6}}+\frac {\sqrt {x^{3}-1}}{12 x^{3}}+\frac {\arctan \left (\sqrt {x^{3}-1}\right )}{12}\) | \(36\) |
trager | \(\frac {\left (x^{3}-2\right ) \sqrt {x^{3}-1}}{12 x^{6}}+\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (-\frac {-\RootOf \left (\textit {\_Z}^{2}+1\right ) x^{3}+2 \sqrt {x^{3}-1}+2 \RootOf \left (\textit {\_Z}^{2}+1\right )}{x^{3}}\right )}{24}\) | \(62\) |
meijerg | \(-\frac {\sqrt {\mathrm {signum}\left (x^{3}-1\right )}\, \left (-\frac {\sqrt {\pi }\, \left (x^{6}-8 x^{3}+8\right )}{8 x^{6}}+\frac {\sqrt {\pi }\, \left (-4 x^{3}+8\right ) \sqrt {-x^{3}+1}}{8 x^{6}}-\frac {\sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {-x^{3}+1}}{2}\right )}{2}+\frac {\left (\frac {1}{2}-2 \ln \left (2\right )+3 \ln \left (x \right )+i \pi \right ) \sqrt {\pi }}{4}+\frac {\sqrt {\pi }}{x^{6}}-\frac {\sqrt {\pi }}{x^{3}}\right )}{6 \sqrt {\pi }\, \sqrt {-\mathrm {signum}\left (x^{3}-1\right )}}\) | \(120\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.46, size = 46, normalized size = 1.28 \begin {gather*} \frac {{\left (x^{3} - 1\right )}^{\frac {3}{2}} - \sqrt {x^{3} - 1}}{12 \, {\left (2 \, x^{3} + {\left (x^{3} - 1\right )}^{2} - 1\right )}} + \frac {1}{12} \, \arctan \left (\sqrt {x^{3} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 31, normalized size = 0.86 \begin {gather*} \frac {x^{6} \arctan \left (\sqrt {x^{3} - 1}\right ) + \sqrt {x^{3} - 1} {\left (x^{3} - 2\right )}}{12 \, x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 1.77, size = 138, normalized size = 3.83 \begin {gather*} \begin {cases} \frac {i \operatorname {acosh}{\left (\frac {1}{x^{\frac {3}{2}}} \right )}}{12} - \frac {i}{12 x^{\frac {3}{2}} \sqrt {-1 + \frac {1}{x^{3}}}} + \frac {i}{4 x^{\frac {9}{2}} \sqrt {-1 + \frac {1}{x^{3}}}} - \frac {i}{6 x^{\frac {15}{2}} \sqrt {-1 + \frac {1}{x^{3}}}} & \text {for}\: \frac {1}{\left |{x^{3}}\right |} > 1 \\- \frac {\operatorname {asin}{\left (\frac {1}{x^{\frac {3}{2}}} \right )}}{12} + \frac {1}{12 x^{\frac {3}{2}} \sqrt {1 - \frac {1}{x^{3}}}} - \frac {1}{4 x^{\frac {9}{2}} \sqrt {1 - \frac {1}{x^{3}}}} + \frac {1}{6 x^{\frac {15}{2}} \sqrt {1 - \frac {1}{x^{3}}}} & \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. 63 vs.
\(2 (28) = 56\).
time = 0.38, size = 63, normalized size = 1.75 \begin {gather*} \frac {1}{48} \, \pi + \frac {\sqrt {x^{3} - 1} - \frac {1}{\sqrt {x^{3} - 1}}}{12 \, {\left ({\left (\sqrt {x^{3} - 1} - \frac {1}{\sqrt {x^{3} - 1}}\right )}^{2} + 4\right )}} + \frac {1}{24} \, \arctan \left (\frac {x^{3} - 2}{2 \, \sqrt {x^{3} - 1}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 189, normalized size = 5.25 \begin {gather*} \frac {\sqrt {x^3-1}}{12\,x^3}-\frac {\sqrt {x^3-1}}{6\,x^6}-\frac {\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\sqrt {-\frac {x+\frac {1}{2}-\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {-\frac {x-1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\Pi \left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2};\mathrm {asin}\left (\sqrt {-\frac {x-1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )}{4\,\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x+\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________