\(\int \frac {(2+5 x^7) \sqrt [3]{-x-x^3+x^8}}{(-1+x^7) (-1+x^2+x^7)} \, dx\) [2697]

   Optimal result
   Rubi [F]
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F(-2)]
   Sympy [F(-1)]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

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]

3^(1/2)*arctan(3^(1/2)*x/(-x+2*(x^8-x^3-x)^(1/3)))-2^(1/3)*3^(1/2)*arctan(3^(1/2)*x/(-x+2^(2/3)*(x^8-x^3-x)^(1
/3)))-ln(x+(x^8-x^3-x)^(1/3))+2^(1/3)*ln(2*x+2^(2/3)*(x^8-x^3-x)^(1/3))+1/2*ln(x^2-x*(x^8-x^3-x)^(1/3)+(x^8-x^
3-x)^(2/3))-1/2*ln(-2*x^2+2^(2/3)*x*(x^8-x^3-x)^(1/3)-2^(1/3)*(x^8-x^3-x)^(2/3))*2^(1/3)

Rubi [F]

\[ \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]

Int[((2 + 5*x^7)*(-x - x^3 + x^8)^(1/3))/((-1 + x^7)*(-1 + x^2 + x^7)),x]

[Out]

((-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(-1 - x^6 + x^21)^(1/3)/(-1 + x), x], x, x^(1/3)])/(x^(1/3)*(-
1 - x^2 + x^7)^(1/3)) - ((1 - I*Sqrt[3])*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(-1 - x^6 + x^21)^(1/3
)/(1 - I*Sqrt[3] + 2*x), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) - ((1 + I*Sqrt[3])*(-x - x^3 + x^8)
^(1/3)*Defer[Subst][Defer[Int][(-1 - x^6 + x^21)^(1/3)/(1 + I*Sqrt[3] + 2*x), x], x, x^(1/3)])/(x^(1/3)*(-1 -
x^2 + x^7)^(1/3)) + ((-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(-1 - x^6 + x^21)^(1/3)/(1 + x + x^2 + x^3
 + x^4 + x^5 + x^6), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + (2*(-x - x^3 + x^8)^(1/3)*Defer[Subst
][Defer[Int][(x*(-1 - x^6 + x^21)^(1/3))/(1 + x + x^2 + x^3 + x^4 + x^5 + x^6), x], x, x^(1/3)])/(x^(1/3)*(-1
- x^2 + x^7)^(1/3)) + (3*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^2*(-1 - x^6 + x^21)^(1/3))/(1 + x +
 x^2 + x^3 + x^4 + x^5 + x^6), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + (4*(-x - x^3 + x^8)^(1/3)*D
efer[Subst][Defer[Int][(x^3*(-1 - x^6 + x^21)^(1/3))/(1 + x + x^2 + x^3 + x^4 + x^5 + x^6), x], x, x^(1/3)])/(
x^(1/3)*(-1 - x^2 + x^7)^(1/3)) - (2*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^4*(-1 - x^6 + x^21)^(1/
3))/(1 + x + x^2 + x^3 + x^4 + x^5 + x^6), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) - ((-x - x^3 + x^
8)^(1/3)*Defer[Subst][Defer[Int][(x^5*(-1 - x^6 + x^21)^(1/3))/(1 + x + x^2 + x^3 + x^4 + x^5 + x^6), x], x, x
^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + (2*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(-1 - x^6 + x^21
)^(1/3)/(1 - x + x^3 - x^4 + x^6 - x^8 + x^9 - x^11 + x^12), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3))
 - (3*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x*(-1 - x^6 + x^21)^(1/3))/(1 - x + x^3 - x^4 + x^6 - x^
8 + x^9 - x^11 + x^12), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + (5*(-x - x^3 + x^8)^(1/3)*Defer[Su
bst][Defer[Int][(x^3*(-1 - x^6 + x^21)^(1/3))/(1 - x + x^3 - x^4 + x^6 - x^8 + x^9 - x^11 + x^12), x], x, x^(1
/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + ((-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^4*(-1 - x^6 + x^21
)^(1/3))/(1 - x + x^3 - x^4 + x^6 - x^8 + x^9 - x^11 + x^12), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)
) - (7*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^5*(-1 - x^6 + x^21)^(1/3))/(1 - x + x^3 - x^4 + x^6 -
 x^8 + x^9 - x^11 + x^12), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + (8*(-x - x^3 + x^8)^(1/3)*Defer
[Subst][Defer[Int][(x^6*(-1 - x^6 + x^21)^(1/3))/(1 - x + x^3 - x^4 + x^6 - x^8 + x^9 - x^11 + x^12), x], x, x
^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) - (10*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^8*(-1 - x^6
+ x^21)^(1/3))/(1 - x + x^3 - x^4 + x^6 - x^8 + x^9 - x^11 + x^12), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)
^(1/3)) + (11*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^9*(-1 - x^6 + x^21)^(1/3))/(1 - x + x^3 - x^4
+ x^6 - x^8 + x^9 - x^11 + x^12), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) + ((-x - x^3 + x^8)^(1/3)*
Defer[Subst][Defer[Int][(x^11*(-1 - x^6 + x^21)^(1/3))/(1 - x + x^3 - x^4 + x^6 - x^8 + x^9 - x^11 + x^12), x]
, x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) - (6*(-x - x^3 + x^8)^(1/3)*Defer[Subst][Defer[Int][(x^3*(-1 -
 x^6 + x^21)^(1/3))/(-1 + x^6 + x^21), x], x, x^(1/3)])/(x^(1/3)*(-1 - x^2 + x^7)^(1/3)) - (21*(-x - x^3 + x^8
)^(1/3)*Defer[Subst][Defer[Int][(x^18*(-1 - x^6 + x^21)^(1/3))/(-1 + x^6 + x^21), x], x, x^(1/3)])/(x^(1/3)*(-
1 - x^2 + x^7)^(1/3))

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*}

Mathematica [A] (verified)

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]

Integrate[((2 + 5*x^7)*(-x - x^3 + x^8)^(1/3))/((-1 + x^7)*(-1 + x^2 + x^7)),x]

[Out]

(x^(2/3)*(-1 - x^2 + x^7)^(2/3)*(-2*Sqrt[3]*ArcTan[(Sqrt[3]*x^(2/3))/(x^(2/3) - 2*(-1 - x^2 + x^7)^(1/3))] + 2
*2^(1/3)*Sqrt[3]*ArcTan[(Sqrt[3]*x^(2/3))/(x^(2/3) - 2^(2/3)*(-1 - x^2 + x^7)^(1/3))] - 2*Log[x^(2/3) + (-1 -
x^2 + x^7)^(1/3)] + 2*2^(1/3)*Log[2*x^(2/3) + 2^(2/3)*(-1 - x^2 + x^7)^(1/3)] + Log[x^(4/3) - x^(2/3)*(-1 - x^
2 + x^7)^(1/3) + (-1 - x^2 + x^7)^(2/3)] - 2^(1/3)*Log[-2*x^(4/3) + 2^(2/3)*x^(2/3)*(-1 - x^2 + x^7)^(1/3) - 2
^(1/3)*(-1 - x^2 + x^7)^(2/3)]))/(2*(x*(-1 - x^2 + x^7))^(2/3))

Maple [F]

\[\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]

int((5*x^7+2)*(x^8-x^3-x)^(1/3)/(x^7-1)/(x^7+x^2-1),x)

[Out]

int((5*x^7+2)*(x^8-x^3-x)^(1/3)/(x^7-1)/(x^7+x^2-1),x)

Fricas [F(-2)]

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]

integrate((5*x^7+2)*(x^8-x^3-x)^(1/3)/(x^7-1)/(x^7+x^2-1),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (re
sidue poly has multiple non-linear factors)

Sympy [F(-1)]

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]

integrate((5*x**7+2)*(x**8-x**3-x)**(1/3)/(x**7-1)/(x**7+x**2-1),x)

[Out]

Timed out

Maxima [F]

\[ \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]

integrate((5*x^7+2)*(x^8-x^3-x)^(1/3)/(x^7-1)/(x^7+x^2-1),x, algorithm="maxima")

[Out]

integrate((x^8 - x^3 - x)^(1/3)*(5*x^7 + 2)/((x^7 + x^2 - 1)*(x^7 - 1)), x)

Giac [F]

\[ \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]

integrate((5*x^7+2)*(x^8-x^3-x)^(1/3)/(x^7-1)/(x^7+x^2-1),x, algorithm="giac")

[Out]

integrate((x^8 - x^3 - x)^(1/3)*(5*x^7 + 2)/((x^7 + x^2 - 1)*(x^7 - 1)), x)

Mupad [F(-1)]

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]

int(((5*x^7 + 2)*(x^8 - x^3 - x)^(1/3))/((x^7 - 1)*(x^2 + x^7 - 1)),x)

[Out]

int(((5*x^7 + 2)*(x^8 - x^3 - x)^(1/3))/((x^7 - 1)*(x^2 + x^7 - 1)), x)