3.9.12 \(\int \frac {1}{\sqrt {a x+\sqrt {b^2+a^2 x^2}}} \, dx\)

Optimal. Leaf size=61 \[ \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}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, 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 = {2117, 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]

Int[1/Sqrt[a*x + Sqrt[b^2 + a^2*x^2]],x]

[Out]

-1/3*b^2/(a*(a*x + Sqrt[b^2 + a^2*x^2])^(3/2)) + Sqrt[a*x + Sqrt[b^2 + a^2*x^2]]/a

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2117

Int[((g_.) + (h_.)*((d_.) + (e_.)*(x_) + (f_.)*Sqrt[(a_) + (c_.)*(x_)^2])^(n_))^(p_.), x_Symbol] :> Dist[1/(2*
e), Subst[Int[((g + h*x^n)^p*(d^2 + a*f^2 - 2*d*x + x^2))/(d - x)^2, x], x, d + e*x + f*Sqrt[a + c*x^2]], x] /
; FreeQ[{a, c, d, e, f, g, h, n}, x] && EqQ[e^2 - c*f^2, 0] && IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {a x+\sqrt {b^2+a^2 x^2}}} \, dx &=\frac {\operatorname {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 {\operatorname {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.03, size = 57, normalized size = 0.93 \begin {gather*} \frac {2 \left (3 a x \left (\sqrt {a^2 x^2+b^2}+a x\right )+b^2\right )}{3 a \left (\sqrt {a^2 x^2+b^2}+a x\right )^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[a*x + Sqrt[b^2 + a^2*x^2]],x]

[Out]

(2*(b^2 + 3*a*x*(a*x + Sqrt[b^2 + a^2*x^2])))/(3*a*(a*x + Sqrt[b^2 + a^2*x^2])^(3/2))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.10, size = 61, normalized size = 1.00 \begin {gather*} -\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 {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/Sqrt[a*x + Sqrt[b^2 + a^2*x^2]],x]

[Out]

-1/3*b^2/(a*(a*x + Sqrt[b^2 + a^2*x^2])^(3/2)) + Sqrt[a*x + Sqrt[b^2 + a^2*x^2]]/a

________________________________________________________________________________________

fricas [A]  time = 0.45, 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]

integrate(1/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x, algorithm="fricas")

[Out]

-2/3*(a^2*x^2 - sqrt(a^2*x^2 + b^2)*a*x - b^2)*sqrt(a*x + sqrt(a^2*x^2 + b^2))/(a*b^2)

________________________________________________________________________________________

giac [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}}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x, algorithm="giac")

[Out]

integrate(1/sqrt(a*x + sqrt(a^2*x^2 + b^2)), x)

________________________________________________________________________________________

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]

int(1/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x)

[Out]

int(1/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x)

________________________________________________________________________________________

maxima [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}}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x, algorithm="maxima")

[Out]

integrate(1/sqrt(a*x + sqrt(a^2*x^2 + b^2)), x)

________________________________________________________________________________________

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]

int(1/(a*x + (b^2 + a^2*x^2)^(1/2))^(1/2),x)

[Out]

int(1/(a*x + (b^2 + a^2*x^2)^(1/2))^(1/2), x)

________________________________________________________________________________________

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]

integrate(1/(a*x+(a**2*x**2+b**2)**(1/2))**(1/2),x)

[Out]

Integral(1/sqrt(a*x + sqrt(a**2*x**2 + b**2)), x)

________________________________________________________________________________________