Integrand size = 24, antiderivative size = 81 \[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=-\frac {2 \left (-1+x^2\right ) \sqrt [4]{-x^2+x^4}}{5 x^3}-\frac {\arctan \left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-x^2+x^4}}\right )}{2^{3/4}}+\frac {\text {arctanh}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-x^2+x^4}}\right )}{2^{3/4}} \]
[Out]
Time = 0.20 (sec) , antiderivative size = 137, normalized size of antiderivative = 1.69, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2081, 1268, 477, 508, 472, 304, 209, 212} \[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=-\frac {\sqrt [4]{x^4-x^2} \arctan \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} \text {arctanh}\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 (1-x^2\right )}{5 x^3} \]
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 472
Rule 477
Rule 508
Rule 1268
Rule 2081
Rubi steps \begin{align*} \text {integral}& = \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 )^{3/4} \left (1+x^2\right )} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{x^6 \left (-1+x^4\right )^{3/4} \left (1+x^4\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {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 ) \text {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 ) \text {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} \text {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} \text {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} \arctan \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} \text {arctanh}\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*}
Time = 0.27 (sec) , antiderivative size = 107, normalized size of antiderivative = 1.32 \[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=-\frac {\sqrt [4]{x^2 \left (-1+x^2\right )} \left (4 \left (-1+x^2\right )^{5/4}+5 \sqrt [4]{2} x^{5/2} \arctan \left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-5 \sqrt [4]{2} x^{5/2} \text {arctanh}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )\right )}{10 x^3 \sqrt [4]{-1+x^2}} \]
[In]
[Out]
Time = 12.78 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.23
method | result | size |
pseudoelliptic | \(\frac {\left (-8 x^{2}+8\right ) \left (x^{4}-x^{2}\right )^{\frac {1}{4}}+5 \,2^{\frac {1}{4}} x^{3} \left (2 \arctan \left (\frac {2^{\frac {3}{4}} \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{2 x}\right )+\ln \left (\frac {-2^{\frac {1}{4}} x -\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{2^{\frac {1}{4}} x -\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}\right )\right )}{20 x^{3}}\) | \(100\) |
trager | \(-\frac {2 \left (x^{2}-1\right ) \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{5 x^{3}}+\frac {\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right ) \ln \left (\frac {3 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{3} x^{3}+4 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} \left (x^{4}-x^{2}\right )^{\frac {1}{4}} x^{2}-\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{3} x +4 \sqrt {x^{4}-x^{2}}\, \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right ) x +4 \left (x^{4}-x^{2}\right )^{\frac {3}{4}}}{\left (x^{2}+1\right ) x}\right )}{4}-\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \ln \left (\frac {3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} x^{3}-4 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} \left (x^{4}-x^{2}\right )^{\frac {1}{4}} x^{2}-\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) x -4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \sqrt {x^{4}-x^{2}}\, x +4 \left (x^{4}-x^{2}\right )^{\frac {3}{4}}}{\left (x^{2}+1\right ) x}\right )}{4}\) | \(267\) |
risch | \(-\frac {2 \left (x^{2} \left (x^{2}-1\right )\right )^{\frac {1}{4}} \left (x^{4}-2 x^{2}+1\right )}{5 x^{3} \left (x^{2}-1\right )}+\frac {\left (\frac {\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right ) \ln \left (\frac {2 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{3} \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{4}+3 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} x^{6}-4 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{3} \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{2}-7 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} x^{4}+2 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{3}+5 x^{2} \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}+4 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {3}{4}} \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )+4 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}\, x^{2}-\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}-4 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}}{\left (x -1\right )^{2} \left (1+x \right )^{2} \left (x^{2}+1\right )}\right )}{4}+\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \ln \left (-\frac {2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{4}+3 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} x^{6}-4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{2}-7 \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2} x^{4}+2 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right ) \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}-4 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {3}{4}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}\right )+5 x^{2} \operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}-4 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}\, x^{2}-\operatorname {RootOf}\left (\textit {\_Z}^{4}-2\right )^{2}+4 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}}{\left (x -1\right )^{2} \left (1+x \right )^{2} \left (x^{2}+1\right )}\right )}{4}\right ) \left (x^{2} \left (x^{2}-1\right )\right )^{\frac {1}{4}} \left (x^{2} \left (x^{2}-1\right )^{3}\right )^{\frac {1}{4}}}{x \left (x^{2}-1\right )}\) | \(633\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 1.28 (sec) , antiderivative size = 348, normalized size of antiderivative = 4.30 \[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=\frac {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 i \cdot 8^{\frac {3}{4}} x^{3} \log \left (-\frac {4 \, \sqrt {2} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} + i \cdot 8^{\frac {3}{4}} \sqrt {x^{4} - x^{2}} x - 8^{\frac {1}{4}} {\left (3 i \, x^{3} - i \, x\right )} - 4 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x^{3} + x}\right ) + 5 i \cdot 8^{\frac {3}{4}} x^{3} \log \left (-\frac {4 \, \sqrt {2} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} - i \cdot 8^{\frac {3}{4}} \sqrt {x^{4} - x^{2}} x - 8^{\frac {1}{4}} {\left (-3 i \, x^{3} + i \, 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}} \]
[In]
[Out]
\[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=\int \frac {\sqrt [4]{x^{2} \left (x - 1\right ) \left (x + 1\right )}}{x^{4} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=\int { \frac {{\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}}{{\left (x^{4} - 1\right )} x^{4}} \,d x } \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.89 \[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=-\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 (2^{\frac {1}{4}} - {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt [4]{-x^2+x^4}}{x^4 \left (-1+x^4\right )} \, dx=-\int \frac {{\left (x^4-x^2\right )}^{1/4}}{x^4-x^8} \,d x \]
[In]
[Out]