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

Optimal. Leaf size=135 \[ \frac {2 \sqrt {a^2 x^2+b^2} \left (4 a^4 x^5+19 a^2 b^2 x^3+7 b^4 x\right )}{5 \left (\sqrt {a^2 x^2+b^2}+a x\right )^{7/2}}+\frac {2 \left (28 a^6 x^6+147 a^4 b^2 x^4+112 a^2 b^4 x^2+9 b^6\right )}{35 a \left (\sqrt {a^2 x^2+b^2}+a x\right )^{7/2}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.09, antiderivative size = 130, normalized size of antiderivative = 0.96, number of steps used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {2122, 270} \begin {gather*} \frac {3 b^2 \sqrt {\sqrt {a^2 x^2+b^2}+a x}}{4 a}+\frac {\left (\sqrt {a^2 x^2+b^2}+a x\right )^{5/2}}{20 a}-\frac {b^6}{28 a \left (\sqrt {a^2 x^2+b^2}+a x\right )^{7/2}}-\frac {b^4}{4 a \left (\sqrt {a^2 x^2+b^2}+a x\right )^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-1/28*b^6/(a*(a*x + Sqrt[b^2 + a^2*x^2])^(7/2)) - b^4/(4*a*(a*x + Sqrt[b^2 + a^2*x^2])^(3/2)) + (3*b^2*Sqrt[a*
x + Sqrt[b^2 + a^2*x^2]])/(4*a) + (a*x + Sqrt[b^2 + a^2*x^2])^(5/2)/(20*a)

Rule 270

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*(a + b*x^n)^p,
 x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0]

Rule 2122

Int[((g_) + (i_.)*(x_)^2)^(m_.)*((d_.) + (e_.)*(x_) + (f_.)*Sqrt[(a_) + (c_.)*(x_)^2])^(n_.), x_Symbol] :> Dis
t[(1*(i/c)^m)/(2^(2*m + 1)*e*f^(2*m)), Subst[Int[(x^n*(d^2 + a*f^2 - 2*d*x + x^2)^(2*m + 1))/(-d + x)^(2*(m +
1)), x], x, d + e*x + f*Sqrt[a + c*x^2]], x] /; FreeQ[{a, c, d, e, f, g, i, n}, x] && EqQ[e^2 - c*f^2, 0] && E
qQ[c*g - a*i, 0] && IntegerQ[2*m] && (IntegerQ[m] || GtQ[i/c, 0])

Rubi steps

\begin {align*} \int \frac {b^2+a^2 x^2}{\sqrt {a x+\sqrt {b^2+a^2 x^2}}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (b^2+x^2\right )^3}{x^{9/2}} \, dx,x,a x+\sqrt {b^2+a^2 x^2}\right )}{8 a}\\ &=\frac {\operatorname {Subst}\left (\int \left (\frac {b^6}{x^{9/2}}+\frac {3 b^4}{x^{5/2}}+\frac {3 b^2}{\sqrt {x}}+x^{3/2}\right ) \, dx,x,a x+\sqrt {b^2+a^2 x^2}\right )}{8 a}\\ &=-\frac {b^6}{28 a \left (a x+\sqrt {b^2+a^2 x^2}\right )^{7/2}}-\frac {b^4}{4 a \left (a x+\sqrt {b^2+a^2 x^2}\right )^{3/2}}+\frac {3 b^2 \sqrt {a x+\sqrt {b^2+a^2 x^2}}}{4 a}+\frac {\left (a x+\sqrt {b^2+a^2 x^2}\right )^{5/2}}{20 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.13, size = 111, normalized size = 0.82 \begin {gather*} \frac {105 b^2 \left (\sqrt {a^2 x^2+b^2}+a x\right )^4+7 \left (\sqrt {a^2 x^2+b^2}+a x\right )^6-35 b^4 \left (\sqrt {a^2 x^2+b^2}+a x\right )^2-5 b^6}{140 a \left (\sqrt {a^2 x^2+b^2}+a x\right )^{7/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(-5*b^6 - 35*b^4*(a*x + Sqrt[b^2 + a^2*x^2])^2 + 105*b^2*(a*x + Sqrt[b^2 + a^2*x^2])^4 + 7*(a*x + Sqrt[b^2 + a
^2*x^2])^6)/(140*a*(a*x + Sqrt[b^2 + a^2*x^2])^(7/2))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.18, size = 135, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {b^2+a^2 x^2} \left (7 b^4 x+19 a^2 b^2 x^3+4 a^4 x^5\right )}{5 \left (a x+\sqrt {b^2+a^2 x^2}\right )^{7/2}}+\frac {2 \left (9 b^6+112 a^2 b^4 x^2+147 a^4 b^2 x^4+28 a^6 x^6\right )}{35 a \left (a x+\sqrt {b^2+a^2 x^2}\right )^{7/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(2*Sqrt[b^2 + a^2*x^2]*(7*b^4*x + 19*a^2*b^2*x^3 + 4*a^4*x^5))/(5*(a*x + Sqrt[b^2 + a^2*x^2])^(7/2)) + (2*(9*b
^6 + 112*a^2*b^4*x^2 + 147*a^4*b^2*x^4 + 28*a^6*x^6))/(35*a*(a*x + Sqrt[b^2 + a^2*x^2])^(7/2))

________________________________________________________________________________________

fricas [A]  time = 0.57, size = 83, normalized size = 0.61 \begin {gather*} -\frac {2 \, {\left (5 \, a^{4} x^{4} + 12 \, a^{2} b^{2} x^{2} - 9 \, b^{4} - {\left (5 \, a^{3} x^{3} + 13 \, a b^{2} x\right )} \sqrt {a^{2} x^{2} + b^{2}}\right )} \sqrt {a x + \sqrt {a^{2} x^{2} + b^{2}}}}{35 \, a b^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-2/35*(5*a^4*x^4 + 12*a^2*b^2*x^2 - 9*b^4 - (5*a^3*x^3 + 13*a*b^2*x)*sqrt(a^2*x^2 + 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 {a^{2} x^{2} + b^{2}}{\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((a^2*x^2+b^2)/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [F]  time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {a^{2} x^{2}+b^{2}}{\sqrt {a x +\sqrt {a^{2} x^{2}+b^{2}}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

int((a^2*x^2+b^2)/(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 {a^{2} x^{2} + b^{2}}{\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((a^2*x^2+b^2)/(a*x+(a^2*x^2+b^2)^(1/2))^(1/2),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a^2\,x^2+b^2}{\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((b^2 + a^2*x^2)/(a*x + (b^2 + a^2*x^2)^(1/2))^(1/2),x)

[Out]

int((b^2 + a^2*x^2)/(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 {a^{2} x^{2} + b^{2}}{\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((a**2*x**2+b**2)/(a*x+(a**2*x**2+b**2)**(1/2))**(1/2),x)

[Out]

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

________________________________________________________________________________________