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 ] \]
[Out]
Result contains complex when optimal does not.
Time = 0.58 (sec) , antiderivative size = 455, normalized size of antiderivative = 5.76, number of steps used = 10, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6860, 270, 1442, 399, 245, 384} \[ \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 {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} \]
[In]
[Out]
Rule 245
Rule 270
Rule 384
Rule 399
Rule 1442
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\left (-1+x^3\right )^{2/3}}{x^6}-\frac {2 \left (-1+x^3\right )^{2/3}}{2+x^3+2 x^6}\right ) \, dx \\ & = -\left (2 \int \frac {\left (-1+x^3\right )^{2/3}}{2+x^3+2 x^6} \, dx\right )+\int \frac {\left (-1+x^3\right )^{2/3}}{x^6} \, dx \\ & = \frac {\left (-1+x^3\right )^{5/3}}{5 x^5}+\frac {(8 i) \int \frac {\left (-1+x^3\right )^{2/3}}{1-i \sqrt {15}+4 x^3} \, dx}{\sqrt {15}}-\frac {(8 i) \int \frac {\left (-1+x^3\right )^{2/3}}{1+i \sqrt {15}+4 x^3} \, dx}{\sqrt {15}} \\ & = \frac {\left (-1+x^3\right )^{5/3}}{5 x^5}-\frac {1}{3} \left (2 \left (3-i \sqrt {15}\right )\right ) \int \frac {1}{\sqrt [3]{-1+x^3} \left (1+i \sqrt {15}+4 x^3\right )} \, dx-\frac {1}{3} \left (2 \left (3+i \sqrt {15}\right )\right ) \int \frac {1}{\sqrt [3]{-1+x^3} \left (1-i \sqrt {15}+4 x^3\right )} \, dx \\ & = \frac {\left (-1+x^3\right )^{5/3}}{5 x^5}+\frac {2 i \left (-5 i+\sqrt {15}\right )^{2/3} \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{\frac {i-\sqrt {15}}{5 i-\sqrt {15}}} \sqrt [3]{-1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {5} \left (-i+\sqrt {15}\right )^{2/3}}-\frac {2 \left (i \sqrt {3}-\sqrt {5}\right ) \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{\frac {i+\sqrt {15}}{5 i+\sqrt {15}}} \sqrt [3]{-1+x^3}}}{\sqrt {3}}\right )}{3 \left (i+\sqrt {15}\right )^{2/3} \sqrt [3]{5 i+\sqrt {15}}}-\frac {i \left (5 i+\sqrt {15}\right )^{2/3} \log \left (1-i \sqrt {15}+4 x^3\right )}{3 \sqrt {15} \left (i+\sqrt {15}\right )^{2/3}}+\frac {i \left (-5 i+\sqrt {15}\right )^{2/3} \log \left (1+i \sqrt {15}+4 x^3\right )}{3 \sqrt {15} \left (-i+\sqrt {15}\right )^{2/3}}-\frac {i \left (-5 i+\sqrt {15}\right )^{2/3} \log \left (\frac {x}{\sqrt [3]{\frac {i-\sqrt {15}}{5 i-\sqrt {15}}}}-\sqrt [3]{-1+x^3}\right )}{\sqrt {15} \left (-i+\sqrt {15}\right )^{2/3}}+\frac {i \left (5 i+\sqrt {15}\right )^{2/3} \log \left (\frac {x}{\sqrt [3]{\frac {i+\sqrt {15}}{5 i+\sqrt {15}}}}-\sqrt [3]{-1+x^3}\right )}{\sqrt {15} \left (i+\sqrt {15}\right )^{2/3}} \\ \end{align*}
Time = 0.00 (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 ] \]
[In]
[Out]
Time = 0.03 (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\) |
[In]
[Out]
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} \]
[In]
[Out]
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} \]
[In]
[Out]
Not integrable
Time = 0.33 (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 } \]
[In]
[Out]
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} \]
[In]
[Out]
Not integrable
Time = 0.00 (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 \]
[In]
[Out]