Integrand size = 33, antiderivative size = 76 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\frac {\left (-4+x^3\right ) \left (1+x^3\right )^{2/3}}{10 x^5}-\frac {1}{3} \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-\log (x)+\log \left (\sqrt [3]{1+x^3}-x \text {$\#$1}\right )}{-\text {$\#$1}+2 \text {$\#$1}^4}\&\right ] \] Output:
Unintegrable
Time = 0.00 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.00 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\frac {\left (-4+x^3\right ) \left (1+x^3\right )^{2/3}}{10 x^5}-\frac {1}{3} \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-\log (x)+\log \left (\sqrt [3]{1+x^3}-x \text {$\#$1}\right )}{-\text {$\#$1}+2 \text {$\#$1}^4}\&\right ] \] Input:
Integrate[((1 + x^3)^(2/3)*(2 + x^3 + 2*x^6))/(x^6*(1 + x^3 + x^6)),x]
Output:
((-4 + x^3)*(1 + x^3)^(2/3))/(10*x^5) - RootSum[1 - #1^3 + #1^6 & , (-Log[ x] + Log[(1 + x^3)^(1/3) - x*#1])/(-#1 + 2*#1^4) & ]/3
Result contains complex when optimal does not.
Time = 0.87 (sec) , antiderivative size = 651, normalized size of antiderivative = 8.57, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, 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 (2 x^6+x^3+2\right )}{x^6 \left (x^6+x^3+1\right )} \, dx\) |
\(\Big \downarrow \) 7279 |
\(\displaystyle \int \left (-\frac {\left (x^3+1\right )^{2/3}}{x^3}+\frac {\left (x^3+1\right )^{5/3}}{x^6+x^3+1}+\frac {2 \left (x^3+1\right )^{2/3}}{x^6}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{18} \left (3 \sqrt {3}+7 i\right ) \arctan \left (\frac {\frac {2 x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )-\frac {1}{18} \left (-3 \sqrt {3}+7 i\right ) \arctan \left (\frac {\frac {2 x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )-\frac {\arctan \left (\frac {\frac {2 x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{3} i \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \sqrt [3]{x^3+1}}}{\sqrt {3}}\right )+\frac {i \arctan \left (\frac {1+\frac {2 \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} x}{\sqrt [3]{x^3+1}}}{\sqrt {3}}\right )}{3 \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}}}+\frac {i \log \left (2 x^3-i \sqrt {3}+1\right )}{6 \sqrt {3} \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}}}-\frac {i \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \log \left (2 x^3+i \sqrt {3}+1\right )}{6 \sqrt {3}}+\frac {i \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \log \left (-\sqrt [3]{x^3+1}+\frac {x}{\sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}}}\right )}{2 \sqrt {3}}-\frac {i \log \left (-\sqrt [3]{x^3+1}+\sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} x\right )}{2 \sqrt {3} \sqrt [3]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}}}-\frac {1}{36} \left (9+7 i \sqrt {3}\right ) \log \left (\sqrt [3]{x^3+1}-x\right )-\frac {1}{36} \left (9-7 i \sqrt {3}\right ) \log \left (\sqrt [3]{x^3+1}-x\right )+\frac {1}{2} \log \left (\sqrt [3]{x^3+1}-x\right )-\frac {2 \left (x^3+1\right )^{5/3}}{5 x^5}+\frac {\left (x^3+1\right )^{2/3}}{2 x^2}\) |
Input:
Int[((1 + x^3)^(2/3)*(2 + x^3 + 2*x^6))/(x^6*(1 + x^3 + x^6)),x]
Output:
(1 + x^3)^(2/3)/(2*x^2) - (2*(1 + x^3)^(5/3))/(5*x^5) - ArcTan[(1 + (2*x)/ (1 + x^3)^(1/3))/Sqrt[3]]/Sqrt[3] - ((7*I - 3*Sqrt[3])*ArcTan[(1 + (2*x)/( 1 + x^3)^(1/3))/Sqrt[3]])/18 + ((7*I + 3*Sqrt[3])*ArcTan[(1 + (2*x)/(1 + x ^3)^(1/3))/Sqrt[3]])/18 - (I/3)*(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3)*Arc Tan[(1 + (2*x)/((-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3)*(1 + x^3)^(1/3)))/S qrt[3]] + ((I/3)*ArcTan[(1 + (2*(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3)*x)/ (1 + x^3)^(1/3))/Sqrt[3]])/(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3) + ((I/6) *Log[1 - I*Sqrt[3] + 2*x^3])/(Sqrt[3]*(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/ 3)) - ((I/6)*(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3)*Log[1 + I*Sqrt[3] + 2* x^3])/Sqrt[3] + ((I/2)*(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3)*Log[x/(-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3) - (1 + x^3)^(1/3)])/Sqrt[3] - ((I/2)*Log[ (-((I - Sqrt[3])/(I + Sqrt[3])))^(1/3)*x - (1 + x^3)^(1/3)])/(Sqrt[3]*(-(( I - Sqrt[3])/(I + Sqrt[3])))^(1/3)) + Log[-x + (1 + x^3)^(1/3)]/2 - ((9 - (7*I)*Sqrt[3])*Log[-x + (1 + x^3)^(1/3)])/36 - ((9 + (7*I)*Sqrt[3])*Log[-x + (1 + x^3)^(1/3)])/36
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]
Time = 18.18 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.00
method | result | size |
pseudoelliptic | \(\frac {-10 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{6}-\textit {\_Z}^{3}+1\right )}{\sum }\frac {\ln \left (\frac {-\textit {\_R} x +\left (x^{3}+1\right )^{\frac {1}{3}}}{x}\right )}{2 \textit {\_R}^{4}-\textit {\_R}}\right ) x^{5}+3 x^{3} \left (x^{3}+1\right )^{\frac {2}{3}}-12 \left (x^{3}+1\right )^{\frac {2}{3}}}{30 x^{5}}\) | \(76\) |
risch | \(\text {Expression too large to display}\) | \(1458\) |
trager | \(\text {Expression too large to display}\) | \(3743\) |
Input:
int((x^3+1)^(2/3)*(2*x^6+x^3+2)/x^6/(x^6+x^3+1),x,method=_RETURNVERBOSE)
Output:
1/30*(-10*sum(ln((-_R*x+(x^3+1)^(1/3))/x)/(2*_R^4-_R),_R=RootOf(_Z^6-_Z^3+ 1))*x^5+3*x^3*(x^3+1)^(2/3)-12*(x^3+1)^(2/3))/x^5
Exception generated. \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\text {Exception raised: TypeError} \] Input:
integrate((x^3+1)^(2/3)*(2*x^6+x^3+2)/x^6/(x^6+x^3+1),x, algorithm="fricas ")
Output:
Exception raised: TypeError >> Error detected within library code: inte grate: implementation incomplete (trace 0)
Timed out. \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\text {Timed out} \] Input:
integrate((x**3+1)**(2/3)*(2*x**6+x**3+2)/x**6/(x**6+x**3+1),x)
Output:
Timed out
Not integrable
Time = 0.19 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.43 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\int { \frac {{\left (2 \, x^{6} + x^{3} + 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{6} + x^{3} + 1\right )} x^{6}} \,d x } \] Input:
integrate((x^3+1)^(2/3)*(2*x^6+x^3+2)/x^6/(x^6+x^3+1),x, algorithm="maxima ")
Output:
integrate((2*x^6 + x^3 + 2)*(x^3 + 1)^(2/3)/((x^6 + x^3 + 1)*x^6), x)
Not integrable
Time = 0.26 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.43 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\int { \frac {{\left (2 \, x^{6} + x^{3} + 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{6} + x^{3} + 1\right )} x^{6}} \,d x } \] Input:
integrate((x^3+1)^(2/3)*(2*x^6+x^3+2)/x^6/(x^6+x^3+1),x, algorithm="giac")
Output:
integrate((2*x^6 + x^3 + 2)*(x^3 + 1)^(2/3)/((x^6 + x^3 + 1)*x^6), x)
Not integrable
Time = 0.00 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.43 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\int \frac {{\left (x^3+1\right )}^{2/3}\,\left (2\,x^6+x^3+2\right )}{x^6\,\left (x^6+x^3+1\right )} \,d x \] Input:
int(((x^3 + 1)^(2/3)*(x^3 + 2*x^6 + 2))/(x^6*(x^3 + x^6 + 1)),x)
Output:
int(((x^3 + 1)^(2/3)*(x^3 + 2*x^6 + 2))/(x^6*(x^3 + x^6 + 1)), x)
Not integrable
Time = 0.19 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.80 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+2 x^6\right )}{x^6 \left (1+x^3+x^6\right )} \, dx=\frac {\left (x^{3}+1\right )^{\frac {2}{3}} x^{3}-4 \left (x^{3}+1\right )^{\frac {2}{3}}+10 \left (\int \frac {\left (x^{3}+1\right )^{\frac {2}{3}} x^{3}}{x^{9}+2 x^{6}+2 x^{3}+1}d x \right ) x^{5}}{10 x^{5}} \] Input:
int((x^3+1)^(2/3)*(2*x^6+x^3+2)/x^6/(x^6+x^3+1),x)
Output:
((x**3 + 1)**(2/3)*x**3 - 4*(x**3 + 1)**(2/3) + 10*int(((x**3 + 1)**(2/3)* x**3)/(x**9 + 2*x**6 + 2*x**3 + 1),x)*x**5)/(10*x**5)