Optimal. Leaf size=198 \[ -\frac {\text {ArcTan}\left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{x+x^5}}\right )}{\sqrt {3}}-\frac {\text {ArcTan}\left (\frac {\sqrt {3} x}{-x+2^{2/3} \sqrt [3]{x+x^5}}\right )}{2 \sqrt [3]{2} \sqrt {3}}+\frac {1}{3} \log \left (-x+\sqrt [3]{x+x^5}\right )-\frac {\log \left (2 x+2^{2/3} \sqrt [3]{x+x^5}\right )}{6 \sqrt [3]{2}}-\frac {1}{6} \log \left (x^2+x \sqrt [3]{x+x^5}+\left (x+x^5\right )^{2/3}\right )+\frac {\log \left (-2 x^2+2^{2/3} x \sqrt [3]{x+x^5}-\sqrt [3]{2} \left (x+x^5\right )^{2/3}\right )}{12 \sqrt [3]{2}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 1.03, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {-1+x^6}{\sqrt [3]{x+x^5} \left (1+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {-1+x^6}{\sqrt [3]{x+x^5} \left (1+x^6\right )} \, dx &=\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \int \frac {-1+x^6}{\sqrt [3]{x} \sqrt [3]{1+x^4} \left (1+x^6\right )} \, dx}{\sqrt [3]{x+x^5}}\\ &=\frac {\left (3 \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {-1+x^9}{\sqrt [3]{1+x^6} \left (1+x^9\right )} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x+x^5}}\\ &=\frac {\left (3 \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \left (\frac {1}{\sqrt [3]{1+x^6}}-\frac {2}{\sqrt [3]{1+x^6} \left (1+x^9\right )}\right ) \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x+x^5}}\\ &=\frac {\left (3 \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (3 \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^6} \left (1+x^9\right )} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}\\ &=\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (3 \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \left (\frac {1}{9 (1+x) \sqrt [3]{1+x^6}}+\frac {2-x}{9 \left (1-x+x^2\right ) \sqrt [3]{1+x^6}}+\frac {2-x^3}{3 \sqrt [3]{1+x^6} \left (1-x^3+x^6\right )}\right ) \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}\\ &=\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {2-x}{\left (1-x+x^2\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {2-x^3}{\sqrt [3]{1+x^6} \left (1-x^3+x^6\right )} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}\\ &=\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \left (\frac {-1-i \sqrt {3}}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}}+\frac {-1+i \sqrt {3}}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}}\right ) \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \left (\frac {-1-i \sqrt {3}}{\left (-1-i \sqrt {3}+2 x^3\right ) \sqrt [3]{1+x^6}}+\frac {-1+i \sqrt {3}}{\left (-1+i \sqrt {3}+2 x^3\right ) \sqrt [3]{1+x^6}}\right ) \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}\\ &=\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x^3\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x^3\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}\\ &=\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \left (\frac {i-\sqrt {3}}{2 \left (i+\sqrt {3}+2 i x^6\right ) \sqrt [3]{1+x^6}}+\frac {x^3}{\sqrt [3]{1+x^6} \left (1-i \sqrt {3}+2 x^6\right )}\right ) \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \left (\frac {-i-\sqrt {3}}{2 \left (-i+\sqrt {3}-2 i x^6\right ) \sqrt [3]{1+x^6}}+\frac {x^3}{\sqrt [3]{1+x^6} \left (1+i \sqrt {3}+2 x^6\right )}\right ) \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}\\ &=\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {x^3}{\sqrt [3]{1+x^6} \left (1-i \sqrt {3}+2 x^6\right )} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}-\frac {\left (\left (i-\sqrt {3}\right ) \left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (i+\sqrt {3}+2 i x^6\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {x^3}{\sqrt [3]{1+x^6} \left (1+i \sqrt {3}+2 x^6\right )} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x+x^5}}-\frac {\left (\left (-i-\sqrt {3}\right ) \left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-i+\sqrt {3}-2 i x^6\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x+x^5}}\\ &=-\frac {x \sqrt [3]{1+x^4} F_1\left (\frac {1}{6};1,\frac {1}{3};\frac {7}{6};-\frac {2 x^4}{1-i \sqrt {3}},-x^4\right )}{\sqrt [3]{x+x^5}}-\frac {x \sqrt [3]{1+x^4} F_1\left (\frac {1}{6};1,\frac {1}{3};\frac {7}{6};-\frac {2 x^4}{1+i \sqrt {3}},-x^4\right )}{\sqrt [3]{x+x^5}}+\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{1+x^3} \left (1-i \sqrt {3}+2 x^3\right )} \, dx,x,x^{4/3}\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{1+x^3} \left (1+i \sqrt {3}+2 x^3\right )} \, dx,x,x^{4/3}\right )}{2 \sqrt [3]{x+x^5}}\\ &=-\frac {x \sqrt [3]{1+x^4} F_1\left (\frac {1}{6};1,\frac {1}{3};\frac {7}{6};-\frac {2 x^4}{1-i \sqrt {3}},-x^4\right )}{\sqrt [3]{x+x^5}}-\frac {x \sqrt [3]{1+x^4} F_1\left (\frac {1}{6};1,\frac {1}{3};\frac {7}{6};-\frac {2 x^4}{1+i \sqrt {3}},-x^4\right )}{\sqrt [3]{x+x^5}}+\frac {\left (i-\sqrt {3}\right ) x^3 \sqrt [3]{1+x^4} F_1\left (\frac {2}{3};\frac {1}{3},1;\frac {5}{3};-x^4,-\frac {2 x^4}{1-i \sqrt {3}}\right )}{4 \left (i+\sqrt {3}\right ) \sqrt [3]{x+x^5}}+\frac {\left (i+\sqrt {3}\right ) x^3 \sqrt [3]{1+x^4} F_1\left (\frac {2}{3};\frac {1}{3},1;\frac {5}{3};-x^4,-\frac {2 x^4}{1+i \sqrt {3}}\right )}{4 \left (i-\sqrt {3}\right ) \sqrt [3]{x+x^5}}+\frac {3 x \sqrt [3]{1+x^4} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^4\right )}{2 \sqrt [3]{x+x^5}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}-\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{1+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{1+x^6}} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{x+x^5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 20.55, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-1+x^6}{\sqrt [3]{x+x^5} \left (1+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {x^{6}-1}{\left (x^{5}+x \right )^{\frac {1}{3}} \left (x^{6}+1\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 397 vs.
\(2 (150) = 300\).
time = 2.99, size = 397, normalized size = 2.01 \begin {gather*} \frac {1}{36} \, \sqrt {6} 2^{\frac {1}{6}} \left (-1\right )^{\frac {1}{3}} \arctan \left (\frac {2^{\frac {1}{6}} {\left (6 \, \sqrt {6} 2^{\frac {2}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{8} - 14 \, x^{6} + 6 \, x^{4} - 14 \, x^{2} + 1\right )} {\left (x^{5} + x\right )}^{\frac {2}{3}} - 24 \, \sqrt {6} \left (-1\right )^{\frac {1}{3}} {\left (x^{9} + x^{7} + x^{3} + x\right )} {\left (x^{5} + x\right )}^{\frac {1}{3}} + \sqrt {6} 2^{\frac {1}{3}} {\left (x^{12} + 24 \, x^{10} - 57 \, x^{8} + 56 \, x^{6} - 57 \, x^{4} + 24 \, x^{2} + 1\right )}\right )}}{6 \, {\left (x^{12} - 48 \, x^{10} + 15 \, x^{8} - 88 \, x^{6} + 15 \, x^{4} - 48 \, x^{2} + 1\right )}}\right ) - \frac {1}{72} \cdot 2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (\frac {12 \cdot 2^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{5} - x^{3} + x\right )} {\left (x^{5} + x\right )}^{\frac {1}{3}} - 2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{8} - 14 \, x^{6} + 6 \, x^{4} - 14 \, x^{2} + 1\right )} - 6 \, {\left (x^{5} + x\right )}^{\frac {2}{3}} {\left (x^{4} - 4 \, x^{2} + 1\right )}}{x^{8} + 4 \, x^{6} + 6 \, x^{4} + 4 \, x^{2} + 1}\right ) + \frac {1}{36} \cdot 2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (-\frac {2^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{4} + 2 \, x^{2} + 1\right )} - 3 \cdot 2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{5} + x\right )}^{\frac {2}{3}} + 6 \, {\left (x^{5} + x\right )}^{\frac {1}{3}} x}{x^{4} + 2 \, x^{2} + 1}\right ) + \frac {1}{3} \, \sqrt {3} \arctan \left (\frac {\sqrt {3} x + 2 \, \sqrt {3} {\left (x^{5} + x\right )}^{\frac {1}{3}}}{3 \, x}\right ) + \frac {1}{6} \, \log \left (\frac {x^{4} - x^{2} + 3 \, {\left (x^{5} + x\right )}^{\frac {1}{3}} x - 3 \, {\left (x^{5} + x\right )}^{\frac {2}{3}} + 1}{x^{4} - x^{2} + 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right )}{\sqrt [3]{x \left (x^{4} + 1\right )} \left (x^{2} + 1\right ) \left (x^{4} - x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^6-1}{\left (x^6+1\right )\,{\left (x^5+x\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________