3.330 \(\int \frac {e^{\coth ^{-1}(x)}}{\sqrt {1-x}} \, dx\)

Optimal. Leaf size=90 \[ \frac {2 \sqrt {1-\frac {1}{x}} \sqrt {\frac {1}{x}+1} x}{\sqrt {1-x}}-\frac {2 \sqrt {2} \sqrt {1-\frac {1}{x}} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {\frac {1}{x}}}{\sqrt {\frac {1}{x}+1}}\right )}{\sqrt {1-x} \sqrt {\frac {1}{x}}} \]

[Out]

2*x*(1-1/x)^(1/2)*(1/x+1)^(1/2)/(1-x)^(1/2)-2*arctanh(2^(1/2)*(1/x)^(1/2)/(1/x+1)^(1/2))*2^(1/2)*(1-1/x)^(1/2)
/(1-x)^(1/2)/(1/x)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.09, antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {6176, 6181, 94, 93, 206} \[ \frac {2 \sqrt {1-\frac {1}{x}} \sqrt {\frac {1}{x}+1} x}{\sqrt {1-x}}-\frac {2 \sqrt {2} \sqrt {1-\frac {1}{x}} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {\frac {1}{x}}}{\sqrt {\frac {1}{x}+1}}\right )}{\sqrt {1-x} \sqrt {\frac {1}{x}}} \]

Antiderivative was successfully verified.

[In]

Int[E^ArcCoth[x]/Sqrt[1 - x],x]

[Out]

(2*Sqrt[1 - x^(-1)]*Sqrt[1 + x^(-1)]*x)/Sqrt[1 - x] - (2*Sqrt[2]*Sqrt[1 - x^(-1)]*ArcTanh[(Sqrt[2]*Sqrt[x^(-1)
])/Sqrt[1 + x^(-1)]])/(Sqrt[1 - x]*Sqrt[x^(-1)])

Rule 93

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> With[{q = Denomin
ator[m]}, Dist[q, Subst[Int[x^(q*(m + 1) - 1)/(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^
(1/q)], x]] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && LtQ[-1, m, 0] && SimplerQ[
a + b*x, c + d*x]

Rule 94

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

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])

Rule 6176

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

Rule 6181

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 63, normalized size = 0.70 \[ \frac {2 \sqrt {\frac {x-1}{x}} x \left (\sqrt {\frac {1}{x}+1}-\sqrt {2} \sqrt {\frac {1}{x}} \tanh ^{-1}\left (\sqrt {2} \sqrt {\frac {1}{x+1}}\right )\right )}{\sqrt {1-x}} \]

Antiderivative was successfully verified.

[In]

Integrate[E^ArcCoth[x]/Sqrt[1 - x],x]

[Out]

(2*Sqrt[(-1 + x)/x]*x*(Sqrt[1 + x^(-1)] - Sqrt[2]*Sqrt[x^(-1)]*ArcTanh[Sqrt[2]*Sqrt[(1 + x)^(-1)]]))/Sqrt[1 -
x]

________________________________________________________________________________________

fricas [A]  time = 0.48, size = 66, normalized size = 0.73 \[ \frac {2 \, {\left (\sqrt {2} {\left (x - 1\right )} \arctan \left (\frac {\sqrt {2} \sqrt {-x + 1} \sqrt {\frac {x - 1}{x + 1}}}{x - 1}\right ) - {\left (x + 1\right )} \sqrt {-x + 1} \sqrt {\frac {x - 1}{x + 1}}\right )}}{x - 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2*(sqrt(2)*(x - 1)*arctan(sqrt(2)*sqrt(-x + 1)*sqrt((x - 1)/(x + 1))/(x - 1)) - (x + 1)*sqrt(-x + 1)*sqrt((x -
 1)/(x + 1)))/(x - 1)

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: 2*sign(x)*(-sqrt(2)*atan(i)-(-i)*sqrt(2)
+(sqrt(-x-1)-sqrt(2)*atan(sqrt(-x-1)/sqrt(2)))/sign(-x-1))

________________________________________________________________________________________

maple [A]  time = 0.04, size = 54, normalized size = 0.60 \[ -\frac {2 \sqrt {1-x}\, \left (-\sqrt {2}\, \arctan \left (\frac {\sqrt {-1-x}\, \sqrt {2}}{2}\right )+\sqrt {-1-x}\right )}{\sqrt {\frac {-1+x}{1+x}}\, \sqrt {-1-x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((-1+x)/(1+x))^(1/2)/(1-x)^(1/2),x)

[Out]

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

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {-x + 1} \sqrt {\frac {x - 1}{x + 1}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(1/(sqrt(-x + 1)*sqrt((x - 1)/(x + 1))), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{\sqrt {\frac {x-1}{x+1}}\,\sqrt {1-x}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {\frac {x - 1}{x + 1}} \sqrt {1 - x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________