Optimal. Leaf size=139 \[ \frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {\tan ^{-1}\left (\frac {\left (\sqrt {2} x-\sqrt {2}\right ) \sqrt [4]{x^4+1}}{\sqrt {x^4+1}-x^2+2 x-1}\right )}{\sqrt {2}}-\frac {\tanh ^{-1}\left (\frac {\left (\sqrt {2} x-\sqrt {2}\right ) \sqrt [4]{x^4+1}}{\sqrt {x^4+1}+x^2-2 x+1}\right )}{\sqrt {2}} \]
________________________________________________________________________________________
Rubi [C] time = 1.85, antiderivative size = 851, normalized size of antiderivative = 6.12, number of steps used = 53, number of rules used = 21, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.778, Rules used = {1593, 6728, 240, 212, 206, 203, 2153, 1240, 377, 208, 205, 510, 1248, 746, 399, 490, 1213, 537, 444, 63, 298} \begin {gather*} -\frac {1}{6} \left (1+i \sqrt {3}\right ) F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1-i \sqrt {3}}\right ) x^3-\frac {1}{6} \left (1-i \sqrt {3}\right ) F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1+i \sqrt {3}}\right ) x^3+\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{4} \left (1+i \sqrt {3}\right ) \sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \tan ^{-1}\left (\frac {x}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{x^4+1}}\right )-\frac {1}{2} \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{2} \left (\frac {1}{2} \left (1-i \sqrt {3}\right )\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x^4+1}}{\sqrt [4]{1-i \sqrt {3}}}\right )-\frac {1}{2} \left (\frac {1}{2} \left (1+i \sqrt {3}\right )\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x^4+1}}{\sqrt [4]{1+i \sqrt {3}}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{4} \left (1+i \sqrt {3}\right ) \sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{x^4+1}}\right )-\frac {1}{2} \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x}{\sqrt [4]{x^4+1}}\right )+\frac {1}{2} \left (\frac {1}{2} \left (1-i \sqrt {3}\right )\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x^4+1}}{\sqrt [4]{1-i \sqrt {3}}}\right )+\frac {1}{2} \left (\frac {1}{2} \left (1+i \sqrt {3}\right )\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x^4+1}}{\sqrt [4]{1+i \sqrt {3}}}\right )-\frac {i \sqrt {-x^4} \Pi \left (\frac {1}{2} \left (-i-\sqrt {3}\right );\left .\sin ^{-1}\left (\sqrt [4]{x^4+1}\right )\right |-1\right )}{2 x^2}+\frac {i \sqrt {-x^4} \Pi \left (\frac {1}{2} \left (i-\sqrt {3}\right );\left .\sin ^{-1}\left (\sqrt [4]{x^4+1}\right )\right |-1\right )}{2 x^2}+\frac {i \sqrt {-x^4} \Pi \left (\frac {1}{\sqrt {\frac {1}{2} \left (1-i \sqrt {3}\right )}};\left .\sin ^{-1}\left (\sqrt [4]{x^4+1}\right )\right |-1\right )}{2 x^2}-\frac {i \sqrt {-x^4} \Pi \left (\frac {1}{\sqrt {\frac {1}{2} \left (1+i \sqrt {3}\right )}};\left .\sin ^{-1}\left (\sqrt [4]{x^4+1}\right )\right |-1\right )}{2 x^2} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 63
Rule 203
Rule 205
Rule 206
Rule 208
Rule 212
Rule 240
Rule 298
Rule 377
Rule 399
Rule 444
Rule 490
Rule 510
Rule 537
Rule 746
Rule 1213
Rule 1240
Rule 1248
Rule 1593
Rule 2153
Rule 6728
Rubi steps
\begin {align*} \int \frac {-2 x+x^2}{\left (1-x+x^2\right ) \sqrt [4]{1+x^4}} \, dx &=\int \frac {(-2+x) x}{\left (1-x+x^2\right ) \sqrt [4]{1+x^4}} \, dx\\ &=\int \left (\frac {1}{\sqrt [4]{1+x^4}}-\frac {1+x}{\left (1-x+x^2\right ) \sqrt [4]{1+x^4}}\right ) \, dx\\ &=\int \frac {1}{\sqrt [4]{1+x^4}} \, dx-\int \frac {1+x}{\left (1-x+x^2\right ) \sqrt [4]{1+x^4}} \, dx\\ &=-\int \left (\frac {1-i \sqrt {3}}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [4]{1+x^4}}+\frac {1+i \sqrt {3}}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [4]{1+x^4}}\right ) \, dx+\operatorname {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\left (1-i \sqrt {3}\right ) \int \frac {1}{\left (-1-i \sqrt {3}+2 x\right ) \sqrt [4]{1+x^4}} \, dx-\left (1+i \sqrt {3}\right ) \int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [4]{1+x^4}} \, dx\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\left (1-i \sqrt {3}\right ) \int \left (\frac {i-\sqrt {3}}{2 \left (i+\sqrt {3}+2 i x^2\right ) \sqrt [4]{1+x^4}}+\frac {x}{\left (1-i \sqrt {3}+2 x^2\right ) \sqrt [4]{1+x^4}}\right ) \, dx-\left (1+i \sqrt {3}\right ) \int \left (\frac {-i-\sqrt {3}}{2 \left (-i+\sqrt {3}-2 i x^2\right ) \sqrt [4]{1+x^4}}+\frac {x}{\left (1+i \sqrt {3}+2 x^2\right ) \sqrt [4]{1+x^4}}\right ) \, dx\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+2 i \int \frac {1}{\left (-i+\sqrt {3}-2 i x^2\right ) \sqrt [4]{1+x^4}} \, dx-2 i \int \frac {1}{\left (i+\sqrt {3}+2 i x^2\right ) \sqrt [4]{1+x^4}} \, dx-\left (1-i \sqrt {3}\right ) \int \frac {x}{\left (1-i \sqrt {3}+2 x^2\right ) \sqrt [4]{1+x^4}} \, dx-\left (1+i \sqrt {3}\right ) \int \frac {x}{\left (1+i \sqrt {3}+2 x^2\right ) \sqrt [4]{1+x^4}} \, dx\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+2 i \int \left (\frac {1+i \sqrt {3}}{2 \left (i+\sqrt {3}+2 i x^4\right ) \sqrt [4]{1+x^4}}+\frac {i x^2}{\sqrt [4]{1+x^4} \left (1-i \sqrt {3}+2 x^4\right )}\right ) \, dx-2 i \int \left (\frac {1-i \sqrt {3}}{2 \left (-i+\sqrt {3}-2 i x^4\right ) \sqrt [4]{1+x^4}}-\frac {i x^2}{\sqrt [4]{1+x^4} \left (1+i \sqrt {3}+2 x^4\right )}\right ) \, dx-\frac {1}{2} \left (1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1-i \sqrt {3}+2 x\right ) \sqrt [4]{1+x^2}} \, dx,x,x^2\right )-\frac {1}{2} \left (1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1+i \sqrt {3}+2 x\right ) \sqrt [4]{1+x^2}} \, dx,x,x^2\right )\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-2 \int \frac {x^2}{\sqrt [4]{1+x^4} \left (1-i \sqrt {3}+2 x^4\right )} \, dx-2 \int \frac {x^2}{\sqrt [4]{1+x^4} \left (1+i \sqrt {3}+2 x^4\right )} \, dx+\left (i-\sqrt {3}\right ) \int \frac {1}{\left (i+\sqrt {3}+2 i x^4\right ) \sqrt [4]{1+x^4}} \, dx-\left (-1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\left (1-i \sqrt {3}\right )^2-4 x^2\right ) \sqrt [4]{1+x^2}} \, dx,x,x^2\right )-\left (-1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {x}{\left (\left (1+i \sqrt {3}\right )^2-4 x^2\right ) \sqrt [4]{1+x^2}} \, dx,x,x^2\right )-\left (-1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {x}{\left (\left (1-i \sqrt {3}\right )^2-4 x^2\right ) \sqrt [4]{1+x^2}} \, dx,x,x^2\right )-\frac {1}{2} \left (1+i \sqrt {3}\right )^2 \operatorname {Subst}\left (\int \frac {1}{\left (\left (1+i \sqrt {3}\right )^2-4 x^2\right ) \sqrt [4]{1+x^2}} \, dx,x,x^2\right )-\left (i+\sqrt {3}\right ) \int \frac {1}{\left (-i+\sqrt {3}-2 i x^4\right ) \sqrt [4]{1+x^4}} \, dx\\ &=-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1-i \sqrt {3}}\right )}{3 \left (1-i \sqrt {3}\right )}-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1+i \sqrt {3}}\right )}{3 \left (1+i \sqrt {3}\right )}+\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (i-\sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{i+\sqrt {3}-\left (-i+\sqrt {3}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{2} \left (-1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\left (1+i \sqrt {3}\right )^2-4 x\right ) \sqrt [4]{1+x}} \, dx,x,x^4\right )-\frac {1}{2} \left (-1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\left (1-i \sqrt {3}\right )^2-4 x\right ) \sqrt [4]{1+x}} \, dx,x,x^4\right )-\left (i+\sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{-i+\sqrt {3}-\left (i+\sqrt {3}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\left (2 \left (-1-i \sqrt {3}\right ) \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {x^2}{\left (4+\left (1-i \sqrt {3}\right )^2-4 x^4\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1+x^4}\right )}{x^2}-\frac {\left (\left (1+i \sqrt {3}\right )^2 \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {x^2}{\left (4+\left (1+i \sqrt {3}\right )^2-4 x^4\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1+x^4}\right )}{x^2}\\ &=-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1-i \sqrt {3}}\right )}{3 \left (1-i \sqrt {3}\right )}-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1+i \sqrt {3}}\right )}{3 \left (1+i \sqrt {3}\right )}+\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (2 \left (1-i \sqrt {3}\right )\right ) \operatorname {Subst}\left (\int \frac {x^2}{4+\left (1-i \sqrt {3}\right )^2-4 x^4} \, dx,x,\sqrt [4]{1+x^4}\right )+\left (2 \left (1+i \sqrt {3}\right )\right ) \operatorname {Subst}\left (\int \frac {x^2}{4+\left (1+i \sqrt {3}\right )^2-4 x^4} \, dx,x,\sqrt [4]{1+x^4}\right )+\frac {\left (i-\sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {i+\sqrt {3}}-\sqrt {-i+\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {i+\sqrt {3}}}+\frac {\left (i-\sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {i+\sqrt {3}}+\sqrt {-i+\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {i+\sqrt {3}}}-\frac {\left (i+\sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-i+\sqrt {3}}-\sqrt {i+\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {-i+\sqrt {3}}}-\frac {\left (i+\sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-i+\sqrt {3}}+\sqrt {i+\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {-i+\sqrt {3}}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1-i \sqrt {3}}-\sqrt {2} x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2} x^2}+\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1-i \sqrt {3}}+\sqrt {2} x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2} x^2}-\frac {\left (\left (1+i \sqrt {3}\right )^2 \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1+i \sqrt {3}}-\sqrt {2} x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1+x^4}\right )}{4 \sqrt {2} x^2}+\frac {\left (\left (1+i \sqrt {3}\right )^2 \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1+i \sqrt {3}}+\sqrt {2} x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1+x^4}\right )}{4 \sqrt {2} x^2}\\ &=-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1-i \sqrt {3}}\right )}{3 \left (1-i \sqrt {3}\right )}-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1+i \sqrt {3}}\right )}{3 \left (1+i \sqrt {3}\right )}+\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\tan ^{-1}\left (\frac {x}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{1+x^4}}\right )}{2 \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4}}-\frac {1}{2} \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\tanh ^{-1}\left (\frac {x}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{1+x^4}}\right )}{2 \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4}}-\frac {1}{2} \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x}{\sqrt [4]{1+x^4}}\right )+\frac {\left (1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-i \sqrt {3}}-\sqrt {2} x^2} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2}}-\frac {\left (1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-i \sqrt {3}}+\sqrt {2} x^2} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2}}+\frac {\left (1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+i \sqrt {3}}-\sqrt {2} x^2} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2}}-\frac {\left (1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+i \sqrt {3}}+\sqrt {2} x^2} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2}}-\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (\sqrt {1-i \sqrt {3}}-\sqrt {2} x^2\right )} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2} x^2}+\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (\sqrt {1-i \sqrt {3}}+\sqrt {2} x^2\right )} \, dx,x,\sqrt [4]{1+x^4}\right )}{2 \sqrt {2} x^2}-\frac {\left (\left (1+i \sqrt {3}\right )^2 \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (\sqrt {1+i \sqrt {3}}-\sqrt {2} x^2\right )} \, dx,x,\sqrt [4]{1+x^4}\right )}{4 \sqrt {2} x^2}+\frac {\left (\left (1+i \sqrt {3}\right )^2 \sqrt {-x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (\sqrt {1+i \sqrt {3}}+\sqrt {2} x^2\right )} \, dx,x,\sqrt [4]{1+x^4}\right )}{4 \sqrt {2} x^2}\\ &=-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1-i \sqrt {3}}\right )}{3 \left (1-i \sqrt {3}\right )}-\frac {2 x^3 F_1\left (\frac {3}{4};\frac {1}{4},1;\frac {7}{4};-x^4,-\frac {2 x^4}{1+i \sqrt {3}}\right )}{3 \left (1+i \sqrt {3}\right )}+\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\tan ^{-1}\left (\frac {x}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{1+x^4}}\right )}{2 \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4}}-\frac {1}{2} \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{2} \left (\frac {1}{2} \left (1-i \sqrt {3}\right )\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{1+x^4}}{\sqrt [4]{1-i \sqrt {3}}}\right )-\frac {1}{2} \left (\frac {1}{2} \left (1+i \sqrt {3}\right )\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{1+x^4}}{\sqrt [4]{1+i \sqrt {3}}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\tanh ^{-1}\left (\frac {x}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{1+x^4}}\right )}{2 \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4}}-\frac {1}{2} \left (-\frac {i-\sqrt {3}}{i+\sqrt {3}}\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \left (\frac {1}{2} \left (1-i \sqrt {3}\right )\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{1+x^4}}{\sqrt [4]{1-i \sqrt {3}}}\right )+\frac {1}{2} \left (\frac {1}{2} \left (1+i \sqrt {3}\right )\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{1+x^4}}{\sqrt [4]{1+i \sqrt {3}}}\right )-\frac {\left (1+i \sqrt {3}\right ) \sqrt {-x^4} \Pi \left (\frac {1}{2} \left (-i-\sqrt {3}\right );\left .\sin ^{-1}\left (\sqrt [4]{1+x^4}\right )\right |-1\right )}{2 \sqrt {2} \sqrt {1-i \sqrt {3}} x^2}+\frac {\left (1+i \sqrt {3}\right )^{3/2} \sqrt {-x^4} \Pi \left (\frac {1}{2} \left (i-\sqrt {3}\right );\left .\sin ^{-1}\left (\sqrt [4]{1+x^4}\right )\right |-1\right )}{4 \sqrt {2} x^2}+\frac {\left (1+i \sqrt {3}\right ) \sqrt {-x^4} \Pi \left (\frac {1}{\sqrt {\frac {1}{2} \left (1-i \sqrt {3}\right )}};\left .\sin ^{-1}\left (\sqrt [4]{1+x^4}\right )\right |-1\right )}{2 \sqrt {2} \sqrt {1-i \sqrt {3}} x^2}-\frac {\left (1+i \sqrt {3}\right )^{3/2} \sqrt {-x^4} \Pi \left (\frac {1}{\sqrt {\frac {1}{2} \left (1+i \sqrt {3}\right )}};\left .\sin ^{-1}\left (\sqrt [4]{1+x^4}\right )\right |-1\right )}{4 \sqrt {2} x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.16, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-2 x+x^2}{\left (1-x+x^2\right ) \sqrt [4]{1+x^4}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 12.01, size = 139, normalized size = 1.00 \begin {gather*} \frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\tan ^{-1}\left (\frac {\left (-\sqrt {2}+\sqrt {2} x\right ) \sqrt [4]{1+x^4}}{-1+2 x-x^2+\sqrt {1+x^4}}\right )}{\sqrt {2}}+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\tanh ^{-1}\left (\frac {\left (-\sqrt {2}+\sqrt {2} x\right ) \sqrt [4]{1+x^4}}{1-2 x+x^2+\sqrt {1+x^4}}\right )}{\sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 12.14, size = 1172, normalized size = 8.43
result too large to display
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 {x^{2} - 2 \, x}{{\left (x^{4} + 1\right )}^{\frac {1}{4}} {\left (x^{2} - x + 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 9.94, size = 621, normalized size = 4.47
method | result | size |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (-2 \RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {x^{4}+1}\, x^{2}+2 \RootOf \left (\textit {\_Z}^{2}+1\right ) x^{4}+2 \left (x^{4}+1\right )^{\frac {3}{4}} x -2 x^{3} \left (x^{4}+1\right )^{\frac {1}{4}}+\RootOf \left (\textit {\_Z}^{2}+1\right )\right )}{4}-\frac {\ln \left (2 \left (x^{4}+1\right )^{\frac {3}{4}} x -2 x^{2} \sqrt {x^{4}+1}+2 x^{3} \left (x^{4}+1\right )^{\frac {1}{4}}-2 x^{4}-1\right )}{4}+\frac {\RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \ln \left (\frac {\sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \RootOf \left (\textit {\_Z}^{2}+1\right ) x^{2}-2 \sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \RootOf \left (\textit {\_Z}^{2}+1\right ) x -\RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}} x^{3}+\left (x^{4}+1\right )^{\frac {3}{4}} x +\sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \RootOf \left (\textit {\_Z}^{2}+1\right )+3 \RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}} x^{2}-2 \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) x^{3}-\left (x^{4}+1\right )^{\frac {3}{4}}-3 \RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}} x +3 \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) x^{2}+\RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}}-2 \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) x}{\left (x^{2}-x +1\right )^{2}}\right )}{2}-\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \ln \left (\frac {-\sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) x^{2}+\RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}} x^{3}+2 \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \RootOf \left (\textit {\_Z}^{2}+1\right ) x^{3}+\left (x^{4}+1\right )^{\frac {3}{4}} x +2 \sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) x -3 \RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}} x^{2}-3 \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \RootOf \left (\textit {\_Z}^{2}+1\right ) x^{2}-\left (x^{4}+1\right )^{\frac {3}{4}}-\sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right )+3 \RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}} x +2 \RootOf \left (\textit {\_Z}^{2}-\RootOf \left (\textit {\_Z}^{2}+1\right )\right ) \RootOf \left (\textit {\_Z}^{2}+1\right ) x -\RootOf \left (\textit {\_Z}^{2}+1\right ) \left (x^{4}+1\right )^{\frac {1}{4}}}{\left (x^{2}-x +1\right )^{2}}\right )}{2}\) | \(621\) |
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 {x^{2} - 2 \, x}{{\left (x^{4} + 1\right )}^{\frac {1}{4}} {\left (x^{2} - x + 1\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 {2\,x-x^2}{{\left (x^4+1\right )}^{1/4}\,\left (x^2-x+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 {x \left (x - 2\right )}{\sqrt [4]{x^{4} + 1} \left (x^{2} - x + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________