3.596 \(\int \frac {\sqrt {b-\frac {a}{x^2}} x^2}{\sqrt {a-b x^2}} \, dx\)

Optimal. Leaf size=31 \[ \frac {x^3 \sqrt {b-\frac {a}{x^2}}}{2 \sqrt {a-b x^2}} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {515, 23, 30} \[ \frac {x^3 \sqrt {b-\frac {a}{x^2}}}{2 \sqrt {a-b x^2}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 23

Int[(u_.)*((a_) + (b_.)*(v_))^(m_)*((c_) + (d_.)*(v_))^(n_), x_Symbol] :> Dist[(a + b*v)^m/(c + d*v)^m, Int[u*
(c + d*v)^(m + n), x], x] /; FreeQ[{a, b, c, d, m, n}, x] && EqQ[b*c - a*d, 0] &&  !(IntegerQ[m] || IntegerQ[n
] || GtQ[b/d, 0])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 515

Int[(x_)^(m_.)*((c_) + (d_.)*(x_)^(mn_.))^(q_)*((a_) + (b_.)*(x_)^(n_.))^(p_.), x_Symbol] :> Dist[(x^(n*FracPa
rt[q])*(c + d/x^n)^FracPart[q])/(d + c*x^n)^FracPart[q], Int[x^(m - n*q)*(a + b*x^n)^p*(d + c*x^n)^q, x], x] /
; FreeQ[{a, b, c, d, m, n, p, q}, x] && EqQ[mn, -n] &&  !IntegerQ[q] &&  !IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\sqrt {b-\frac {a}{x^2}} x^2}{\sqrt {a-b x^2}} \, dx &=\frac {\left (\sqrt {b-\frac {a}{x^2}} x\right ) \int \frac {x \sqrt {-a+b x^2}}{\sqrt {a-b x^2}} \, dx}{\sqrt {-a+b x^2}}\\ &=\frac {\left (\sqrt {b-\frac {a}{x^2}} x\right ) \int x \, dx}{\sqrt {a-b x^2}}\\ &=\frac {\sqrt {b-\frac {a}{x^2}} x^3}{2 \sqrt {a-b x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 31, normalized size = 1.00 \[ \frac {x^3 \sqrt {b-\frac {a}{x^2}}}{2 \sqrt {a-b x^2}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 41, normalized size = 1.32 \[ -\frac {\sqrt {-b x^{2} + a} x^{3} \sqrt {\frac {b x^{2} - a}{x^{2}}}}{2 \, {\left (b x^{2} - a\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [C]  time = 0.33, size = 15, normalized size = 0.48 \[ -\frac {i \, b x^{2} - i \, a}{2 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/2*(I*b*x^2 - I*a)/b

________________________________________________________________________________________

maple [A]  time = 0.00, size = 31, normalized size = 1.00 \[ \frac {\sqrt {-\frac {-b \,x^{2}+a}{x^{2}}}\, x^{3}}{2 \sqrt {-b \,x^{2}+a}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [C]  time = 1.02, size = 5, normalized size = 0.16 \[ -\frac {1}{2} i \, x^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/2*I*x^2

________________________________________________________________________________________

mupad [B]  time = 3.14, size = 25, normalized size = 0.81 \[ \frac {x^3\,\sqrt {b-\frac {a}{x^2}}}{2\,\sqrt {a-b\,x^2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(x^3*(b - a/x^2)^(1/2))/(2*(a - b*x^2)^(1/2))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________