Optimal. Leaf size=105 \[ -\frac {5 x}{3 \sqrt [4]{x^4+1}}+\tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {5 \tan ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{x^4+1}}\right )}{6\ 2^{3/4} \sqrt [4]{3}}+\tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {5 \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{x^4+1}}\right )}{6\ 2^{3/4} \sqrt [4]{3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.25, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 8, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {6728, 240, 212, 206, 203, 1403, 382, 377} \begin {gather*} -\frac {5 x}{3 \sqrt [4]{x^4+1}}+\tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {5 \tan ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{x^4+1}}\right )}{6\ 2^{3/4} \sqrt [4]{3}}+\tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {5 \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{x^4+1}}\right )}{6\ 2^{3/4} \sqrt [4]{3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 212
Rule 240
Rule 377
Rule 382
Rule 1403
Rule 6728
Rubi steps
\begin {align*} \int \frac {1-2 x^4+2 x^8}{\sqrt [4]{1+x^4} \left (-2-x^4+x^8\right )} \, dx &=\int \left (\frac {2}{\sqrt [4]{1+x^4}}+\frac {5}{\sqrt [4]{1+x^4} \left (-2-x^4+x^8\right )}\right ) \, dx\\ &=2 \int \frac {1}{\sqrt [4]{1+x^4}} \, dx+5 \int \frac {1}{\sqrt [4]{1+x^4} \left (-2-x^4+x^8\right )} \, dx\\ &=2 \operatorname {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+5 \int \frac {1}{\left (-2+x^4\right ) \left (1+x^4\right )^{5/4}} \, dx\\ &=-\frac {5 x}{3 \sqrt [4]{1+x^4}}+\frac {5}{3} \int \frac {1}{\left (-2+x^4\right ) \sqrt [4]{1+x^4}} \, dx+\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )\\ &=-\frac {5 x}{3 \sqrt [4]{1+x^4}}+\tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {5}{3} \operatorname {Subst}\left (\int \frac {1}{-2+3 x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )\\ &=-\frac {5 x}{3 \sqrt [4]{1+x^4}}+\tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {5 \operatorname {Subst}\left (\int \frac {1}{\sqrt {2}-\sqrt {3} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{6 \sqrt {2}}-\frac {5 \operatorname {Subst}\left (\int \frac {1}{\sqrt {2}+\sqrt {3} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{6 \sqrt {2}}\\ &=-\frac {5 x}{3 \sqrt [4]{1+x^4}}+\tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {5 \tan ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{1+x^4}}\right )}{6\ 2^{3/4} \sqrt [4]{3}}+\tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {5 \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{1+x^4}}\right )}{6\ 2^{3/4} \sqrt [4]{3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.33, size = 132, normalized size = 1.26 \begin {gather*} -\frac {1}{5} x^5 F_1\left (\frac {5}{4};\frac {1}{4},1;\frac {9}{4};-x^4,\frac {x^4}{2}\right )-\frac {5 x}{3 \sqrt [4]{x^4+1}}+\frac {7 \left (-\log \left (2-\frac {2^{3/4} \sqrt [4]{3} x}{\sqrt [4]{x^4+1}}\right )+\log \left (\frac {2^{3/4} \sqrt [4]{3} x}{\sqrt [4]{x^4+1}}+2\right )+2 \tan ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{x^4+1}}\right )\right )}{12\ 2^{3/4} \sqrt [4]{3}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.47, size = 105, normalized size = 1.00 \begin {gather*} -\frac {5 x}{3 \sqrt [4]{1+x^4}}+\tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {5 \tan ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{1+x^4}}\right )}{6\ 2^{3/4} \sqrt [4]{3}}+\tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {5 \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {3}{2}} x}{\sqrt [4]{1+x^4}}\right )}{6\ 2^{3/4} \sqrt [4]{3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.62, size = 205, normalized size = 1.95 \begin {gather*} -\frac {20 \cdot 24^{\frac {3}{4}} {\left (x^{4} + 1\right )} \arctan \left (\frac {24^{\frac {3}{4}} \sqrt {2} x \sqrt {\frac {\sqrt {6} x^{2} + 2 \, \sqrt {x^{4} + 1}}{x^{2}}} - 2 \cdot 24^{\frac {3}{4}} {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{24 \, x}\right ) + 5 \cdot 24^{\frac {3}{4}} {\left (x^{4} + 1\right )} \log \left (\frac {24^{\frac {1}{4}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - 5 \cdot 24^{\frac {3}{4}} {\left (x^{4} + 1\right )} \log \left (-\frac {24^{\frac {1}{4}} x - 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + 288 \, {\left (x^{4} + 1\right )} \arctan \left (\frac {{\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - 144 \, {\left (x^{4} + 1\right )} \log \left (\frac {x + {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + 144 \, {\left (x^{4} + 1\right )} \log \left (-\frac {x - {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + 480 \, {\left (x^{4} + 1\right )}^{\frac {3}{4}} x}{288 \, {\left (x^{4} + 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 {2 \, x^{8} - 2 \, x^{4} + 1}{{\left (x^{8} - x^{4} - 2\right )} {\left (x^{4} + 1\right )}^{\frac {1}{4}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {2 x^{8}-2 x^{4}+1}{\left (x^{4}+1\right )^{\frac {1}{4}} \left (x^{8}-x^{4}-2\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*} \int \frac {2 \, x^{8} - 2 \, x^{4} + 1}{{\left (x^{8} - x^{4} - 2\right )} {\left (x^{4} + 1\right )}^{\frac {1}{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 {2\,x^8-2\,x^4+1}{{\left (x^4+1\right )}^{1/4}\,\left (-x^8+x^4+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 {2 x^{8} - 2 x^{4} + 1}{\left (x^{4} - 2\right ) \left (x^{4} + 1\right )^{\frac {5}{4}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________