\(\int \frac {(-1+x^3)^{2/3} (2+x^3)}{x^6 (2+x^3+2 x^6)} \, dx\) [1052]

Optimal result
Mathematica [A] (verified)
Rubi [C] (verified)
Maple [N/A] (verified)
Fricas [F(-2)]
Sympy [F(-1)]
Maxima [N/A]
Giac [F(-2)]
Mupad [N/A]
Reduce [N/A]

Optimal result

Integrand size = 30, antiderivative size = 79 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\frac {\left (-1+x^3\right )^{5/3}}{5 x^5}-\frac {2}{3} \text {RootSum}\left [5-5 \text {$\#$1}^3+2 \text {$\#$1}^6\&,\frac {-\log (x) \text {$\#$1}^2+\log \left (\sqrt [3]{-1+x^3}-x \text {$\#$1}\right ) \text {$\#$1}^2}{-5+4 \text {$\#$1}^3}\&\right ] \] Output:

Unintegrable
 

Mathematica [A] (verified)

Time = 0.21 (sec) , antiderivative size = 79, normalized size of antiderivative = 1.00 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\frac {\left (-1+x^3\right )^{5/3}}{5 x^5}-\frac {2}{3} \text {RootSum}\left [5-5 \text {$\#$1}^3+2 \text {$\#$1}^6\&,\frac {-\log (x) \text {$\#$1}^2+\log \left (\sqrt [3]{-1+x^3}-x \text {$\#$1}\right ) \text {$\#$1}^2}{-5+4 \text {$\#$1}^3}\&\right ] \] Input:

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

Output:

(-1 + x^3)^(5/3)/(5*x^5) - (2*RootSum[5 - 5*#1^3 + 2*#1^6 & , (-(Log[x]*#1 
^2) + Log[(-1 + x^3)^(1/3) - x*#1]*#1^2)/(-5 + 4*#1^3) & ])/3
 

Rubi [C] (verified)

Result contains complex when optimal does not.

Time = 1.00 (sec) , antiderivative size = 455, normalized size of antiderivative = 5.76, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {7279, 2009}

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} \left (x^3+2\right )}{x^6 \left (2 x^6+x^3+2\right )} \, dx\)

\(\Big \downarrow \) 7279

\(\displaystyle \int \left (\frac {\left (x^3-1\right )^{2/3}}{x^6}-\frac {2 \left (x^3-1\right )^{2/3}}{2 x^6+x^3+2}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {2 i \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{\frac {-\sqrt {15}+i}{-\sqrt {15}+5 i}} \sqrt [3]{x^3-1}}}{\sqrt {3}}\right )}{3 \sqrt {5} \left (\frac {-\sqrt {15}+i}{-\sqrt {15}+5 i}\right )^{2/3}}-\frac {2 i \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{\frac {\sqrt {15}+i}{\sqrt {15}+5 i}} \sqrt [3]{x^3-1}}}{\sqrt {3}}\right )}{3 \sqrt {5} \left (\frac {\sqrt {15}+i}{\sqrt {15}+5 i}\right )^{2/3}}-\frac {i \log \left (4 x^3-i \sqrt {15}+1\right )}{3 \sqrt {15} \left (\frac {\sqrt {15}+i}{\sqrt {15}+5 i}\right )^{2/3}}+\frac {i \log \left (4 x^3+i \sqrt {15}+1\right )}{3 \sqrt {15} \left (\frac {-\sqrt {15}+i}{-\sqrt {15}+5 i}\right )^{2/3}}-\frac {i \log \left (-\sqrt [3]{x^3-1}+\frac {x}{\sqrt [3]{\frac {-\sqrt {15}+i}{-\sqrt {15}+5 i}}}\right )}{\sqrt {15} \left (\frac {-\sqrt {15}+i}{-\sqrt {15}+5 i}\right )^{2/3}}+\frac {i \log \left (-\sqrt [3]{x^3-1}+\frac {x}{\sqrt [3]{\frac {\sqrt {15}+i}{\sqrt {15}+5 i}}}\right )}{\sqrt {15} \left (\frac {\sqrt {15}+i}{\sqrt {15}+5 i}\right )^{2/3}}+\frac {\left (x^3-1\right )^{5/3}}{5 x^5}\)

Input:

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

Output:

(-1 + x^3)^(5/3)/(5*x^5) + (((2*I)/3)*ArcTan[(1 + (2*x)/(((I - Sqrt[15])/( 
5*I - Sqrt[15]))^(1/3)*(-1 + x^3)^(1/3)))/Sqrt[3]])/(Sqrt[5]*((I - Sqrt[15 
])/(5*I - Sqrt[15]))^(2/3)) - (((2*I)/3)*ArcTan[(1 + (2*x)/(((I + Sqrt[15] 
)/(5*I + Sqrt[15]))^(1/3)*(-1 + x^3)^(1/3)))/Sqrt[3]])/(Sqrt[5]*((I + Sqrt 
[15])/(5*I + Sqrt[15]))^(2/3)) - ((I/3)*Log[1 - I*Sqrt[15] + 4*x^3])/(Sqrt 
[15]*((I + Sqrt[15])/(5*I + Sqrt[15]))^(2/3)) + ((I/3)*Log[1 + I*Sqrt[15] 
+ 4*x^3])/(Sqrt[15]*((I - Sqrt[15])/(5*I - Sqrt[15]))^(2/3)) - (I*Log[x/(( 
I - Sqrt[15])/(5*I - Sqrt[15]))^(1/3) - (-1 + x^3)^(1/3)])/(Sqrt[15]*((I - 
 Sqrt[15])/(5*I - Sqrt[15]))^(2/3)) + (I*Log[x/((I + Sqrt[15])/(5*I + Sqrt 
[15]))^(1/3) - (-1 + x^3)^(1/3)])/(Sqrt[15]*((I + Sqrt[15])/(5*I + Sqrt[15 
]))^(2/3))
 

Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 7279
Int[(u_)/((a_.) + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(n2_.)), x_Symbol] :> With[ 
{v = RationalFunctionExpand[u/(a + b*x^n + c*x^(2*n)), x]}, Int[v, x] /; Su 
mQ[v]] /; FreeQ[{a, b, c}, x] && EqQ[n2, 2*n] && IGtQ[n, 0]
 
Maple [N/A] (verified)

Time = 237.13 (sec) , antiderivative size = 79, normalized size of antiderivative = 1.00

method result size
pseudoelliptic \(\frac {-10 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (2 \textit {\_Z}^{6}-5 \textit {\_Z}^{3}+5\right )}{\sum }\frac {\textit {\_R}^{2} \ln \left (\frac {-\textit {\_R} x +\left (x^{3}-1\right )^{\frac {1}{3}}}{x}\right )}{4 \textit {\_R}^{3}-5}\right ) x^{5}+3 x^{3} \left (x^{3}-1\right )^{\frac {2}{3}}-3 \left (x^{3}-1\right )^{\frac {2}{3}}}{15 x^{5}}\) \(79\)
risch \(\text {Expression too large to display}\) \(7735\)
trager \(\text {Expression too large to display}\) \(9170\)

Input:

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

Output:

1/15*(-10*sum(_R^2*ln((-_R*x+(x^3-1)^(1/3))/x)/(4*_R^3-5),_R=RootOf(2*_Z^6 
-5*_Z^3+5))*x^5+3*x^3*(x^3-1)^(2/3)-3*(x^3-1)^(2/3))/x^5
 

Fricas [F(-2)]

Exception generated. \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\text {Exception raised: TypeError} \] Input:

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

Output:

Exception raised: TypeError >>  Error detected within library code:   inte 
grate: implementation incomplete (trace 0)
 

Sympy [F(-1)]

Timed out. \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\text {Timed out} \] Input:

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

Output:

Timed out
 

Maxima [N/A]

Not integrable

Time = 0.17 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.38 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\int { \frac {{\left (x^{3} + 2\right )} {\left (x^{3} - 1\right )}^{\frac {2}{3}}}{{\left (2 \, x^{6} + x^{3} + 2\right )} x^{6}} \,d x } \] Input:

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

Output:

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

Giac [F(-2)]

Exception generated. \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\text {Exception raised: RuntimeError} \] Input:

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

Output:

Exception raised: RuntimeError >> an error occurred running a Giac command 
:INPUT:sage2OUTPUT:Invalid _EXT in replace_ext Error: Bad Argument Valuein 
tegrate((2*sageVARx^6+sageVARx^3+2)^-1*(sageVARx^3+2)*((sageVARx^3-1)^(1/3 
))^2/sageVAR
 

Mupad [N/A]

Not integrable

Time = 8.41 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.38 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\int \frac {{\left (x^3-1\right )}^{2/3}\,\left (x^3+2\right )}{x^6\,\left (2\,x^6+x^3+2\right )} \,d x \] Input:

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

Output:

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

Reduce [N/A]

Not integrable

Time = 0.18 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.65 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (2+x^3+2 x^6\right )} \, dx=\frac {17 \left (x^{3}-1\right )^{\frac {2}{3}} x^{3}-2 \left (x^{3}-1\right )^{\frac {2}{3}}-60 \left (\int \frac {\left (x^{3}-1\right )^{\frac {2}{3}}}{2 x^{12}-x^{9}+x^{6}-2 x^{3}}d x \right ) x^{5}-10 \left (\int \frac {\left (x^{3}-1\right )^{\frac {2}{3}}}{2 x^{9}-x^{6}+x^{3}-2}d x \right ) x^{5}-80 \left (\int \frac {\left (x^{3}-1\right )^{\frac {2}{3}} x^{3}}{2 x^{9}-x^{6}+x^{3}-2}d x \right ) x^{5}}{10 x^{5}} \] Input:

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

Output:

(17*(x**3 - 1)**(2/3)*x**3 - 2*(x**3 - 1)**(2/3) - 60*int((x**3 - 1)**(2/3 
)/(2*x**12 - x**9 + x**6 - 2*x**3),x)*x**5 - 10*int((x**3 - 1)**(2/3)/(2*x 
**9 - x**6 + x**3 - 2),x)*x**5 - 80*int(((x**3 - 1)**(2/3)*x**3)/(2*x**9 - 
 x**6 + x**3 - 2),x)*x**5)/(10*x**5)