Optimal. Leaf size=61 \[ -\frac {b^2}{3 a \left (a x+\sqrt {b^2+a^2 x^2}\right )^{3/2}}+\frac {\sqrt {a x+\sqrt {b^2+a^2 x^2}}}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2142, 14}
\begin {gather*} \frac {\sqrt {\sqrt {a^2 x^2+b^2}+a x}}{a}-\frac {b^2}{3 a \left (\sqrt {a^2 x^2+b^2}+a x\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2142
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a x+\sqrt {b^2+a^2 x^2}}} \, dx &=\frac {\text {Subst}\left (\int \frac {b^2+x^2}{x^{5/2}} \, dx,x,a x+\sqrt {b^2+a^2 x^2}\right )}{2 a}\\ &=\frac {\text {Subst}\left (\int \left (\frac {b^2}{x^{5/2}}+\frac {1}{\sqrt {x}}\right ) \, dx,x,a x+\sqrt {b^2+a^2 x^2}\right )}{2 a}\\ &=-\frac {b^2}{3 a \left (a x+\sqrt {b^2+a^2 x^2}\right )^{3/2}}+\frac {\sqrt {a x+\sqrt {b^2+a^2 x^2}}}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 57, normalized size = 0.93 \begin {gather*} \frac {2 \left (b^2+3 a x \left (a x+\sqrt {b^2+a^2 x^2}\right )\right )}{3 a \left (a x+\sqrt {b^2+a^2 x^2}\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {1}{\sqrt {a x +\sqrt {a^{2} 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 = 0.36, size = 57, normalized size = 0.93 \begin {gather*} -\frac {2 \, {\left (a^{2} x^{2} - \sqrt {a^{2} x^{2} + b^{2}} a x - b^{2}\right )} \sqrt {a x + \sqrt {a^{2} x^{2} + b^{2}}}}{3 \, a b^{2}} \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 {a x + \sqrt {a^{2} x^{2} + b^{2}}}}\, dx \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.02 \begin {gather*} \int \frac {1}{\sqrt {a\,x+\sqrt {a^2\,x^2+b^2}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________