Integrand size = 13, antiderivative size = 107 \[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=\frac {1}{81} \left (-1+x^3\right )^{2/3} \left (-4 x-3 x^4+9 x^7\right )-\frac {4 \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )}{81 \sqrt {3}}+\frac {4}{243} \log \left (-x+\sqrt [3]{-1+x^3}\right )-\frac {2}{243} \log \left (x^2+x \sqrt [3]{-1+x^3}+\left (-1+x^3\right )^{2/3}\right ) \]
1/81*(x^3-1)^(2/3)*(9*x^7-3*x^4-4*x)-4/243*arctan(3^(1/2)*x/(x+2*(x^3-1)^( 1/3)))*3^(1/2)+4/243*ln(-x+(x^3-1)^(1/3))-2/243*ln(x^2+x*(x^3-1)^(1/3)+(x^ 3-1)^(2/3))
Time = 0.23 (sec) , antiderivative size = 102, normalized size of antiderivative = 0.95 \[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=\frac {1}{243} \left (3 x \left (-1+x^3\right )^{2/3} \left (-4-3 x^3+9 x^6\right )-4 \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )+4 \log \left (-x+\sqrt [3]{-1+x^3}\right )-2 \log \left (x^2+x \sqrt [3]{-1+x^3}+\left (-1+x^3\right )^{2/3}\right )\right ) \]
(3*x*(-1 + x^3)^(2/3)*(-4 - 3*x^3 + 9*x^6) - 4*Sqrt[3]*ArcTan[(Sqrt[3]*x)/ (x + 2*(-1 + x^3)^(1/3))] + 4*Log[-x + (-1 + x^3)^(1/3)] - 2*Log[x^2 + x*( -1 + x^3)^(1/3) + (-1 + x^3)^(2/3)])/243
Time = 0.21 (sec) , antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {811, 843, 843, 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 x^6 \left (x^3-1\right )^{2/3} \, dx\) |
\(\Big \downarrow \) 811 |
\(\displaystyle \frac {1}{9} x^7 \left (x^3-1\right )^{2/3}-\frac {2}{9} \int \frac {x^6}{\sqrt [3]{x^3-1}}dx\) |
\(\Big \downarrow \) 843 |
\(\displaystyle \frac {1}{9} x^7 \left (x^3-1\right )^{2/3}-\frac {2}{9} \left (\frac {2}{3} \int \frac {x^3}{\sqrt [3]{x^3-1}}dx+\frac {1}{6} \left (x^3-1\right )^{2/3} x^4\right )\) |
\(\Big \downarrow \) 843 |
\(\displaystyle \frac {1}{9} x^7 \left (x^3-1\right )^{2/3}-\frac {2}{9} \left (\frac {2}{3} \left (\frac {1}{3} \int \frac {1}{\sqrt [3]{x^3-1}}dx+\frac {1}{3} \left (x^3-1\right )^{2/3} x\right )+\frac {1}{6} \left (x^3-1\right )^{2/3} x^4\right )\) |
\(\Big \downarrow \) 769 |
\(\displaystyle \frac {1}{9} x^7 \left (x^3-1\right )^{2/3}-\frac {2}{9} \left (\frac {2}{3} \left (\frac {1}{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 )+\frac {1}{3} \left (x^3-1\right )^{2/3} x\right )+\frac {1}{6} \left (x^3-1\right )^{2/3} x^4\right )\) |
(x^7*(-1 + x^3)^(2/3))/9 - (2*((x^4*(-1 + x^3)^(2/3))/6 + (2*((x*(-1 + x^3 )^(2/3))/3 + (ArcTan[(1 + (2*x)/(-1 + x^3)^(1/3))/Sqrt[3]]/Sqrt[3] - Log[- x + (-1 + x^3)^(1/3)]/2)/3))/3))/9
3.16.48.3.1 Defintions of rubi rules used
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 + n*p + 1))), x] + Simp[a*n*(p/(m + n*p + 1 )) Int[(c*x)^m*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c, m}, x] && I GtQ[n, 0] && GtQ[p, 0] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b, c, n, m , p, x]
Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n)^(p + 1)/(b*(m + n*p + 1))), x] - Simp[ a*c^n*((m - n + 1)/(b*(m + n*p + 1))) Int[(c*x)^(m - n)*(a + b*x^n)^p, x] , x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n* p + 1, 0] && IntBinomialQ[a, b, c, n, m, p, x]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 1.02 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.31
method | result | size |
meijerg | \(\frac {\operatorname {signum}\left (x^{3}-1\right )^{\frac {2}{3}} x^{7} \operatorname {hypergeom}\left (\left [-\frac {2}{3}, \frac {7}{3}\right ], \left [\frac {10}{3}\right ], x^{3}\right )}{7 {\left (-\operatorname {signum}\left (x^{3}-1\right )\right )}^{\frac {2}{3}}}\) | \(33\) |
risch | \(\frac {x \left (9 x^{6}-3 x^{3}-4\right ) \left (x^{3}-1\right )^{\frac {2}{3}}}{81}-\frac {4 {\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 )}{81 \operatorname {signum}\left (x^{3}-1\right )^{\frac {1}{3}}}\) | \(54\) |
pseudoelliptic | \(\frac {-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 )+4 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}-1\right )^{\frac {1}{3}}\right )}{3 x}\right )+4 \ln \left (\frac {-x +\left (x^{3}-1\right )^{\frac {1}{3}}}{x}\right )+\left (27 x^{7}-9 x^{4}-12 x \right ) \left (x^{3}-1\right )^{\frac {2}{3}}}{243 {\left (\left (x^{3}-1\right )^{\frac {2}{3}}+x \left (x +\left (x^{3}-1\right )^{\frac {1}{3}}\right )\right )}^{3} {\left (x -\left (x^{3}-1\right )^{\frac {1}{3}}\right )}^{3}}\) | \(130\) |
trager | \(\frac {x \left (9 x^{6}-3 x^{3}-4\right ) \left (x^{3}-1\right )^{\frac {2}{3}}}{81}+\frac {4 \ln \left (-2 \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 -5 \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}}-2 x^{3}+2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )+1\right )}{243}+\frac {4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \ln \left (2 \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 {1}{3}} x^{2}-\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+3 x \left (x^{3}-1\right )^{\frac {2}{3}}-x^{3}+2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )+1\right )}{243}\) | \(189\) |
Time = 0.26 (sec) , antiderivative size = 99, normalized size of antiderivative = 0.93 \[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=\frac {1}{81} \, {\left (9 \, x^{7} - 3 \, x^{4} - 4 \, x\right )} {\left (x^{3} - 1\right )}^{\frac {2}{3}} + \frac {4}{243} \, \sqrt {3} \arctan \left (\frac {\sqrt {3} x + 2 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{3 \, x}\right ) + \frac {4}{243} \, \log \left (-\frac {x - {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x}\right ) - \frac {2}{243} \, \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 ) \]
1/81*(9*x^7 - 3*x^4 - 4*x)*(x^3 - 1)^(2/3) + 4/243*sqrt(3)*arctan(1/3*(sqr t(3)*x + 2*sqrt(3)*(x^3 - 1)^(1/3))/x) + 4/243*log(-(x - (x^3 - 1)^(1/3))/ x) - 2/243*log((x^2 + (x^3 - 1)^(1/3)*x + (x^3 - 1)^(2/3))/x^2)
Result contains complex when optimal does not.
Time = 3.58 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.32 \[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=- \frac {x^{7} e^{- \frac {i \pi }{3}} \Gamma \left (\frac {7}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {7}{3} \\ \frac {10}{3} \end {matrix}\middle | {x^{3}} \right )}}{3 \Gamma \left (\frac {10}{3}\right )} \]
Time = 0.28 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.36 \[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=\frac {4}{243} \, \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 {\frac {2 \, {\left (x^{3} - 1\right )}^{\frac {2}{3}}}{x^{2}} + \frac {11 \, {\left (x^{3} - 1\right )}^{\frac {5}{3}}}{x^{5}} - \frac {4 \, {\left (x^{3} - 1\right )}^{\frac {8}{3}}}{x^{8}}}{81 \, {\left (\frac {3 \, {\left (x^{3} - 1\right )}}{x^{3}} - \frac {3 \, {\left (x^{3} - 1\right )}^{2}}{x^{6}} + \frac {{\left (x^{3} - 1\right )}^{3}}{x^{9}} - 1\right )}} - \frac {2}{243} \, \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 {4}{243} \, \log \left (\frac {{\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} - 1\right ) \]
4/243*sqrt(3)*arctan(1/3*sqrt(3)*(2*(x^3 - 1)^(1/3)/x + 1)) - 1/81*(2*(x^3 - 1)^(2/3)/x^2 + 11*(x^3 - 1)^(5/3)/x^5 - 4*(x^3 - 1)^(8/3)/x^8)/(3*(x^3 - 1)/x^3 - 3*(x^3 - 1)^2/x^6 + (x^3 - 1)^3/x^9 - 1) - 2/243*log((x^3 - 1)^ (1/3)/x + (x^3 - 1)^(2/3)/x^2 + 1) + 4/243*log((x^3 - 1)^(1/3)/x - 1)
\[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=\int { {\left (x^{3} - 1\right )}^{\frac {2}{3}} x^{6} \,d x } \]
Timed out. \[ \int x^6 \left (-1+x^3\right )^{2/3} \, dx=\int x^6\,{\left (x^3-1\right )}^{2/3} \,d x \]