\(\int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx\) [908]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [F]
   Giac [F(-2)]
   Mupad [F(-1)]

Optimal result

Integrand size = 27, antiderivative size = 69 \[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{a \sqrt {1-\frac {1}{a^2 x^2}} x}+\frac {\sqrt {c-\frac {c}{a^2 x^2}} \log (x)}{\sqrt {1-\frac {1}{a^2 x^2}}} \]

[Out]

(c-c/a^2/x^2)^(1/2)/a/x/(1-1/a^2/x^2)^(1/2)+ln(x)*(c-c/a^2/x^2)^(1/2)/(1-1/a^2/x^2)^(1/2)

Rubi [A] (verified)

Time = 0.18 (sec) , antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6332, 6328, 45} \[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{a x \sqrt {1-\frac {1}{a^2 x^2}}}+\frac {\log (x) \sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-\frac {1}{a^2 x^2}}} \]

[In]

Int[Sqrt[c - c/(a^2*x^2)]/(E^ArcCoth[a*x]*x),x]

[Out]

Sqrt[c - c/(a^2*x^2)]/(a*Sqrt[1 - 1/(a^2*x^2)]*x) + (Sqrt[c - c/(a^2*x^2)]*Log[x])/Sqrt[1 - 1/(a^2*x^2)]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 6328

Int[E^(ArcCoth[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)/(x_)^2)^(p_.), x_Symbol] :> Dist[c^p/a^(2*p), Int[(u/x^(
2*p))*(-1 + a*x)^(p - n/2)*(1 + a*x)^(p + n/2), x], x] /; FreeQ[{a, c, d, n, p}, x] && EqQ[c + a^2*d, 0] &&  !
IntegerQ[n/2] && (IntegerQ[p] || GtQ[c, 0]) && IntegersQ[2*p, p + n/2]

Rule 6332

Int[E^(ArcCoth[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)/(x_)^2)^(p_), x_Symbol] :> Dist[c^IntPart[p]*((c + d/x^2
)^FracPart[p]/(1 - 1/(a^2*x^2))^FracPart[p]), Int[u*(1 - 1/(a^2*x^2))^p*E^(n*ArcCoth[a*x]), x], x] /; FreeQ[{a
, c, d, n, p}, x] && EqQ[c + a^2*d, 0] &&  !IntegerQ[n/2] &&  !(IntegerQ[p] || GtQ[c, 0])

Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {c-\frac {c}{a^2 x^2}} \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {1-\frac {1}{a^2 x^2}}}{x} \, dx}{\sqrt {1-\frac {1}{a^2 x^2}}} \\ & = \frac {\sqrt {c-\frac {c}{a^2 x^2}} \int \frac {-1+a x}{x^2} \, dx}{a \sqrt {1-\frac {1}{a^2 x^2}}} \\ & = \frac {\sqrt {c-\frac {c}{a^2 x^2}} \int \left (-\frac {1}{x^2}+\frac {a}{x}\right ) \, dx}{a \sqrt {1-\frac {1}{a^2 x^2}}} \\ & = \frac {\sqrt {c-\frac {c}{a^2 x^2}}}{a \sqrt {1-\frac {1}{a^2 x^2}} x}+\frac {\sqrt {c-\frac {c}{a^2 x^2}} \log (x)}{\sqrt {1-\frac {1}{a^2 x^2}}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 40, normalized size of antiderivative = 0.58 \[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\frac {\sqrt {c-\frac {c}{a^2 x^2}} \left (\frac {1}{a x}+\log (x)\right )}{\sqrt {1-\frac {1}{a^2 x^2}}} \]

[In]

Integrate[Sqrt[c - c/(a^2*x^2)]/(E^ArcCoth[a*x]*x),x]

[Out]

(Sqrt[c - c/(a^2*x^2)]*(1/(a*x) + Log[x]))/Sqrt[1 - 1/(a^2*x^2)]

Maple [A] (verified)

Time = 0.05 (sec) , antiderivative size = 50, normalized size of antiderivative = 0.72

method result size
default \(\frac {\left (a \ln \left (x \right ) x +1\right ) \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}\, \sqrt {\frac {a x -1}{a x +1}}}{a x -1}\) \(50\)

[In]

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

[Out]

(a*ln(x)*x+1)*(c*(a^2*x^2-1)/a^2/x^2)^(1/2)*((a*x-1)/(a*x+1))^(1/2)/(a*x-1)

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.30 \[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\frac {\sqrt {a^{2} c} {\left (a x \log \left (x\right ) + 1\right )}}{a^{2} x} \]

[In]

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

[Out]

sqrt(a^2*c)*(a*x*log(x) + 1)/(a^2*x)

Sympy [F]

\[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\int \frac {\sqrt {\frac {a x - 1}{a x + 1}} \sqrt {- c \left (-1 + \frac {1}{a x}\right ) \left (1 + \frac {1}{a x}\right )}}{x}\, dx \]

[In]

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

[Out]

Integral(sqrt((a*x - 1)/(a*x + 1))*sqrt(-c*(-1 + 1/(a*x))*(1 + 1/(a*x)))/x, x)

Maxima [F]

\[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\int { \frac {\sqrt {c - \frac {c}{a^{2} x^{2}}} \sqrt {\frac {a x - 1}{a x + 1}}}{x} \,d x } \]

[In]

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

[Out]

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

Giac [F(-2)]

Exception generated. \[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\text {Exception raised: RuntimeError} \]

[In]

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

[Out]

Exception raised: RuntimeError >> an error occurred running a Giac command:INPUT:sage2OUTPUT:sym2poly/r2sym(co
nst gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

Mupad [F(-1)]

Timed out. \[ \int \frac {e^{-\coth ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\int \frac {\sqrt {c-\frac {c}{a^2\,x^2}}\,\sqrt {\frac {a\,x-1}{a\,x+1}}}{x} \,d x \]

[In]

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

[Out]

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