Integrand size = 31, antiderivative size = 257 \[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3}{4} \arctan \left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )+\sqrt {\frac {1}{10} \left (1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right )+\sqrt {\frac {1}{10} \left (-1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right )+\frac {3}{4} \text {arctanh}\left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )-\sqrt {\frac {1}{10} \left (1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right )-\sqrt {\frac {1}{10} \left (-1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right ) \]
[Out]
Time = 0.75 (sec) , antiderivative size = 435, normalized size of antiderivative = 1.69, number of steps used = 25, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.387, Rules used = {2081, 6860, 285, 335, 338, 304, 209, 212, 1283, 1532, 1542, 508} \[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=-\frac {3 \sqrt [4]{x^4-x^2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{4 \sqrt [4]{x^2-1} \sqrt {x}}+\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \arctan \left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}+\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \arctan \left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}+\frac {3 \sqrt [4]{x^4-x^2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{4 \sqrt [4]{x^2-1} \sqrt {x}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \text {arctanh}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \text {arctanh}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}+\frac {1}{2} \sqrt [4]{x^4-x^2} x \]
[In]
[Out]
Rule 209
Rule 212
Rule 285
Rule 304
Rule 335
Rule 338
Rule 508
Rule 1283
Rule 1532
Rule 1542
Rule 2081
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt [4]{-x^2+x^4} \int \frac {\sqrt {x} \sqrt [4]{-1+x^2} \left (-1+x^4\right )}{-1-x^2+x^4} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {\sqrt [4]{-x^2+x^4} \int \left (\sqrt {x} \sqrt [4]{-1+x^2}+\frac {x^{5/2} \sqrt [4]{-1+x^2}}{-1-x^2+x^4}\right ) \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {\sqrt [4]{-x^2+x^4} \int \sqrt {x} \sqrt [4]{-1+x^2} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{-x^2+x^4} \int \frac {x^{5/2} \sqrt [4]{-1+x^2}}{-1-x^2+x^4} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \int \frac {\sqrt {x}}{\left (-1+x^2\right )^{3/4}} \, dx}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^6 \sqrt [4]{-1+x^4}}{-1-x^4+x^8} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\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 ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4} \left (-1-x^4+x^8\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{1-x^4} \, 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 {2 x^2}{\sqrt {5} \left (1+\sqrt {5}-2 x^4\right ) \left (-1+x^4\right )^{3/4}}-\frac {2 x^2}{\sqrt {5} \left (-1+x^4\right )^{3/4} \left (-1+\sqrt {5}+2 x^4\right )}\right ) \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (1+\sqrt {5}-2 x^4\right ) \left (-1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4} \left (-1+\sqrt {5}+2 x^4\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3 \sqrt [4]{-x^2+x^4} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {3 \sqrt [4]{-x^2+x^4} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{1+\sqrt {5}-\left (-1+\sqrt {5}\right ) x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1+\sqrt {5}-\left (1+\sqrt {5}\right ) x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3 \sqrt [4]{-x^2+x^4} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {3 \sqrt [4]{-x^2+x^4} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (-1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (-1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3 \sqrt [4]{-x^2+x^4} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \arctan \left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \arctan \left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {3 \sqrt [4]{-x^2+x^4} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \text {arctanh}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \text {arctanh}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}} \\ \end{align*}
Time = 0.78 (sec) , antiderivative size = 268, normalized size of antiderivative = 1.04 \[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=\frac {x^{3/2} \left (-1+x^2\right )^{3/4} \left (10 x^{3/2} \sqrt [4]{-1+x^2}-15 \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+2 \sqrt {10 \left (1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+2 \sqrt {10 \left (-1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+15 \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-2 \sqrt {10 \left (1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-2 \sqrt {10 \left (-1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )\right )}{20 \left (x^2 \left (-1+x^2\right )\right )^{3/4}} \]
[In]
[Out]
Time = 18.22 (sec) , antiderivative size = 210, normalized size of antiderivative = 0.82
method | result | size |
pseudoelliptic | \(\frac {x \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{2}-\frac {\left (\operatorname {arctanh}\left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {2+2 \sqrt {5}}}\right )+\arctan \left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {2+2 \sqrt {5}}}\right )\right ) \sqrt {5}\, \sqrt {-2+2 \sqrt {5}}}{10}-\frac {\sqrt {5}\, \left (\operatorname {arctanh}\left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {-2+2 \sqrt {5}}}\right )+\arctan \left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {-2+2 \sqrt {5}}}\right )\right ) \sqrt {2+2 \sqrt {5}}}{10}+\frac {3 \ln \left (\frac {x +\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )}{8}-\frac {3 \ln \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}-x}{x}\right )}{8}+\frac {3 \arctan \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )}{4}\) | \(210\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1633 vs. \(2 (187) = 374\).
Time = 23.41 (sec) , antiderivative size = 1633, normalized size of antiderivative = 6.35 \[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=\int \frac {\sqrt [4]{x^{2} \left (x - 1\right ) \left (x + 1\right )} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}{x^{4} - x^{2} - 1}\, dx \]
[In]
[Out]
\[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=\int { \frac {{\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} {\left (x^{4} - 1\right )}}{x^{4} - x^{2} - 1} \,d x } \]
[In]
[Out]
none
Time = 0.39 (sec) , antiderivative size = 248, normalized size of antiderivative = 0.96 \[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=\frac {1}{2} \, x^{2} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} - \frac {1}{10} \, \sqrt {10 \, \sqrt {5} - 10} \arctan \left (\frac {{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}}{\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}}}\right ) - \frac {1}{10} \, \sqrt {10 \, \sqrt {5} + 10} \arctan \left (\frac {{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}}{\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}}}\right ) - \frac {1}{20} \, \sqrt {10 \, \sqrt {5} - 10} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{20} \, \sqrt {10 \, \sqrt {5} - 10} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} - {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {1}{20} \, \sqrt {10 \, \sqrt {5} + 10} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{20} \, \sqrt {10 \, \sqrt {5} + 10} \log \left ({\left | -\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} \right |}\right ) + \frac {3}{4} \, \arctan \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {3}{8} \, \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) - \frac {3}{8} \, \log \left (-{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx=-\int \frac {\left (x^4-1\right )\,{\left (x^4-x^2\right )}^{1/4}}{-x^4+x^2+1} \,d x \]
[In]
[Out]