Integrand size = 46, antiderivative size = 63 \[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=-\frac {2 \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {x+\sqrt {1+x^2}}}-2 \text {arctanh}\left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right ) \]
[Out]
\[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=\int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx \\ \end{align*}
Time = 0.11 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=-\frac {2 \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {x+\sqrt {1+x^2}}}-2 \text {arctanh}\left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(134\) vs. \(2(47)=94\).
Time = 0.86 (sec) , antiderivative size = 135, normalized size of antiderivative = 2.14
method | result | size |
derivativedivides | \(-\frac {\sqrt {\left (1+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}\right ) \sqrt {x +\sqrt {x^{2}+1}}}\, \left (2 \sqrt {\frac {1}{x +\sqrt {x^{2}+1}}+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}}+\ln \left (\frac {1}{2}+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}+\sqrt {\frac {1}{x +\sqrt {x^{2}+1}}+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}}\right )\right )}{\sqrt {x +\sqrt {x^{2}+1}}\, \sqrt {\frac {1+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}}{\sqrt {x +\sqrt {x^{2}+1}}}}}\) | \(135\) |
default | \(-\frac {\sqrt {\left (1+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}\right ) \sqrt {x +\sqrt {x^{2}+1}}}\, \left (2 \sqrt {\frac {1}{x +\sqrt {x^{2}+1}}+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}}+\ln \left (\frac {1}{2}+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}+\sqrt {\frac {1}{x +\sqrt {x^{2}+1}}+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}}\right )\right )}{\sqrt {x +\sqrt {x^{2}+1}}\, \sqrt {\frac {1+\frac {1}{\sqrt {x +\sqrt {x^{2}+1}}}}{\sqrt {x +\sqrt {x^{2}+1}}}}}\) | \(135\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.24 \[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=2 \, \sqrt {x + \sqrt {x^{2} + 1}} {\left (x - \sqrt {x^{2} + 1}\right )} \sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1} - \log \left (\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1} + 1\right ) + \log \left (\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1} - 1\right ) \]
[In]
[Out]
\[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=\int \frac {\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1}}{\sqrt {x + \sqrt {x^{2} + 1}} \sqrt {x^{2} + 1}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=\int { \frac {\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1}}{\sqrt {x^{2} + 1} \sqrt {x + \sqrt {x^{2} + 1}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 6.65 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.92 \[ \int \frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}} \, dx=-\frac {2\,\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{\sqrt {x+\sqrt {x^2+1}}}-\frac {\ln \left (\sqrt {\frac {1}{x+\sqrt {x^2+1}}+\frac {1}{\sqrt {x+\sqrt {x^2+1}}}}+\frac {1}{\sqrt {x+\sqrt {x^2+1}}}+\frac {1}{2}\right )\,\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{\sqrt {x+\sqrt {x^2+1}}\,\sqrt {\frac {1}{x+\sqrt {x^2+1}}+\frac {1}{\sqrt {x+\sqrt {x^2+1}}}}} \]
[In]
[Out]