Integrand size = 17, antiderivative size = 141 \[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=-\frac {\arctan \left (1-\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{2 \sqrt {2}}+\frac {\arctan \left (1+\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{2 \sqrt {2}}-\frac {\log \left (1+\frac {x^2}{\sqrt {2+x^4}}-\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}}+\frac {\log \left (1+\frac {x^2}{\sqrt {2+x^4}}+\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 141, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.412, Rules used = {385, 217, 1179, 642, 1176, 631, 210} \[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=-\frac {\arctan \left (1-\frac {\sqrt {2} x}{\sqrt [4]{x^4+2}}\right )}{2 \sqrt {2}}+\frac {\arctan \left (\frac {\sqrt {2} x}{\sqrt [4]{x^4+2}}+1\right )}{2 \sqrt {2}}-\frac {\log \left (-\frac {\sqrt {2} x}{\sqrt [4]{x^4+2}}+\frac {x^2}{\sqrt {x^4+2}}+1\right )}{4 \sqrt {2}}+\frac {\log \left (\frac {\sqrt {2} x}{\sqrt [4]{x^4+2}}+\frac {x^2}{\sqrt {x^4+2}}+1\right )}{4 \sqrt {2}} \]
[In]
[Out]
Rule 210
Rule 217
Rule 385
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {1}{1+x^4} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right ) \\ & = \frac {1}{2} \text {Subst}\left (\int \frac {1-x^2}{1+x^4} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right )+\frac {1}{2} \text {Subst}\left (\int \frac {1+x^2}{1+x^4} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right ) \\ & = \frac {1}{4} \text {Subst}\left (\int \frac {1}{1-\sqrt {2} x+x^2} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right )+\frac {1}{4} \text {Subst}\left (\int \frac {1}{1+\sqrt {2} x+x^2} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right )-\frac {\text {Subst}\left (\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}}-\frac {\text {Subst}\left (\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx,x,\frac {x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}} \\ & = -\frac {\log \left (1+\frac {x^2}{\sqrt {2+x^4}}-\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}}+\frac {\log \left (1+\frac {x^2}{\sqrt {2+x^4}}+\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}}+\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{2 \sqrt {2}}-\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{2 \sqrt {2}} \\ & = -\frac {\arctan \left (1-\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{2 \sqrt {2}}+\frac {\arctan \left (1+\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{2 \sqrt {2}}-\frac {\log \left (1+\frac {x^2}{\sqrt {2+x^4}}-\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}}+\frac {\log \left (1+\frac {x^2}{\sqrt {2+x^4}}+\frac {\sqrt {2} x}{\sqrt [4]{2+x^4}}\right )}{4 \sqrt {2}} \\ \end{align*}
Time = 0.30 (sec) , antiderivative size = 76, normalized size of antiderivative = 0.54 \[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=\frac {\arctan \left (\frac {\sqrt {2} x \sqrt [4]{2+x^4}}{-x^2+\sqrt {2+x^4}}\right )+\text {arctanh}\left (\frac {\sqrt {2} x \sqrt [4]{2+x^4}}{x^2+\sqrt {2+x^4}}\right )}{2 \sqrt {2}} \]
[In]
[Out]
Time = 1.81 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.71
method | result | size |
pseudoelliptic | \(-\frac {\sqrt {2}\, \left (\ln \left (\frac {-\left (x^{4}+2\right )^{\frac {1}{4}} \sqrt {2}\, x +x^{2}+\sqrt {x^{4}+2}}{\left (x^{4}+2\right )^{\frac {1}{4}} \sqrt {2}\, x +x^{2}+\sqrt {x^{4}+2}}\right )+2 \arctan \left (\frac {\left (x^{4}+2\right )^{\frac {1}{4}} \sqrt {2}+x}{x}\right )+2 \arctan \left (\frac {\left (x^{4}+2\right )^{\frac {1}{4}} \sqrt {2}-x}{x}\right )\right )}{8}\) | \(100\) |
trager | \(\frac {\operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right )^{3} \ln \left (\frac {\left (x^{4}+2\right )^{\frac {1}{4}} \operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right )^{2} x^{3}-\sqrt {x^{4}+2}\, \operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right ) x^{2}+\left (x^{4}+2\right )^{\frac {3}{4}} x +\operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right )^{3}}{x^{4}+1}\right )}{4}+\frac {\operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right ) \ln \left (\frac {-\sqrt {x^{4}+2}\, \operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right )^{3} x^{2}-\left (x^{4}+2\right )^{\frac {1}{4}} \operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right )^{2} x^{3}+\left (x^{4}+2\right )^{\frac {3}{4}} x +\operatorname {RootOf}\left (\textit {\_Z}^{4}+1\right )}{x^{4}+1}\right )}{4}\) | \(149\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 2.39 (sec) , antiderivative size = 225, normalized size of antiderivative = 1.60 \[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=-\left (\frac {1}{16} i + \frac {1}{16}\right ) \, \sqrt {2} \log \left (\frac {\left (i + 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {1}{4}} x^{3} - 2 i \, \sqrt {x^{4} + 2} x^{2} + \left (i - 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {3}{4}} x + 2}{x^{4} + 1}\right ) + \left (\frac {1}{16} i - \frac {1}{16}\right ) \, \sqrt {2} \log \left (\frac {-\left (i - 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {1}{4}} x^{3} + 2 i \, \sqrt {x^{4} + 2} x^{2} - \left (i + 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {3}{4}} x + 2}{x^{4} + 1}\right ) - \left (\frac {1}{16} i - \frac {1}{16}\right ) \, \sqrt {2} \log \left (\frac {\left (i - 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {1}{4}} x^{3} + 2 i \, \sqrt {x^{4} + 2} x^{2} + \left (i + 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {3}{4}} x + 2}{x^{4} + 1}\right ) + \left (\frac {1}{16} i + \frac {1}{16}\right ) \, \sqrt {2} \log \left (\frac {-\left (i + 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {1}{4}} x^{3} - 2 i \, \sqrt {x^{4} + 2} x^{2} - \left (i - 1\right ) \, \sqrt {2} {\left (x^{4} + 2\right )}^{\frac {3}{4}} x + 2}{x^{4} + 1}\right ) \]
[In]
[Out]
\[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=\int \frac {1}{\left (x^{4} + 1\right ) \sqrt [4]{x^{4} + 2}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=\int { \frac {1}{{\left (x^{4} + 2\right )}^{\frac {1}{4}} {\left (x^{4} + 1\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=\int { \frac {1}{{\left (x^{4} + 2\right )}^{\frac {1}{4}} {\left (x^{4} + 1\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\left (1+x^4\right ) \sqrt [4]{2+x^4}} \, dx=\int \frac {1}{\left (x^4+1\right )\,{\left (x^4+2\right )}^{1/4}} \,d x \]
[In]
[Out]