Integrand size = 27, antiderivative size = 201 \[ \int \frac {-1+2 x^4}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\frac {1}{2} \sqrt {\frac {1}{10} \left (11+5 \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 (-11+5 \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 (11+5 \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 (-11+5 \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.28 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.06, number of steps used = 10, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {6860, 385, 218, 212, 209} \[ \int \frac {-1+2 x^4}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\frac {\sqrt [4]{\frac {1}{2} \left (123+55 \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 (123-55 \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}}+\frac {\sqrt [4]{\frac {1}{2} \left (123+55 \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 (123-55 \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 385
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {2-\frac {4}{\sqrt {5}}}{\sqrt [4]{1+x^4} \left (1-\sqrt {5}+2 x^4\right )}+\frac {2+\frac {4}{\sqrt {5}}}{\sqrt [4]{1+x^4} \left (1+\sqrt {5}+2 x^4\right )}\right ) \, dx \\ & = \frac {1}{5} \left (2 \left (5-2 \sqrt {5}\right )\right ) \int \frac {1}{\sqrt [4]{1+x^4} \left (1-\sqrt {5}+2 x^4\right )} \, dx+\frac {1}{5} \left (2 \left (5+2 \sqrt {5}\right )\right ) \int \frac {1}{\sqrt [4]{1+x^4} \left (1+\sqrt {5}+2 x^4\right )} \, dx \\ & = \frac {1}{5} \left (2 \left (5-2 \sqrt {5}\right )\right ) \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 )+\frac {1}{5} \left (2 \left (5+2 \sqrt {5}\right )\right ) \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 ) \\ & = \frac {\left (2-\sqrt {5}\right ) \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 {\left (2-\sqrt {5}\right ) \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 {\left (2+\sqrt {5}\right ) \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 {\left (2+\sqrt {5}\right ) \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 {\sqrt [4]{\frac {1}{2} \left (123+55 \sqrt {5}\right )} \arctan \left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {5}}-\frac {\sqrt [4]{\frac {1}{2} \left (123-55 \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}}+\frac {\sqrt [4]{\frac {1}{2} \left (123+55 \sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {5}}-\frac {\sqrt [4]{\frac {1}{2} \left (123-55 \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.80 (sec) , antiderivative size = 176, normalized size of antiderivative = 0.88 \[ \int \frac {-1+2 x^4}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\frac {\sqrt {11+5 \sqrt {5}} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} x}{\sqrt [4]{1+x^4}}\right )-\sqrt {-11+5 \sqrt {5}} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} x}{\sqrt [4]{1+x^4}}\right )+\sqrt {11+5 \sqrt {5}} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} x}{\sqrt [4]{1+x^4}}\right )-\sqrt {-11+5 \sqrt {5}} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {10}} \]
[In]
[Out]
Time = 11.98 (sec) , antiderivative size = 131, normalized size of antiderivative = 0.65
method | result | size |
pseudoelliptic | \(\frac {\sqrt {5}\, \left (\left (\sqrt {5}-3\right ) \left (\operatorname {arctanh}\left (\frac {2 \left (x^{4}+1\right )^{\frac {1}{4}}}{\sqrt {2+2 \sqrt {5}}\, x}\right )-\arctan \left (\frac {2 \left (x^{4}+1\right )^{\frac {1}{4}}}{\sqrt {2+2 \sqrt {5}}\, x}\right )\right ) \sqrt {-2+2 \sqrt {5}}+\sqrt {2+2 \sqrt {5}}\, \left (3+\sqrt {5}\right ) \left (\operatorname {arctanh}\left (\frac {2 \left (x^{4}+1\right )^{\frac {1}{4}}}{\sqrt {-2+2 \sqrt {5}}\, x}\right )-\arctan \left (\frac {2 \left (x^{4}+1\right )^{\frac {1}{4}}}{\sqrt {-2+2 \sqrt {5}}\, x}\right )\right )\right )}{40}\) | \(131\) |
trager | \(\text {Expression too large to display}\) | \(1571\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1309 vs. \(2 (125) = 250\).
Time = 17.46 (sec) , antiderivative size = 1309, normalized size of antiderivative = 6.51 \[ \int \frac {-1+2 x^4}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {-1+2 x^4}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {-1+2 x^4}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\int { \frac {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}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\int { \frac {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}{\sqrt [4]{1+x^4} \left (-1+x^4+x^8\right )} \, dx=\int \frac {2\,x^4-1}{{\left (x^4+1\right )}^{1/4}\,\left (x^8+x^4-1\right )} \,d x \]
[In]
[Out]