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

3.11.52.1 Optimal result
3.11.52.2 Mathematica [A] (verified)
3.11.52.3 Rubi [C] (verified)
3.11.52.4 Maple [N/A] (verified)
3.11.52.5 Fricas [F(-2)]
3.11.52.6 Sympy [F(-1)]
3.11.52.7 Maxima [N/A]
3.11.52.8 Giac [F(-2)]
3.11.52.9 Mupad [N/A]

3.11.52.1 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
 
3.11.52.2 Mathematica [A] (verified)

Time = 0.18 (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
 
3.11.52.3 Rubi [C] (verified)

Result contains complex when optimal does not.

Time = 1.04 (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))
 

3.11.52.3.1 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]
 
3.11.52.4 Maple [N/A] (verified)

Time = 250.30 (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}\) \(8355\)
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
 
3.11.52.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)
 
3.11.52.6 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
 
3.11.52.7 Maxima [N/A]

Not integrable

Time = 0.32 (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)
 
3.11.52.8 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
 
3.11.52.9 Mupad [N/A]

Not integrable

Time = 6.04 (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)