Integrand size = 28, antiderivative size = 122 \[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=-\frac {3 \left (-x^2+x^4\right )^{3/4}}{x \left (-1+x^2\right )}+2 \arctan \left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )-\frac {3 \arctan \left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-x^2+x^4}}\right )}{2 \sqrt [4]{2}}+2 \text {arctanh}\left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )-\frac {3 \text {arctanh}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-x^2+x^4}}\right )}{2 \sqrt [4]{2}} \]
[Out]
Time = 0.39 (sec) , antiderivative size = 221, normalized size of antiderivative = 1.81, number of steps used = 14, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {2081, 6847, 6857, 246, 218, 212, 209, 1418, 390, 385} \[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\frac {2 \sqrt [4]{x^2-1} \sqrt {x} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}-\frac {3 \sqrt [4]{x^2-1} \sqrt {x} \arctan \left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{2 \sqrt [4]{2} \sqrt [4]{x^4-x^2}}+\frac {2 \sqrt [4]{x^2-1} \sqrt {x} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}-\frac {3 \sqrt [4]{x^2-1} \sqrt {x} \text {arctanh}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{2 \sqrt [4]{2} \sqrt [4]{x^4-x^2}}-\frac {3 x}{\sqrt [4]{x^4-x^2}} \]
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 246
Rule 385
Rule 390
Rule 1418
Rule 2081
Rule 6847
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {x} \sqrt [4]{-1+x^2}\right ) \int \frac {1+2 x^4}{\sqrt {x} \sqrt [4]{-1+x^2} \left (-1+x^4\right )} \, dx}{\sqrt [4]{-x^2+x^4}} \\ & = \frac {\left (2 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1+2 x^8}{\sqrt [4]{-1+x^4} \left (-1+x^8\right )} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^4}} \\ & = \frac {\left (2 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \left (\frac {2}{\sqrt [4]{-1+x^4}}+\frac {3}{\sqrt [4]{-1+x^4} \left (-1+x^8\right )}\right ) \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^4}} \\ & = \frac {\left (4 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [4]{-1+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^4}}+\frac {\left (6 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [4]{-1+x^4} \left (-1+x^8\right )} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^4}} \\ & = \frac {\left (4 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}+\frac {\left (6 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+x^4\right )^{5/4} \left (1+x^4\right )} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^4}} \\ & = -\frac {3 x}{\sqrt [4]{-x^2+x^4}}+\frac {\left (2 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}+\frac {\left (2 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}-\frac {\left (3 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [4]{-1+x^4} \left (1+x^4\right )} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^4}} \\ & = -\frac {3 x}{\sqrt [4]{-x^2+x^4}}+\frac {2 \sqrt {x} \sqrt [4]{-1+x^2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}+\frac {2 \sqrt {x} \sqrt [4]{-1+x^2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}-\frac {\left (3 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-2 x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}} \\ & = -\frac {3 x}{\sqrt [4]{-x^2+x^4}}+\frac {2 \sqrt {x} \sqrt [4]{-1+x^2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}+\frac {2 \sqrt {x} \sqrt [4]{-1+x^2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}-\frac {\left (3 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \sqrt [4]{-x^2+x^4}}-\frac {\left (3 \sqrt {x} \sqrt [4]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \sqrt [4]{-x^2+x^4}} \\ & = -\frac {3 x}{\sqrt [4]{-x^2+x^4}}+\frac {2 \sqrt {x} \sqrt [4]{-1+x^2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}-\frac {3 \sqrt {x} \sqrt [4]{-1+x^2} \arctan \left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \sqrt [4]{2} \sqrt [4]{-x^2+x^4}}+\frac {2 \sqrt {x} \sqrt [4]{-1+x^2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt [4]{-x^2+x^4}}-\frac {3 \sqrt {x} \sqrt [4]{-1+x^2} \text {arctanh}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \sqrt [4]{2} \sqrt [4]{-x^2+x^4}} \\ \end{align*}
Time = 0.38 (sec) , antiderivative size = 158, normalized size of antiderivative = 1.30 \[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=-\frac {\sqrt {x} \left (12 \sqrt {x}-8 \sqrt [4]{-1+x^2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+3\ 2^{3/4} \sqrt [4]{-1+x^2} \arctan \left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-8 \sqrt [4]{-1+x^2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+3\ 2^{3/4} \sqrt [4]{-1+x^2} \text {arctanh}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )\right )}{4 \sqrt [4]{x^2 \left (-1+x^2\right )}} \]
[In]
[Out]
Time = 2.40 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.32
method | result | size |
pseudoelliptic | \(\frac {\frac {3 \left (\left (\arctan \left (\frac {2^{\frac {3}{4}} \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{2 x}\right )-\frac {\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 )}{2}\right ) 2^{\frac {3}{4}}-\frac {8 \arctan \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )}{3}+\frac {4 \ln \left (\frac {x +\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )}{3}-\frac {4 \ln \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}-x}{x}\right )}{3}\right ) \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{4}-3 x}{\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}\) | \(161\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 10.77 (sec) , antiderivative size = 478, normalized size of antiderivative = 3.92 \[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=-\frac {3 \cdot 2^{\frac {3}{4}} {\left (x^{3} - x\right )} \log \left (\frac {4 \, \sqrt {2} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} + 2^{\frac {3}{4}} {\left (3 \, x^{3} - x\right )} + 4 \cdot 2^{\frac {1}{4}} \sqrt {x^{4} - x^{2}} x + 4 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x^{3} + x}\right ) - 3 \cdot 2^{\frac {3}{4}} {\left (x^{3} - x\right )} \log \left (\frac {4 \, \sqrt {2} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} - 2^{\frac {3}{4}} {\left (3 \, x^{3} - x\right )} - 4 \cdot 2^{\frac {1}{4}} \sqrt {x^{4} - x^{2}} x + 4 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x^{3} + x}\right ) + 3 \cdot 2^{\frac {3}{4}} {\left (i \, x^{3} - i \, x\right )} \log \left (-\frac {4 \, \sqrt {2} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} - 2^{\frac {3}{4}} {\left (3 i \, x^{3} - i \, x\right )} + 4 i \cdot 2^{\frac {1}{4}} \sqrt {x^{4} - x^{2}} x - 4 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x^{3} + x}\right ) + 3 \cdot 2^{\frac {3}{4}} {\left (-i \, x^{3} + i \, x\right )} \log \left (-\frac {4 \, \sqrt {2} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} - 2^{\frac {3}{4}} {\left (-3 i \, x^{3} + i \, x\right )} - 4 i \cdot 2^{\frac {1}{4}} \sqrt {x^{4} - x^{2}} x - 4 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x^{3} + x}\right ) + 16 \, {\left (x^{3} - x\right )} \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 ) - 16 \, {\left (x^{3} - x\right )} \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 ) + 48 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{16 \, {\left (x^{3} - x\right )}} \]
[In]
[Out]
\[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\int \frac {2 x^{4} + 1}{\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 )}\, dx \]
[In]
[Out]
\[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\int { \frac {2 \, x^{4} + 1}{{\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} {\left (x^{4} - 1\right )}} \,d x } \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 112, normalized size of antiderivative = 0.92 \[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\frac {3}{4} \cdot 2^{\frac {3}{4}} \arctan \left (\frac {1}{2} \cdot 2^{\frac {3}{4}} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {3}{8} \cdot 2^{\frac {3}{4}} \log \left (2^{\frac {1}{4}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {3}{8} \cdot 2^{\frac {3}{4}} \log \left (2^{\frac {1}{4}} - {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {3}{{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}} - 2 \, \arctan \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) - \log \left (-{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {1+2 x^4}{\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\int \frac {2\,x^4+1}{\left (x^4-1\right )\,{\left (x^4-x^2\right )}^{1/4}} \,d x \]
[In]
[Out]