3.16.48 \(\int x^6 (-1+x^3)^{2/3} \, dx\)

Optimal. Leaf size=107 \[ \frac {4}{243} \log \left (\sqrt [3]{x^3-1}-x\right )-\frac {4 \tan ^{-1}\left (\frac {\sqrt {3} x}{2 \sqrt [3]{x^3-1}+x}\right )}{81 \sqrt {3}}-\frac {2}{243} \log \left (\sqrt [3]{x^3-1} x+\left (x^3-1\right )^{2/3}+x^2\right )+\frac {1}{81} \left (x^3-1\right )^{2/3} \left (9 x^7-3 x^4-4 x\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 95, normalized size of antiderivative = 0.89, number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {279, 321, 239} \begin {gather*} -\frac {4}{81} \left (x^3-1\right )^{2/3} x+\frac {2}{81} \log \left (\sqrt [3]{x^3-1}-x\right )-\frac {4 \tan ^{-1}\left (\frac {\frac {2 x}{\sqrt [3]{x^3-1}}+1}{\sqrt {3}}\right )}{81 \sqrt {3}}+\frac {1}{9} \left (x^3-1\right )^{2/3} x^7-\frac {1}{27} \left (x^3-1\right )^{2/3} x^4 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^6*(-1 + x^3)^(2/3),x]

[Out]

(-4*x*(-1 + x^3)^(2/3))/81 - (x^4*(-1 + x^3)^(2/3))/27 + (x^7*(-1 + x^3)^(2/3))/9 - (4*ArcTan[(1 + (2*x)/(-1 +
 x^3)^(1/3))/Sqrt[3]])/(81*Sqrt[3]) + (2*Log[-x + (-1 + x^3)^(1/3)])/81

Rule 239

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]]/(Sq
rt[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]

Rule 279

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] + Dist[(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]
&& IGtQ[n, 0] && GtQ[p, 0] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 321

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] - Dist[(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]

Rubi steps

\begin {align*} \int x^6 \left (-1+x^3\right )^{2/3} \, dx &=\frac {1}{9} x^7 \left (-1+x^3\right )^{2/3}-\frac {2}{9} \int \frac {x^6}{\sqrt [3]{-1+x^3}} \, dx\\ &=-\frac {1}{27} x^4 \left (-1+x^3\right )^{2/3}+\frac {1}{9} x^7 \left (-1+x^3\right )^{2/3}-\frac {4}{27} \int \frac {x^3}{\sqrt [3]{-1+x^3}} \, dx\\ &=-\frac {4}{81} x \left (-1+x^3\right )^{2/3}-\frac {1}{27} x^4 \left (-1+x^3\right )^{2/3}+\frac {1}{9} x^7 \left (-1+x^3\right )^{2/3}-\frac {4}{81} \int \frac {1}{\sqrt [3]{-1+x^3}} \, dx\\ &=-\frac {4}{81} x \left (-1+x^3\right )^{2/3}-\frac {1}{27} x^4 \left (-1+x^3\right )^{2/3}+\frac {1}{9} x^7 \left (-1+x^3\right )^{2/3}-\frac {4 \tan ^{-1}\left (\frac {1+\frac {2 x}{\sqrt [3]{-1+x^3}}}{\sqrt {3}}\right )}{81 \sqrt {3}}+\frac {2}{81} \log \left (-x+\sqrt [3]{-1+x^3}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.02, size = 65, normalized size = 0.61 \begin {gather*} \frac {x \left (x^3-1\right )^{2/3} \left (2 \, _2F_1\left (-\frac {2}{3},\frac {1}{3};\frac {4}{3};x^3\right )+\left (1-x^3\right )^{2/3} \left (3 x^6-x^3-2\right )\right )}{27 \left (1-x^3\right )^{2/3}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^6*(-1 + x^3)^(2/3),x]

[Out]

(x*(-1 + x^3)^(2/3)*((1 - x^3)^(2/3)*(-2 - x^3 + 3*x^6) + 2*Hypergeometric2F1[-2/3, 1/3, 4/3, x^3]))/(27*(1 -
x^3)^(2/3))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.26, size = 107, normalized size = 1.00 \begin {gather*} \frac {1}{81} \left (-1+x^3\right )^{2/3} \left (-4 x-3 x^4+9 x^7\right )-\frac {4 \tan ^{-1}\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 ) \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x^6*(-1 + x^3)^(2/3),x]

[Out]

((-1 + x^3)^(2/3)*(-4*x - 3*x^4 + 9*x^7))/81 - (4*ArcTan[(Sqrt[3]*x)/(x + 2*(-1 + x^3)^(1/3))])/(81*Sqrt[3]) +
 (4*Log[-x + (-1 + x^3)^(1/3)])/243 - (2*Log[x^2 + x*(-1 + x^3)^(1/3) + (-1 + x^3)^(2/3)])/243

________________________________________________________________________________________

fricas [A]  time = 0.49, size = 99, normalized size = 0.93 \begin {gather*} \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 ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^6*(x^3-1)^(2/3),x, algorithm="fricas")

[Out]

1/81*(9*x^7 - 3*x^4 - 4*x)*(x^3 - 1)^(2/3) + 4/243*sqrt(3)*arctan(1/3*(sqrt(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)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int {\left (x^{3} - 1\right )}^{\frac {2}{3}} x^{6}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^6*(x^3-1)^(2/3),x, algorithm="giac")

[Out]

integrate((x^3 - 1)^(2/3)*x^6, x)

________________________________________________________________________________________

maple [C]  time = 1.80, size = 33, normalized size = 0.31

method result size
meijerg \(\frac {\mathrm {signum}\left (x^{3}-1\right )^{\frac {2}{3}} x^{7} \hypergeom \left (\left [-\frac {2}{3}, \frac {7}{3}\right ], \left [\frac {10}{3}\right ], x^{3}\right )}{7 \left (-\mathrm {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 (-\mathrm {signum}\left (x^{3}-1\right )\right )^{\frac {1}{3}} x \hypergeom \left (\left [\frac {1}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], x^{3}\right )}{81 \mathrm {signum}\left (x^{3}-1\right )^{\frac {1}{3}}}\) \(54\)
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 \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 )}{243}+\frac {4 \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 )}{243}\) \(204\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^6*(x^3-1)^(2/3),x,method=_RETURNVERBOSE)

[Out]

1/7*signum(x^3-1)^(2/3)/(-signum(x^3-1))^(2/3)*x^7*hypergeom([-2/3,7/3],[10/3],x^3)

________________________________________________________________________________________

maxima [A]  time = 0.41, size = 145, normalized size = 1.36 \begin {gather*} \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 ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^6*(x^3-1)^(2/3),x, algorithm="maxima")

[Out]

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)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^6\,{\left (x^3-1\right )}^{2/3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^6*(x^3 - 1)^(2/3),x)

[Out]

int(x^6*(x^3 - 1)^(2/3), x)

________________________________________________________________________________________

sympy [C]  time = 1.32, size = 34, normalized size = 0.32 \begin {gather*} - \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 )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**6*(x**3-1)**(2/3),x)

[Out]

-x**7*exp(-I*pi/3)*gamma(7/3)*hyper((-2/3, 7/3), (10/3,), x**3)/(3*gamma(10/3))

________________________________________________________________________________________