Optimal. Leaf size=119 \[ \frac {1}{8} \text {RootSum}\left [2 \text {$\#$1}^6-9 \text {$\#$1}^3+11\& ,\frac {-\text {$\#$1}^3 \log \left (\sqrt [3]{2 x^3+x}-\text {$\#$1} x\right )+\text {$\#$1}^3 \log (x)-11 \log \left (\sqrt [3]{2 x^3+x}-\text {$\#$1} x\right )+11 \log (x)}{4 \text {$\#$1}^5-9 \text {$\#$1}^2}\& \right ]+\frac {3 \sqrt [3]{2 x^3+x} \left (4 x^2+1\right )}{16 x^3} \]
________________________________________________________________________________________
Rubi [C] time = 1.87, antiderivative size = 504, normalized size of antiderivative = 4.24, number of steps used = 12, number of rules used = 6, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2056, 6728, 264, 466, 465, 510} \begin {gather*} \frac {3 \left (-5 \sqrt {7}+7 i\right ) \sqrt [3]{2 x^3+x} \left (-\left (\left (-6 \left (2+i \sqrt {7}\right ) x^2-3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {2 \left (2 i-\sqrt {7}\right ) x^2}{\left (i-\sqrt {7}\right ) \left (2 x^2+1\right )}\right )\right )+3 \left (2 \left (2+i \sqrt {7}\right ) x^2-3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},2;\frac {5}{3};\frac {2 \left (2 i-\sqrt {7}\right ) x^2}{\left (i-\sqrt {7}\right ) \left (2 x^2+1\right )}\right )+2 \left (2 x^2+1\right ) \left (-3 \left (1+i \sqrt {7}\right ) x^2-i \sqrt {7}+3\right )\right )}{224 \left (-\sqrt {7}+5 i\right ) x^3 \left (2 x^2+1\right )}+\frac {3 \left (5 \sqrt {7}+7 i\right ) \sqrt [3]{2 x^3+x} \left (-\left (\left (-6 \left (2-i \sqrt {7}\right ) x^2+3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {2 \left (2 i+\sqrt {7}\right ) x^2}{\left (i+\sqrt {7}\right ) \left (2 x^2+1\right )}\right )\right )+3 \left (2 \left (2-i \sqrt {7}\right ) x^2+3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},2;\frac {5}{3};\frac {2 \left (2 i+\sqrt {7}\right ) x^2}{\left (i+\sqrt {7}\right ) \left (2 x^2+1\right )}\right )+2 \left (2 x^2+1\right ) \left (-3 \left (1-i \sqrt {7}\right ) x^2+i \sqrt {7}+3\right )\right )}{224 \left (\sqrt {7}+5 i\right ) x^3 \left (2 x^2+1\right )}-\frac {3 \sqrt [3]{2 x^3+x} \left (2 x^2+1\right )}{8 x^3} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 264
Rule 465
Rule 466
Rule 510
Rule 2056
Rule 6728
Rubi steps
\begin {align*} \int \frac {\sqrt [3]{x+2 x^3} \left (-1+x^4\right )}{x^4 \left (2-x^2+x^4\right )} \, dx &=\frac {\sqrt [3]{x+2 x^3} \int \frac {\sqrt [3]{1+2 x^2} \left (-1+x^4\right )}{x^{11/3} \left (2-x^2+x^4\right )} \, dx}{\sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=\frac {\sqrt [3]{x+2 x^3} \int \left (\frac {\sqrt [3]{1+2 x^2}}{x^{11/3}}-\frac {\left (3-x^2\right ) \sqrt [3]{1+2 x^2}}{x^{11/3} \left (2-x^2+x^4\right )}\right ) \, dx}{\sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=\frac {\sqrt [3]{x+2 x^3} \int \frac {\sqrt [3]{1+2 x^2}}{x^{11/3}} \, dx}{\sqrt [3]{x} \sqrt [3]{1+2 x^2}}-\frac {\sqrt [3]{x+2 x^3} \int \frac {\left (3-x^2\right ) \sqrt [3]{1+2 x^2}}{x^{11/3} \left (2-x^2+x^4\right )} \, dx}{\sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=-\frac {3 \left (1+2 x^2\right ) \sqrt [3]{x+2 x^3}}{8 x^3}-\frac {\sqrt [3]{x+2 x^3} \int \left (\frac {\left (-1-\frac {5 i}{\sqrt {7}}\right ) \sqrt [3]{1+2 x^2}}{x^{11/3} \left (-1-i \sqrt {7}+2 x^2\right )}+\frac {\left (-1+\frac {5 i}{\sqrt {7}}\right ) \sqrt [3]{1+2 x^2}}{x^{11/3} \left (-1+i \sqrt {7}+2 x^2\right )}\right ) \, dx}{\sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=-\frac {3 \left (1+2 x^2\right ) \sqrt [3]{x+2 x^3}}{8 x^3}-\frac {\left (\left (-7+5 i \sqrt {7}\right ) \sqrt [3]{x+2 x^3}\right ) \int \frac {\sqrt [3]{1+2 x^2}}{x^{11/3} \left (-1+i \sqrt {7}+2 x^2\right )} \, dx}{7 \sqrt [3]{x} \sqrt [3]{1+2 x^2}}+\frac {\left (\left (7+5 i \sqrt {7}\right ) \sqrt [3]{x+2 x^3}\right ) \int \frac {\sqrt [3]{1+2 x^2}}{x^{11/3} \left (-1-i \sqrt {7}+2 x^2\right )} \, dx}{7 \sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=-\frac {3 \left (1+2 x^2\right ) \sqrt [3]{x+2 x^3}}{8 x^3}-\frac {\left (3 \left (-7+5 i \sqrt {7}\right ) \sqrt [3]{x+2 x^3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{1+2 x^6}}{x^9 \left (-1+i \sqrt {7}+2 x^6\right )} \, dx,x,\sqrt [3]{x}\right )}{7 \sqrt [3]{x} \sqrt [3]{1+2 x^2}}+\frac {\left (3 \left (7+5 i \sqrt {7}\right ) \sqrt [3]{x+2 x^3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{1+2 x^6}}{x^9 \left (-1-i \sqrt {7}+2 x^6\right )} \, dx,x,\sqrt [3]{x}\right )}{7 \sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=-\frac {3 \left (1+2 x^2\right ) \sqrt [3]{x+2 x^3}}{8 x^3}-\frac {\left (3 \left (-7+5 i \sqrt {7}\right ) \sqrt [3]{x+2 x^3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{1+2 x^3}}{x^5 \left (-1+i \sqrt {7}+2 x^3\right )} \, dx,x,x^{2/3}\right )}{14 \sqrt [3]{x} \sqrt [3]{1+2 x^2}}+\frac {\left (3 \left (7+5 i \sqrt {7}\right ) \sqrt [3]{x+2 x^3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{1+2 x^3}}{x^5 \left (-1-i \sqrt {7}+2 x^3\right )} \, dx,x,x^{2/3}\right )}{14 \sqrt [3]{x} \sqrt [3]{1+2 x^2}}\\ &=-\frac {3 \left (1+2 x^2\right ) \sqrt [3]{x+2 x^3}}{8 x^3}+\frac {3 \left (7 i-5 \sqrt {7}\right ) \sqrt [3]{x+2 x^3} \left (2 \left (1+2 x^2\right ) \left (3-i \sqrt {7}-3 \left (1+i \sqrt {7}\right ) x^2\right )-x^2 \left (5-3 i \sqrt {7}-6 \left (2+i \sqrt {7}\right ) x^2\right ) \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {2 \left (2 i-\sqrt {7}\right ) x^2}{\left (i-\sqrt {7}\right ) \left (1+2 x^2\right )}\right )+3 x^2 \left (5-3 i \sqrt {7}+2 \left (2+i \sqrt {7}\right ) x^2\right ) \, _2F_1\left (\frac {2}{3},2;\frac {5}{3};\frac {2 \left (2 i-\sqrt {7}\right ) x^2}{\left (i-\sqrt {7}\right ) \left (1+2 x^2\right )}\right )\right )}{224 \left (5 i-\sqrt {7}\right ) x^3 \left (1+2 x^2\right )}+\frac {3 \left (7 i+5 \sqrt {7}\right ) \sqrt [3]{x+2 x^3} \left (2 \left (1+2 x^2\right ) \left (3+i \sqrt {7}-3 \left (1-i \sqrt {7}\right ) x^2\right )-x^2 \left (5+3 i \sqrt {7}-6 \left (2-i \sqrt {7}\right ) x^2\right ) \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {2 \left (2 i+\sqrt {7}\right ) x^2}{\left (i+\sqrt {7}\right ) \left (1+2 x^2\right )}\right )+3 x^2 \left (5+3 i \sqrt {7}+2 \left (2-i \sqrt {7}\right ) x^2\right ) \, _2F_1\left (\frac {2}{3},2;\frac {5}{3};\frac {2 \left (2 i+\sqrt {7}\right ) x^2}{\left (i+\sqrt {7}\right ) \left (1+2 x^2\right )}\right )\right )}{224 \left (5 i+\sqrt {7}\right ) x^3 \left (1+2 x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.65, size = 453, normalized size = 3.81 \begin {gather*} \frac {3 \sqrt [3]{2 x^3+x} \left (\frac {\left (-5 \sqrt {7}+7 i\right ) \left (\left (6 \left (2+i \sqrt {7}\right ) x^2+3 i \sqrt {7}-5\right ) x^2 \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {2 \left (-2 i+\sqrt {7}\right ) x^2}{\left (-i+\sqrt {7}\right ) \left (2 x^2+1\right )}\right )+3 \left (\left (4+2 i \sqrt {7}\right ) x^2-3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},2;\frac {5}{3};\frac {2 \left (-2 i+\sqrt {7}\right ) x^2}{\left (-i+\sqrt {7}\right ) \left (2 x^2+1\right )}\right )+2 \left (2 x^2+1\right ) \left (\left (-3-3 i \sqrt {7}\right ) x^2-i \sqrt {7}+3\right )\right )}{-\sqrt {7}+5 i}+\frac {\left (5 \sqrt {7}+7 i\right ) \left (-\left (\left (6 i \left (\sqrt {7}+2 i\right ) x^2+3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {2 \left (2 i+\sqrt {7}\right ) x^2}{\left (i+\sqrt {7}\right ) \left (2 x^2+1\right )}\right )\right )+3 \left (\left (4-2 i \sqrt {7}\right ) x^2+3 i \sqrt {7}+5\right ) x^2 \, _2F_1\left (\frac {2}{3},2;\frac {5}{3};\frac {2 \left (2 i+\sqrt {7}\right ) x^2}{\left (i+\sqrt {7}\right ) \left (2 x^2+1\right )}\right )+2 \left (2 x^2+1\right ) \left (3 i \left (\sqrt {7}+i\right ) x^2+i \sqrt {7}+3\right )\right )}{\sqrt {7}+5 i}-28 \left (2 x^2+1\right )^2\right )}{224 x^3 \left (2 x^2+1\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.28, size = 119, normalized size = 1.00 \begin {gather*} \frac {3 \left (1+4 x^2\right ) \sqrt [3]{x+2 x^3}}{16 x^3}+\frac {1}{8} \text {RootSum}\left [11-9 \text {$\#$1}^3+2 \text {$\#$1}^6\&,\frac {11 \log (x)-11 \log \left (\sqrt [3]{x+2 x^3}-x \text {$\#$1}\right )+\log (x) \text {$\#$1}^3-\log \left (\sqrt [3]{x+2 x^3}-x \text {$\#$1}\right ) \text {$\#$1}^3}{-9 \text {$\#$1}^2+4 \text {$\#$1}^5}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \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^{4} - 1\right )} {\left (2 \, x^{3} + x\right )}^{\frac {1}{3}}}{{\left (x^{4} - x^{2} + 2\right )} x^{4}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 257.41, size = 12390, normalized size = 104.12
method | result | size |
trager | \(\text {Expression too large to display}\) | \(12390\) |
risch | \(\text {Expression too large to display}\) | \(13837\) |
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^{4} - 1\right )} {\left (2 \, x^{3} + x\right )}^{\frac {1}{3}}}{{\left (x^{4} - x^{2} + 2\right )} x^{4}}\,{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 (2\,x^3+x\right )}^{1/3}\,\left (x^4-1\right )}{x^4\,\left (x^4-x^2+2\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________