Integrand size = 29, antiderivative size = 117 \[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=\frac {1}{192} \sqrt [4]{x^2+x^4} \left (-7 x+4 x^3+32 x^5\right )-\frac {7}{128} \arctan \left (\frac {x}{\sqrt [4]{x^2+x^4}}\right )-\frac {\arctan \left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^2+x^4}}\right )}{2^{3/4}}+\frac {7}{128} \text {arctanh}\left (\frac {x}{\sqrt [4]{x^2+x^4}}\right )+\frac {\text {arctanh}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^2+x^4}}\right )}{2^{3/4}} \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(248\) vs. \(2(117)=234\).
Time = 0.37 (sec) , antiderivative size = 248, normalized size of antiderivative = 2.12, number of steps used = 24, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.379, Rules used = {2081, 1600, 6857, 327, 335, 338, 304, 209, 212, 477, 508} \[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=-\frac {7 \sqrt [4]{x^4+x^2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{x^2+1}}\right )}{128 \sqrt [4]{x^2+1} \sqrt {x}}-\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 [4]{x^2+1} \sqrt {x}}+\frac {7 \sqrt [4]{x^4+x^2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2+1}}\right )}{128 \sqrt [4]{x^2+1} \sqrt {x}}+\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 [4]{x^2+1} \sqrt {x}}-\frac {7}{192} \sqrt [4]{x^4+x^2} x+\frac {1}{6} \sqrt [4]{x^4+x^2} x^5+\frac {1}{48} \sqrt [4]{x^4+x^2} x^3 \]
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 327
Rule 335
Rule 338
Rule 477
Rule 508
Rule 1600
Rule 2081
Rule 6857
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+x^8\right )}{-1+x^4} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}} \\ & = \frac {\sqrt [4]{x^2+x^4} \int \frac {\sqrt {x} \left (-1-x^4+x^8\right )}{\left (-1+x^2\right ) \left (1+x^2\right )^{3/4}} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}} \\ & = \frac {\sqrt [4]{x^2+x^4} \int \left (\frac {x^{9/2}}{\left (1+x^2\right )^{3/4}}+\frac {x^{13/2}}{\left (1+x^2\right )^{3/4}}-\frac {\sqrt {x}}{\left (-1+x^2\right ) \left (1+x^2\right )^{3/4}}\right ) \, dx}{\sqrt {x} \sqrt [4]{1+x^2}} \\ & = \frac {\sqrt [4]{x^2+x^4} \int \frac {x^{9/2}}{\left (1+x^2\right )^{3/4}} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}}+\frac {\sqrt [4]{x^2+x^4} \int \frac {x^{13/2}}{\left (1+x^2\right )^{3/4}} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}}-\frac {\sqrt [4]{x^2+x^4} \int \frac {\sqrt {x}}{\left (-1+x^2\right ) \left (1+x^2\right )^{3/4}} \, dx}{\sqrt {x} \sqrt [4]{1+x^2}} \\ & = \frac {1}{4} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}-\frac {\left (7 \sqrt [4]{x^2+x^4}\right ) \int \frac {x^{5/2}}{\left (1+x^2\right )^{3/4}} \, dx}{8 \sqrt {x} \sqrt [4]{1+x^2}}-\frac {\left (11 \sqrt [4]{x^2+x^4}\right ) \int \frac {x^{9/2}}{\left (1+x^2\right )^{3/4}} \, dx}{12 \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 ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{1+x^2}} \\ & = -\frac {7}{16} x \sqrt [4]{x^2+x^4}+\frac {1}{48} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}+\frac {\left (21 \sqrt [4]{x^2+x^4}\right ) \int \frac {\sqrt {x}}{\left (1+x^2\right )^{3/4}} \, dx}{32 \sqrt {x} \sqrt [4]{1+x^2}}+\frac {\left (77 \sqrt [4]{x^2+x^4}\right ) \int \frac {x^{5/2}}{\left (1+x^2\right )^{3/4}} \, dx}{96 \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+2 x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{\sqrt {x} \sqrt [4]{1+x^2}} \\ & = -\frac {7}{192} x \sqrt [4]{x^2+x^4}+\frac {1}{48} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}-\frac {\left (77 \sqrt [4]{x^2+x^4}\right ) \int \frac {\sqrt {x}}{\left (1+x^2\right )^{3/4}} \, dx}{128 \sqrt {x} \sqrt [4]{1+x^2}}+\frac {\left (21 \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 )}{16 \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 {\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 {7}{192} x \sqrt [4]{x^2+x^4}+\frac {1}{48} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}-\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}}-\frac {\left (77 \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 )}{64 \sqrt {x} \sqrt [4]{1+x^2}}+\frac {\left (21 \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 )}{16 \sqrt {x} \sqrt [4]{1+x^2}} \\ & = -\frac {7}{192} x \sqrt [4]{x^2+x^4}+\frac {1}{48} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}-\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}}+\frac {\left (21 \sqrt [4]{x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{32 \sqrt {x} \sqrt [4]{1+x^2}}-\frac {\left (21 \sqrt [4]{x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{32 \sqrt {x} \sqrt [4]{1+x^2}}-\frac {\left (77 \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 )}{64 \sqrt {x} \sqrt [4]{1+x^2}} \\ & = -\frac {7}{192} x \sqrt [4]{x^2+x^4}+\frac {1}{48} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}-\frac {21 \sqrt [4]{x^2+x^4} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{32 \sqrt {x} \sqrt [4]{1+x^2}}-\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 {21 \sqrt [4]{x^2+x^4} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{32 \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}}-\frac {\left (77 \sqrt [4]{x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{128 \sqrt {x} \sqrt [4]{1+x^2}}+\frac {\left (77 \sqrt [4]{x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{128 \sqrt {x} \sqrt [4]{1+x^2}} \\ & = -\frac {7}{192} x \sqrt [4]{x^2+x^4}+\frac {1}{48} x^3 \sqrt [4]{x^2+x^4}+\frac {1}{6} x^5 \sqrt [4]{x^2+x^4}-\frac {7 \sqrt [4]{x^2+x^4} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{128 \sqrt {x} \sqrt [4]{1+x^2}}-\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 {7 \sqrt [4]{x^2+x^4} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )}{128 \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.50 (sec) , antiderivative size = 170, normalized size of antiderivative = 1.45 \[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=\frac {\sqrt [4]{x^2+x^4} \left (-14 x^{3/2} \sqrt [4]{1+x^2}+8 x^{7/2} \sqrt [4]{1+x^2}+64 x^{11/2} \sqrt [4]{1+x^2}-21 \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )-192 \sqrt [4]{2} \arctan \left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{1+x^2}}\right )+21 \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{1+x^2}}\right )+192 \sqrt [4]{2} \text {arctanh}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{1+x^2}}\right )\right )}{384 \sqrt {x} \sqrt [4]{1+x^2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(234\) vs. \(2(94)=188\).
Time = 3.23 (sec) , antiderivative size = 235, normalized size of antiderivative = 2.01
method | result | size |
pseudoelliptic | \(\frac {x^{6} \left (128 x^{5} \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}+16 \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}} x^{3}+192 \,2^{\frac {1}{4}} \ln \left (\frac {-2^{\frac {1}{4}} x -\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}}{2^{\frac {1}{4}} x -\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}}\right )+384 \,2^{\frac {1}{4}} \arctan \left (\frac {\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}} 2^{\frac {3}{4}}}{2 x}\right )-28 \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}} x +21 \ln \left (\frac {x +\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}}{x}\right )-21 \ln \left (\frac {\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}-x}{x}\right )+42 \arctan \left (\frac {\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}}{x}\right )\right )}{768 {\left (x +\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}\right )}^{3} {\left (\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{4}}-x \right )}^{3} \left (x^{2}+\sqrt {x^{2} \left (x^{2}+1\right )}\right )^{3}}\) | \(235\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 4.81 (sec) , antiderivative size = 400, normalized size of antiderivative = 3.42 \[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=\frac {1}{32} \cdot 8^{\frac {3}{4}} \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 ) - \frac {1}{32} i \cdot 8^{\frac {3}{4}} \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 ) + \frac {1}{32} i \cdot 8^{\frac {3}{4}} \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 ) - \frac {1}{32} \cdot 8^{\frac {3}{4}} \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 ) + \frac {1}{192} \, {\left (32 \, x^{5} + 4 \, x^{3} - 7 \, x\right )} {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} - \frac {7}{256} \, \arctan \left (\frac {2 \, {\left ({\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} x^{2} + {\left (x^{4} + x^{2}\right )}^{\frac {3}{4}}\right )}}{x}\right ) + \frac {7}{256} \, \log \left (\frac {2 \, x^{3} + 2 \, {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \, \sqrt {x^{4} + x^{2}} x + x + 2 \, {\left (x^{4} + x^{2}\right )}^{\frac {3}{4}}}{x}\right ) \]
[In]
[Out]
\[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=\int \frac {\sqrt [4]{x^{2} \left (x^{2} + 1\right )} \left (x^{8} - x^{4} - 1\right )}{\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=\int { \frac {{\left (x^{8} - x^{4} - 1\right )} {\left (x^{4} + x^{2}\right )}^{\frac {1}{4}}}{x^{4} - 1} \,d x } \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 123, normalized size of antiderivative = 1.05 \[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=-\frac {1}{192} \, {\left (7 \, {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {9}{4}} - 18 \, {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {5}{4}} - 21 \, {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right )} x^{6} + \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 ({\left | -2^{\frac {1}{4}} + {\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} \right |}\right ) + \frac {7}{128} \, \arctan \left ({\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {7}{256} \, \log \left ({\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) - \frac {7}{256} \, \log \left ({\left (\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} - 1\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt [4]{x^2+x^4} \left (-1-x^4+x^8\right )}{-1+x^4} \, dx=\int -\frac {{\left (x^4+x^2\right )}^{1/4}\,\left (-x^8+x^4+1\right )}{x^4-1} \,d x \]
[In]
[Out]