\(\int e^{-2 p \text {arctanh}(a x)} (c-\frac {c}{a x})^p \, dx\) [605]

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

Optimal result

Integrand size = 23, antiderivative size = 54 \[ \int e^{-2 p \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^p \, dx=\frac {\left (c-\frac {c}{a x}\right )^p x (1-a x)^{-p} \operatorname {AppellF1}(1-p,-2 p,p,2-p,a x,-a x)}{1-p} \] Output:

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

Mathematica [F]

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

Integrate[(c - c/(a*x))^p/E^(2*p*ArcTanh[a*x]),x]
 

Output:

Integrate[(c - c/(a*x))^p/E^(2*p*ArcTanh[a*x]), x]
 

Rubi [A] (verified)

Time = 0.59 (sec) , antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {6684, 6679, 150}

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 e^{-2 p \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^p \, dx\)

\(\Big \downarrow \) 6684

\(\displaystyle x^p (1-a x)^{-p} \left (c-\frac {c}{a x}\right )^p \int e^{-2 p \text {arctanh}(a x)} x^{-p} (1-a x)^pdx\)

\(\Big \downarrow \) 6679

\(\displaystyle x^p (1-a x)^{-p} \left (c-\frac {c}{a x}\right )^p \int x^{-p} (1-a x)^{2 p} (a x+1)^{-p}dx\)

\(\Big \downarrow \) 150

\(\displaystyle \frac {x (1-a x)^{-p} \operatorname {AppellF1}(1-p,-2 p,p,2-p,a x,-a x) \left (c-\frac {c}{a x}\right )^p}{1-p}\)

Input:

Int[(c - c/(a*x))^p/E^(2*p*ArcTanh[a*x]),x]
 

Output:

((c - c/(a*x))^p*x*AppellF1[1 - p, -2*p, p, 2 - p, a*x, -(a*x)])/((1 - p)* 
(1 - a*x)^p)
 

Defintions of rubi rules used

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

rule 6679
Int[E^(ArcTanh[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)*(x_))^(p_.), x_Symbol 
] :> Simp[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 6684
Int[E^(ArcTanh[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)/(x_))^(p_), x_Symbol] 
 :> Simp[x^p*((c + d/x)^p/(1 + c*(x/d))^p)   Int[u*(1 + c*(x/d))^p*(E^(n*Ar 
cTanh[a*x])/x^p), x], x] /; FreeQ[{a, c, d, n, p}, x] && EqQ[c^2 - a^2*d^2, 
 0] &&  !IntegerQ[p]
 
Maple [F]

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

Input:

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

Output:

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

Fricas [F]

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

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

Output:

integral(((a*c*x - c)/(a*x))^p/(-(a*x + 1)/(a*x - 1))^p, x)
 

Sympy [F]

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

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

Output:

Integral((-c*(-1 + 1/(a*x)))**p*exp(-2*p*atanh(a*x)), x)
 

Maxima [F]

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

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

Output:

integrate((c - c/(a*x))^p/(-(a*x + 1)/(a*x - 1))^p, x)
 

Giac [F]

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

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

Output:

integrate((c - c/(a*x))^p/(-(a*x + 1)/(a*x - 1))^p, x)
 

Mupad [F(-1)]

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

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

Output:

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

Reduce [F]

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

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

Output:

int((a*c*x - c)**p/(x**p*e**(2*atanh(a*x)*p)),x)/a**p