Optimal. Leaf size=75 \[ \frac {\tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4+x^2}}\right )}{2^{3/4}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4+x^2}}\right )}{2^{3/4}}+\frac {2 \sqrt [4]{x^4+x^2} \left (x^2+1\right )}{5 x^3} \]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 129, normalized size of antiderivative = 1.72, number of steps used = 9, number of rules used = 8, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {2056, 1254, 466, 494, 461, 298, 203, 206} \begin {gather*} \frac {\sqrt [4]{x^4+x^2} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{x^2+1}}\right )}{2^{3/4} \sqrt {x} \sqrt [4]{x^2+1}}-\frac {\sqrt [4]{x^4+x^2} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{x^2+1}}\right )}{2^{3/4} \sqrt {x} \sqrt [4]{x^2+1}}+\frac {2 \sqrt [4]{x^4+x^2} \left (x^2+1\right )}{5 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 298
Rule 461
Rule 466
Rule 494
Rule 1254
Rule 2056
Rubi steps
\begin {align*} \int \frac {\sqrt [4]{x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx &=\frac {\sqrt [4]{x^2+x^4} \int \frac {\sqrt [4]{1+x^2}}{x^{7/2} \left (-1+x^4\right )} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {\sqrt [4]{x^2+x^4} \int \frac {1}{x^{7/2} \left (-1+x^2\right ) \left (1+x^2\right )^{3/4}} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {\left (2 \sqrt [4]{x^2+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{x^6 \left (-1+x^4\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {\left (2 \sqrt [4]{x^2+x^4}\right ) \operatorname {Subst}\left (\int \frac {\left (1-x^4\right )^2}{x^6 \left (-1+2 x^4\right )} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{\sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {\left (2 \sqrt [4]{x^2+x^4}\right ) \operatorname {Subst}\left (\int \left (-\frac {1}{x^6}+\frac {x^2}{-1+2 x^4}\right ) \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{\sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {2 \left (1+x^2\right ) \sqrt [4]{x^2+x^4}}{5 x^3}+\frac {\left (2 \sqrt [4]{x^2+x^4}\right ) \operatorname {Subst}\left (\int \frac {x^2}{-1+2 x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{\sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {2 \left (1+x^2\right ) \sqrt [4]{x^2+x^4}}{5 x^3}-\frac {\sqrt [4]{x^2+x^4} \operatorname {Subst}\left (\int \frac {1}{1-\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{\sqrt {2} \sqrt {x} \sqrt [4]{1+x^2}}+\frac {\sqrt [4]{x^2+x^4} \operatorname {Subst}\left (\int \frac {1}{1+\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{\sqrt {2} \sqrt {x} \sqrt [4]{1+x^2}}\\ &=\frac {2 \left (1+x^2\right ) \sqrt [4]{x^2+x^4}}{5 x^3}+\frac {\sqrt [4]{x^2+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{2^{3/4} \sqrt {x} \sqrt [4]{1+x^2}}-\frac {\sqrt [4]{x^2+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{2^{3/4} \sqrt {x} \sqrt [4]{1+x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.56, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [4]{x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.25, size = 75, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4+x^2}}\right )}{2^{3/4}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4+x^2}}\right )}{2^{3/4}}+\frac {2 \sqrt [4]{x^4+x^2} \left (x^2+1\right )}{5 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.99, size = 253, normalized size = 3.37 \begin {gather*} -\frac {20 \cdot 8^{\frac {3}{4}} x^{3} \arctan \left (\frac {16 \cdot 8^{\frac {1}{4}} {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2^{\frac {3}{4}} {\left (8^{\frac {3}{4}} {\left (3 \, x^{3} + x\right )} + 8 \cdot 8^{\frac {1}{4}} \sqrt {x^{4} + x^{2}} x\right )} + 4 \cdot 8^{\frac {3}{4}} {\left (x^{4} + x^{2}\right )}^{\frac {3}{4}}}{8 \, {\left (x^{3} - x\right )}}\right ) + 5 \cdot 8^{\frac {3}{4}} x^{3} \log \left (\frac {4 \, \sqrt {2} {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 8^{\frac {3}{4}} \sqrt {x^{4} + x^{2}} x + 8^{\frac {1}{4}} {\left (3 \, x^{3} + x\right )} + 4 \, {\left (x^{4} + x^{2}\right )}^{\frac {3}{4}}}{x^{3} - x}\right ) - 5 \cdot 8^{\frac {3}{4}} x^{3} \log \left (\frac {4 \, \sqrt {2} {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} x^{2} - 8^{\frac {3}{4}} \sqrt {x^{4} + x^{2}} x - 8^{\frac {1}{4}} {\left (3 \, x^{3} + x\right )} + 4 \, {\left (x^{4} + x^{2}\right )}^{\frac {3}{4}}}{x^{3} - x}\right ) - 64 \, {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} {\left (x^{2} + 1\right )}}{160 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 65, normalized size = 0.87 \begin {gather*} \frac {2}{5} \, {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {5}{4}} - \frac {1}{2} \cdot 2^{\frac {1}{4}} \arctan \left (\frac {1}{2} \cdot 2^{\frac {3}{4}} {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {1}{4} \cdot 2^{\frac {1}{4}} \log \left (2^{\frac {1}{4}} + {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{4} \cdot 2^{\frac {1}{4}} \log \left ({\left | -2^{\frac {1}{4}} + {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F(-1)] time = 180.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{4}+x^{2}\right )^{\frac {1}{4}}}{x^{4} \left (x^{4}-1\right )}\, dx \end {gather*}
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*} -\frac {2 \, {\left (32 \, x^{7} - 8 \, x^{5} + 5 \, x^{3} + 45 \, x\right )} {\left (x^{2} + 1\right )}^{\frac {1}{4}}}{585 \, {\left (x^{\frac {15}{2}} - x^{\frac {7}{2}}\right )}} - \int \frac {8 \, {\left (32 \, x^{6} - 8 \, x^{4} + 5 \, x^{2} + 45\right )} {\left (x^{2} + 1\right )}^{\frac {1}{4}}}{585 \, {\left (x^{\frac {23}{2}} - 2 \, x^{\frac {15}{2}} + x^{\frac {7}{2}}\right )}}\,{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^4+x^2\right )}^{1/4}}{x^4-x^8} \,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 [4]{x^{2} \left (x^{2} + 1\right )}}{x^{4} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________