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

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

Optimal result

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

[Out]

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

Rubi [A] (verified)

Time = 0.08 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {6302, 6277, 667, 223, 209} \[ \int \frac {e^{-2 \coth ^{-1}(a x)}}{\sqrt {c-a^2 c x^2}} \, dx=\frac {\arctan \left (\frac {a \sqrt {c} x}{\sqrt {c-a^2 c x^2}}\right )}{a \sqrt {c}}+\frac {2 (1-a x)}{a \sqrt {c-a^2 c x^2}} \]

[In]

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

[Out]

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

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 667

Int[((d_) + (e_.)*(x_))^2*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[e*(d + e*x)*((a + c*x^2)^(p + 1)/(c*(p
 + 1))), x] - Dist[e^2*((p + 2)/(c*(p + 1))), Int[(a + c*x^2)^(p + 1), x], x] /; FreeQ[{a, c, d, e, p}, x] &&
EqQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p] && LtQ[p, -1]

Rule 6277

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

Rule 6302

Int[E^(ArcCoth[(a_.)*(x_)]*(n_))*(u_.), x_Symbol] :> Dist[(-1)^(n/2), Int[u*E^(n*ArcTanh[a*x]), x], x] /; Free
Q[a, x] && IntegerQ[n/2]

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

Mathematica [A] (verified)

Time = 0.08 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.67 \[ \int \frac {e^{-2 \coth ^{-1}(a x)}}{\sqrt {c-a^2 c x^2}} \, dx=-\frac {2 \sqrt {1-a^2 x^2} \left ((-1+a x) \sqrt {1+a x}+\sqrt {1-a x} (1+a x) \arcsin \left (\frac {\sqrt {1-a x}}{\sqrt {2}}\right )\right )}{a \sqrt {1-a x} (1+a x) \sqrt {c-a^2 c x^2}} \]

[In]

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

[Out]

(-2*Sqrt[1 - a^2*x^2]*((-1 + a*x)*Sqrt[1 + a*x] + Sqrt[1 - a*x]*(1 + a*x)*ArcSin[Sqrt[1 - a*x]/Sqrt[2]]))/(a*S
qrt[1 - a*x]*(1 + a*x)*Sqrt[c - a^2*c*x^2])

Maple [A] (verified)

Time = 0.62 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.22

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

[In]

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

[Out]

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

Fricas [A] (verification not implemented)

none

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

[In]

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

[Out]

[-1/2*((a*x + 1)*sqrt(-c)*log(2*a^2*c*x^2 - 2*sqrt(-a^2*c*x^2 + c)*a*sqrt(-c)*x - c) - 4*sqrt(-a^2*c*x^2 + c))
/(a^2*c*x + a*c), -((a*x + 1)*sqrt(c)*arctan(sqrt(-a^2*c*x^2 + c)*a*sqrt(c)*x/(a^2*c*x^2 - c)) - 2*sqrt(-a^2*c
*x^2 + c))/(a^2*c*x + a*c)]

Sympy [F]

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

[In]

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

[Out]

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

Maxima [A] (verification not implemented)

none

Time = 0.33 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.65 \[ \int \frac {e^{-2 \coth ^{-1}(a x)}}{\sqrt {c-a^2 c x^2}} \, dx=\frac {2 \, \sqrt {-a^{2} c x^{2} + c}}{a^{2} c x + a c} + \frac {\arcsin \left (a x\right )}{a \sqrt {c}} \]

[In]

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

[Out]

2*sqrt(-a^2*c*x^2 + c)/(a^2*c*x + a*c) + arcsin(a*x)/(a*sqrt(c))

Giac [F(-2)]

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

[In]

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

[Out]

Exception raised: TypeError >> an error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:index.cc index_m i_lex_is_greater Error: Bad Argument Value

Mupad [F(-1)]

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

[In]

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

[Out]

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