Integrand size = 9, antiderivative size = 94 \[ \int \left (-1+x^3\right )^{2/3} \, dx=\frac {1}{3} x \left (-1+x^3\right )^{2/3}-\frac {2 \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )}{3 \sqrt {3}}+\frac {2}{9} \log \left (-x+\sqrt [3]{-1+x^3}\right )-\frac {1}{9} \log \left (x^2+x \sqrt [3]{-1+x^3}+\left (-1+x^3\right )^{2/3}\right ) \] Output:
1/3*x*(x^3-1)^(2/3)-2/9*arctan(3^(1/2)*x/(x+2*(x^3-1)^(1/3)))*3^(1/2)+2/9* ln(-x+(x^3-1)^(1/3))-1/9*ln(x^2+x*(x^3-1)^(1/3)+(x^3-1)^(2/3))
Result contains higher order function than in optimal. Order 6 vs. order 3 in optimal.
Time = 0.09 (sec) , antiderivative size = 99, normalized size of antiderivative = 1.05 \[ \int \left (-1+x^3\right )^{2/3} \, dx=\frac {3 (-1+x) \left (-1+x^3\right )^{2/3} \operatorname {AppellF1}\left (\frac {5}{3},-\frac {2}{3},-\frac {2}{3},\frac {8}{3},-\frac {-1+x}{1-(-1)^{2/3}},-\frac {-1+x}{1+\sqrt [3]{-1}}\right )}{5 \left (1+\frac {-1+x}{1+\sqrt [3]{-1}}\right )^{2/3} \left (1+\frac {-1+x}{1-(-1)^{2/3}}\right )^{2/3}} \] Input:
Integrate[(-1 + x^3)^(2/3),x]
Output:
(3*(-1 + x)*(-1 + x^3)^(2/3)*AppellF1[5/3, -2/3, -2/3, 8/3, -((-1 + x)/(1 - (-1)^(2/3))), -((-1 + x)/(1 + (-1)^(1/3)))])/(5*(1 + (-1 + x)/(1 + (-1)^ (1/3)))^(2/3)*(1 + (-1 + x)/(1 - (-1)^(2/3)))^(2/3))
Time = 0.16 (sec) , antiderivative size = 65, normalized size of antiderivative = 0.69, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {748, 769}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \left (x^3-1\right )^{2/3} \, dx\) |
\(\Big \downarrow \) 748 |
\(\displaystyle \frac {1}{3} x \left (x^3-1\right )^{2/3}-\frac {2}{3} \int \frac {1}{\sqrt [3]{x^3-1}}dx\) |
\(\Big \downarrow \) 769 |
\(\displaystyle \frac {1}{3} x \left (x^3-1\right )^{2/3}-\frac {2}{3} \left (\frac {\arctan \left (\frac {\frac {2 x}{\sqrt [3]{x^3-1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{2} \log \left (\sqrt [3]{x^3-1}-x\right )\right )\) |
Input:
Int[(-1 + x^3)^(2/3),x]
Output:
(x*(-1 + x^3)^(2/3))/3 - (2*(ArcTan[(1 + (2*x)/(-1 + x^3)^(1/3))/Sqrt[3]]/ Sqrt[3] - Log[-x + (-1 + x^3)^(1/3)]/2))/3
Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[x*((a + b*x^n)^p/(n*p + 1)), x] + Simp[a*n*(p/(n*p + 1)) Int[(a + b*x^n)^(p - 1), x], x] /; Fre eQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || LtQ[Denominat or[p + 1/n], Denominator[p]])
Int[((a_) + (b_.)*(x_)^3)^(-1/3), x_Symbol] :> Simp[ArcTan[(1 + 2*Rt[b, 3]* (x/(a + b*x^3)^(1/3)))/Sqrt[3]]/(Sqrt[3]*Rt[b, 3]), x] - Simp[Log[(a + b*x^ 3)^(1/3) - Rt[b, 3]*x]/(2*Rt[b, 3]), x] /; FreeQ[{a, b}, x]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 1.26 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.32
method | result | size |
meijerg | \(\frac {\operatorname {signum}\left (x^{3}-1\right )^{\frac {2}{3}} x \operatorname {hypergeom}\left (\left [-\frac {2}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], x^{3}\right )}{{\left (-\operatorname {signum}\left (x^{3}-1\right )\right )}^{\frac {2}{3}}}\) | \(30\) |
risch | \(\frac {x \left (x^{3}-1\right )^{\frac {2}{3}}}{3}-\frac {2 {\left (-\operatorname {signum}\left (x^{3}-1\right )\right )}^{\frac {1}{3}} x \operatorname {hypergeom}\left (\left [\frac {1}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], x^{3}\right )}{3 \operatorname {signum}\left (x^{3}-1\right )^{\frac {1}{3}}}\) | \(42\) |
pseudoelliptic | \(\frac {-3 x \left (x^{3}-1\right )^{\frac {2}{3}}-2 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}-1\right )^{\frac {1}{3}}\right )}{3 x}\right )+\ln \left (\frac {x^{2}+x \left (x^{3}-1\right )^{\frac {1}{3}}+\left (x^{3}-1\right )^{\frac {2}{3}}}{x^{2}}\right )-2 \ln \left (\frac {-x +\left (x^{3}-1\right )^{\frac {1}{3}}}{x}\right )}{9 \left (x^{2}+x \left (x^{3}-1\right )^{\frac {1}{3}}+\left (x^{3}-1\right )^{\frac {2}{3}}\right ) \left (-x +\left (x^{3}-1\right )^{\frac {1}{3}}\right )}\) | \(117\) |
trager | \(\frac {x \left (x^{3}-1\right )^{\frac {2}{3}}}{3}+\frac {2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \ln \left (\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}+3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x +3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}+4 \operatorname {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}}+4 x^{3}-\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )-2\right )}{9}-\frac {2 \ln \left (\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}-3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}-2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+x^{3}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )-1\right ) \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )}{9}-\frac {2 \ln \left (\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}-3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}-2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+x^{3}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )-1\right )}{9}\) | \(280\) |
Input:
int((x^3-1)^(2/3),x,method=_RETURNVERBOSE)
Output:
signum(x^3-1)^(2/3)/(-signum(x^3-1))^(2/3)*x*hypergeom([-2/3,1/3],[4/3],x^ 3)
Time = 0.09 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.91 \[ \int \left (-1+x^3\right )^{2/3} \, dx=\frac {1}{3} \, {\left (x^{3} - 1\right )}^{\frac {2}{3}} x + \frac {2}{9} \, \sqrt {3} \arctan \left (\frac {\sqrt {3} x + 2 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{3 \, x}\right ) + \frac {2}{9} \, \log \left (-\frac {x - {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{9} \, \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 ) \] Input:
integrate((x^3-1)^(2/3),x, algorithm="fricas")
Output:
1/3*(x^3 - 1)^(2/3)*x + 2/9*sqrt(3)*arctan(1/3*(sqrt(3)*x + 2*sqrt(3)*(x^3 - 1)^(1/3))/x) + 2/9*log(-(x - (x^3 - 1)^(1/3))/x) - 1/9*log((x^2 + (x^3 - 1)^(1/3)*x + (x^3 - 1)^(2/3))/x^2)
Result contains complex when optimal does not.
Time = 0.66 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.34 \[ \int \left (-1+x^3\right )^{2/3} \, dx=- \frac {x e^{- \frac {i \pi }{3}} \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {x^{3}} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} \] Input:
integrate((x**3-1)**(2/3),x)
Output:
-x*exp(-I*pi/3)*gamma(1/3)*hyper((-2/3, 1/3), (4/3,), x**3)/(3*gamma(4/3))
Time = 0.11 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.00 \[ \int \left (-1+x^3\right )^{2/3} \, dx=\frac {2}{9} \, \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 {{\left (x^{3} - 1\right )}^{\frac {2}{3}}}{3 \, x^{2} {\left (\frac {x^{3} - 1}{x^{3}} - 1\right )}} - \frac {1}{9} \, \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 ) + \frac {2}{9} \, \log \left (\frac {{\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} - 1\right ) \] Input:
integrate((x^3-1)^(2/3),x, algorithm="maxima")
Output:
2/9*sqrt(3)*arctan(1/3*sqrt(3)*(2*(x^3 - 1)^(1/3)/x + 1)) - 1/3*(x^3 - 1)^ (2/3)/(x^2*((x^3 - 1)/x^3 - 1)) - 1/9*log((x^3 - 1)^(1/3)/x + (x^3 - 1)^(2 /3)/x^2 + 1) + 2/9*log((x^3 - 1)^(1/3)/x - 1)
\[ \int \left (-1+x^3\right )^{2/3} \, dx=\int { {\left (x^{3} - 1\right )}^{\frac {2}{3}} \,d x } \] Input:
integrate((x^3-1)^(2/3),x, algorithm="giac")
Output:
integrate((x^3 - 1)^(2/3), x)
Time = 8.61 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.28 \[ \int \left (-1+x^3\right )^{2/3} \, dx=\frac {x\,{\left (x^3-1\right )}^{2/3}\,{{}}_2{\mathrm {F}}_1\left (-\frac {2}{3},\frac {1}{3};\ \frac {4}{3};\ x^3\right )}{{\left (1-x^3\right )}^{2/3}} \] Input:
int((x^3 - 1)^(2/3),x)
Output:
(x*(x^3 - 1)^(2/3)*hypergeom([-2/3, 1/3], 4/3, x^3))/(1 - x^3)^(2/3)
\[ \int \left (-1+x^3\right )^{2/3} \, dx=\frac {\left (x^{3}-1\right )^{\frac {2}{3}} x}{3}-\frac {2 \left (\int \frac {1}{\left (x^{3}-1\right )^{\frac {1}{3}}}d x \right )}{3} \] Input:
int((x^3-1)^(2/3),x)
Output:
((x**3 - 1)**(2/3)*x - 2*int((x**3 - 1)**(2/3)/(x**3 - 1),x))/3