Integrand size = 34, antiderivative size = 163 \[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=-\sqrt {3} \arctan \left (\frac {3 \sqrt {3} x \sqrt [3]{-x+x^4}-3 x^2 \sqrt [3]{-x+x^4}}{-6+2 \sqrt {3} x-3 x \sqrt [3]{-x+x^4}+\sqrt {3} x^2 \sqrt [3]{-x+x^4}}\right )+2 \text {arctanh}\left (1-2 x \sqrt [3]{-x+x^4}\right )-\text {arctanh}\left (\frac {1+x \sqrt [3]{-x+x^4}}{1+x \sqrt [3]{-x+x^4}+2 x^2 \left (-x+x^4\right )^{2/3}}\right ) \]
[Out]
\[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=\int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^3}\right ) \int \frac {x^{5/3} \left (-4+7 x^3\right )}{\sqrt [3]{-1+x^3} \left (-1-x^4+x^7\right )} \, dx}{\sqrt [3]{-x+x^4}} \\ & = \frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^3}\right ) \text {Subst}\left (\int \frac {x^7 \left (-4+7 x^9\right )}{\sqrt [3]{-1+x^9} \left (-1-x^{12}+x^{21}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^4}} \\ & = \frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^3}\right ) \text {Subst}\left (\int \left (-\frac {4 x^7}{\sqrt [3]{-1+x^9} \left (-1-x^{12}+x^{21}\right )}+\frac {7 x^{16}}{\sqrt [3]{-1+x^9} \left (-1-x^{12}+x^{21}\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^4}} \\ & = -\frac {\left (12 \sqrt [3]{x} \sqrt [3]{-1+x^3}\right ) \text {Subst}\left (\int \frac {x^7}{\sqrt [3]{-1+x^9} \left (-1-x^{12}+x^{21}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^4}}+\frac {\left (21 \sqrt [3]{x} \sqrt [3]{-1+x^3}\right ) \text {Subst}\left (\int \frac {x^{16}}{\sqrt [3]{-1+x^9} \left (-1-x^{12}+x^{21}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^4}} \\ \end{align*}
\[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=\int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 13.81 (sec) , antiderivative size = 516, normalized size of antiderivative = 3.17
[In]
[Out]
none
Time = 1.97 (sec) , antiderivative size = 119, normalized size of antiderivative = 0.73 \[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=-\sqrt {3} \arctan \left (\frac {2 \, \sqrt {3} {\left (x^{4} - x\right )}^{\frac {2}{3}} x^{2} - 4 \, \sqrt {3} {\left (x^{4} - x\right )}^{\frac {1}{3}} x - \sqrt {3} {\left (x^{7} - x^{4}\right )}}{x^{7} - x^{4} + 8}\right ) + \frac {1}{2} \, \log \left (\frac {x^{7} - x^{4} - 3 \, {\left (x^{4} - x\right )}^{\frac {2}{3}} x^{2} + 3 \, {\left (x^{4} - x\right )}^{\frac {1}{3}} x - 1}{x^{7} - x^{4} - 1}\right ) \]
[In]
[Out]
\[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=\int \frac {x^{2} \cdot \left (7 x^{3} - 4\right )}{\sqrt [3]{x \left (x - 1\right ) \left (x^{2} + x + 1\right )} \left (x^{7} - x^{4} - 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=\int { \frac {{\left (7 \, x^{3} - 4\right )} x^{2}}{{\left (x^{7} - x^{4} - 1\right )} {\left (x^{4} - x\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=\int { \frac {{\left (7 \, x^{3} - 4\right )} x^{2}}{{\left (x^{7} - x^{4} - 1\right )} {\left (x^{4} - x\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \left (-4+7 x^3\right )}{\sqrt [3]{-x+x^4} \left (-1-x^4+x^7\right )} \, dx=-\int \frac {x^2\,\left (7\,x^3-4\right )}{{\left (x^4-x\right )}^{1/3}\,\left (-x^7+x^4+1\right )} \,d x \]
[In]
[Out]