Integrand size = 41, antiderivative size = 245 \[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{-x+2 \sqrt [3]{-x-x^3+x^8}}\right )-\sqrt [3]{2} \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{-x+2^{2/3} \sqrt [3]{-x-x^3+x^8}}\right )-\log \left (x+\sqrt [3]{-x-x^3+x^8}\right )+\sqrt [3]{2} \log \left (2 x+2^{2/3} \sqrt [3]{-x-x^3+x^8}\right )+\frac {1}{2} \log \left (x^2-x \sqrt [3]{-x-x^3+x^8}+\left (-x-x^3+x^8\right )^{2/3}\right )-\frac {\log \left (-2 x^2+2^{2/3} x \sqrt [3]{-x-x^3+x^8}-\sqrt [3]{2} \left (-x-x^3+x^8\right )^{2/3}\right )}{2^{2/3}} \]
[Out]
\[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt [3]{-x-x^3+x^8} \int \frac {\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7} \left (2+5 x^7\right )}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\sqrt [3]{-x-x^3+x^8} \int \left (\frac {\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}{-1+x}+\frac {\sqrt [3]{x} \left (1+2 x+3 x^2+4 x^3+5 x^4-x^5\right ) \sqrt [3]{-1-x^2+x^7}}{1+x+x^2+x^3+x^4+x^5+x^6}+\frac {\sqrt [3]{x} \left (-2-7 x^5\right ) \sqrt [3]{-1-x^2+x^7}}{-1+x^2+x^7}\right ) \, dx}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\sqrt [3]{-x-x^3+x^8} \int \frac {\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}{-1+x} \, dx}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \int \frac {\sqrt [3]{x} \left (1+2 x+3 x^2+4 x^3+5 x^4-x^5\right ) \sqrt [3]{-1-x^2+x^7}}{1+x+x^2+x^3+x^4+x^5+x^6} \, dx}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \int \frac {\sqrt [3]{x} \left (-2-7 x^5\right ) \sqrt [3]{-1-x^2+x^7}}{-1+x^2+x^7} \, dx}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt [3]{-1-x^6+x^{21}}}{-1+x^3} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \left (1+2 x^3+3 x^6+4 x^9+5 x^{12}-x^{15}\right ) \sqrt [3]{-1-x^6+x^{21}}}{1+x^3+x^6+x^9+x^{12}+x^{15}+x^{18}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \left (-2-7 x^{15}\right ) \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \left (\sqrt [3]{-1-x^6+x^{21}}+\frac {\sqrt [3]{-1-x^6+x^{21}}}{-1+x^3}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \left (-\sqrt [3]{-1-x^6+x^{21}}+\frac {\left (1+2 x^3+3 x^6+4 x^9+5 x^{12}+6 x^{15}\right ) \sqrt [3]{-1-x^6+x^{21}}}{1+x^3+x^6+x^9+x^{12}+x^{15}+x^{18}}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \left (-\frac {2 x^3 \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}}-\frac {7 x^{18} \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{-1-x^6+x^{21}}}{-1+x^3} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {\left (1+2 x^3+3 x^6+4 x^9+5 x^{12}+6 x^{15}\right ) \sqrt [3]{-1-x^6+x^{21}}}{1+x^3+x^6+x^9+x^{12}+x^{15}+x^{18}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (6 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (21 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^{18} \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \left (\frac {\sqrt [3]{-1-x^6+x^{21}}}{3 (-1+x)}+\frac {(-2-x) \sqrt [3]{-1-x^6+x^{21}}}{3 \left (1+x+x^2\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\left (3 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \left (\frac {\left (1+2 x+3 x^2+4 x^3-2 x^4-x^5\right ) \sqrt [3]{-1-x^6+x^{21}}}{3 \left (1+x+x^2+x^3+x^4+x^5+x^6\right )}+\frac {\left (2-3 x+5 x^3+x^4-7 x^5+8 x^6-10 x^8+11 x^9+x^{11}\right ) \sqrt [3]{-1-x^6+x^{21}}}{3 \left (1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (6 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (21 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^{18} \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \frac {\sqrt [3]{-1-x^6+x^{21}}}{-1+x} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \frac {(-2-x) \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \frac {\left (1+2 x+3 x^2+4 x^3-2 x^4-x^5\right ) \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \frac {\left (2-3 x+5 x^3+x^4-7 x^5+8 x^6-10 x^8+11 x^9+x^{11}\right ) \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (6 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (21 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^{18} \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \frac {\sqrt [3]{-1-x^6+x^{21}}}{-1+x} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \left (\frac {\left (-1+i \sqrt {3}\right ) \sqrt [3]{-1-x^6+x^{21}}}{1-i \sqrt {3}+2 x}+\frac {\left (-1-i \sqrt {3}\right ) \sqrt [3]{-1-x^6+x^{21}}}{1+i \sqrt {3}+2 x}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \left (\frac {\sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6}+\frac {2 x \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6}+\frac {3 x^2 \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6}+\frac {4 x^3 \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6}-\frac {2 x^4 \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6}-\frac {x^5 \sqrt [3]{-1-x^6+x^{21}}}{1+x+x^2+x^3+x^4+x^5+x^6}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}+\frac {\sqrt [3]{-x-x^3+x^8} \text {Subst}\left (\int \left (\frac {2 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}-\frac {3 x \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}+\frac {5 x^3 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}+\frac {x^4 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}-\frac {7 x^5 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}+\frac {8 x^6 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}-\frac {10 x^8 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}+\frac {11 x^9 \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}+\frac {x^{11} \sqrt [3]{-1-x^6+x^{21}}}{1-x+x^3-x^4+x^6-x^8+x^9-x^{11}+x^{12}}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (6 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}}-\frac {\left (21 \sqrt [3]{-x-x^3+x^8}\right ) \text {Subst}\left (\int \frac {x^{18} \sqrt [3]{-1-x^6+x^{21}}}{-1+x^6+x^{21}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1-x^2+x^7}} \\ & = \text {Too large to display} \\ \end{align*}
Time = 3.61 (sec) , antiderivative size = 299, normalized size of antiderivative = 1.22 \[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\frac {x^{2/3} \left (-1-x^2+x^7\right )^{2/3} \left (-2 \sqrt {3} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}-2 \sqrt [3]{-1-x^2+x^7}}\right )+2 \sqrt [3]{2} \sqrt {3} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}-2^{2/3} \sqrt [3]{-1-x^2+x^7}}\right )-2 \log \left (x^{2/3}+\sqrt [3]{-1-x^2+x^7}\right )+2 \sqrt [3]{2} \log \left (2 x^{2/3}+2^{2/3} \sqrt [3]{-1-x^2+x^7}\right )+\log \left (x^{4/3}-x^{2/3} \sqrt [3]{-1-x^2+x^7}+\left (-1-x^2+x^7\right )^{2/3}\right )-\sqrt [3]{2} \log \left (-2 x^{4/3}+2^{2/3} x^{2/3} \sqrt [3]{-1-x^2+x^7}-\sqrt [3]{2} \left (-1-x^2+x^7\right )^{2/3}\right )\right )}{2 \left (x \left (-1-x^2+x^7\right )\right )^{2/3}} \]
[In]
[Out]
\[\int \frac {\left (5 x^{7}+2\right ) \left (x^{8}-x^{3}-x \right )^{\frac {1}{3}}}{\left (x^{7}-1\right ) \left (x^{7}+x^{2}-1\right )}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\int { \frac {{\left (x^{8} - x^{3} - x\right )}^{\frac {1}{3}} {\left (5 \, x^{7} + 2\right )}}{{\left (x^{7} + x^{2} - 1\right )} {\left (x^{7} - 1\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\int { \frac {{\left (x^{8} - x^{3} - x\right )}^{\frac {1}{3}} {\left (5 \, x^{7} + 2\right )}}{{\left (x^{7} + x^{2} - 1\right )} {\left (x^{7} - 1\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (2+5 x^7\right ) \sqrt [3]{-x-x^3+x^8}}{\left (-1+x^7\right ) \left (-1+x^2+x^7\right )} \, dx=\int \frac {\left (5\,x^7+2\right )\,{\left (x^8-x^3-x\right )}^{1/3}}{\left (x^7-1\right )\,\left (x^7+x^2-1\right )} \,d x \]
[In]
[Out]