Optimal. Leaf size=269 \[ \frac {(6 b-16 a x) \sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}+(-9 b+8 a x) \sqrt {a x+\sqrt {-b+a^2 x^2}} \sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}+\sqrt {-b+a^2 x^2} \left (-16 \sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}+8 \sqrt {a x+\sqrt {-b+a^2 x^2}} \sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}\right )}{12 a^2 x+12 a \sqrt {-b+a^2 x^2}}+\frac {3 b \tanh ^{-1}\left (\sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}\right )}{4 a} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.05, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {1}{\sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}} \, dx &=\int \frac {1}{\sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.40, size = 168, normalized size = 0.62 \begin {gather*} \frac {\frac {\sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}} \left (b \left (6-9 \sqrt {a x+\sqrt {-b+a^2 x^2}}\right )+8 \left (a x+\sqrt {-b+a^2 x^2}\right ) \left (-2+\sqrt {a x+\sqrt {-b+a^2 x^2}}\right )\right )}{a x+\sqrt {-b+a^2 x^2}}+9 b \tanh ^{-1}\left (\sqrt {1+\sqrt {a x+\sqrt {-b+a^2 x^2}}}\right )}{12 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {1}{\sqrt {1+\sqrt {a x +\sqrt {a^{2} x^{2}-b}}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 152, normalized size = 0.57 \begin {gather*} \frac {9 \, b \log \left (\sqrt {\sqrt {a x + \sqrt {a^{2} x^{2} - b}} + 1} + 1\right ) - 9 \, b \log \left (\sqrt {\sqrt {a x + \sqrt {a^{2} x^{2} - b}} + 1} - 1\right ) + 2 \, {\left (6 \, a x - {\left (9 \, a x - 9 \, \sqrt {a^{2} x^{2} - b} - 8\right )} \sqrt {a x + \sqrt {a^{2} x^{2} - b}} - 6 \, \sqrt {a^{2} x^{2} - b} - 16\right )} \sqrt {\sqrt {a x + \sqrt {a^{2} x^{2} - b}} + 1}}{24 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {\sqrt {a x + \sqrt {a^{2} x^{2} - b}} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{\sqrt {\sqrt {a\,x+\sqrt {a^2\,x^2-b}}+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________