Integrand size = 13, antiderivative size = 93 \[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=-\frac {\left (-1+x^3\right )^{2/3}}{2 x^2}+\frac {\arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )}{\sqrt {3}}-\frac {1}{3} \log \left (-x+\sqrt [3]{-1+x^3}\right )+\frac {1}{6} \log \left (x^2+x \sqrt [3]{-1+x^3}+\left (-1+x^3\right )^{2/3}\right ) \] Output:
-1/2*(x^3-1)^(2/3)/x^2+1/3*arctan(3^(1/2)*x/(x+2*(x^3-1)^(1/3)))*3^(1/2)-1 /3*ln(-x+(x^3-1)^(1/3))+1/6*ln(x^2+x*(x^3-1)^(1/3)+(x^3-1)^(2/3))
Time = 0.15 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.97 \[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=\frac {1}{6} \left (-\frac {3 \left (-1+x^3\right )^{2/3}}{x^2}+2 \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )-2 \log \left (-x+\sqrt [3]{-1+x^3}\right )+\log \left (x^2+x \sqrt [3]{-1+x^3}+\left (-1+x^3\right )^{2/3}\right )\right ) \] Input:
Integrate[(-1 + x^3)^(2/3)/x^3,x]
Output:
((-3*(-1 + x^3)^(2/3))/x^2 + 2*Sqrt[3]*ArcTan[(Sqrt[3]*x)/(x + 2*(-1 + x^3 )^(1/3))] - 2*Log[-x + (-1 + x^3)^(1/3)] + Log[x^2 + x*(-1 + x^3)^(1/3) + (-1 + x^3)^(2/3)])/6
Time = 0.17 (sec) , antiderivative size = 62, normalized size of antiderivative = 0.67, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {809, 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 \frac {\left (x^3-1\right )^{2/3}}{x^3} \, dx\) |
\(\Big \downarrow \) 809 |
\(\displaystyle \int \frac {1}{\sqrt [3]{x^3-1}}dx-\frac {\left (x^3-1\right )^{2/3}}{2 x^2}\) |
\(\Big \downarrow \) 769 |
\(\displaystyle \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 )-\frac {\left (x^3-1\right )^{2/3}}{2 x^2}\) |
Input:
Int[(-1 + x^3)^(2/3)/x^3,x]
Output:
-1/2*(-1 + x^3)^(2/3)/x^2 + ArcTan[(1 + (2*x)/(-1 + x^3)^(1/3))/Sqrt[3]]/S qrt[3] - Log[-x + (-1 + x^3)^(1/3)]/2
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]
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c* x)^(m + 1)*((a + b*x^n)^p/(c*(m + 1))), x] - Simp[b*n*(p/(c^n*(m + 1))) I nt[(c*x)^(m + n)*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && IGtQ [n, 0] && GtQ[p, 0] && LtQ[m, -1] && !ILtQ[(m + n*p + n + 1)/n, 0] && IntB inomialQ[a, b, c, n, m, p, x]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 2.26 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.35
method | result | size |
meijerg | \(-\frac {\operatorname {signum}\left (x^{3}-1\right )^{\frac {2}{3}} \operatorname {hypergeom}\left (\left [-\frac {2}{3}, -\frac {2}{3}\right ], \left [\frac {1}{3}\right ], x^{3}\right )}{2 {\left (-\operatorname {signum}\left (x^{3}-1\right )\right )}^{\frac {2}{3}} x^{2}}\) | \(33\) |
risch | \(-\frac {\left (x^{3}-1\right )^{\frac {2}{3}}}{2 x^{2}}+\frac {{\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 )}{\operatorname {signum}\left (x^{3}-1\right )^{\frac {1}{3}}}\) | \(43\) |
pseudoelliptic | \(\frac {-2 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}-1\right )^{\frac {1}{3}}\right )}{3 x}\right ) x^{2}+\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 ) x^{2}-2 \ln \left (\frac {-x +\left (x^{3}-1\right )^{\frac {1}{3}}}{x}\right ) x^{2}-3 \left (x^{3}-1\right )^{\frac {2}{3}}}{6 x^{2}}\) | \(94\) |
trager | \(-\frac {\left (x^{3}-1\right )^{\frac {2}{3}}}{2 x^{2}}-\frac {\ln \left (-1088843920 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )^{2} x^{3}-775851456 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -5258358036 \left (x^{3}-1\right )^{\frac {1}{3}} \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) x^{2}+6306420472 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) x^{3}-1314589509 x \left (x^{3}-1\right )^{\frac {2}{3}}+1508552373 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}-262015609 x^{3}+8710751360 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )^{2}-4447708156 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )+170879745\right )}{3}+\frac {\ln \left (906572192 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )^{2} x^{3}+775851456 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -6034209492 \left (x^{3}-1\right )^{\frac {1}{3}} \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) x^{2}+5031714988 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) x^{3}-1508552373 x \left (x^{3}-1\right )^{\frac {2}{3}}+1314589509 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}+250623626 x^{3}-7252577536 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )^{2}-1951044792 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )-79743881\right )}{3}-\frac {4 \ln \left (906572192 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )^{2} x^{3}+775851456 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -6034209492 \left (x^{3}-1\right )^{\frac {1}{3}} \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) x^{2}+5031714988 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right ) x^{3}-1508552373 x \left (x^{3}-1\right )^{\frac {2}{3}}+1314589509 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}+250623626 x^{3}-7252577536 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )^{2}-1951044792 \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )-79743881\right ) \operatorname {RootOf}\left (16 \textit {\_Z}^{2}-4 \textit {\_Z} +1\right )}{3}\) | \(439\) |
Input:
int((x^3-1)^(2/3)/x^3,x,method=_RETURNVERBOSE)
Output:
-1/2*signum(x^3-1)^(2/3)/(-signum(x^3-1))^(2/3)/x^2*hypergeom([-2/3,-2/3], [1/3],x^3)
Time = 0.30 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.13 \[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=\frac {2 \, \sqrt {3} x^{2} \arctan \left (-\frac {25382 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {1}{3}} x^{2} - 13720 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {2}{3}} x + \sqrt {3} {\left (5831 \, x^{3} - 7200\right )}}{58653 \, x^{3} - 8000}\right ) - x^{2} \log \left (-3 \, {\left (x^{3} - 1\right )}^{\frac {1}{3}} x^{2} + 3 \, {\left (x^{3} - 1\right )}^{\frac {2}{3}} x + 1\right ) - 3 \, {\left (x^{3} - 1\right )}^{\frac {2}{3}}}{6 \, x^{2}} \] Input:
integrate((x^3-1)^(2/3)/x^3,x, algorithm="fricas")
Output:
1/6*(2*sqrt(3)*x^2*arctan(-(25382*sqrt(3)*(x^3 - 1)^(1/3)*x^2 - 13720*sqrt (3)*(x^3 - 1)^(2/3)*x + sqrt(3)*(5831*x^3 - 7200))/(58653*x^3 - 8000)) - x ^2*log(-3*(x^3 - 1)^(1/3)*x^2 + 3*(x^3 - 1)^(2/3)*x + 1) - 3*(x^3 - 1)^(2/ 3))/x^2
Result contains complex when optimal does not.
Time = 0.63 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.40 \[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=\frac {e^{\frac {2 i \pi }{3}} \Gamma \left (- \frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, - \frac {2}{3} \\ \frac {1}{3} \end {matrix}\middle | {x^{3}} \right )}}{3 x^{2} \Gamma \left (\frac {1}{3}\right )} \] Input:
integrate((x**3-1)**(2/3)/x**3,x)
Output:
exp(2*I*pi/3)*gamma(-2/3)*hyper((-2/3, -2/3), (1/3,), x**3)/(3*x**2*gamma( 1/3))
Time = 0.11 (sec) , antiderivative size = 81, normalized size of antiderivative = 0.87 \[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=-\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 {{\left (x^{3} - 1\right )}^{\frac {2}{3}}}{2 \, x^{2}} + \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 ) - \frac {1}{3} \, \log \left (\frac {{\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} - 1\right ) \] Input:
integrate((x^3-1)^(2/3)/x^3,x, algorithm="maxima")
Output:
-1/3*sqrt(3)*arctan(1/3*sqrt(3)*(2*(x^3 - 1)^(1/3)/x + 1)) - 1/2*(x^3 - 1) ^(2/3)/x^2 + 1/6*log((x^3 - 1)^(1/3)/x + (x^3 - 1)^(2/3)/x^2 + 1) - 1/3*lo g((x^3 - 1)^(1/3)/x - 1)
\[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=\int { \frac {{\left (x^{3} - 1\right )}^{\frac {2}{3}}}{x^{3}} \,d x } \] Input:
integrate((x^3-1)^(2/3)/x^3,x, algorithm="giac")
Output:
integrate((x^3 - 1)^(2/3)/x^3, x)
Timed out. \[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=\int \frac {{\left (x^3-1\right )}^{2/3}}{x^3} \,d x \] Input:
int((x^3 - 1)^(2/3)/x^3,x)
Output:
int((x^3 - 1)^(2/3)/x^3, x)
\[ \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx=\int \frac {\left (x^{3}-1\right )^{\frac {2}{3}}}{x^{3}}d x \] Input:
int((x^3-1)^(2/3)/x^3,x)
Output:
int((x**3 - 1)**(2/3)/x**3,x)