Integrand size = 25, antiderivative size = 553 \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\frac {\sqrt {x^2+\sqrt {1+x^4}}}{a}+\frac {\left (1+a^4+\sqrt {1+a^4}\right ) \arctan \left (\frac {a \sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-1-\sqrt {1+a^4}}}\right )}{a^2 \sqrt {1+a^4} \sqrt {-1-\sqrt {1+a^4}}}+\frac {\left (-1-a^4+\sqrt {1+a^4}\right ) \arctan \left (\frac {a \sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-1+\sqrt {1+a^4}}}\right )}{a^2 \sqrt {1+a^4} \sqrt {-1+\sqrt {1+a^4}}}+\frac {\left (\sqrt {2} \sqrt {-a^2-\sqrt {1+a^4}}-\sqrt {2} a^2 \sqrt {-a^2-\sqrt {1+a^4}}+\sqrt {2} \sqrt {1+a^4} \sqrt {-a^2-\sqrt {1+a^4}}\right ) \arctan \left (\frac {\sqrt {2} x \sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-a^2-\sqrt {1+a^4}} \left (-1+x^2+\sqrt {1+x^4}\right )}\right )}{2 a^2}+\frac {\left (-\sqrt {2} \sqrt {-a^2+\sqrt {1+a^4}}+\sqrt {2} a^2 \sqrt {-a^2+\sqrt {1+a^4}}+\sqrt {2} \sqrt {1+a^4} \sqrt {-a^2+\sqrt {1+a^4}}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {-a^2+\sqrt {1+a^4}} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )}{2 a^2}-\frac {\sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )}{a^2} \]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx \\ \end{align*}
Time = 4.63 (sec) , antiderivative size = 436, normalized size of antiderivative = 0.79 \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\frac {2 a \sqrt {x^2+\sqrt {1+x^4}}+\frac {2 \left (1+a^4+\sqrt {1+a^4}\right ) \arctan \left (\frac {a \sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-1-\sqrt {1+a^4}}}\right )}{\sqrt {1+a^4} \sqrt {-1-\sqrt {1+a^4}}}+\frac {2 \left (-1-a^4+\sqrt {1+a^4}\right ) \arctan \left (\frac {a \sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-1+\sqrt {1+a^4}}}\right )}{\sqrt {1+a^4} \sqrt {-1+\sqrt {1+a^4}}}+\sqrt {2} \sqrt {-a^2-\sqrt {1+a^4}} \left (1-a^2+\sqrt {1+a^4}\right ) \arctan \left (\frac {\sqrt {2} x \sqrt {x^2+\sqrt {1+x^4}}}{\sqrt {-a^2-\sqrt {1+a^4}} \left (-1+x^2+\sqrt {1+x^4}\right )}\right )+\sqrt {2} \sqrt {-a^2+\sqrt {1+a^4}} \left (-1+a^2+\sqrt {1+a^4}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {-a^2+\sqrt {1+a^4}} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )-2 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} x \sqrt {x^2+\sqrt {1+x^4}}}{1+x^2+\sqrt {1+x^4}}\right )}{2 a^2} \]
[In]
[Out]
\[\int \frac {\sqrt {x^{2}+\sqrt {x^{4}+1}}}{a x +1}d x\]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\int \frac {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{a x + 1}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\int { \frac {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{a x + 1} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\int { \frac {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{a x + 1} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+a x} \, dx=\int \frac {\sqrt {\sqrt {x^4+1}+x^2}}{a\,x+1} \,d x \]
[In]
[Out]