Optimal. Leaf size=49 \[ -\frac {\tan ^{-1}\left (\frac {1-\frac {2 x}{\sqrt [3]{1-x^3}}}{\sqrt {3}}\right )}{\sqrt {3}}+\frac {1}{2} \log \left (x+\sqrt [3]{1-x^3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {245}
\begin {gather*} \frac {1}{2} \log \left (\sqrt [3]{1-x^3}+x\right )-\frac {\text {ArcTan}\left (\frac {1-\frac {2 x}{\sqrt [3]{1-x^3}}}{\sqrt {3}}\right )}{\sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 245
Rubi steps
\begin {align*} \int \frac {1}{\sqrt [3]{1-x^3}} \, dx &=-\frac {\tan ^{-1}\left (\frac {1-\frac {2 x}{\sqrt [3]{1-x^3}}}{\sqrt {3}}\right )}{\sqrt {3}}+\frac {1}{2} \log \left (x+\sqrt [3]{1-x^3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 86, normalized size = 1.76 \begin {gather*} \frac {\tan ^{-1}\left (\frac {-1+\frac {2 x}{\sqrt [3]{1-x^3}}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{6} \log \left (1+\frac {x^2}{\left (1-x^3\right )^{2/3}}-\frac {x}{\sqrt [3]{1-x^3}}\right )+\frac {1}{3} \log \left (1+\frac {x}{\sqrt [3]{1-x^3}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
3.
time = 1.20, size = 12, normalized size = 0.24
method | result | size |
meijerg | \(x \hypergeom \left (\left [\frac {1}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], x^{3}\right )\) | \(12\) |
trager | \(\frac {\ln \left (-2 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}+3 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (-x^{3}+1\right )^{\frac {2}{3}} x -5 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+3 x \left (-x^{3}+1\right )^{\frac {2}{3}}+3 x^{2} \left (-x^{3}+1\right )^{\frac {1}{3}}-2 x^{3}+2 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )+1\right )}{3}+\frac {\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \ln \left (\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}-3 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (-x^{3}+1\right )^{\frac {2}{3}} x -3 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (-x^{3}+1\right )^{\frac {1}{3}} x^{2}+\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}-3 x^{2} \left (-x^{3}+1\right )^{\frac {1}{3}}-2 x^{3}+\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )+2\right )}{3}\) | \(194\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 78, normalized size = 1.59 \begin {gather*} -\frac {1}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (\frac {2 \, {\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{x} - 1\right )}\right ) + \frac {1}{3} \, \log \left (\frac {{\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{x} + 1\right ) - \frac {1}{6} \, \log \left (-\frac {{\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{x} + \frac {{\left (-x^{3} + 1\right )}^{\frac {2}{3}}}{x^{2}} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 82 vs.
\(2 (40) = 80\).
time = 0.60, size = 82, normalized size = 1.67 \begin {gather*} -\frac {1}{3} \, \sqrt {3} \arctan \left (-\frac {\sqrt {3} x - 2 \, \sqrt {3} {\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{3 \, x}\right ) + \frac {1}{3} \, \log \left (\frac {x + {\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{6} \, \log \left (\frac {x^{2} - {\left (-x^{3} + 1\right )}^{\frac {1}{3}} x + {\left (-x^{3} + 1\right )}^{\frac {2}{3}}}{x^{2}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.37, size = 29, normalized size = 0.59 \begin {gather*} \frac {x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {x^{3} e^{2 i \pi }} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[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]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.33, size = 10, normalized size = 0.20 \begin {gather*} x\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{3},\frac {1}{3};\ \frac {4}{3};\ x^3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________