Integrand size = 30, antiderivative size = 112 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\frac {\left (-1+x^3\right )^{2/3} \left (-4+9 x^3\right )}{20 x^5}-\frac {1}{12} \text {RootSum}\left [7-10 \text {$\#$1}^3+4 \text {$\#$1}^6\&,\frac {-7 \log (x)+7 \log \left (\sqrt [3]{-1+x^3}-x \text {$\#$1}\right )+6 \log (x) \text {$\#$1}^3-6 \log \left (\sqrt [3]{-1+x^3}-x \text {$\#$1}\right ) \text {$\#$1}^3}{-5 \text {$\#$1}+4 \text {$\#$1}^4}\&\right ] \]
Time = 0.00 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.00 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\frac {\left (-1+x^3\right )^{2/3} \left (-4+9 x^3\right )}{20 x^5}-\frac {1}{12} \text {RootSum}\left [7-10 \text {$\#$1}^3+4 \text {$\#$1}^6\&,\frac {-7 \log (x)+7 \log \left (\sqrt [3]{-1+x^3}-x \text {$\#$1}\right )+6 \log (x) \text {$\#$1}^3-6 \log \left (\sqrt [3]{-1+x^3}-x \text {$\#$1}\right ) \text {$\#$1}^3}{-5 \text {$\#$1}+4 \text {$\#$1}^4}\&\right ] \]
((-1 + x^3)^(2/3)*(-4 + 9*x^3))/(20*x^5) - RootSum[7 - 10*#1^3 + 4*#1^6 & , (-7*Log[x] + 7*Log[(-1 + x^3)^(1/3) - x*#1] + 6*Log[x]*#1^3 - 6*Log[(-1 + x^3)^(1/3) - x*#1]*#1^3)/(-5*#1 + 4*#1^4) & ]/12
Result contains complex when optimal does not.
Time = 1.01 (sec) , antiderivative size = 679, normalized size of antiderivative = 6.06, 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^6+4\right )}{x^6 \left (x^6+2 x^3+4\right )} \, dx\) |
\(\Big \downarrow \) 7279 |
\(\displaystyle \int \left (-\frac {\left (x^3-1\right )^{2/3}}{2 x^3}+\frac {\left (x^3-1\right )^{2/3} \left (x^3+2\right )}{2 \left (x^6+2 x^3+4\right )}+\frac {\left (x^3-1\right )^{2/3}}{x^6}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{12} \left (\sqrt {3}+i\right ) \arctan \left (\frac {\frac {2 x}{\sqrt [3]{x^3-1}}+1}{\sqrt {3}}\right )-\frac {1}{12} \left (-\sqrt {3}+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 )}{2 \sqrt {3}}-\frac {\left (\sqrt {3}+i\right ) \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{\frac {-\sqrt {3}+i}{-\sqrt {3}+2 i}} \sqrt [3]{x^3-1}}}{\sqrt {3}}\right )}{12 \left (\frac {-\sqrt {3}+i}{-\sqrt {3}+2 i}\right )^{2/3}}+\frac {\left (-\sqrt {3}+i\right ) \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{\frac {\sqrt {3}+i}{\sqrt {3}+2 i}} \sqrt [3]{x^3-1}}}{\sqrt {3}}\right )}{12 \left (\frac {\sqrt {3}+i}{\sqrt {3}+2 i}\right )^{2/3}}-\frac {\left (3-i \sqrt {3}\right ) \log \left (2 x^3+2 \left (1-i \sqrt {3}\right )\right )}{72 \left (\frac {\sqrt {3}+i}{\sqrt {3}+2 i}\right )^{2/3}}-\frac {\left (3+i \sqrt {3}\right ) \log \left (2 x^3+2 \left (1+i \sqrt {3}\right )\right )}{72 \left (\frac {-\sqrt {3}+i}{-\sqrt {3}+2 i}\right )^{2/3}}+\frac {\left (3+i \sqrt {3}\right ) \log \left (-\sqrt [3]{x^3-1}+\frac {x}{\sqrt [3]{\frac {-\sqrt {3}+i}{-\sqrt {3}+2 i}}}\right )}{24 \left (\frac {-\sqrt {3}+i}{-\sqrt {3}+2 i}\right )^{2/3}}+\frac {\left (3-i \sqrt {3}\right ) \log \left (-\sqrt [3]{x^3-1}+\frac {x}{\sqrt [3]{\frac {\sqrt {3}+i}{\sqrt {3}+2 i}}}\right )}{24 \left (\frac {\sqrt {3}+i}{\sqrt {3}+2 i}\right )^{2/3}}-\frac {1}{24} \left (3+i \sqrt {3}\right ) \log \left (\sqrt [3]{x^3-1}-x\right )-\frac {1}{24} \left (3-i \sqrt {3}\right ) \log \left (\sqrt [3]{x^3-1}-x\right )+\frac {1}{4} \log \left (\sqrt [3]{x^3-1}-x\right )+\frac {\left (x^3-1\right )^{5/3}}{5 x^5}+\frac {\left (x^3-1\right )^{2/3}}{4 x^2}\) |
(-1 + x^3)^(2/3)/(4*x^2) + (-1 + x^3)^(5/3)/(5*x^5) - ArcTan[(1 + (2*x)/(- 1 + x^3)^(1/3))/Sqrt[3]]/(2*Sqrt[3]) - ((I - Sqrt[3])*ArcTan[(1 + (2*x)/(- 1 + x^3)^(1/3))/Sqrt[3]])/12 + ((I + Sqrt[3])*ArcTan[(1 + (2*x)/(-1 + x^3) ^(1/3))/Sqrt[3]])/12 - ((I + Sqrt[3])*ArcTan[(1 + (2*x)/(((I - Sqrt[3])/(2 *I - Sqrt[3]))^(1/3)*(-1 + x^3)^(1/3)))/Sqrt[3]])/(12*((I - Sqrt[3])/(2*I - Sqrt[3]))^(2/3)) + ((I - Sqrt[3])*ArcTan[(1 + (2*x)/(((I + Sqrt[3])/(2*I + Sqrt[3]))^(1/3)*(-1 + x^3)^(1/3)))/Sqrt[3]])/(12*((I + Sqrt[3])/(2*I + Sqrt[3]))^(2/3)) - ((3 - I*Sqrt[3])*Log[2*(1 - I*Sqrt[3]) + 2*x^3])/(72*(( I + Sqrt[3])/(2*I + Sqrt[3]))^(2/3)) - ((3 + I*Sqrt[3])*Log[2*(1 + I*Sqrt[ 3]) + 2*x^3])/(72*((I - Sqrt[3])/(2*I - Sqrt[3]))^(2/3)) + ((3 + I*Sqrt[3] )*Log[x/((I - Sqrt[3])/(2*I - Sqrt[3]))^(1/3) - (-1 + x^3)^(1/3)])/(24*((I - Sqrt[3])/(2*I - Sqrt[3]))^(2/3)) + ((3 - I*Sqrt[3])*Log[x/((I + Sqrt[3] )/(2*I + Sqrt[3]))^(1/3) - (-1 + x^3)^(1/3)])/(24*((I + Sqrt[3])/(2*I + Sq rt[3]))^(2/3)) + Log[-x + (-1 + x^3)^(1/3)]/4 - ((3 - I*Sqrt[3])*Log[-x + (-1 + x^3)^(1/3)])/24 - ((3 + I*Sqrt[3])*Log[-x + (-1 + x^3)^(1/3)])/24
3.17.71.3.1 Defintions of rubi rules used
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]
Result contains higher order function than in optimal. Order 9 vs. order 1.
Time = 5.32 (sec) , antiderivative size = 1803, normalized size of antiderivative = 16.10
\[\text {Expression too large to display}\]
1/20*(9*x^6-13*x^3+4)/x^5/(x^3-1)^(1/3)+1/72*RootOf(_Z^3+46656*RootOf(3149 28*_Z^6-4860*_Z^3+49)^3-720)*ln(-(13226976*RootOf(314928*_Z^6-4860*_Z^3+49 )^6*RootOf(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+49)^3-720)*x^3+28512*(x ^3-1)^(1/3)*RootOf(314928*_Z^6-4860*_Z^3+49)^3*RootOf(_Z^3+46656*RootOf(31 4928*_Z^6-4860*_Z^3+49)^3-720)^2*x^2-175608*RootOf(_Z^3+46656*RootOf(31492 8*_Z^6-4860*_Z^3+49)^3-720)*RootOf(314928*_Z^6-4860*_Z^3+49)^3*x^3-1967328 *(x^3-1)^(2/3)*RootOf(314928*_Z^6-4860*_Z^3+49)^3*x-99*(x^3-1)^(1/3)*RootO f(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+49)^3-720)^2*x^2-99792*RootOf(31 4928*_Z^6-4860*_Z^3+49)^3*RootOf(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+4 9)^3-720)-340*RootOf(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+49)^3-720)*x^ 3+13728*x*(x^3-1)^(2/3)+1496*RootOf(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^ 3+49)^3-720))/(486*RootOf(314928*_Z^6-4860*_Z^3+49)^3*x^3-x^3+11))+27/22*l n((8817984*RootOf(314928*_Z^6-4860*_Z^3+49)^6*RootOf(_Z^3+46656*RootOf(314 928*_Z^6-4860*_Z^3+49)^3-720)*x^3+17820*(x^3-1)^(1/3)*RootOf(314928*_Z^6-4 860*_Z^3+49)^3*RootOf(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+49)^3-720)^2 *x^2-314280*RootOf(_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+49)^3-720)*Root Of(314928*_Z^6-4860*_Z^3+49)^3*x^3-684288*(x^3-1)^(2/3)*RootOf(314928*_Z^6 -4860*_Z^3+49)^3*x-319*(x^3-1)^(1/3)*RootOf(_Z^3+46656*RootOf(314928*_Z^6- 4860*_Z^3+49)^3-720)^2*x^2+99792*RootOf(314928*_Z^6-4860*_Z^3+49)^3*RootOf (_Z^3+46656*RootOf(314928*_Z^6-4860*_Z^3+49)^3-720)+1416*RootOf(_Z^3+46...
Exception generated. \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\text {Exception raised: TypeError} \]
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 (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\text {Timed out} \]
Not integrable
Time = 0.32 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.27 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\int { \frac {{\left (x^{6} + 4\right )} {\left (x^{3} - 1\right )}^{\frac {2}{3}}}{{\left (x^{6} + 2 \, x^{3} + 4\right )} x^{6}} \,d x } \]
Not integrable
Time = 0.30 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.27 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\int { \frac {{\left (x^{6} + 4\right )} {\left (x^{3} - 1\right )}^{\frac {2}{3}}}{{\left (x^{6} + 2 \, x^{3} + 4\right )} x^{6}} \,d x } \]
Not integrable
Time = 0.00 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.27 \[ \int \frac {\left (-1+x^3\right )^{2/3} \left (4+x^6\right )}{x^6 \left (4+2 x^3+x^6\right )} \, dx=\int \frac {{\left (x^3-1\right )}^{2/3}\,\left (x^6+4\right )}{x^6\,\left (x^6+2\,x^3+4\right )} \,d x \]