Optimal. Leaf size=85 \[ \frac {\tan ^{-1}\left (\frac {2^{3/4} \sqrt {x^3-x}}{-x^2+\sqrt {2} x+1}\right )}{2^{3/4}}-\frac {\tanh ^{-1}\left (\frac {\frac {x^2}{2^{3/4}}+\frac {x}{\sqrt [4]{2}}-\frac {1}{2^{3/4}}}{\sqrt {x^3-x}}\right )}{2^{3/4}} \]
________________________________________________________________________________________
Rubi [C] time = 1.66, antiderivative size = 654, normalized size of antiderivative = 7.69, number of steps used = 43, number of rules used = 13, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.542, Rules used = {2056, 1586, 6715, 6725, 406, 222, 409, 1215, 1457, 540, 253, 538, 537} \begin {gather*} \frac {2 \sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\left (2 \sqrt {2}+(2+2 i)\right ) \sqrt {x^3-x}}+\frac {2 \sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\left (2 \sqrt {2}+(2-2 i)\right ) \sqrt {x^3-x}}-\frac {\sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\left (\sqrt {2}+(1+i)\right ) \sqrt {x^3-x}}-\frac {\sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\left (\sqrt {2}+(1-i)\right ) \sqrt {x^3-x}}-\frac {\sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\left (\sqrt {2}+(-1-i)\right ) \sqrt {x^3-x}}-\frac {2 \sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\left (-2 \sqrt {2}+(2+2 i)\right ) \sqrt {x^3-x}}+\frac {\sqrt {2} \sqrt {x-1} \sqrt {x} \sqrt {x+1} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right )|\frac {1}{2}\right )}{\sqrt {x^3-x}}-\frac {\sqrt {1-x} \sqrt {x} \sqrt {x+1} \Pi \left (-\sqrt [4]{-1};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\sqrt {x^3-x}}-\frac {\sqrt {1-x} \sqrt {x} \sqrt {x+1} \Pi \left (\sqrt [4]{-1};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\sqrt {x^3-x}}-\frac {\sqrt {1-x} \sqrt {x} \sqrt {x+1} \Pi \left (-(-1)^{3/4};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\sqrt {x^3-x}}-\frac {\sqrt {1-x} \sqrt {x} \sqrt {x+1} \Pi \left ((-1)^{3/4};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\sqrt {x^3-x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 253
Rule 406
Rule 409
Rule 537
Rule 538
Rule 540
Rule 1215
Rule 1457
Rule 1586
Rule 2056
Rule 6715
Rule 6725
Rubi steps
\begin {align*} \int \frac {-1+x^4}{\sqrt {-x+x^3} \left (1+x^4\right )} \, dx &=\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \int \frac {-1+x^4}{\sqrt {x} \sqrt {-1+x^2} \left (1+x^4\right )} \, dx}{\sqrt {-x+x^3}}\\ &=\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \int \frac {\sqrt {-1+x^2} \left (1+x^2\right )}{\sqrt {x} \left (1+x^4\right )} \, dx}{\sqrt {-x+x^3}}\\ &=\frac {\left (2 \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {-1+x^4} \left (1+x^4\right )}{1+x^8} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}\\ &=\frac {\left (2 \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \left (-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) \sqrt {-1+x^4}}{i-x^4}+\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) \sqrt {-1+x^4}}{i+x^4}\right ) \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}\\ &=-\frac {\left ((1-i) \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {-1+x^4}}{i-x^4} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}+\frac {\left ((1+i) \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {-1+x^4}}{i+x^4} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}\\ &=-\frac {\left (2 i \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (i-x^4\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}-\frac {\left (2 i \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4} \left (i+x^4\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}+\frac {\left ((1-i) \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}+\frac {\left ((1+i) \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}\\ &=\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1-\sqrt [4]{-1} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1+\sqrt [4]{-1} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1-(-1)^{3/4} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1+(-1)^{3/4} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x+x^3}}\\ &=\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1-x^2}{\left (1-\sqrt [4]{-1} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt [4]{-1} \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1-x^2}{\left (1+\sqrt [4]{-1} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1-(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\left ((-1)^{3/4} \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1-x^2}{\left (1+(-1)^{3/4} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {2} \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1-x^2}{\left (1-(-1)^{3/4} x^2\right ) \sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}\\ &=\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {1-x^2}}{\sqrt {-1-x^2} \left (1-\sqrt [4]{-1} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt [4]{-1} \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {1-x^2}}{\sqrt {-1-x^2} \left (1+\sqrt [4]{-1} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\left ((-1)^{3/4} \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {1-x^2}}{\sqrt {-1-x^2} \left (1+(-1)^{3/4} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {2} \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {1-x^2}}{\sqrt {-1-x^2} \left (1-(-1)^{3/4} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}\\ &=\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2}} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2}} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \left (-1+(-1)^{3/4}\right ) \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2} \left (1+\sqrt [4]{-1} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2}} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left ((-1)^{3/4} \left (-1+\sqrt [4]{-1}\right ) \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2} \left (1+(-1)^{3/4} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \left (1+(-1)^{3/4}\right ) \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2} \left (1-\sqrt [4]{-1} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \sqrt {2} \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2}} \, dx,x,\sqrt {x}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {2} \left (1+\sqrt [4]{-1}\right ) \sqrt {-1-x} \sqrt {1-x} \sqrt {x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1-x^2} \sqrt {1-x^2} \left (1-(-1)^{3/4} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}\\ &=\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \left (-1+(-1)^{3/4}\right ) \sqrt {1-x} \sqrt {x} \sqrt {1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (1+\sqrt [4]{-1} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left ((-1)^{3/4} \left (-1+\sqrt [4]{-1}\right ) \sqrt {1-x} \sqrt {x} \sqrt {1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (1+(-1)^{3/4} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \left (1+(-1)^{3/4}\right ) \sqrt {1-x} \sqrt {x} \sqrt {1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (1-\sqrt [4]{-1} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\left (\sqrt {2} \left (1+\sqrt [4]{-1}\right ) \sqrt {1-x} \sqrt {x} \sqrt {1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (1-(-1)^{3/4} x^2\right )} \, dx,x,\sqrt {x}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\left (\sqrt [4]{-1} \sqrt {2} \sqrt {x} \sqrt {-1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}\\ &=\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {-x+x^3}}-\frac {\sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\sqrt {2} \left (1-(-1)^{3/4}\right ) \sqrt {-x+x^3}}+\frac {\sqrt [4]{-1} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right )|\frac {1}{2}\right )}{\left ((1+i)+\sqrt {2}\right ) \sqrt {-x+x^3}}-\frac {\sqrt [4]{-1} \left (1-(-1)^{3/4}\right ) \sqrt {1-x} \sqrt {x} \sqrt {1+x} \Pi \left (-\sqrt [4]{-1};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\left (1+\sqrt [4]{-1}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {1-x} \sqrt {x} \sqrt {1+x} \Pi \left (\sqrt [4]{-1};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\sqrt {-x+x^3}}-\frac {(-1)^{3/4} \left (1-\sqrt [4]{-1}\right ) \sqrt {1-x} \sqrt {x} \sqrt {1+x} \Pi \left (-(-1)^{3/4};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\left (1+(-1)^{3/4}\right ) \sqrt {-x+x^3}}-\frac {\sqrt {1-x} \sqrt {x} \sqrt {1+x} \Pi \left ((-1)^{3/4};\left .\sin ^{-1}\left (\sqrt {x}\right )\right |-1\right )}{\sqrt {-x+x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.72, size = 96, normalized size = 1.13 \begin {gather*} -\frac {\sqrt {1-\frac {1}{x^2}} x^{3/2} \left (-2 F\left (\left .\sin ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right |-1\right )+\Pi \left (-\sqrt [4]{-1};\left .\sin ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right |-1\right )+\Pi \left (\sqrt [4]{-1};\left .\sin ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right |-1\right )+\Pi \left (-(-1)^{3/4};\left .\sin ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right |-1\right )+\Pi \left ((-1)^{3/4};\left .\sin ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right |-1\right )\right )}{\sqrt {x \left (x^2-1\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.35, size = 85, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {2^{3/4} \sqrt {-x+x^3}}{1+\sqrt {2} x-x^2}\right )}{2^{3/4}}-\frac {\tanh ^{-1}\left (\frac {-\frac {1}{2^{3/4}}+\frac {x}{\sqrt [4]{2}}+\frac {x^2}{2^{3/4}}}{\sqrt {-x+x^3}}\right )}{2^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.71, size = 385, normalized size = 4.53 \begin {gather*} -\frac {1}{2} \cdot 2^{\frac {1}{4}} \arctan \left (\frac {\sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} x - 2^{\frac {1}{4}} {\left (x^{2} - 1\right )}\right )} - {\left (2 \, x^{3} - \sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} x + 2^{\frac {1}{4}} {\left (x^{2} - 1\right )}\right )} - 2 \, x\right )} \sqrt {\frac {x^{4} + 4 \, \sqrt {2} {\left (x^{3} - x\right )} + 2 \, \sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} {\left (x^{2} - 1\right )} + 2 \cdot 2^{\frac {1}{4}} x\right )} + 1}{x^{4} + 1}}}{2 \, {\left (x^{3} - x\right )}}\right ) - \frac {1}{2} \cdot 2^{\frac {1}{4}} \arctan \left (\frac {\sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} x - 2^{\frac {1}{4}} {\left (x^{2} - 1\right )}\right )} + {\left (2 \, x^{3} + \sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} x + 2^{\frac {1}{4}} {\left (x^{2} - 1\right )}\right )} - 2 \, x\right )} \sqrt {\frac {x^{4} + 4 \, \sqrt {2} {\left (x^{3} - x\right )} - 2 \, \sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} {\left (x^{2} - 1\right )} + 2 \cdot 2^{\frac {1}{4}} x\right )} + 1}{x^{4} + 1}}}{2 \, {\left (x^{3} - x\right )}}\right ) - \frac {1}{8} \cdot 2^{\frac {1}{4}} \log \left (\frac {x^{4} + 4 \, \sqrt {2} {\left (x^{3} - x\right )} + 2 \, \sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} {\left (x^{2} - 1\right )} + 2 \cdot 2^{\frac {1}{4}} x\right )} + 1}{x^{4} + 1}\right ) + \frac {1}{8} \cdot 2^{\frac {1}{4}} \log \left (\frac {x^{4} + 4 \, \sqrt {2} {\left (x^{3} - x\right )} - 2 \, \sqrt {x^{3} - x} {\left (2^{\frac {3}{4}} {\left (x^{2} - 1\right )} + 2 \cdot 2^{\frac {1}{4}} x\right )} + 1}{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 {x^{4} - 1}{{\left (x^{4} + 1\right )} \sqrt {x^{3} - x}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 2.66, size = 119, normalized size = 1.40
method | result | size |
default | \(\frac {\sqrt {1+x}\, \sqrt {2-2 x}\, \sqrt {-x}\, \EllipticF \left (\sqrt {1+x}, \frac {\sqrt {2}}{2}\right )}{\sqrt {x^{3}-x}}+\frac {\sqrt {2}\, \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{4}+1\right )}{\sum }\frac {\underline {\hspace {1.25 ex}}\alpha \left (\underline {\hspace {1.25 ex}}\alpha ^{3}-\underline {\hspace {1.25 ex}}\alpha ^{2}+\underline {\hspace {1.25 ex}}\alpha -1\right ) \sqrt {1+x}\, \sqrt {1-x}\, \sqrt {-x}\, \EllipticPi \left (\sqrt {1+x}, -\frac {1}{2} \underline {\hspace {1.25 ex}}\alpha ^{3}+\frac {1}{2} \underline {\hspace {1.25 ex}}\alpha ^{2}-\frac {1}{2} \underline {\hspace {1.25 ex}}\alpha +\frac {1}{2}, \frac {\sqrt {2}}{2}\right )}{\sqrt {x \left (x^{2}-1\right )}}\right )}{4}\) | \(119\) |
elliptic | \(\frac {\sqrt {1+x}\, \sqrt {2-2 x}\, \sqrt {-x}\, \EllipticF \left (\sqrt {1+x}, \frac {\sqrt {2}}{2}\right )}{\sqrt {x^{3}-x}}+\frac {\sqrt {2}\, \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{4}+1\right )}{\sum }\frac {\underline {\hspace {1.25 ex}}\alpha \left (\underline {\hspace {1.25 ex}}\alpha ^{3}-\underline {\hspace {1.25 ex}}\alpha ^{2}+\underline {\hspace {1.25 ex}}\alpha -1\right ) \sqrt {1+x}\, \sqrt {1-x}\, \sqrt {-x}\, \EllipticPi \left (\sqrt {1+x}, -\frac {1}{2} \underline {\hspace {1.25 ex}}\alpha ^{3}+\frac {1}{2} \underline {\hspace {1.25 ex}}\alpha ^{2}-\frac {1}{2} \underline {\hspace {1.25 ex}}\alpha +\frac {1}{2}, \frac {\sqrt {2}}{2}\right )}{\sqrt {x \left (x^{2}-1\right )}}\right )}{4}\) | \(119\) |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right ) \ln \left (-\frac {8 \RootOf \left (\textit {\_Z}^{4}+8\right )^{4} x^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right )-12 \RootOf \left (\textit {\_Z}^{4}+8\right )^{4} x \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right )-8 \RootOf \left (\textit {\_Z}^{4}+8\right )^{4} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right )-50 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right ) x^{2}+7 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right ) x +200 \sqrt {x^{3}-x}\, \RootOf \left (\textit {\_Z}^{4}+8\right )^{2}+50 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right )+78 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right ) x^{2}+104 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right ) x -56 \sqrt {x^{3}-x}-78 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+8\right )^{2}\right )}{2 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} x^{2}-3 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} x -2 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2}+6 x^{2}+8 x -6}\right )}{4}+\frac {\RootOf \left (\textit {\_Z}^{4}+8\right ) \ln \left (-\frac {8 \RootOf \left (\textit {\_Z}^{4}+8\right )^{5} x^{2}-12 \RootOf \left (\textit {\_Z}^{4}+8\right )^{5} x -8 \RootOf \left (\textit {\_Z}^{4}+8\right )^{5}+50 \RootOf \left (\textit {\_Z}^{4}+8\right )^{3} x^{2}-7 \RootOf \left (\textit {\_Z}^{4}+8\right )^{3} x -50 \RootOf \left (\textit {\_Z}^{4}+8\right )^{3}-200 \sqrt {x^{3}-x}\, \RootOf \left (\textit {\_Z}^{4}+8\right )^{2}+78 \RootOf \left (\textit {\_Z}^{4}+8\right ) x^{2}+104 \RootOf \left (\textit {\_Z}^{4}+8\right ) x -78 \RootOf \left (\textit {\_Z}^{4}+8\right )-56 \sqrt {x^{3}-x}}{2 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} x^{2}-3 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2} x -2 \RootOf \left (\textit {\_Z}^{4}+8\right )^{2}-6 x^{2}-8 x +6}\right )}{4}\) | \(476\) |
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^{4} - 1}{{\left (x^{4} + 1\right )} \sqrt {x^{3} - x}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 205, normalized size = 2.41 \begin {gather*} \frac {\sqrt {-x}\,\sqrt {1-x}\,\sqrt {x+1}\,\Pi \left (\sqrt {2}\,\left (-\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right );\mathrm {asin}\left (\sqrt {-x}\right )\middle |-1\right )}{\sqrt {x^3-x}}+\frac {\sqrt {-x}\,\sqrt {1-x}\,\sqrt {x+1}\,\Pi \left (\sqrt {2}\,\left (-\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right );\mathrm {asin}\left (\sqrt {-x}\right )\middle |-1\right )}{\sqrt {x^3-x}}+\frac {\sqrt {-x}\,\sqrt {1-x}\,\sqrt {x+1}\,\Pi \left (\sqrt {2}\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right );\mathrm {asin}\left (\sqrt {-x}\right )\middle |-1\right )}{\sqrt {x^3-x}}+\frac {\sqrt {-x}\,\sqrt {1-x}\,\sqrt {x+1}\,\Pi \left (\sqrt {2}\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right );\mathrm {asin}\left (\sqrt {-x}\right )\middle |-1\right )}{\sqrt {x^3-x}}-\frac {2\,\sqrt {-x}\,\sqrt {1-x}\,\sqrt {x+1}\,\mathrm {F}\left (\mathrm {asin}\left (\sqrt {-x}\right )\middle |-1\right )}{\sqrt {x^3-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 {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}{\sqrt {x \left (x - 1\right ) \left (x + 1\right )} \left (x^{4} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________