Optimal. Leaf size=208 \[ \frac {\log \left (-2 x^2+2^{2/3} \sqrt {3} \sqrt [3]{x^4-x^2} x-\sqrt [3]{2} \left (x^4-x^2\right )^{2/3}\right )}{4\ 2^{2/3}}-\frac {\log \left (2 x^2+\sqrt [3]{2} \left (x^4-x^2\right )^{2/3}\right )}{2\ 2^{2/3}}+\frac {\log \left (2 x^2+2^{2/3} \sqrt {3} \sqrt [3]{x^4-x^2} x+\sqrt [3]{2} \left (x^4-x^2\right )^{2/3}\right )}{4\ 2^{2/3}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} x^2}{\sqrt [3]{2} \left (x^4-x^2\right )^{2/3}-x^2}\right )}{2\ 2^{2/3}} \]
________________________________________________________________________________________
Rubi [C] time = 0.60, antiderivative size = 370, normalized size of antiderivative = 1.78, number of steps used = 9, number of rules used = 9, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {1311, 2013, 622, 619, 236, 219, 2034, 758, 133} \begin {gather*} \frac {3 \left (\frac {x^2}{x^2+1}\right )^{2/3} \left (-\frac {1-x^2}{x^2+1}\right )^{2/3} F_1\left (\frac {4}{3};\frac {2}{3},\frac {2}{3};\frac {7}{3};\frac {2}{x^2+1},\frac {1}{x^2+1}\right )}{4 \left (x^4-x^2\right )^{2/3}}-\frac {3^{3/4} \sqrt {2-\sqrt {3}} \left (x^2-x^4\right )^{2/3} \left (1-2^{2/3} \sqrt [3]{x^2-x^4}\right ) \sqrt {\frac {2 \sqrt [3]{2} \left (x^2-x^4\right )^{2/3}+2^{2/3} \sqrt [3]{x^2-x^4}+1}{\left (-2^{2/3} \sqrt [3]{x^2-x^4}-\sqrt {3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac {-2^{2/3} \sqrt [3]{x^2-x^4}+\sqrt {3}+1}{-2^{2/3} \sqrt [3]{x^2-x^4}-\sqrt {3}+1}\right )|-7+4 \sqrt {3}\right )}{2^{2/3} \left (1-2 x^2\right ) \left (x^4-x^2\right )^{2/3} \sqrt {-\frac {1-2^{2/3} \sqrt [3]{x^2-x^4}}{\left (-2^{2/3} \sqrt [3]{x^2-x^4}-\sqrt {3}+1\right )^2}}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 133
Rule 219
Rule 236
Rule 619
Rule 622
Rule 758
Rule 1311
Rule 2013
Rule 2034
Rubi steps
\begin {align*} \int \frac {\sqrt [3]{-x^2+x^4}}{x \left (1+x^2\right )} \, dx &=-\left (2 \int \frac {x}{\left (1+x^2\right ) \left (-x^2+x^4\right )^{2/3}} \, dx\right )+\int \frac {x}{\left (-x^2+x^4\right )^{2/3}} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{\left (-x+x^2\right )^{2/3}} \, dx,x,x^2\right )-\operatorname {Subst}\left (\int \frac {1}{(1+x) \left (-x+x^2\right )^{2/3}} \, dx,x,x^2\right )\\ &=\frac {\left (\left (\frac {x^2}{1+x^2}\right )^{2/3} \left (\frac {-1+x^2}{1+x^2}\right )^{2/3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt [3]{x}}{(1-2 x)^{2/3} (1-x)^{2/3}} \, dx,x,\frac {1}{1+x^2}\right )}{\left (\frac {1}{1+x^2}\right )^{4/3} \left (-x^2+x^4\right )^{2/3}}+\frac {\left (x^2-x^4\right )^{2/3} \operatorname {Subst}\left (\int \frac {1}{\left (x-x^2\right )^{2/3}} \, dx,x,x^2\right )}{2 \left (-x^2+x^4\right )^{2/3}}\\ &=\frac {3 \left (\frac {x^2}{1+x^2}\right )^{2/3} \left (-\frac {1-x^2}{1+x^2}\right )^{2/3} F_1\left (\frac {4}{3};\frac {2}{3},\frac {2}{3};\frac {7}{3};\frac {2}{1+x^2},\frac {1}{1+x^2}\right )}{4 \left (-x^2+x^4\right )^{2/3}}-\frac {\left (x^2-x^4\right )^{2/3} \operatorname {Subst}\left (\int \frac {1}{\left (1-x^2\right )^{2/3}} \, dx,x,1-2 x^2\right )}{2^{2/3} \left (-x^2+x^4\right )^{2/3}}\\ &=\frac {3 \left (\frac {x^2}{1+x^2}\right )^{2/3} \left (-\frac {1-x^2}{1+x^2}\right )^{2/3} F_1\left (\frac {4}{3};\frac {2}{3},\frac {2}{3};\frac {7}{3};\frac {2}{1+x^2},\frac {1}{1+x^2}\right )}{4 \left (-x^2+x^4\right )^{2/3}}+\frac {\left (3 \sqrt {-\left (1-2 x^2\right )^2} \left (x^2-x^4\right )^{2/3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^3}} \, dx,x,2^{2/3} \sqrt [3]{-x^2 \left (-1+x^2\right )}\right )}{2\ 2^{2/3} \left (1-2 x^2\right ) \left (-x^2+x^4\right )^{2/3}}\\ &=\frac {3 \left (\frac {x^2}{1+x^2}\right )^{2/3} \left (-\frac {1-x^2}{1+x^2}\right )^{2/3} F_1\left (\frac {4}{3};\frac {2}{3},\frac {2}{3};\frac {7}{3};\frac {2}{1+x^2},\frac {1}{1+x^2}\right )}{4 \left (-x^2+x^4\right )^{2/3}}-\frac {3^{3/4} \sqrt {2-\sqrt {3}} \sqrt {-\left (1-2 x^2\right )^2} \left (x^2-x^4\right )^{2/3} \left (1-2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}\right ) \sqrt {\frac {1+2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}+2 \sqrt [3]{2} \left (x^2 \left (1-x^2\right )\right )^{2/3}}{\left (1-\sqrt {3}-2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}\right )^2}} F\left (\sin ^{-1}\left (\frac {1+\sqrt {3}-2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}}{1-\sqrt {3}-2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}}\right )|-7+4 \sqrt {3}\right )}{2^{2/3} \left (1-2 x^2\right ) \left (-x^2+x^4\right )^{2/3} \sqrt {-1+4 x^2 \left (1-x^2\right )} \sqrt {-\frac {1-2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}}{\left (1-\sqrt {3}-2^{2/3} \sqrt [3]{x^2 \left (1-x^2\right )}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 47, normalized size = 0.23 \begin {gather*} \frac {3 \sqrt [3]{x^2 \left (x^2-1\right )} F_1\left (\frac {1}{3};-\frac {1}{3},1;\frac {4}{3};x^2,-x^2\right )}{2 \sqrt [3]{1-x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.39, size = 208, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} x^2}{-x^2+\sqrt [3]{2} \left (-x^2+x^4\right )^{2/3}}\right )}{2\ 2^{2/3}}+\frac {\log \left (-2 x^2+2^{2/3} \sqrt {3} x \sqrt [3]{-x^2+x^4}-\sqrt [3]{2} \left (-x^2+x^4\right )^{2/3}\right )}{4\ 2^{2/3}}-\frac {\log \left (2 x^2+\sqrt [3]{2} \left (-x^2+x^4\right )^{2/3}\right )}{2\ 2^{2/3}}+\frac {\log \left (2 x^2+2^{2/3} \sqrt {3} x \sqrt [3]{-x^2+x^4}+\sqrt [3]{2} \left (-x^2+x^4\right )^{2/3}\right )}{4\ 2^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 2.18, size = 365, normalized size = 1.75 \begin {gather*} -\frac {1}{12} \cdot 4^{\frac {1}{6}} \sqrt {3} \left (-1\right )^{\frac {1}{3}} \arctan \left (-\frac {4^{\frac {1}{6}} \sqrt {3} {\left (6 \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{10} - 33 \, x^{8} + 110 \, x^{6} - 110 \, x^{4} + 33 \, x^{2} - 1\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{3}} - 48 \, \left (-1\right )^{\frac {1}{3}} {\left (x^{8} - 2 \, x^{6} - 6 \, x^{4} - 2 \, x^{2} + 1\right )} {\left (x^{4} - x^{2}\right )}^{\frac {2}{3}} + 4^{\frac {1}{3}} {\left (x^{12} + 42 \, x^{10} - 417 \, x^{8} + 812 \, x^{6} - 417 \, x^{4} + 42 \, x^{2} + 1\right )}\right )}}{6 \, {\left (x^{12} - 102 \, x^{10} + 447 \, x^{8} - 628 \, x^{6} + 447 \, x^{4} - 102 \, x^{2} + 1\right )}}\right ) - \frac {1}{48} \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (\frac {24 \cdot 4^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{4} - x^{2}\right )}^{\frac {2}{3}} {\left (x^{4} - 4 \, x^{2} + 1\right )} - 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{8} - 32 \, x^{6} + 78 \, x^{4} - 32 \, x^{2} + 1\right )} - 12 \, {\left (x^{6} - 11 \, x^{4} + 11 \, x^{2} - 1\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{3}}}{x^{8} + 4 \, x^{6} + 6 \, x^{4} + 4 \, x^{2} + 1}\right ) + \frac {1}{24} \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (-\frac {3 \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{4} - x^{2}\right )}^{\frac {1}{3}} {\left (x^{2} - 1\right )} - 4^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{4} + 2 \, x^{2} + 1\right )} - 12 \, {\left (x^{4} - x^{2}\right )}^{\frac {2}{3}}}{x^{4} + 2 \, x^{2} + 1}\right ) \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} - x^{2}\right )}^{\frac {1}{3}}}{{\left (x^{2} + 1\right )} x}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 25.62, size = 1702, normalized size = 8.18
method | result | size |
trager | \(\text {Expression too large to display}\) | \(1702\) |
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} - x^{2}\right )}^{\frac {1}{3}}}{{\left (x^{2} + 1\right )} x}\,{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.00 \begin {gather*} \int \frac {{\left (x^4-x^2\right )}^{1/3}}{x\,\left (x^2+1\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 {\sqrt [3]{x^{2} \left (x - 1\right ) \left (x + 1\right )}}{x \left (x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________