Integrand size = 24, antiderivative size = 114 \[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=\frac {-8-57 x^2+48 x^4+456 x^6+384 x^8+\sqrt {1+x^2} \left (-30 x-36 x^3+264 x^5+384 x^7\right )}{24 x^3 \left (x+\sqrt {1+x^2}\right )^{9/2}}-\frac {1}{8} \arctan \left (\sqrt {x+\sqrt {1+x^2}}\right )-\frac {1}{8} \text {arctanh}\left (\sqrt {x+\sqrt {1+x^2}}\right ) \]
[Out]
Time = 0.23 (sec) , antiderivative size = 141, normalized size of antiderivative = 1.24, number of steps used = 13, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.458, Rules used = {6874, 2142, 14, 2144, 468, 294, 296, 335, 218, 212, 209} \[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=-\frac {1}{8} \arctan \left (\sqrt {\sqrt {x^2+1}+x}\right )-\frac {1}{8} \text {arctanh}\left (\sqrt {\sqrt {x^2+1}+x}\right )+\sqrt {\sqrt {x^2+1}+x}+\frac {1}{24 x \sqrt {\sqrt {x^2+1}+x}}+\frac {1}{12 x^2 \left (\sqrt {x^2+1}+x\right )^{3/2}}-\frac {1}{3 \left (\sqrt {x^2+1}+x\right )^{3/2}}-\frac {1}{3 x^3 \sqrt {\sqrt {x^2+1}+x}} \]
[In]
[Out]
Rule 14
Rule 209
Rule 212
Rule 218
Rule 294
Rule 296
Rule 335
Rule 468
Rule 2142
Rule 2144
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {1}{\sqrt {x+\sqrt {1+x^2}}}+\frac {1}{x^4 \sqrt {x+\sqrt {1+x^2}}}\right ) \, dx \\ & = \int \frac {1}{\sqrt {x+\sqrt {1+x^2}}} \, dx+\int \frac {1}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx \\ & = \frac {1}{2} \text {Subst}\left (\int \frac {1+x^2}{x^{5/2}} \, dx,x,x+\sqrt {1+x^2}\right )+8 \text {Subst}\left (\int \frac {x^{3/2} \left (1+x^2\right )}{\left (-1+x^2\right )^4} \, dx,x,x+\sqrt {1+x^2}\right ) \\ & = -\frac {1}{3 x^3 \sqrt {x+\sqrt {1+x^2}}}+\frac {1}{2} \text {Subst}\left (\int \left (\frac {1}{x^{5/2}}+\frac {1}{\sqrt {x}}\right ) \, dx,x,x+\sqrt {1+x^2}\right )-\frac {4}{3} \text {Subst}\left (\int \frac {x^{3/2}}{\left (-1+x^2\right )^3} \, dx,x,x+\sqrt {1+x^2}\right ) \\ & = -\frac {1}{3 \left (x+\sqrt {1+x^2}\right )^{3/2}}+\frac {1}{12 x^2 \left (x+\sqrt {1+x^2}\right )^{3/2}}-\frac {1}{3 x^3 \sqrt {x+\sqrt {1+x^2}}}+\sqrt {x+\sqrt {1+x^2}}-\frac {1}{6} \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (-1+x^2\right )^2} \, dx,x,x+\sqrt {1+x^2}\right ) \\ & = -\frac {1}{3 \left (x+\sqrt {1+x^2}\right )^{3/2}}+\frac {1}{12 x^2 \left (x+\sqrt {1+x^2}\right )^{3/2}}-\frac {1}{3 x^3 \sqrt {x+\sqrt {1+x^2}}}+\frac {1}{24 x \sqrt {x+\sqrt {1+x^2}}}+\sqrt {x+\sqrt {1+x^2}}+\frac {1}{8} \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (-1+x^2\right )} \, dx,x,x+\sqrt {1+x^2}\right ) \\ & = -\frac {1}{3 \left (x+\sqrt {1+x^2}\right )^{3/2}}+\frac {1}{12 x^2 \left (x+\sqrt {1+x^2}\right )^{3/2}}-\frac {1}{3 x^3 \sqrt {x+\sqrt {1+x^2}}}+\frac {1}{24 x \sqrt {x+\sqrt {1+x^2}}}+\sqrt {x+\sqrt {1+x^2}}+\frac {1}{4} \text {Subst}\left (\int \frac {1}{-1+x^4} \, dx,x,\sqrt {x+\sqrt {1+x^2}}\right ) \\ & = -\frac {1}{3 \left (x+\sqrt {1+x^2}\right )^{3/2}}+\frac {1}{12 x^2 \left (x+\sqrt {1+x^2}\right )^{3/2}}-\frac {1}{3 x^3 \sqrt {x+\sqrt {1+x^2}}}+\frac {1}{24 x \sqrt {x+\sqrt {1+x^2}}}+\sqrt {x+\sqrt {1+x^2}}-\frac {1}{8} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {x+\sqrt {1+x^2}}\right )-\frac {1}{8} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x+\sqrt {1+x^2}}\right ) \\ & = -\frac {1}{3 \left (x+\sqrt {1+x^2}\right )^{3/2}}+\frac {1}{12 x^2 \left (x+\sqrt {1+x^2}\right )^{3/2}}-\frac {1}{3 x^3 \sqrt {x+\sqrt {1+x^2}}}+\frac {1}{24 x \sqrt {x+\sqrt {1+x^2}}}+\sqrt {x+\sqrt {1+x^2}}-\frac {1}{8} \arctan \left (\sqrt {x+\sqrt {1+x^2}}\right )-\frac {1}{8} \text {arctanh}\left (\sqrt {x+\sqrt {1+x^2}}\right ) \\ \end{align*}
Time = 0.19 (sec) , antiderivative size = 111, normalized size of antiderivative = 0.97 \[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=\frac {1}{24} \left (\frac {-8-57 x^2+48 x^4+456 x^6+384 x^8+6 x \sqrt {1+x^2} \left (-5-6 x^2+44 x^4+64 x^6\right )}{x^3 \left (x+\sqrt {1+x^2}\right )^{9/2}}-3 \arctan \left (\sqrt {x+\sqrt {1+x^2}}\right )-3 \text {arctanh}\left (\sqrt {x+\sqrt {1+x^2}}\right )\right ) \]
[In]
[Out]
Result contains higher order function than in optimal. Order 5 vs. order 3.
Time = 0.05 (sec) , antiderivative size = 84, normalized size of antiderivative = 0.74
method | result | size |
meijerg | \(-\frac {\sqrt {2}\, \operatorname {hypergeom}\left (\left [\frac {1}{4}, \frac {3}{4}, \frac {7}{4}\right ], \left [\frac {3}{2}, \frac {11}{4}\right ], -\frac {1}{x^{2}}\right )}{7 x^{\frac {7}{2}}}-\frac {-\frac {32 \sqrt {\pi }\, \sqrt {2}\, \cosh \left (\frac {3 \,\operatorname {arcsinh}\left (\frac {1}{x}\right )}{2}\right )}{3 x^{\frac {3}{2}}}-\frac {8 \sqrt {\pi }\, \sqrt {2}\, x^{\frac {3}{2}} \left (-\frac {4}{3 x^{4}}-\frac {2}{3 x^{2}}+\frac {2}{3}\right ) \sinh \left (\frac {3 \,\operatorname {arcsinh}\left (\frac {1}{x}\right )}{2}\right )}{\sqrt {1+\frac {1}{x^{2}}}}}{8 \sqrt {\pi }}\) | \(84\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 109, normalized size of antiderivative = 0.96 \[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=-\frac {6 \, x^{3} \arctan \left (\sqrt {x + \sqrt {x^{2} + 1}}\right ) + 3 \, x^{3} \log \left (\sqrt {x + \sqrt {x^{2} + 1}} + 1\right ) - 3 \, x^{3} \log \left (\sqrt {x + \sqrt {x^{2} + 1}} - 1\right ) + 2 \, {\left (16 \, x^{5} - 19 \, x^{3} - {\left (16 \, x^{4} - 3 \, x^{2} - 8\right )} \sqrt {x^{2} + 1} - 10 \, x\right )} \sqrt {x + \sqrt {x^{2} + 1}}}{48 \, x^{3}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 47.81 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.79 \[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=\frac {4 x}{3 \sqrt {x + \sqrt {x^{2} + 1}}} + \frac {2 \sqrt {x^{2} + 1}}{3 \sqrt {x + \sqrt {x^{2} + 1}}} - \frac {\Gamma \left (\frac {1}{4}\right ) \Gamma \left (\frac {3}{4}\right ) \Gamma \left (\frac {7}{4}\right ) {{}_{3}F_{2}\left (\begin {matrix} \frac {1}{4}, \frac {3}{4}, \frac {7}{4} \\ \frac {3}{2}, \frac {11}{4} \end {matrix}\middle | {\frac {e^{i \pi }}{x^{2}}} \right )}}{4 \pi x^{\frac {7}{2}} \Gamma \left (\frac {11}{4}\right )} \]
[In]
[Out]
\[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=\int { \frac {x^{4} + 1}{\sqrt {x + \sqrt {x^{2} + 1}} x^{4}} \,d x } \]
[In]
[Out]
\[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=\int { \frac {x^{4} + 1}{\sqrt {x + \sqrt {x^{2} + 1}} x^{4}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1+x^4}{x^4 \sqrt {x+\sqrt {1+x^2}}} \, dx=\int \frac {x^4+1}{x^4\,\sqrt {x+\sqrt {x^2+1}}} \,d x \]
[In]
[Out]