Integrand size = 13, antiderivative size = 91 \[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-x^2+x^3}}\right )-\log \left (-x+\sqrt [3]{-x^2+x^3}\right )+\frac {1}{2} \log \left (x^2+x \sqrt [3]{-x^2+x^3}+\left (-x^2+x^3\right )^{2/3}\right ) \] Output:
3^(1/2)*arctan(3^(1/2)*x/(x+2*(x^3-x^2)^(1/3)))-ln(-x+(x^3-x^2)^(1/3))+1/2 *ln(x^2+x*(x^3-x^2)^(1/3)+(x^3-x^2)^(2/3))
Time = 0.16 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.20 \[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=\frac {\sqrt [3]{-1+x} x^{2/3} \left (2 \sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{x}}{2 \sqrt [3]{-1+x}+\sqrt [3]{x}}\right )-2 \log \left (\sqrt [3]{-1+x}-\sqrt [3]{x}\right )+\log \left ((-1+x)^{2/3}+\sqrt [3]{-1+x} \sqrt [3]{x}+x^{2/3}\right )\right )}{2 \sqrt [3]{(-1+x) x^2}} \] Input:
Integrate[(-x^2 + x^3)^(-1/3),x]
Output:
((-1 + x)^(1/3)*x^(2/3)*(2*Sqrt[3]*ArcTan[(Sqrt[3]*x^(1/3))/(2*(-1 + x)^(1 /3) + x^(1/3))] - 2*Log[(-1 + x)^(1/3) - x^(1/3)] + Log[(-1 + x)^(2/3) + ( -1 + x)^(1/3)*x^(1/3) + x^(2/3)]))/(2*((-1 + x)*x^2)^(1/3))
Time = 0.18 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.95, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {1917, 71}
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 {1}{\sqrt [3]{x^3-x^2}} \, dx\) |
\(\Big \downarrow \) 1917 |
\(\displaystyle \frac {\sqrt [3]{x-1} x^{2/3} \int \frac {1}{\sqrt [3]{x-1} x^{2/3}}dx}{\sqrt [3]{x^3-x^2}}\) |
\(\Big \downarrow \) 71 |
\(\displaystyle \frac {\sqrt [3]{x-1} x^{2/3} \left (-\sqrt {3} \arctan \left (\frac {2 \sqrt [3]{x-1}}{\sqrt {3} \sqrt [3]{x}}+\frac {1}{\sqrt {3}}\right )-\frac {3}{2} \log \left (\frac {\sqrt [3]{x-1}}{\sqrt [3]{x}}-1\right )-\frac {\log (x)}{2}\right )}{\sqrt [3]{x^3-x^2}}\) |
Input:
Int[(-x^2 + x^3)^(-1/3),x]
Output:
((-1 + x)^(1/3)*x^(2/3)*(-(Sqrt[3]*ArcTan[1/Sqrt[3] + (2*(-1 + x)^(1/3))/( Sqrt[3]*x^(1/3))]) - (3*Log[-1 + (-1 + x)^(1/3)/x^(1/3)])/2 - Log[x]/2))/( -x^2 + x^3)^(1/3)
Int[1/(((a_.) + (b_.)*(x_))^(1/3)*((c_.) + (d_.)*(x_))^(2/3)), x_Symbol] :> With[{q = Rt[d/b, 3]}, Simp[(-Sqrt[3])*(q/d)*ArcTan[2*q*((a + b*x)^(1/3)/( Sqrt[3]*(c + d*x)^(1/3))) + 1/Sqrt[3]], x] + (-Simp[3*(q/(2*d))*Log[q*((a + b*x)^(1/3)/(c + d*x)^(1/3)) - 1], x] - Simp[(q/(2*d))*Log[c + d*x], x])] / ; FreeQ[{a, b, c, d}, x] && PosQ[d/b]
Int[((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[(a*x^j + b*x^n)^FracPart[p]/(x^(j*FracPart[p])*(a + b*x^(n - j))^FracPart[p]) Int[ x^(j*p)*(a + b*x^(n - j))^p, x], x] /; FreeQ[{a, b, j, n, p}, x] && !Integ erQ[p] && NeQ[n, j] && PosQ[n - j]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 0.62 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.30
method | result | size |
meijerg | \(\frac {3 \left (-\operatorname {signum}\left (-1+x \right )\right )^{\frac {1}{3}} x^{\frac {1}{3}} \operatorname {hypergeom}\left (\left [\frac {1}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], x\right )}{\operatorname {signum}\left (-1+x \right )^{\frac {1}{3}}}\) | \(27\) |
pseudoelliptic | \(\frac {\ln \left (\frac {\left (\left (-1+x \right ) x^{2}\right )^{\frac {2}{3}}+\left (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}} x +x^{2}}{x^{2}}\right )}{2}-\sqrt {3}\, \arctan \left (\frac {\left (2 \left (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}}+x \right ) \sqrt {3}}{3 x}\right )-\ln \left (\frac {\left (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}}-x}{x}\right )\) | \(80\) |
trager | \(\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \ln \left (\frac {5 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )^{2} x^{2}+48 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \left (x^{3}-x^{2}\right )^{\frac {2}{3}}+48 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \left (x^{3}-x^{2}\right )^{\frac {1}{3}} x -10 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )^{2} x +38 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) x^{2}-36 \left (x^{3}-x^{2}\right )^{\frac {2}{3}}-36 x \left (x^{3}-x^{2}\right )^{\frac {1}{3}}-6 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) x -16 x^{2}+4 x}{x}\right )}{2}-\frac {\ln \left (-\frac {-5 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )^{2} x^{2}+48 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \left (x^{3}-x^{2}\right )^{\frac {2}{3}}+48 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \left (x^{3}-x^{2}\right )^{\frac {1}{3}} x +10 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )^{2} x +58 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) x^{2}-60 \left (x^{3}-x^{2}\right )^{\frac {2}{3}}-60 x \left (x^{3}-x^{2}\right )^{\frac {1}{3}}-46 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) x -80 x^{2}+48 x}{x}\right ) \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )}{2}+\ln \left (-\frac {-5 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )^{2} x^{2}+48 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \left (x^{3}-x^{2}\right )^{\frac {2}{3}}+48 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) \left (x^{3}-x^{2}\right )^{\frac {1}{3}} x +10 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right )^{2} x +58 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) x^{2}-60 \left (x^{3}-x^{2}\right )^{\frac {2}{3}}-60 x \left (x^{3}-x^{2}\right )^{\frac {1}{3}}-46 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2 \textit {\_Z} +4\right ) x -80 x^{2}+48 x}{x}\right )\) | \(452\) |
Input:
int(1/(x^3-x^2)^(1/3),x,method=_RETURNVERBOSE)
Output:
3/signum(-1+x)^(1/3)*(-signum(-1+x))^(1/3)*x^(1/3)*hypergeom([1/3,1/3],[4/ 3],x)
Time = 0.08 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.01 \[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=-\sqrt {3} \arctan \left (\frac {\sqrt {3} x + 2 \, \sqrt {3} {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{3 \, x}\right ) - \log \left (-\frac {x - {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) + \frac {1}{2} \, \log \left (\frac {x^{2} + {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}} x + {\left (x^{3} - x^{2}\right )}^{\frac {2}{3}}}{x^{2}}\right ) \] Input:
integrate(1/(x^3-x^2)^(1/3),x, algorithm="fricas")
Output:
-sqrt(3)*arctan(1/3*(sqrt(3)*x + 2*sqrt(3)*(x^3 - x^2)^(1/3))/x) - log(-(x - (x^3 - x^2)^(1/3))/x) + 1/2*log((x^2 + (x^3 - x^2)^(1/3)*x + (x^3 - x^2 )^(2/3))/x^2)
\[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=\int \frac {1}{\sqrt [3]{x^{3} - x^{2}}}\, dx \] Input:
integrate(1/(x**3-x**2)**(1/3),x)
Output:
Integral((x**3 - x**2)**(-1/3), x)
\[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=\int { \frac {1}{{\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}} \,d x } \] Input:
integrate(1/(x^3-x^2)^(1/3),x, algorithm="maxima")
Output:
integrate((x^3 - x^2)^(-1/3), x)
Time = 0.26 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.69 \[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=-\sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) + \frac {1}{2} \, \log \left ({\left (-\frac {1}{x} + 1\right )}^{\frac {2}{3}} + {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{3}} + 1\right ) - \log \left ({\left | {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right ) \] Input:
integrate(1/(x^3-x^2)^(1/3),x, algorithm="giac")
Output:
-sqrt(3)*arctan(1/3*sqrt(3)*(2*(-1/x + 1)^(1/3) + 1)) + 1/2*log((-1/x + 1) ^(2/3) + (-1/x + 1)^(1/3) + 1) - log(abs((-1/x + 1)^(1/3) - 1))
Time = 9.10 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.30 \[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=\frac {3\,x\,{\left (1-x\right )}^{1/3}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{3},\frac {1}{3};\ \frac {4}{3};\ x\right )}{{\left (x^3-x^2\right )}^{1/3}} \] Input:
int(1/(x^3 - x^2)^(1/3),x)
Output:
(3*x*(1 - x)^(1/3)*hypergeom([1/3, 1/3], 4/3, x))/(x^3 - x^2)^(1/3)
\[ \int \frac {1}{\sqrt [3]{-x^2+x^3}} \, dx=\int \frac {1}{x^{\frac {2}{3}} \left (x -1\right )^{\frac {1}{3}}}d x \] Input:
int(1/(x^3-x^2)^(1/3),x)
Output:
int(1/(x**(2/3)*(x - 1)**(1/3)),x)