Integrand size = 30, antiderivative size = 103 \[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\frac {1}{4} \sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{-x+x^5}}{-2 x^3+\sqrt [3]{-x+x^5}}\right )+\frac {1}{4} \log \left (x^3+\sqrt [3]{-x+x^5}\right )-\frac {1}{8} \log \left (x^6-x^3 \sqrt [3]{-x+x^5}+\left (-x+x^5\right )^{2/3}\right ) \]
[Out]
Result contains higher order function than in optimal. Order 6 vs. order 3 in optimal.
Time = 0.43 (sec) , antiderivative size = 117, normalized size of antiderivative = 1.14, number of steps used = 11, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2081, 6860, 477, 476, 525, 524} \[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\frac {3 \sqrt [3]{1-x^4} x^3 \operatorname {AppellF1}\left (\frac {2}{3},\frac {1}{3},1,\frac {5}{3},x^4,-\frac {2 x^4}{1-\sqrt {5}}\right )}{8 \sqrt [3]{x^5-x}}+\frac {3 \sqrt [3]{1-x^4} x^3 \operatorname {AppellF1}\left (\frac {2}{3},\frac {1}{3},1,\frac {5}{3},x^4,-\frac {2 x^4}{1+\sqrt {5}}\right )}{8 \sqrt [3]{x^5-x}} \]
[In]
[Out]
Rule 476
Rule 477
Rule 524
Rule 525
Rule 2081
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \int \frac {x^{5/3} \left (-2+x^4\right )}{\sqrt [3]{-1+x^4} \left (-1+x^4+x^8\right )} \, dx}{\sqrt [3]{-x+x^5}} \\ & = \frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \int \left (\frac {\left (1-\sqrt {5}\right ) x^{5/3}}{\sqrt [3]{-1+x^4} \left (1-\sqrt {5}+2 x^4\right )}+\frac {\left (1+\sqrt {5}\right ) x^{5/3}}{\sqrt [3]{-1+x^4} \left (1+\sqrt {5}+2 x^4\right )}\right ) \, dx}{\sqrt [3]{-x+x^5}} \\ & = \frac {\left (\left (1-\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \int \frac {x^{5/3}}{\sqrt [3]{-1+x^4} \left (1-\sqrt {5}+2 x^4\right )} \, dx}{\sqrt [3]{-x+x^5}}+\frac {\left (\left (1+\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \int \frac {x^{5/3}}{\sqrt [3]{-1+x^4} \left (1+\sqrt {5}+2 x^4\right )} \, dx}{\sqrt [3]{-x+x^5}} \\ & = \frac {\left (3 \left (1-\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \text {Subst}\left (\int \frac {x^7}{\sqrt [3]{-1+x^{12}} \left (1-\sqrt {5}+2 x^{12}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^5}}+\frac {\left (3 \left (1+\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \text {Subst}\left (\int \frac {x^7}{\sqrt [3]{-1+x^{12}} \left (1+\sqrt {5}+2 x^{12}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^5}} \\ & = \frac {\left (3 \left (1-\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{-1+x^3} \left (1-\sqrt {5}+2 x^3\right )} \, dx,x,x^{4/3}\right )}{4 \sqrt [3]{-x+x^5}}+\frac {\left (3 \left (1+\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{-1+x^3} \left (1+\sqrt {5}+2 x^3\right )} \, dx,x,x^{4/3}\right )}{4 \sqrt [3]{-x+x^5}} \\ & = \frac {\left (3 \left (1-\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{1-x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{1-x^3} \left (1-\sqrt {5}+2 x^3\right )} \, dx,x,x^{4/3}\right )}{4 \sqrt [3]{-x+x^5}}+\frac {\left (3 \left (1+\sqrt {5}\right ) \sqrt [3]{x} \sqrt [3]{1-x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{1-x^3} \left (1+\sqrt {5}+2 x^3\right )} \, dx,x,x^{4/3}\right )}{4 \sqrt [3]{-x+x^5}} \\ & = \frac {3 x^3 \sqrt [3]{1-x^4} \operatorname {AppellF1}\left (\frac {2}{3},\frac {1}{3},1,\frac {5}{3},x^4,-\frac {2 x^4}{1-\sqrt {5}}\right )}{8 \sqrt [3]{-x+x^5}}+\frac {3 x^3 \sqrt [3]{1-x^4} \operatorname {AppellF1}\left (\frac {2}{3},\frac {1}{3},1,\frac {5}{3},x^4,-\frac {2 x^4}{1+\sqrt {5}}\right )}{8 \sqrt [3]{-x+x^5}} \\ \end{align*}
Time = 10.45 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.00 \[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\frac {1}{4} \sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{-x+x^5}}{-2 x^3+\sqrt [3]{-x+x^5}}\right )+\frac {1}{4} \log \left (x^3+\sqrt [3]{-x+x^5}\right )-\frac {1}{8} \log \left (x^6-x^3 \sqrt [3]{-x+x^5}+\left (-x+x^5\right )^{2/3}\right ) \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 27.87 (sec) , antiderivative size = 626, normalized size of antiderivative = 6.08
[In]
[Out]
none
Time = 2.19 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.09 \[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=-\frac {1}{4} \, \sqrt {3} \arctan \left (\frac {\sqrt {3} x^{8} + 2 \, \sqrt {3} {\left (x^{5} - x\right )}^{\frac {1}{3}} x^{5} + 4 \, \sqrt {3} {\left (x^{5} - x\right )}^{\frac {2}{3}} x^{2}}{x^{8} - 8 \, x^{4} + 8}\right ) + \frac {1}{8} \, \log \left (\frac {x^{8} + 3 \, {\left (x^{5} - x\right )}^{\frac {1}{3}} x^{5} + x^{4} + 3 \, {\left (x^{5} - x\right )}^{\frac {2}{3}} x^{2} - 1}{x^{8} + x^{4} - 1}\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\int { \frac {{\left (x^{4} - 2\right )} x^{2}}{{\left (x^{8} + x^{4} - 1\right )} {\left (x^{5} - x\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\int { \frac {{\left (x^{4} - 2\right )} x^{2}}{{\left (x^{8} + x^{4} - 1\right )} {\left (x^{5} - x\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \left (-2+x^4\right )}{\sqrt [3]{-x+x^5} \left (-1+x^4+x^8\right )} \, dx=\int \frac {x^2\,\left (x^4-2\right )}{{\left (x^5-x\right )}^{1/3}\,\left (x^8+x^4-1\right )} \,d x \]
[In]
[Out]