Optimal. Leaf size=114 \[ -\frac {\sqrt {b+\sqrt {b^2+a x^2}}}{b x}-\frac {\sqrt {2} \sqrt {a} \text {ArcTan}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt {b} \sqrt {b+\sqrt {b^2+a x^2}}}-\frac {\sqrt {b+\sqrt {b^2+a x^2}}}{\sqrt {2} \sqrt {b}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.71, 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 {\sqrt {b+\sqrt {b^2+a x^2}}}{x^2 \sqrt {b^2+a x^2}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\sqrt {b+\sqrt {b^2+a x^2}}}{x^2 \sqrt {b^2+a x^2}} \, dx &=\int \frac {\sqrt {b+\sqrt {b^2+a x^2}}}{x^2 \sqrt {b^2+a x^2}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 82, normalized size = 0.72 \begin {gather*} -\frac {\sqrt {b+\sqrt {b^2+a x^2}}}{b x}-\frac {\sqrt {a} \text {ArcTan}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt {b} \sqrt {b+\sqrt {b^2+a x^2}}}\right )}{\sqrt {2} b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {b +\sqrt {a \,x^{2}+b^{2}}}}{x^{2} \sqrt {a \,x^{2}+b^{2}}}\, 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 = 20.03, size = 219, normalized size = 1.92 \begin {gather*} \left [\frac {\sqrt {2} x \sqrt {-\frac {a}{b}} \log \left (-\frac {a^{2} x^{3} + 4 \, a b^{2} x - 4 \, \sqrt {a x^{2} + b^{2}} a b x + 2 \, {\left (2 \, \sqrt {2} \sqrt {a x^{2} + b^{2}} b^{2} \sqrt {-\frac {a}{b}} - \sqrt {2} {\left (a b x^{2} + 2 \, b^{3}\right )} \sqrt {-\frac {a}{b}}\right )} \sqrt {b + \sqrt {a x^{2} + b^{2}}}}{x^{3}}\right ) - 4 \, \sqrt {b + \sqrt {a x^{2} + b^{2}}}}{4 \, b x}, \frac {\sqrt {2} x \sqrt {\frac {a}{b}} \arctan \left (\frac {\sqrt {2} \sqrt {b + \sqrt {a x^{2} + b^{2}}} b \sqrt {\frac {a}{b}}}{a x}\right ) - 2 \, \sqrt {b + \sqrt {a x^{2} + b^{2}}}}{2 \, b x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.61, size = 44, normalized size = 0.39 \begin {gather*} - \frac {\Gamma \left (\frac {1}{4}\right ) \Gamma \left (\frac {3}{4}\right ) {{}_{3}F_{2}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{4}, \frac {3}{4} \\ \frac {1}{2}, \frac {1}{2} \end {matrix}\middle | {\frac {a x^{2} e^{i \pi }}{b^{2}}} \right )}}{\pi \sqrt {b} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {b+\sqrt {b^2+a\,x^2}}}{x^2\,\sqrt {b^2+a\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________