3.460 \(\int \frac{e^{3 \coth ^{-1}(a x)}}{\sqrt{c-\frac{c}{a x}}} \, dx\)

Optimal. Leaf size=215 \[ \frac{a x \sqrt{1-\frac{1}{a x}} \sqrt{\frac{1}{a x}+1}}{\left (a-\frac{1}{x}\right ) \sqrt{c-\frac{c}{a x}}}-\frac{3 \sqrt{1-\frac{1}{a x}} \sqrt{\frac{1}{a x}+1}}{\left (a-\frac{1}{x}\right ) \sqrt{c-\frac{c}{a x}}}+\frac{7 \sqrt{1-\frac{1}{a x}} \tanh ^{-1}\left (\sqrt{\frac{1}{a x}+1}\right )}{a \sqrt{c-\frac{c}{a x}}}-\frac{5 \sqrt{2} \sqrt{1-\frac{1}{a x}} \tanh ^{-1}\left (\frac{\sqrt{\frac{1}{a x}+1}}{\sqrt{2}}\right )}{a \sqrt{c-\frac{c}{a x}}} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.150193, antiderivative size = 215, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {6182, 6179, 98, 151, 156, 63, 208, 206} \[ \frac{a x \sqrt{1-\frac{1}{a x}} \sqrt{\frac{1}{a x}+1}}{\left (a-\frac{1}{x}\right ) \sqrt{c-\frac{c}{a x}}}-\frac{3 \sqrt{1-\frac{1}{a x}} \sqrt{\frac{1}{a x}+1}}{\left (a-\frac{1}{x}\right ) \sqrt{c-\frac{c}{a x}}}+\frac{7 \sqrt{1-\frac{1}{a x}} \tanh ^{-1}\left (\sqrt{\frac{1}{a x}+1}\right )}{a \sqrt{c-\frac{c}{a x}}}-\frac{5 \sqrt{2} \sqrt{1-\frac{1}{a x}} \tanh ^{-1}\left (\frac{\sqrt{\frac{1}{a x}+1}}{\sqrt{2}}\right )}{a \sqrt{c-\frac{c}{a x}}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 6182

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

Rule 6179

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

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 151

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)), x_Symb
ol] :> Simp[((b*g - a*h)*(a + b*x)^(m + 1)*(c + d*x)^(n + 1)*(e + f*x)^(p + 1))/((m + 1)*(b*c - a*d)*(b*e - a*
f)), x] + Dist[1/((m + 1)*(b*c - a*d)*(b*e - a*f)), Int[(a + b*x)^(m + 1)*(c + d*x)^n*(e + f*x)^p*Simp[(a*d*f*
g - b*(d*e + c*f)*g + b*c*e*h)*(m + 1) - (b*g - a*h)*(d*e*(n + 1) + c*f*(p + 1)) - d*f*(b*g - a*h)*(m + n + p
+ 3)*x, x], x], x] /; FreeQ[{a, b, c, d, e, f, g, h, n, p}, x] && LtQ[m, -1] && IntegerQ[m]

Rule 156

Int[(((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)))/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :>
 Dist[(b*g - a*h)/(b*c - a*d), Int[(e + f*x)^p/(a + b*x), x], x] - Dist[(d*g - c*h)/(b*c - a*d), Int[(e + f*x)
^p/(c + d*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

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]

Rule 206

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

Rubi steps

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

Mathematica [A]  time = 0.099784, size = 115, normalized size = 0.53 \[ \frac{\sqrt{1-\frac{1}{a x}} \left (a x \sqrt{\frac{1}{a x}+1} (a x-3)+7 (a x-1) \tanh ^{-1}\left (\sqrt{\frac{1}{a x}+1}\right )-5 \sqrt{2} (a x-1) \tanh ^{-1}\left (\frac{\sqrt{\frac{1}{a x}+1}}{\sqrt{2}}\right )\right )}{a (a x-1) \sqrt{c-\frac{c}{a x}}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]  time = 0.181, size = 259, normalized size = 1.2 \begin{align*}{\frac{x}{ \left ( 2\,ax+2 \right ) c}\sqrt{{\frac{c \left ( ax-1 \right ) }{ax}}} \left ( 2\,{a}^{5/2}\sqrt{{a}^{-1}}\sqrt{ \left ( ax+1 \right ) x}x-5\,{a}^{3/2}\sqrt{2}\ln \left ({\frac{2\,\sqrt{2}\sqrt{{a}^{-1}}\sqrt{ \left ( ax+1 \right ) x}a+3\,ax+1}{ax-1}} \right ) x+7\,\ln \left ( 1/2\,{\frac{2\,\sqrt{ \left ( ax+1 \right ) x}\sqrt{a}+2\,ax+1}{\sqrt{a}}} \right ){a}^{2}\sqrt{{a}^{-1}}x-6\,\sqrt{ \left ( ax+1 \right ) x}{a}^{3/2}\sqrt{{a}^{-1}}-7\,\ln \left ( 1/2\,{\frac{2\,\sqrt{ \left ( ax+1 \right ) x}\sqrt{a}+2\,ax+1}{\sqrt{a}}} \right ) a\sqrt{{a}^{-1}}+5\,\sqrt{2}\ln \left ({\frac{2\,\sqrt{2}\sqrt{{a}^{-1}}\sqrt{ \left ( ax+1 \right ) x}a+3\,ax+1}{ax-1}} \right ) \sqrt{a} \right ) \left ({\frac{ax-1}{ax+1}} \right ) ^{-{\frac{3}{2}}}{a}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{ \left ( ax+1 \right ) x}}}{\frac{1}{\sqrt{{a}^{-1}}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2/((a*x-1)/(a*x+1))^(3/2)/(a*x+1)*(c*(a*x-1)/a/x)^(1/2)*x*(2*a^(5/2)*(1/a)^(1/2)*((a*x+1)*x)^(1/2)*x-5*a^(3/
2)*2^(1/2)*ln((2*2^(1/2)*(1/a)^(1/2)*((a*x+1)*x)^(1/2)*a+3*a*x+1)/(a*x-1))*x+7*ln(1/2*(2*((a*x+1)*x)^(1/2)*a^(
1/2)+2*a*x+1)/a^(1/2))*a^2*(1/a)^(1/2)*x-6*((a*x+1)*x)^(1/2)*a^(3/2)*(1/a)^(1/2)-7*ln(1/2*(2*((a*x+1)*x)^(1/2)
*a^(1/2)+2*a*x+1)/a^(1/2))*a*(1/a)^(1/2)+5*2^(1/2)*ln((2*2^(1/2)*(1/a)^(1/2)*((a*x+1)*x)^(1/2)*a+3*a*x+1)/(a*x
-1))*a^(1/2))/a^(3/2)/c/((a*x+1)*x)^(1/2)/(1/a)^(1/2)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Timed out

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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