Integrand size = 48, antiderivative size = 186 \[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\frac {1}{2} a x \sqrt {a x^2+\sqrt {b+a^2 x^4}}-\frac {\sqrt {a} \sqrt {b} \arctan \left (\frac {a x^2}{\sqrt {b}}+\frac {\sqrt {b+a^2 x^4}}{\sqrt {b}}+\frac {\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b}}\right )}{\sqrt {2}}-\frac {b \log \left (a x^2+\sqrt {b+a^2 x^4}+\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}\right )}{\sqrt {2} \sqrt {a}} \]
[Out]
\[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {b \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}}+\frac {a^2 x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}}\right ) \, dx \\ & = a^2 \int \frac {x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx-b \int \frac {\sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx \\ & = a^2 \int \frac {x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx-b \text {Subst}\left (\int \frac {1}{1-2 a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+\sqrt {b+a^2 x^4}}}\right ) \\ & = -\frac {b \text {arctanh}\left (\frac {\sqrt {2} \sqrt {a} x}{\sqrt {a x^2+\sqrt {b+a^2 x^4}}}\right )}{\sqrt {2} \sqrt {a}}+a^2 \int \frac {x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx \\ \end{align*}
Time = 0.44 (sec) , antiderivative size = 177, normalized size of antiderivative = 0.95 \[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\frac {a^{3/2} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}+\sqrt {2} a \sqrt {b} \arctan \left (\frac {a x^2+\sqrt {b+a^2 x^4}-\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b}}\right )+\sqrt {2} b \log \left (a x^2+\sqrt {b+a^2 x^4}-\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}\right )}{2 \sqrt {a}} \]
[In]
[Out]
\[\int \frac {\left (a^{2} x^{2}-b \right ) \sqrt {a \,x^{2}+\sqrt {a^{2} x^{4}+b}}}{\sqrt {a^{2} x^{4}+b}}d x\]
[In]
[Out]
Timed out. \[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\int \frac {\sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} \left (a^{2} x^{2} - b\right )}{\sqrt {a^{2} x^{4} + b}}\, dx \]
[In]
[Out]
\[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\int { \frac {{\left (a^{2} x^{2} - b\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}}}{\sqrt {a^{2} x^{4} + b}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\int { \frac {{\left (a^{2} x^{2} - b\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}}}{\sqrt {a^{2} x^{4} + b}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx=\int -\frac {\sqrt {\sqrt {a^2\,x^4+b}+a\,x^2}\,\left (b-a^2\,x^2\right )}{\sqrt {a^2\,x^4+b}} \,d x \]
[In]
[Out]