Integrand size = 23, antiderivative size = 274 \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\sqrt {x^2+\sqrt {1+x^4}}-\sqrt {-1+\sqrt {2}} \arctan \left (\frac {\sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-1+\sqrt {2}}}\right )+\sqrt {-1+\sqrt {2}} \arctan \left (\frac {\sqrt {2 \left (-1+\sqrt {2}\right )} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )-\sqrt {1+\sqrt {2}} \text {arctanh}\left (\frac {\sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {1+\sqrt {2}}}\right )-\sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )+\sqrt {1+\sqrt {2}} \text {arctanh}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right ) \]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx \\ \end{align*}
Time = 1.22 (sec) , antiderivative size = 274, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\sqrt {x^2+\sqrt {1+x^4}}-\sqrt {-1+\sqrt {2}} \arctan \left (\sqrt {1+\sqrt {2}} \sqrt {x^2+\sqrt {1+x^4}}\right )+\sqrt {-1+\sqrt {2}} \arctan \left (\frac {\sqrt {-2+2 \sqrt {2}} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )-\sqrt {1+\sqrt {2}} \text {arctanh}\left (\sqrt {-1+\sqrt {2}} \sqrt {x^2+\sqrt {1+x^4}}\right )-\sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )+\sqrt {1+\sqrt {2}} \text {arctanh}\left (\frac {\sqrt {2+2 \sqrt {2}} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right ) \]
[In]
[Out]
\[\int \frac {\sqrt {x^{2}+\sqrt {x^{4}+1}}}{1+x}d x\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 582 vs. \(2 (208) = 416\).
Time = 1.18 (sec) , antiderivative size = 582, normalized size of antiderivative = 2.12 \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\frac {1}{4} \, \sqrt {2} \log \left (4 \, x^{4} + 4 \, \sqrt {x^{4} + 1} x^{2} - 2 \, {\left (\sqrt {2} x^{3} + \sqrt {2} \sqrt {x^{4} + 1} x\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} + 1\right ) - \frac {1}{8} \, \sqrt {-4 \, \sqrt {2} + 4} \log \left (-\frac {2 \, \sqrt {x^{4} + 1} {\left (\sqrt {2} + 1\right )} \sqrt {-4 \, \sqrt {2} + 4} + 2 \, {\left (2 \, x^{3} + \sqrt {2} {\left (x^{3} - x^{2} - x - 1\right )} - \sqrt {x^{4} + 1} {\left (\sqrt {2} {\left (x - 1\right )} + 2 \, x\right )} - 2\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} - {\left (2 \, x^{2} + \sqrt {2} {\left (x^{2} + 1\right )} + 2\right )} \sqrt {-4 \, \sqrt {2} + 4}}{x^{2} + 2 \, x + 1}\right ) + \frac {1}{8} \, \sqrt {-4 \, \sqrt {2} + 4} \log \left (\frac {2 \, \sqrt {x^{4} + 1} {\left (\sqrt {2} + 1\right )} \sqrt {-4 \, \sqrt {2} + 4} - 2 \, {\left (2 \, x^{3} + \sqrt {2} {\left (x^{3} - x^{2} - x - 1\right )} - \sqrt {x^{4} + 1} {\left (\sqrt {2} {\left (x - 1\right )} + 2 \, x\right )} - 2\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} - {\left (2 \, x^{2} + \sqrt {2} {\left (x^{2} + 1\right )} + 2\right )} \sqrt {-4 \, \sqrt {2} + 4}}{x^{2} + 2 \, x + 1}\right ) + \frac {1}{4} \, \sqrt {\sqrt {2} + 1} \log \left (-\frac {2 \, {\left ({\left (2 \, x^{3} - \sqrt {2} {\left (x^{3} - x^{2} - x - 1\right )} + \sqrt {x^{4} + 1} {\left (\sqrt {2} {\left (x - 1\right )} - 2 \, x\right )} - 2\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} + {\left (2 \, x^{2} - \sqrt {2} {\left (x^{2} + 1\right )} + 2 \, \sqrt {x^{4} + 1} {\left (\sqrt {2} - 1\right )} + 2\right )} \sqrt {\sqrt {2} + 1}\right )}}{x^{2} + 2 \, x + 1}\right ) - \frac {1}{4} \, \sqrt {\sqrt {2} + 1} \log \left (-\frac {2 \, {\left ({\left (2 \, x^{3} - \sqrt {2} {\left (x^{3} - x^{2} - x - 1\right )} + \sqrt {x^{4} + 1} {\left (\sqrt {2} {\left (x - 1\right )} - 2 \, x\right )} - 2\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} - {\left (2 \, x^{2} - \sqrt {2} {\left (x^{2} + 1\right )} + 2 \, \sqrt {x^{4} + 1} {\left (\sqrt {2} - 1\right )} + 2\right )} \sqrt {\sqrt {2} + 1}\right )}}{x^{2} + 2 \, x + 1}\right ) + \sqrt {x^{2} + \sqrt {x^{4} + 1}} \]
[In]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\int \frac {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{x + 1}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\int { \frac {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{x + 1} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\int { \frac {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{x + 1} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x} \, dx=\int \frac {\sqrt {\sqrt {x^4+1}+x^2}}{x+1} \,d x \]
[In]
[Out]