### 3.715 $$\int e^{-2 \coth ^{-1}(a x)} \sqrt{c-a^2 c x^2} \, dx$$

Optimal. Leaf size=87 $-\frac{(1-a x) \sqrt{c-a^2 c x^2}}{2 a}-\frac{3 \sqrt{c-a^2 c x^2}}{2 a}-\frac{3 \sqrt{c} \tan ^{-1}\left (\frac{a \sqrt{c} x}{\sqrt{c-a^2 c x^2}}\right )}{2 a}$

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.113209, antiderivative size = 87, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 24, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.25, Rules used = {6167, 6142, 671, 641, 217, 203} $-\frac{(1-a x) \sqrt{c-a^2 c x^2}}{2 a}-\frac{3 \sqrt{c-a^2 c x^2}}{2 a}-\frac{3 \sqrt{c} \tan ^{-1}\left (\frac{a \sqrt{c} x}{\sqrt{c-a^2 c x^2}}\right )}{2 a}$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

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

Rule 6167

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]

Rule 6142

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 671

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

Rule 641

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

Rule 217

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 203

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

Rubi steps

\begin{align*} \int e^{-2 \coth ^{-1}(a x)} \sqrt{c-a^2 c x^2} \, dx &=-\int e^{-2 \tanh ^{-1}(a x)} \sqrt{c-a^2 c x^2} \, dx\\ &=-\left (c \int \frac{(1-a x)^2}{\sqrt{c-a^2 c x^2}} \, dx\right )\\ &=-\frac{(1-a x) \sqrt{c-a^2 c x^2}}{2 a}-\frac{1}{2} (3 c) \int \frac{1-a x}{\sqrt{c-a^2 c x^2}} \, dx\\ &=-\frac{3 \sqrt{c-a^2 c x^2}}{2 a}-\frac{(1-a x) \sqrt{c-a^2 c x^2}}{2 a}-\frac{1}{2} (3 c) \int \frac{1}{\sqrt{c-a^2 c x^2}} \, dx\\ &=-\frac{3 \sqrt{c-a^2 c x^2}}{2 a}-\frac{(1-a x) \sqrt{c-a^2 c x^2}}{2 a}-\frac{1}{2} (3 c) \operatorname{Subst}\left (\int \frac{1}{1+a^2 c x^2} \, dx,x,\frac{x}{\sqrt{c-a^2 c x^2}}\right )\\ &=-\frac{3 \sqrt{c-a^2 c x^2}}{2 a}-\frac{(1-a x) \sqrt{c-a^2 c x^2}}{2 a}-\frac{3 \sqrt{c} \tan ^{-1}\left (\frac{a \sqrt{c} x}{\sqrt{c-a^2 c x^2}}\right )}{2 a}\\ \end{align*}

Mathematica [A]  time = 0.0533999, size = 100, normalized size = 1.15 $\frac{\sqrt{c-a^2 c x^2} \left (6 \sqrt{1-a x} \sin ^{-1}\left (\frac{\sqrt{1-a x}}{\sqrt{2}}\right )-\sqrt{a x+1} \left (a^2 x^2-5 a x+4\right )\right )}{2 a \sqrt{1-a x} \sqrt{1-a^2 x^2}}$

Warning: Unable to verify antiderivative.

[In]

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

[Out]

(Sqrt[c - a^2*c*x^2]*(-(Sqrt[1 + a*x]*(4 - 5*a*x + a^2*x^2)) + 6*Sqrt[1 - a*x]*ArcSin[Sqrt[1 - a*x]/Sqrt[2]]))
/(2*a*Sqrt[1 - a*x]*Sqrt[1 - a^2*x^2])

________________________________________________________________________________________

Maple [A]  time = 0.048, size = 126, normalized size = 1.5 \begin{align*}{\frac{x}{2}\sqrt{-{a}^{2}c{x}^{2}+c}}+{\frac{c}{2}\arctan \left ({x\sqrt{{a}^{2}c}{\frac{1}{\sqrt{-{a}^{2}c{x}^{2}+c}}}} \right ){\frac{1}{\sqrt{{a}^{2}c}}}}-2\,{\frac{\sqrt{-{a}^{2}c \left ( x+{a}^{-1} \right ) ^{2}+2\, \left ( x+{a}^{-1} \right ) ac}}{a}}-2\,{\frac{c}{\sqrt{{a}^{2}c}}\arctan \left ({\frac{\sqrt{{a}^{2}c}x}{\sqrt{-{a}^{2}c \left ( x+{a}^{-1} \right ) ^{2}+2\, \left ( x+{a}^{-1} \right ) ac}}} \right ) } \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.69543, size = 306, normalized size = 3.52 \begin{align*} \left [\frac{2 \, \sqrt{-a^{2} c x^{2} + c}{\left (a x - 4\right )} + 3 \, \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 \, a}, \frac{\sqrt{-a^{2} c x^{2} + c}{\left (a x - 4\right )} + 3 \, \sqrt{c} \arctan \left (\frac{\sqrt{-a^{2} c x^{2} + c} a \sqrt{c} x}{a^{2} c x^{2} - c}\right )}{2 \, a}\right ] \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- c \left (a x - 1\right ) \left (a x + 1\right )} \left (a x - 1\right )}{a x + 1}\, dx \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Giac [A]  time = 1.17382, size = 84, normalized size = 0.97 \begin{align*} \frac{1}{2} \, \sqrt{-a^{2} c x^{2} + c}{\left (x - \frac{4}{a}\right )} + \frac{3 \, c \log \left ({\left | -\sqrt{-a^{2} c} x + \sqrt{-a^{2} c x^{2} + c} \right |}\right )}{2 \, \sqrt{-c}{\left | a \right |}} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*sqrt(-a^2*c*x^2 + c)*(x - 4/a) + 3/2*c*log(abs(-sqrt(-a^2*c)*x + sqrt(-a^2*c*x^2 + c)))/(sqrt(-c)*abs(a))