### 3.825 $$\int e^{-3 \coth ^{-1}(a x)} (c-\frac{c}{a^2 x^2}) \, dx$$

Optimal. Leaf size=76 $c x \sqrt{\frac{1}{a x}+1} \left (1-\frac{1}{a x}\right )^{3/2}-\frac{3 c \csc ^{-1}(a x)}{a}-\frac{3 c \tanh ^{-1}\left (\sqrt{1-\frac{1}{a x}} \sqrt{\frac{1}{a x}+1}\right )}{a}$

[Out]

c*(1 - 1/(a*x))^(3/2)*Sqrt[1 + 1/(a*x)]*x - (3*c*ArcCsc[a*x])/a - (3*c*ArcTanh[Sqrt[1 - 1/(a*x)]*Sqrt[1 + 1/(a
*x)]])/a

________________________________________________________________________________________

Rubi [A]  time = 0.0567363, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 20, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.4, Rules used = {6194, 98, 12, 105, 41, 216, 92, 208} $c x \sqrt{\frac{1}{a x}+1} \left (1-\frac{1}{a x}\right )^{3/2}-\frac{3 c \csc ^{-1}(a x)}{a}-\frac{3 c \tanh ^{-1}\left (\sqrt{1-\frac{1}{a x}} \sqrt{\frac{1}{a x}+1}\right )}{a}$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

c*(1 - 1/(a*x))^(3/2)*Sqrt[1 + 1/(a*x)]*x - (3*c*ArcCsc[a*x])/a - (3*c*ArcTanh[Sqrt[1 - 1/(a*x)]*Sqrt[1 + 1/(a
*x)]])/a

Rule 6194

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

Rule 98

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[((b*c -
a*d)*(a + b*x)^(m + 1)*(c + d*x)^(n - 1)*(e + f*x)^(p + 1))/(b*(b*e - a*f)*(m + 1)), x] + Dist[1/(b*(b*e - a*
f)*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 2)*(e + f*x)^p*Simp[a*d*(d*e*(n - 1) + c*f*(p + 1)) + b*c*(d
*e*(m - n + 2) - c*f*(m + p + 2)) + d*(a*d*f*(n + p) + b*(d*e*(m + 1) - c*f*(m + n + p + 1)))*x, x], x], x] /;
FreeQ[{a, b, c, d, e, f, p}, x] && LtQ[m, -1] && GtQ[n, 1] && (IntegersQ[2*m, 2*n, 2*p] || IntegersQ[m, n + p
] || IntegersQ[p, m + n])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 105

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> Dist[b/f, Int[(a
+ b*x)^(m - 1)*(c + d*x)^n, x], x] - Dist[(b*e - a*f)/f, Int[((a + b*x)^(m - 1)*(c + d*x)^n)/(e + f*x), x], x]
/; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[Simplify[m + n + 1], 0] && (GtQ[m, 0] || ( !RationalQ[m] && (Su
mSimplerQ[m, -1] ||  !SumSimplerQ[n, -1])))

Rule 41

Int[((a_) + (b_.)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(m_.), x_Symbol] :> Int[(a*c + b*d*x^2)^m, x] /; FreeQ[{a, b
, c, d, m}, x] && EqQ[b*c + a*d, 0] && (IntegerQ[m] || (GtQ[a, 0] && GtQ[c, 0]))

Rule 216

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

Rule 92

Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*((e_.) + (f_.)*(x_))), x_Symbol] :> Dist[b*f, Subst[I
nt[1/(d*(b*e - a*f)^2 + b*f^2*x^2), x], x, Sqrt[a + b*x]*Sqrt[c + d*x]], x] /; FreeQ[{a, b, c, d, e, f}, x] &&
EqQ[2*b*d*e - f*(b*c + a*d), 0]

Rule 208

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

Rubi steps

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

Mathematica [A]  time = 0.0871882, size = 57, normalized size = 0.75 $\frac{c \left (\sqrt{1-\frac{1}{a^2 x^2}} (a x-1)-3 \log \left (x \left (\sqrt{1-\frac{1}{a^2 x^2}}+1\right )\right )-3 \sin ^{-1}\left (\frac{1}{a x}\right )\right )}{a}$

Warning: Unable to verify antiderivative.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [B]  time = 0.132, size = 234, normalized size = 3.1 \begin{align*}{\frac{ \left ( ax+1 \right ) ^{2}c}{ \left ( ax-1 \right ){a}^{2}x} \left ({\frac{ax-1}{ax+1}} \right ) ^{{\frac{3}{2}}} \left ( -\sqrt{{a}^{2}{x}^{2}-1}\sqrt{{a}^{2}}{x}^{2}{a}^{2}+ \left ({a}^{2}{x}^{2}-1 \right ) ^{{\frac{3}{2}}}\sqrt{{a}^{2}}-3\,\sqrt{{a}^{2}}\sqrt{{a}^{2}{x}^{2}-1}xa+\ln \left ({ \left ({a}^{2}x+\sqrt{{a}^{2}{x}^{2}-1}\sqrt{{a}^{2}} \right ){\frac{1}{\sqrt{{a}^{2}}}}} \right ) x{a}^{2}-3\,ax\sqrt{{a}^{2}}\arctan \left ({\frac{1}{\sqrt{{a}^{2}{x}^{2}-1}}} \right ) +4\,\sqrt{{a}^{2}}\sqrt{ \left ( ax-1 \right ) \left ( ax+1 \right ) }xa-4\,\ln \left ({\frac{{a}^{2}x+\sqrt{{a}^{2}}\sqrt{ \left ( ax-1 \right ) \left ( ax+1 \right ) }}{\sqrt{{a}^{2}}}} \right ) x{a}^{2} \right ){\frac{1}{\sqrt{{a}^{2}}}}{\frac{1}{\sqrt{ \left ( ax-1 \right ) \left ( ax+1 \right ) }}}} \end{align*}

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

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [A]  time = 1.55317, size = 159, normalized size = 2.09 \begin{align*} -{\left (\frac{4 \, c \left (\frac{a x - 1}{a x + 1}\right )^{\frac{3}{2}}}{\frac{{\left (a x - 1\right )}^{2} a^{2}}{{\left (a x + 1\right )}^{2}} - a^{2}} - \frac{6 \, c \arctan \left (\sqrt{\frac{a x - 1}{a x + 1}}\right )}{a^{2}} + \frac{3 \, c \log \left (\sqrt{\frac{a x - 1}{a x + 1}} + 1\right )}{a^{2}} - \frac{3 \, c \log \left (\sqrt{\frac{a x - 1}{a x + 1}} - 1\right )}{a^{2}}\right )} a \end{align*}

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

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [A]  time = 1.30446, size = 252, normalized size = 3.32 \begin{align*} \frac{6 \, a c x \arctan \left (\sqrt{\frac{a x - 1}{a x + 1}}\right ) - 3 \, a c x \log \left (\sqrt{\frac{a x - 1}{a x + 1}} + 1\right ) + 3 \, a c x \log \left (\sqrt{\frac{a x - 1}{a x + 1}} - 1\right ) +{\left (a^{2} c x^{2} - c\right )} \sqrt{\frac{a x - 1}{a x + 1}}}{a^{2} x} \end{align*}

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

[In]

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

[Out]

(6*a*c*x*arctan(sqrt((a*x - 1)/(a*x + 1))) - 3*a*c*x*log(sqrt((a*x - 1)/(a*x + 1)) + 1) + 3*a*c*x*log(sqrt((a*
x - 1)/(a*x + 1)) - 1) + (a^2*c*x^2 - c)*sqrt((a*x - 1)/(a*x + 1)))/(a^2*x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

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

[In]

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

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 1.18923, size = 165, normalized size = 2.17 \begin{align*} \frac{6 \, c \arctan \left (-x{\left | a \right |} + \sqrt{a^{2} x^{2} - 1}\right ) \mathrm{sgn}\left (a x + 1\right )}{a} + \frac{3 \, c \log \left ({\left | -x{\left | a \right |} + \sqrt{a^{2} x^{2} - 1} \right |}\right ) \mathrm{sgn}\left (a x + 1\right )}{{\left | a \right |}} + \frac{\sqrt{a^{2} x^{2} - 1} c \mathrm{sgn}\left (a x + 1\right )}{a} - \frac{2 \, c \mathrm{sgn}\left (a x + 1\right )}{{\left ({\left (x{\left | a \right |} - \sqrt{a^{2} x^{2} - 1}\right )}^{2} + 1\right )}{\left | a \right |}} \end{align*}

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

[In]

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

[Out]

6*c*arctan(-x*abs(a) + sqrt(a^2*x^2 - 1))*sgn(a*x + 1)/a + 3*c*log(abs(-x*abs(a) + sqrt(a^2*x^2 - 1)))*sgn(a*x
+ 1)/abs(a) + sqrt(a^2*x^2 - 1)*c*sgn(a*x + 1)/a - 2*c*sgn(a*x + 1)/(((x*abs(a) - sqrt(a^2*x^2 - 1))^2 + 1)*a
bs(a))