Integrand size = 30, antiderivative size = 101 \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\frac {2 \sqrt [4]{1+x^4}}{x}-\frac {1}{8} \text {RootSum}\left [2-4 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-4 \log (x)+4 \log \left (\sqrt [4]{1+x^4}-x \text {$\#$1}\right )+7 \log (x) \text {$\#$1}^4-7 \log \left (\sqrt [4]{1+x^4}-x \text {$\#$1}\right ) \text {$\#$1}^4}{-2 \text {$\#$1}^3+\text {$\#$1}^7}\&\right ] \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(425\) vs. \(2(101)=202\).
Time = 0.83 (sec) , antiderivative size = 425, normalized size of antiderivative = 4.21, number of steps used = 40, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6860, 283, 338, 304, 209, 212, 1542, 524, 1532, 508} \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )+\frac {1}{4} \sqrt [4]{10+7 \sqrt {2}} \arctan \left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )+\frac {1}{4} \sqrt [4]{2-\sqrt {2}} \arctan \left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )+\frac {1}{4} \sqrt [4]{2+\sqrt {2}} \arctan \left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{4} \sqrt [4]{10-7 \sqrt {2}} \arctan \left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{4} \sqrt [4]{10+7 \sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{4} \sqrt [4]{2-\sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )-\frac {1}{4} \sqrt [4]{2+\sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )+\frac {1}{4} \sqrt [4]{10-7 \sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{x^4+1}}\right )+\frac {2 \sqrt [4]{x^4+1}}{x} \]
[In]
[Out]
Rule 209
Rule 212
Rule 283
Rule 304
Rule 338
Rule 508
Rule 524
Rule 1532
Rule 1542
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {2 \sqrt [4]{1+x^4}}{x^2}+\frac {x^2 \sqrt [4]{1+x^4} \left (5+2 x^4\right )}{-1+2 x^4+x^8}\right ) \, dx \\ & = -\left (2 \int \frac {\sqrt [4]{1+x^4}}{x^2} \, dx\right )+\int \frac {x^2 \sqrt [4]{1+x^4} \left (5+2 x^4\right )}{-1+2 x^4+x^8} \, dx \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-2 \int \frac {x^2}{\left (1+x^4\right )^{3/4}} \, dx+\int \left (\frac {5 x^2 \sqrt [4]{1+x^4}}{-1+2 x^4+x^8}+\frac {2 x^6 \sqrt [4]{1+x^4}}{-1+2 x^4+x^8}\right ) \, dx \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}+2 \int \frac {x^6 \sqrt [4]{1+x^4}}{-1+2 x^4+x^8} \, dx-2 \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+5 \int \frac {x^2 \sqrt [4]{1+x^4}}{-1+2 x^4+x^8} \, dx \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}+2 \int \frac {x^2}{\left (1+x^4\right )^{3/4}} \, dx-2 \int \frac {x^2 \left (-1+x^4\right )}{\left (1+x^4\right )^{3/4} \left (-1+2 x^4+x^8\right )} \, dx+5 \int \left (-\frac {x^2 \sqrt [4]{1+x^4}}{\sqrt {2} \left (-2+2 \sqrt {2}-2 x^4\right )}-\frac {x^2 \sqrt [4]{1+x^4}}{\sqrt {2} \left (2+2 \sqrt {2}+2 x^4\right )}\right ) \, dx-\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 ) \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}+\arctan \left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\text {arctanh}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-2 \int \left (-\frac {x^2}{\left (1+x^4\right )^{3/4} \left (-1+2 x^4+x^8\right )}+\frac {x^6}{\left (1+x^4\right )^{3/4} \left (-1+2 x^4+x^8\right )}\right ) \, dx+2 \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {5 \int \frac {x^2 \sqrt [4]{1+x^4}}{-2+2 \sqrt {2}-2 x^4} \, dx}{\sqrt {2}}-\frac {5 \int \frac {x^2 \sqrt [4]{1+x^4}}{2+2 \sqrt {2}+2 x^4} \, dx}{\sqrt {2}} \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )+\arctan \left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\text {arctanh}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+2 \int \frac {x^2}{\left (1+x^4\right )^{3/4} \left (-1+2 x^4+x^8\right )} \, dx-2 \int \frac {x^6}{\left (1+x^4\right )^{3/4} \left (-1+2 x^4+x^8\right )} \, dx+\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 ) \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )+2 \int \left (-\frac {x^2}{\sqrt {2} \left (-2+2 \sqrt {2}-2 x^4\right ) \left (1+x^4\right )^{3/4}}-\frac {x^2}{\sqrt {2} \left (1+x^4\right )^{3/4} \left (2+2 \sqrt {2}+2 x^4\right )}\right ) \, dx-2 \int \left (-\frac {\left (-2+2 \sqrt {2}\right ) x^2}{2 \sqrt {2} \left (-2+2 \sqrt {2}-2 x^4\right ) \left (1+x^4\right )^{3/4}}+\frac {\left (2+2 \sqrt {2}\right ) x^2}{2 \sqrt {2} \left (1+x^4\right )^{3/4} \left (2+2 \sqrt {2}+2 x^4\right )}\right ) \, dx \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )-\sqrt {2} \int \frac {x^2}{\left (-2+2 \sqrt {2}-2 x^4\right ) \left (1+x^4\right )^{3/4}} \, dx-\sqrt {2} \int \frac {x^2}{\left (1+x^4\right )^{3/4} \left (2+2 \sqrt {2}+2 x^4\right )} \, dx-\left (-2+\sqrt {2}\right ) \int \frac {x^2}{\left (-2+2 \sqrt {2}-2 x^4\right ) \left (1+x^4\right )^{3/4}} \, dx-\left (2+\sqrt {2}\right ) \int \frac {x^2}{\left (1+x^4\right )^{3/4} \left (2+2 \sqrt {2}+2 x^4\right )} \, dx \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )-\sqrt {2} \text {Subst}\left (\int \frac {x^2}{-2+2 \sqrt {2}-2 \sqrt {2} x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\sqrt {2} \text {Subst}\left (\int \frac {x^2}{2+2 \sqrt {2}-2 \sqrt {2} x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\left (-2+\sqrt {2}\right ) \text {Subst}\left (\int \frac {x^2}{-2+2 \sqrt {2}-2 \sqrt {2} x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\left (2+\sqrt {2}\right ) \text {Subst}\left (\int \frac {x^2}{2+2 \sqrt {2}-2 \sqrt {2} x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right ) \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2-\sqrt {2}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {2}}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2+\sqrt {2}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {2}}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2-\sqrt {2}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {2}}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2+\sqrt {2}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt {2}}-\frac {1}{4} \left (2-\sqrt {2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {2-\sqrt {2}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{4} \left (-2+\sqrt {2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {2-\sqrt {2}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{4} \left (2+\sqrt {2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {2+\sqrt {2}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{4} \left (2+\sqrt {2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {2+\sqrt {2}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right ) \\ & = \frac {2 \sqrt [4]{1+x^4}}{x}-\frac {5}{12} \left (2-\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},-\frac {1}{4},1,\frac {7}{4},-x^4,\left (1-\sqrt {2}\right ) x^4\right )-\frac {5}{12} \left (2+\sqrt {2}\right ) x^3 \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\left (1+\sqrt {2}\right ) x^4,-x^4\right )+\frac {1}{4} \sqrt [4]{2-\sqrt {2}} \arctan \left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )+\frac {\left (2+\sqrt {2}\right )^{3/4} \arctan \left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )}{4 \sqrt [4]{2}}-\frac {\left (2-\sqrt {2}\right )^{3/4} \arctan \left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )}{4 \sqrt [4]{2}}+\frac {1}{4} \sqrt [4]{2+\sqrt {2}} \arctan \left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{4} \sqrt [4]{2-\sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )-\frac {\left (2+\sqrt {2}\right )^{3/4} \text {arctanh}\left (\frac {\sqrt [4]{2-\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )}{4 \sqrt [4]{2}}+\frac {1}{4} \sqrt [4]{10-7 \sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{4} \sqrt [4]{2+\sqrt {2}} \text {arctanh}\left (\frac {\sqrt [4]{2+\sqrt {2}} x}{\sqrt [4]{1+x^4}}\right ) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 101, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\frac {2 \sqrt [4]{1+x^4}}{x}-\frac {1}{8} \text {RootSum}\left [2-4 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-4 \log (x)+4 \log \left (\sqrt [4]{1+x^4}-x \text {$\#$1}\right )+7 \log (x) \text {$\#$1}^4-7 \log \left (\sqrt [4]{1+x^4}-x \text {$\#$1}\right ) \text {$\#$1}^4}{-2 \text {$\#$1}^3+\text {$\#$1}^7}\&\right ] \]
[In]
[Out]
Time = 254.62 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.66
method | result | size |
pseudoelliptic | \(\frac {\left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{8}-4 \textit {\_Z}^{4}+2\right )}{\sum }\frac {\left (7 \textit {\_R}^{4}-4\right ) \ln \left (\frac {-\textit {\_R} x +\left (x^{4}+1\right )^{\frac {1}{4}}}{x}\right )}{\textit {\_R}^{3} \left (\textit {\_R}^{4}-2\right )}\right ) x +16 \left (x^{4}+1\right )^{\frac {1}{4}}}{8 x}\) | \(67\) |
trager | \(\text {Expression too large to display}\) | \(3650\) |
risch | \(\text {Expression too large to display}\) | \(5218\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 7.65 (sec) , antiderivative size = 1579, normalized size of antiderivative = 15.63 \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\text {Timed out} \]
[In]
[Out]
Not integrable
Time = 0.30 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.30 \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\int { \frac {{\left (x^{4} + 2\right )} {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{{\left (x^{8} + 2 \, x^{4} - 1\right )} x^{2}} \,d x } \]
[In]
[Out]
Not integrable
Time = 0.33 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.30 \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\int { \frac {{\left (x^{4} + 2\right )} {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{{\left (x^{8} + 2 \, x^{4} - 1\right )} x^{2}} \,d x } \]
[In]
[Out]
Not integrable
Time = 0.00 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.30 \[ \int \frac {\sqrt [4]{1+x^4} \left (2+x^4\right )}{x^2 \left (-1+2 x^4+x^8\right )} \, dx=\int \frac {{\left (x^4+1\right )}^{1/4}\,\left (x^4+2\right )}{x^2\,\left (x^8+2\,x^4-1\right )} \,d x \]
[In]
[Out]