3.6.95 \(\int \frac {\sqrt {b-\frac {a}{x^2}} x^m}{\sqrt {a-b x^2}} \, dx\) [595]

Optimal. Leaf size=33 \[ \frac {\sqrt {b-\frac {a}{x^2}} x^{1+m}}{m \sqrt {a-b x^2}} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 33, 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 = {529, 23, 30} \begin {gather*} \frac {x^{m+1} \sqrt {b-\frac {a}{x^2}}}{m \sqrt {a-b x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(Sqrt[b - a/x^2]*x^(1 + m))/(m*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 529

Int[(x_)^(m_.)*((c_) + (d_.)*(x_)^(mn_.))^(q_)*((a_) + (b_.)*(x_)^(n_.))^(p_.), x_Symbol] :> Dist[x^(n*FracPar
t[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^m}{\sqrt {a-b x^2}} \, dx &=\frac {\left (\sqrt {b-\frac {a}{x^2}} x\right ) \int \frac {x^{-1+m} \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^{-1+m} \, dx}{\sqrt {a-b x^2}}\\ &=\frac {\sqrt {b-\frac {a}{x^2}} x^{1+m}}{m \sqrt {a-b x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 33, normalized size = 1.00 \begin {gather*} \frac {\sqrt {b-\frac {a}{x^2}} x^{1+m}}{m \sqrt {a-b x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.39, size = 35, normalized size = 1.06

method result size
gosper \(\frac {x^{1+m} \sqrt {-\frac {-b \,x^{2}+a}{x^{2}}}}{m \sqrt {-b \,x^{2}+a}}\) \(35\)
risch \(\frac {i \sqrt {-\frac {-b \,x^{2}+a}{x^{2}}}\, \left (b \,x^{2}-a \right ) x \sqrt {\frac {-b \,x^{2}+a}{b \,x^{2}-a}}\, x^{m}}{\left (-b \,x^{2}+a \right )^{\frac {3}{2}} m}\) \(67\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^m*(b-a/x^2)^(1/2)/(-b*x^2+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

Maxima [C] Result contains complex when optimal does not.
time = 0.29, size = 8, normalized size = 0.24 \begin {gather*} -\frac {i \, x^{m}}{m} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-I*x^m/m

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 44, normalized size = 1.33 \begin {gather*} -\frac {\sqrt {-b x^{2} + a} x x^{m} \sqrt {\frac {b x^{2} - a}{x^{2}}}}{b m x^{2} - a m} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{m} \sqrt {- \frac {a}{x^{2}} + b}}{\sqrt {a - b x^{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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]

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

[Out]

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

________________________________________________________________________________________

Mupad [B]
time = 3.36, size = 29, normalized size = 0.88 \begin {gather*} \frac {x^{m+1}\,\sqrt {b-\frac {a}{x^2}}}{m\,\sqrt {a-b\,x^2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________