Optimal. Leaf size=131 \[ \frac {\sqrt [3]{x^6+2}}{x}-\frac {1}{3} \sqrt [3]{2} \log \left (2^{2/3} \sqrt [3]{x^6+2}+2 x\right )+\frac {\sqrt [3]{2} \tan ^{-1}\left (\frac {\sqrt {3} x}{2^{2/3} \sqrt [3]{x^6+2}-x}\right )}{\sqrt {3}}+\frac {\log \left (2^{2/3} \sqrt [3]{x^6+2} x-\sqrt [3]{2} \left (x^6+2\right )^{2/3}-2 x^2\right )}{3\ 2^{2/3}} \]
________________________________________________________________________________________
Rubi [C] time = 1.18, antiderivative size = 195, normalized size of antiderivative = 1.49, number of steps used = 29, number of rules used = 6, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6728, 364, 1562, 465, 429, 510} \begin {gather*} \frac {i x^5 F_1\left (\frac {5}{6};1,-\frac {1}{3};\frac {11}{6};-\frac {i x^6}{2},-\frac {x^6}{2}\right )}{5\ 2^{2/3}}-\frac {i x^5 F_1\left (\frac {5}{6};1,-\frac {1}{3};\frac {11}{6};\frac {i x^6}{2},-\frac {x^6}{2}\right )}{5\ 2^{2/3}}+\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) x^2 F_1\left (\frac {1}{3};1,-\frac {1}{3};\frac {4}{3};-\frac {i x^6}{2},-\frac {x^6}{2}\right )}{2^{2/3}}+\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) x^2 F_1\left (\frac {1}{3};1,-\frac {1}{3};\frac {4}{3};\frac {i x^6}{2},-\frac {x^6}{2}\right )}{2^{2/3}}+\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 364
Rule 429
Rule 465
Rule 510
Rule 1562
Rule 6728
Rubi steps
\begin {align*} \int \frac {\left (-2+x^6\right ) \sqrt [3]{2+x^6}}{x^2 \left (2+2 x^3+x^6\right )} \, dx &=\int \left (-\frac {\sqrt [3]{2+x^6}}{x^2}+\frac {2 x \left (1+x^3\right ) \sqrt [3]{2+x^6}}{2+2 x^3+x^6}\right ) \, dx\\ &=2 \int \frac {x \left (1+x^3\right ) \sqrt [3]{2+x^6}}{2+2 x^3+x^6} \, dx-\int \frac {\sqrt [3]{2+x^6}}{x^2} \, dx\\ &=\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+2 \int \left (\frac {x \sqrt [3]{2+x^6}}{2+2 x^3+x^6}+\frac {x^4 \sqrt [3]{2+x^6}}{2+2 x^3+x^6}\right ) \, dx\\ &=\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+2 \int \frac {x \sqrt [3]{2+x^6}}{2+2 x^3+x^6} \, dx+2 \int \frac {x^4 \sqrt [3]{2+x^6}}{2+2 x^3+x^6} \, dx\\ &=\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+2 \int \left (\frac {i x \sqrt [3]{2+x^6}}{(-2+2 i)-2 x^3}+\frac {i x \sqrt [3]{2+x^6}}{(2+2 i)+2 x^3}\right ) \, dx+2 \int \left (-\frac {(1+i) x \sqrt [3]{2+x^6}}{(-2+2 i)-2 x^3}+\frac {(1-i) x \sqrt [3]{2+x^6}}{(2+2 i)+2 x^3}\right ) \, dx\\ &=\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+(-2-2 i) \int \frac {x \sqrt [3]{2+x^6}}{(-2+2 i)-2 x^3} \, dx+2 i \int \frac {x \sqrt [3]{2+x^6}}{(-2+2 i)-2 x^3} \, dx+2 i \int \frac {x \sqrt [3]{2+x^6}}{(2+2 i)+2 x^3} \, dx+(2-2 i) \int \frac {x \sqrt [3]{2+x^6}}{(2+2 i)+2 x^3} \, dx\\ &=\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+(-2-2 i) \int \left (\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) x \sqrt [3]{2+x^6}}{2 i+x^6}-\frac {x^4 \sqrt [3]{2+x^6}}{2 \left (2 i+x^6\right )}\right ) \, dx+2 i \int \left (-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) x \sqrt [3]{2+x^6}}{-2 i+x^6}+\frac {x^4 \sqrt [3]{2+x^6}}{2 \left (-2 i+x^6\right )}\right ) \, dx+2 i \int \left (\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) x \sqrt [3]{2+x^6}}{2 i+x^6}-\frac {x^4 \sqrt [3]{2+x^6}}{2 \left (2 i+x^6\right )}\right ) \, dx+(2-2 i) \int \left (-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) x \sqrt [3]{2+x^6}}{-2 i+x^6}+\frac {x^4 \sqrt [3]{2+x^6}}{2 \left (-2 i+x^6\right )}\right ) \, dx\\ &=\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+i \int \frac {x^4 \sqrt [3]{2+x^6}}{-2 i+x^6} \, dx-i \int \frac {x^4 \sqrt [3]{2+x^6}}{2 i+x^6} \, dx+(1-i) \int \frac {x \sqrt [3]{2+x^6}}{-2 i+x^6} \, dx+(1-i) \int \frac {x^4 \sqrt [3]{2+x^6}}{-2 i+x^6} \, dx+(1+i) \int \frac {x \sqrt [3]{2+x^6}}{2 i+x^6} \, dx+(1+i) \int \frac {x^4 \sqrt [3]{2+x^6}}{2 i+x^6} \, dx-2 \int \frac {x \sqrt [3]{2+x^6}}{-2 i+x^6} \, dx-2 \int \frac {x \sqrt [3]{2+x^6}}{2 i+x^6} \, dx\\ &=\frac {i x^5 F_1\left (\frac {5}{6};1,-\frac {1}{3};\frac {11}{6};-\frac {i x^6}{2},-\frac {x^6}{2}\right )}{5\ 2^{2/3}}-\frac {i x^5 F_1\left (\frac {5}{6};1,-\frac {1}{3};\frac {11}{6};\frac {i x^6}{2},-\frac {x^6}{2}\right )}{5\ 2^{2/3}}+\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}+\left (\frac {1}{2}-\frac {i}{2}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{2+x^3}}{-2 i+x^3} \, dx,x,x^2\right )+\left (\frac {1}{2}+\frac {i}{2}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{2+x^3}}{2 i+x^3} \, dx,x,x^2\right )-\operatorname {Subst}\left (\int \frac {\sqrt [3]{2+x^3}}{-2 i+x^3} \, dx,x,x^2\right )-\operatorname {Subst}\left (\int \frac {\sqrt [3]{2+x^3}}{2 i+x^3} \, dx,x,x^2\right )\\ &=\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) x^2 F_1\left (\frac {1}{3};1,-\frac {1}{3};\frac {4}{3};-\frac {i x^6}{2},-\frac {x^6}{2}\right )}{2^{2/3}}+\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) x^2 F_1\left (\frac {1}{3};1,-\frac {1}{3};\frac {4}{3};\frac {i x^6}{2},-\frac {x^6}{2}\right )}{2^{2/3}}+\frac {i x^5 F_1\left (\frac {5}{6};1,-\frac {1}{3};\frac {11}{6};-\frac {i x^6}{2},-\frac {x^6}{2}\right )}{5\ 2^{2/3}}-\frac {i x^5 F_1\left (\frac {5}{6};1,-\frac {1}{3};\frac {11}{6};\frac {i x^6}{2},-\frac {x^6}{2}\right )}{5\ 2^{2/3}}+\frac {\sqrt [3]{2} \, _2F_1\left (-\frac {1}{3},-\frac {1}{6};\frac {5}{6};-\frac {x^6}{2}\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.32, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (-2+x^6\right ) \sqrt [3]{2+x^6}}{x^2 \left (2+2 x^3+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 1.09, size = 131, normalized size = 1.00 \begin {gather*} \frac {\sqrt [3]{2+x^6}}{x}+\frac {\sqrt [3]{2} \tan ^{-1}\left (\frac {\sqrt {3} x}{-x+2^{2/3} \sqrt [3]{2+x^6}}\right )}{\sqrt {3}}-\frac {1}{3} \sqrt [3]{2} \log \left (2 x+2^{2/3} \sqrt [3]{2+x^6}\right )+\frac {\log \left (-2 x^2+2^{2/3} x \sqrt [3]{2+x^6}-\sqrt [3]{2} \left (2+x^6\right )^{2/3}\right )}{3\ 2^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 175.69, size = 334, normalized size = 2.55 \begin {gather*} \frac {2 \, \sqrt {3} \left (-2\right )^{\frac {1}{3}} x \arctan \left (\frac {6 \, \sqrt {3} \left (-2\right )^{\frac {2}{3}} {\left (x^{14} - 14 \, x^{11} + 8 \, x^{8} - 28 \, x^{5} + 4 \, x^{2}\right )} {\left (x^{6} + 2\right )}^{\frac {1}{3}} + 6 \, \sqrt {3} \left (-2\right )^{\frac {1}{3}} {\left (x^{13} - 2 \, x^{10} - 4 \, x^{7} - 4 \, x^{4} + 4 \, x\right )} {\left (x^{6} + 2\right )}^{\frac {2}{3}} + \sqrt {3} {\left (x^{18} - 30 \, x^{15} + 54 \, x^{12} - 112 \, x^{9} + 108 \, x^{6} - 120 \, x^{3} + 8\right )}}{3 \, {\left (x^{18} + 6 \, x^{15} - 90 \, x^{12} + 32 \, x^{9} - 180 \, x^{6} + 24 \, x^{3} + 8\right )}}\right ) + 2 \, \left (-2\right )^{\frac {1}{3}} x \log \left (\frac {6 \, \left (-2\right )^{\frac {1}{3}} {\left (x^{6} + 2\right )}^{\frac {1}{3}} x^{2} - \left (-2\right )^{\frac {2}{3}} {\left (x^{6} + 2 \, x^{3} + 2\right )} - 6 \, {\left (x^{6} + 2\right )}^{\frac {2}{3}} x}{x^{6} + 2 \, x^{3} + 2}\right ) - \left (-2\right )^{\frac {1}{3}} x \log \left (-\frac {3 \, \left (-2\right )^{\frac {2}{3}} {\left (x^{7} - 4 \, x^{4} + 2 \, x\right )} {\left (x^{6} + 2\right )}^{\frac {2}{3}} + \left (-2\right )^{\frac {1}{3}} {\left (x^{12} - 14 \, x^{9} + 8 \, x^{6} - 28 \, x^{3} + 4\right )} - 12 \, {\left (x^{8} - x^{5} + 2 \, x^{2}\right )} {\left (x^{6} + 2\right )}^{\frac {1}{3}}}{x^{12} + 4 \, x^{9} + 8 \, x^{6} + 8 \, x^{3} + 4}\right ) + 18 \, {\left (x^{6} + 2\right )}^{\frac {1}{3}}}{18 \, x} \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*} \int \frac {{\left (x^{6} + 2\right )}^{\frac {1}{3}} {\left (x^{6} - 2\right )}}{{\left (x^{6} + 2 \, x^{3} + 2\right )} x^{2}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 145.59, size = 1516, normalized size = 11.57
method | result | size |
trager | \(\text {Expression too large to display}\) | \(1516\) |
risch | \(\text {Expression too large to display}\) | \(1600\) |
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*} \int \frac {{\left (x^{6} + 2\right )}^{\frac {1}{3}} {\left (x^{6} - 2\right )}}{{\left (x^{6} + 2 \, x^{3} + 2\right )} x^{2}}\,{d x} \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 {\left (x^6-2\right )\,{\left (x^6+2\right )}^{1/3}}{x^2\,\left (x^6+2\,x^3+2\right )} \,d x \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^{6} - 2\right ) \sqrt [3]{x^{6} + 2}}{x^{2} \left (x^{6} + 2 x^{3} + 2\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________