Integrand size = 49, antiderivative size = 294 \[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\frac {2 \sqrt {c+\sqrt {x \left (a x+\sqrt {-b+a^2 x^2}\right )}}}{a}-\frac {\sqrt {\sqrt {2} \sqrt {b}-2 \sqrt {a} c} \left (-\sqrt {b}+\sqrt {2} \sqrt {a} c\right ) \arctan \left (\frac {\sqrt {2} \sqrt [4]{a} \sqrt {c+\sqrt {x \left (a x+\sqrt {-b+a^2 x^2}\right )}}}{\sqrt {\sqrt {2} \sqrt {b}-2 \sqrt {a} c}}\right )}{a^{5/4} \left (-\sqrt {2} \sqrt {b}+2 \sqrt {a} c\right )}-\frac {\left (\sqrt {b}+\sqrt {2} \sqrt {a} c\right ) \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{a} \sqrt {c+\sqrt {x \left (a x+\sqrt {-b+a^2 x^2}\right )}}}{\sqrt {\sqrt {2} \sqrt {b}+2 \sqrt {a} c}}\right )}{a^{5/4} \sqrt {\sqrt {2} \sqrt {b}+2 \sqrt {a} c}} \]
[Out]
\[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx \\ \end{align*}
Time = 4.70 (sec) , antiderivative size = 275, normalized size of antiderivative = 0.94 \[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\frac {4 \sqrt {a} \sqrt {c+\sqrt {x \left (a x+\sqrt {-b+a^2 x^2}\right )}}-\sqrt {2 \sqrt {2} \sqrt {a} \sqrt {b}-4 a c} \arctan \left (\frac {\sqrt {2 \sqrt {2} \sqrt {a} \sqrt {b}-4 a c} \sqrt {c+\sqrt {x \left (a x+\sqrt {-b+a^2 x^2}\right )}}}{\sqrt {2} \sqrt {b}-2 \sqrt {a} c}\right )+\sqrt {2} \sqrt {-\sqrt {2} \sqrt {a} \sqrt {b}-2 a c} \arctan \left (\frac {\sqrt {2} \sqrt {-\sqrt {2} \sqrt {a} \sqrt {b}-2 a c} \sqrt {c+\sqrt {x \left (a x+\sqrt {-b+a^2 x^2}\right )}}}{\sqrt {2} \sqrt {b}+2 \sqrt {a} c}\right )}{2 a^{3/2}} \]
[In]
[Out]
\[\int \frac {\sqrt {c +\sqrt {a \,x^{2}+x \sqrt {a^{2} x^{2}-b}}}}{\sqrt {a^{2} x^{2}-b}}d x\]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\int \frac {\sqrt {c + \sqrt {a x^{2} + x \sqrt {a^{2} x^{2} - b}}}}{\sqrt {a^{2} x^{2} - b}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\int { \frac {\sqrt {c + \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b} x}}}{\sqrt {a^{2} x^{2} - b}} \,d x } \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c+\sqrt {a x^2+x \sqrt {-b+a^2 x^2}}}}{\sqrt {-b+a^2 x^2}} \, dx=\int \frac {\sqrt {c+\sqrt {x\,\sqrt {a^2\,x^2-b}+a\,x^2}}}{\sqrt {a^2\,x^2-b}} \,d x \]
[In]
[Out]