3.2.7 \(\int \frac {1}{r \sqrt {-a^2-2 K r+2 H r^2}} \, dx\) [107]

Optimal. Leaf size=24 \[ \frac {x}{r \sqrt {-a^2-2 r (K-H r)}} \]

[Out]

x/r/(-a^2-2*r*(-H*r+K))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {8} \begin {gather*} \frac {x}{r \sqrt {-a^2-2 r (K-H r)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(r*Sqrt[-a^2 - 2*K*r + 2*H*r^2]),x]

[Out]

x/(r*Sqrt[-a^2 - 2*r*(K - H*r)])

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin {align*} \int \frac {1}{r \sqrt {-a^2-2 K r+2 H r^2}} \, dx &=\frac {x}{r \sqrt {-a^2-2 r (K-H r)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 25, normalized size = 1.04 \begin {gather*} \frac {x}{r \sqrt {-a^2-2 K r+2 H r^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(r*Sqrt[-a^2 - 2*K*r + 2*H*r^2]),x]

[Out]

x/(r*Sqrt[-a^2 - 2*K*r + 2*H*r^2])

________________________________________________________________________________________

Mathics [A]
time = 1.80, size = 23, normalized size = 0.96 \begin {gather*} \frac {x}{r \sqrt {2 H r^2-2 K r-a^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

mathics('Integrate[1/(r*Sqrt[2*H*r^2 - a^2 - 2*K*r]),x]')

[Out]

x / (r Sqrt[2 H r ^ 2 - 2 K r - a ^ 2])

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 24, normalized size = 1.00

method result size
default \(\frac {x}{r \sqrt {2 H \,r^{2}-2 K r -a^{2}}}\) \(24\)
norman \(\frac {x}{r \sqrt {2 H \,r^{2}-2 K r -a^{2}}}\) \(24\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/r/(2*H*r^2-2*K*r-a^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

x/r/(2*H*r^2-2*K*r-a^2)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.26, size = 23, normalized size = 0.96 \begin {gather*} \frac {x}{\sqrt {2 \, H r^{2} - a^{2} - 2 \, K r} r} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/r/(2*H*r^2-2*K*r-a^2)^(1/2),x, algorithm="maxima")

[Out]

x/(sqrt(2*H*r^2 - a^2 - 2*K*r)*r)

________________________________________________________________________________________

Fricas [A]
time = 0.32, size = 41, normalized size = 1.71 \begin {gather*} \frac {\sqrt {2 \, H r^{2} - a^{2} - 2 \, K r} x}{2 \, H r^{3} - a^{2} r - 2 \, K r^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/r/(2*H*r^2-2*K*r-a^2)^(1/2),x, algorithm="fricas")

[Out]

sqrt(2*H*r^2 - a^2 - 2*K*r)*x/(2*H*r^3 - a^2*r - 2*K*r^2)

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 20, normalized size = 0.83 \begin {gather*} \frac {x}{r \sqrt {2 H r^{2} - 2 K r - a^{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/r/(2*H*r**2-2*K*r-a**2)**(1/2),x)

[Out]

x/(r*sqrt(2*H*r**2 - 2*K*r - a**2))

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 25, normalized size = 1.04 \begin {gather*} \frac {x}{r \sqrt {2 H r^{2}-2 K r-a^{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/r/(2*H*r^2-2*K*r-a^2)^(1/2),x)

[Out]

x/(sqrt(2*H*r^2 - a^2 - 2*K*r)*r)

________________________________________________________________________________________

Mupad [B]
time = 0.00, size = 23, normalized size = 0.96 \begin {gather*} \frac {x}{r\,\sqrt {-a^2+2\,H\,r^2-2\,K\,r}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(r*(2*H*r^2 - 2*K*r - a^2)^(1/2)),x)

[Out]

x/(r*(2*H*r^2 - 2*K*r - a^2)^(1/2))

________________________________________________________________________________________