\(\int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx\) [274]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 20, antiderivative size = 82 \[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=-\frac {2^{1+\frac {n}{2}} (1-a x)^{\frac {2-n}{2}} \operatorname {Hypergeometric2F1}\left (\frac {1-n}{2},-\frac {n}{2},\frac {3-n}{2},\frac {1}{2} (1-a x)\right )}{a (1-n) \sqrt {c-a c x}} \] Output:

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

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 78, normalized size of antiderivative = 0.95 \[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\frac {2^{1+\frac {n}{2}} (1-a x)^{-n/2} \sqrt {c-a c x} \operatorname {Hypergeometric2F1}\left (\frac {1}{2}-\frac {n}{2},-\frac {n}{2},\frac {3}{2}-\frac {n}{2},\frac {1}{2}-\frac {a x}{2}\right )}{a c (-1+n)} \] Input:

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

Output:

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

Rubi [A] (verified)

Time = 0.28 (sec) , antiderivative size = 86, normalized size of antiderivative = 1.05, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {6680, 37, 79}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx\)

\(\Big \downarrow \) 6680

\(\displaystyle \int \frac {(1-a x)^{-n/2} (a x+1)^{n/2}}{\sqrt {c-a c x}}dx\)

\(\Big \downarrow \) 37

\(\displaystyle \frac {\sqrt {1-a x} \int (1-a x)^{\frac {1}{2} (-n-1)} (a x+1)^{n/2}dx}{\sqrt {c-a c x}}\)

\(\Big \downarrow \) 79

\(\displaystyle -\frac {2^{\frac {n}{2}+1} (1-a x)^{\frac {1-n}{2}+\frac {1}{2}} \operatorname {Hypergeometric2F1}\left (\frac {1-n}{2},-\frac {n}{2},\frac {3-n}{2},\frac {1}{2} (1-a x)\right )}{a (1-n) \sqrt {c-a c x}}\)

Input:

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

Output:

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

Defintions of rubi rules used

rule 37
Int[(u_.)*((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> S 
imp[(a + b*x)^m/(c + d*x)^m   Int[u*(c + d*x)^(m + n), x], x] /; FreeQ[{a, 
b, c, d, m, n}, x] && EqQ[b*c - a*d, 0] &&  !SimplerQ[a + b*x, c + d*x]
 

rule 79
Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(( 
a + b*x)^(m + 1)/(b*(m + 1)*(b/(b*c - a*d))^n))*Hypergeometric2F1[-n, m + 1 
, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m, n}, x] 
&&  !IntegerQ[m] &&  !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] 
 ||  !(RationalQ[n] && GtQ[-d/(b*c - a*d), 0]))
 

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

\[\int \frac {{\mathrm e}^{n \,\operatorname {arctanh}\left (a x \right )}}{\sqrt {-a c x +c}}d x\]

Input:

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

Output:

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

Fricas [F]

\[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\int { \frac {\left (-\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}}{\sqrt {-a c x + c}} \,d x } \] Input:

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

Output:

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

Sympy [F]

\[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\int \frac {e^{n \operatorname {atanh}{\left (a x \right )}}}{\sqrt {- c \left (a x - 1\right )}}\, dx \] Input:

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

Output:

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

Maxima [F]

\[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\int { \frac {\left (-\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}}{\sqrt {-a c x + c}} \,d x } \] Input:

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

Output:

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

Giac [F]

\[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\int { \frac {\left (-\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}}{\sqrt {-a c x + c}} \,d x } \] Input:

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

Output:

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

Mupad [F(-1)]

Timed out. \[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\int \frac {{\mathrm {e}}^{n\,\mathrm {atanh}\left (a\,x\right )}}{\sqrt {c-a\,c\,x}} \,d x \] Input:

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

Output:

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

Reduce [F]

\[ \int \frac {e^{n \text {arctanh}(a x)}}{\sqrt {c-a c x}} \, dx=\frac {\int \frac {e^{\mathit {atanh} \left (a x \right ) n}}{\sqrt {-a x +1}}d x}{\sqrt {c}} \] Input:

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

Output:

int(e**(atanh(a*x)*n)/sqrt( - a*x + 1),x)/sqrt(c)