3.625 \(\int e^{n \tanh ^{-1}(a x)} \sqrt {c-\frac {c}{a x}} \, dx\)

Optimal. Leaf size=54 \[ \frac {2 x \sqrt {c-\frac {c}{a x}} F_1\left (\frac {1}{2};\frac {n-1}{2},-\frac {n}{2};\frac {3}{2};a x,-a x\right )}{\sqrt {1-a x}} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.15, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6134, 6129, 133} \[ \frac {2 x \sqrt {c-\frac {c}{a x}} F_1\left (\frac {1}{2};\frac {n-1}{2},-\frac {n}{2};\frac {3}{2};a x,-a x\right )}{\sqrt {1-a x}} \]

Antiderivative was successfully verified.

[In]

Int[E^(n*ArcTanh[a*x])*Sqrt[c - c/(a*x)],x]

[Out]

(2*Sqrt[c - c/(a*x)]*x*AppellF1[1/2, (-1 + n)/2, -n/2, 3/2, a*x, -(a*x)])/Sqrt[1 - a*x]

Rule 133

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

Rule 6129

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

Rule 6134

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

Rubi steps

\begin {align*} \int e^{n \tanh ^{-1}(a x)} \sqrt {c-\frac {c}{a x}} \, dx &=\frac {\left (\sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int \frac {e^{n \tanh ^{-1}(a x)} \sqrt {1-a x}}{\sqrt {x}} \, dx}{\sqrt {1-a x}}\\ &=\frac {\left (\sqrt {c-\frac {c}{a x}} \sqrt {x}\right ) \int \frac {(1-a x)^{\frac {1}{2}-\frac {n}{2}} (1+a x)^{n/2}}{\sqrt {x}} \, dx}{\sqrt {1-a x}}\\ &=\frac {2 \sqrt {c-\frac {c}{a x}} x F_1\left (\frac {1}{2};\frac {1}{2} (-1+n),-\frac {n}{2};\frac {3}{2};a x,-a x\right )}{\sqrt {1-a x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]  time = 180.01, size = 0, normalized size = 0.00 \[ \text {\$Aborted} \]

Verification is Not applicable to the result.

[In]

Integrate[E^(n*ArcTanh[a*x])*Sqrt[c - c/(a*x)],x]

[Out]

$Aborted

________________________________________________________________________________________

fricas [F]  time = 0.54, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n} \sqrt {\frac {a c x - c}{a x}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(((a*x + 1)/(a*x - 1))^(1/2*n)*sqrt((a*c*x - c)/(a*x)), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {c - \frac {c}{a x}} \left (\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [F]  time = 0.04, size = 0, normalized size = 0.00 \[ \int {\mathrm e}^{n \arctanh \left (a x \right )} \sqrt {c -\frac {c}{a x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(n*arctanh(a*x))*(c-c/a/x)^(1/2),x)

[Out]

int(exp(n*arctanh(a*x))*(c-c/a/x)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {c - \frac {c}{a x}} \left (\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int {\mathrm {e}}^{n\,\mathrm {atanh}\left (a\,x\right )}\,\sqrt {c-\frac {c}{a\,x}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(n*atanh(a*x))*(c - c/(a*x))^(1/2),x)

[Out]

int(exp(n*atanh(a*x))*(c - c/(a*x))^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {- c \left (-1 + \frac {1}{a x}\right )} e^{n \operatorname {atanh}{\left (a x \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*atanh(a*x))*(c-c/a/x)**(1/2),x)

[Out]

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

________________________________________________________________________________________