Integrand size = 34, antiderivative size = 217 \[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\arctan \left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{10} \left (-1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{10} \left (1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-1+x^4}}\right )+\text {arctanh}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{10} \left (-1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{10} \left (1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-1+x^4}}\right ) \]
[Out]
Time = 0.26 (sec) , antiderivative size = 233, normalized size of antiderivative = 1.07, number of steps used = 15, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.206, Rules used = {6860, 246, 218, 212, 209, 1442, 385} \[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\arctan \left (\frac {x}{\sqrt [4]{x^4-1}}\right )-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \arctan \left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} x}{\sqrt [4]{x^4-1}}\right )}{2 \sqrt {5}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \arctan \left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} x}{\sqrt [4]{x^4-1}}\right )}{2 \sqrt {5}}+\text {arctanh}\left (\frac {x}{\sqrt [4]{x^4-1}}\right )-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} x}{\sqrt [4]{x^4-1}}\right )}{2 \sqrt {5}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} x}{\sqrt [4]{x^4-1}}\right )}{2 \sqrt {5}} \]
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 246
Rule 385
Rule 1442
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {2}{\sqrt [4]{-1+x^4}}+\frac {1}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )}\right ) \, dx \\ & = 2 \int \frac {1}{\sqrt [4]{-1+x^4}} \, dx+\int \frac {1}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx \\ & = 2 \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {2 \int \frac {1}{\sqrt [4]{-1+x^4} \left (-1-\sqrt {5}+2 x^4\right )} \, dx}{\sqrt {5}}-\frac {2 \int \frac {1}{\sqrt [4]{-1+x^4} \left (-1+\sqrt {5}+2 x^4\right )} \, dx}{\sqrt {5}} \\ & = \frac {2 \text {Subst}\left (\int \frac {1}{-1-\sqrt {5}-\left (1-\sqrt {5}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{\sqrt {5}}-\frac {2 \text {Subst}\left (\int \frac {1}{-1+\sqrt {5}-\left (1+\sqrt {5}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{\sqrt {5}}+\text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )+\text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right ) \\ & = \arctan \left (\frac {x}{\sqrt [4]{-1+x^4}}\right )+\text {arctanh}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{\sqrt {10}}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{\sqrt {10}}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{\sqrt {10}}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{\sqrt {10}} \\ & = \arctan \left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {\arctan \left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} x}{\sqrt [4]{-1+x^4}}\right )}{2^{3/4} \sqrt {5} \sqrt [4]{3+\sqrt {5}}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \arctan \left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} x}{\sqrt [4]{-1+x^4}}\right )}{2 \sqrt {5}}+\text {arctanh}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {\text {arctanh}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} x}{\sqrt [4]{-1+x^4}}\right )}{2^{3/4} \sqrt {5} \sqrt [4]{3+\sqrt {5}}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} x}{\sqrt [4]{-1+x^4}}\right )}{2 \sqrt {5}} \\ \end{align*}
Time = 0.59 (sec) , antiderivative size = 201, normalized size of antiderivative = 0.93 \[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\frac {1}{20} \left (20 \arctan \left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\sqrt {10 \left (-1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} x}{\sqrt [4]{-1+x^4}}\right )-\sqrt {10 \left (1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} x}{\sqrt [4]{-1+x^4}}\right )+20 \text {arctanh}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\sqrt {10 \left (-1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} x}{\sqrt [4]{-1+x^4}}\right )-\sqrt {10 \left (1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} x}{\sqrt [4]{-1+x^4}}\right )\right ) \]
[In]
[Out]
Time = 3.01 (sec) , antiderivative size = 202, normalized size of antiderivative = 0.93
method | result | size |
pseudoelliptic | \(\frac {\sqrt {2+2 \sqrt {5}}\, \left (-5+\sqrt {5}\right ) \operatorname {arctanh}\left (\frac {2 \left (x^{4}-1\right )^{\frac {1}{4}}}{\sqrt {-2+2 \sqrt {5}}\, x}\right )}{40}-\frac {\sqrt {-2+2 \sqrt {5}}\, \left (5+\sqrt {5}\right ) \operatorname {arctanh}\left (\frac {2 \left (x^{4}-1\right )^{\frac {1}{4}}}{\sqrt {2+2 \sqrt {5}}\, x}\right )}{40}-\frac {\sqrt {2+2 \sqrt {5}}\, \left (-5+\sqrt {5}\right ) \arctan \left (\frac {2 \left (x^{4}-1\right )^{\frac {1}{4}}}{\sqrt {-2+2 \sqrt {5}}\, x}\right )}{40}+\frac {\sqrt {-2+2 \sqrt {5}}\, \left (5+\sqrt {5}\right ) \arctan \left (\frac {2 \left (x^{4}-1\right )^{\frac {1}{4}}}{\sqrt {2+2 \sqrt {5}}\, x}\right )}{40}+\frac {\ln \left (\frac {\left (x^{4}-1\right )^{\frac {1}{4}}+x}{x}\right )}{2}-\arctan \left (\frac {\left (x^{4}-1\right )^{\frac {1}{4}}}{x}\right )-\frac {\ln \left (\frac {-x +\left (x^{4}-1\right )^{\frac {1}{4}}}{x}\right )}{2}\) | \(202\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 406 vs. \(2 (145) = 290\).
Time = 0.26 (sec) , antiderivative size = 406, normalized size of antiderivative = 1.87 \[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=-\frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} + 1} \log \left (\frac {\sqrt {10} \sqrt {5} x \sqrt {\sqrt {5} + 1} + 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} + 1} \log \left (-\frac {\sqrt {10} \sqrt {5} x \sqrt {\sqrt {5} + 1} - 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} - 1} \log \left (\frac {\sqrt {10} \sqrt {5} x \sqrt {\sqrt {5} - 1} + 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} - 1} \log \left (-\frac {\sqrt {10} \sqrt {5} x \sqrt {\sqrt {5} - 1} - 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{40} \, \sqrt {10} \sqrt {-\sqrt {5} + 1} \log \left (\frac {\sqrt {10} \sqrt {5} x \sqrt {-\sqrt {5} + 1} + 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{40} \, \sqrt {10} \sqrt {-\sqrt {5} + 1} \log \left (-\frac {\sqrt {10} \sqrt {5} x \sqrt {-\sqrt {5} + 1} - 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{40} \, \sqrt {10} \sqrt {-\sqrt {5} - 1} \log \left (\frac {\sqrt {10} \sqrt {5} x \sqrt {-\sqrt {5} - 1} + 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{40} \, \sqrt {10} \sqrt {-\sqrt {5} - 1} \log \left (-\frac {\sqrt {10} \sqrt {5} x \sqrt {-\sqrt {5} - 1} - 10 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \arctan \left (\frac {{\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{2} \, \log \left (\frac {x + {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{2} \, \log \left (-\frac {x - {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\int { \frac {2 \, x^{8} - 2 \, x^{4} - 1}{{\left (x^{8} - x^{4} - 1\right )} {\left (x^{4} - 1\right )}^{\frac {1}{4}}} \,d x } \]
[In]
[Out]
\[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\int { \frac {2 \, x^{8} - 2 \, x^{4} - 1}{{\left (x^{8} - x^{4} - 1\right )} {\left (x^{4} - 1\right )}^{\frac {1}{4}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {-1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-1-x^4+x^8\right )} \, dx=\int \frac {-2\,x^8+2\,x^4+1}{{\left (x^4-1\right )}^{1/4}\,\left (-x^8+x^4+1\right )} \,d x \]
[In]
[Out]