3.2.46 \(\int e^{-2 \text {arctanh}(a x)} x^m \, dx\) [146]

3.2.46.1 Optimal result
3.2.46.2 Mathematica [A] (verified)
3.2.46.3 Rubi [A] (verified)
3.2.46.4 Maple [C] (verified)
3.2.46.5 Fricas [F]
3.2.46.6 Sympy [C] (verification not implemented)
3.2.46.7 Maxima [F]
3.2.46.8 Giac [F]
3.2.46.9 Mupad [F(-1)]

3.2.46.1 Optimal result

Integrand size = 12, antiderivative size = 37 \[ \int e^{-2 \text {arctanh}(a x)} x^m \, dx=-\frac {x^{1+m}}{1+m}+\frac {2 x^{1+m} \operatorname {Hypergeometric2F1}(1,1+m,2+m,-a x)}{1+m} \]

output
-x^(1+m)/(1+m)+2*x^(1+m)*hypergeom([1, 1+m],[2+m],-a*x)/(1+m)
 
3.2.46.2 Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.73 \[ \int e^{-2 \text {arctanh}(a x)} x^m \, dx=\frac {x^{1+m} (-1+2 \operatorname {Hypergeometric2F1}(1,1+m,2+m,-a x))}{1+m} \]

input
Integrate[x^m/E^(2*ArcTanh[a*x]),x]
 
output
(x^(1 + m)*(-1 + 2*Hypergeometric2F1[1, 1 + m, 2 + m, -(a*x)]))/(1 + m)
 
3.2.46.3 Rubi [A] (verified)

Time = 0.20 (sec) , antiderivative size = 37, 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.250, Rules used = {6676, 90, 74}

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 x^m e^{-2 \text {arctanh}(a x)} \, dx\)

\(\Big \downarrow \) 6676

\(\displaystyle \int \frac {(1-a x) x^m}{a x+1}dx\)

\(\Big \downarrow \) 90

\(\displaystyle 2 \int \frac {x^m}{a x+1}dx-\frac {x^{m+1}}{m+1}\)

\(\Big \downarrow \) 74

\(\displaystyle \frac {2 x^{m+1} \operatorname {Hypergeometric2F1}(1,m+1,m+2,-a x)}{m+1}-\frac {x^{m+1}}{m+1}\)

input
Int[x^m/E^(2*ArcTanh[a*x]),x]
 
output
-(x^(1 + m)/(1 + m)) + (2*x^(1 + m)*Hypergeometric2F1[1, 1 + m, 2 + m, -(a 
*x)])/(1 + m)
 

3.2.46.3.1 Defintions of rubi rules used

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

rule 90
Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p 
_.), x_] :> Simp[b*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 2))), 
 x] + Simp[(a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)))/(d*f*(n + p 
+ 2))   Int[(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n, 
p}, x] && NeQ[n + p + 2, 0]
 

rule 6676
Int[E^(ArcTanh[(a_.)*(x_)]*(n_))*((c_.)*(x_))^(m_.), x_Symbol] :> Int[(c*x) 
^m*((1 + a*x)^(n/2)/(1 - a*x)^(n/2)), x] /; FreeQ[{a, c, m, n}, x] &&  !Int 
egerQ[(n - 1)/2]
 
3.2.46.4 Maple [C] (verified)

Result contains higher order function than in optimal. Order 9 vs. order 5.

Time = 0.12 (sec) , antiderivative size = 126, normalized size of antiderivative = 3.41

method result size
meijerg \(-a^{-m -1} \left (\frac {x^{m} a^{m} \left (a^{2} m \,x^{2}-a m x -2 a x -m^{2}-3 m -2\right )}{\left (1+m \right ) m \left (a x +1\right )}+x^{m} a^{m} \left (2+m \right ) \operatorname {LerchPhi}\left (-a x , 1, m\right )\right )+a^{-m -1} \left (\frac {x^{m} a^{m} \left (-m -1\right )}{\left (1+m \right ) \left (a x +1\right )}+x^{m} a^{m} m \operatorname {LerchPhi}\left (-a x , 1, m\right )\right )\) \(126\)

input
int(x^m/(a*x+1)^2*(-a^2*x^2+1),x,method=_RETURNVERBOSE)
 
output
-a^(-m-1)*(x^m*a^m*(a^2*m*x^2-a*m*x-2*a*x-m^2-3*m-2)/(1+m)/m/(a*x+1)+x^m*a 
^m*(2+m)*LerchPhi(-a*x,1,m))+a^(-m-1)*(1/(1+m)*x^m*a^m*(-m-1)/(a*x+1)+x^m* 
a^m*m*LerchPhi(-a*x,1,m))
 
3.2.46.5 Fricas [F]

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

input
integrate(x^m/(a*x+1)^2*(-a^2*x^2+1),x, algorithm="fricas")
 
output
integral(-(a*x - 1)*x^m/(a*x + 1), x)
 
3.2.46.6 Sympy [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 1.51 (sec) , antiderivative size = 116, normalized size of antiderivative = 3.14 \[ \int e^{-2 \text {arctanh}(a x)} x^m \, dx=- \frac {a m x^{m + 2} \Phi \left (a x e^{i \pi }, 1, m + 2\right ) \Gamma \left (m + 2\right )}{\Gamma \left (m + 3\right )} - \frac {2 a x^{m + 2} \Phi \left (a x e^{i \pi }, 1, m + 2\right ) \Gamma \left (m + 2\right )}{\Gamma \left (m + 3\right )} + \frac {m x^{m + 1} \Phi \left (a x e^{i \pi }, 1, m + 1\right ) \Gamma \left (m + 1\right )}{\Gamma \left (m + 2\right )} + \frac {x^{m + 1} \Phi \left (a x e^{i \pi }, 1, m + 1\right ) \Gamma \left (m + 1\right )}{\Gamma \left (m + 2\right )} \]

input
integrate(x**m/(a*x+1)**2*(-a**2*x**2+1),x)
 
output
-a*m*x**(m + 2)*lerchphi(a*x*exp_polar(I*pi), 1, m + 2)*gamma(m + 2)/gamma 
(m + 3) - 2*a*x**(m + 2)*lerchphi(a*x*exp_polar(I*pi), 1, m + 2)*gamma(m + 
 2)/gamma(m + 3) + m*x**(m + 1)*lerchphi(a*x*exp_polar(I*pi), 1, m + 1)*ga 
mma(m + 1)/gamma(m + 2) + x**(m + 1)*lerchphi(a*x*exp_polar(I*pi), 1, m + 
1)*gamma(m + 1)/gamma(m + 2)
 
3.2.46.7 Maxima [F]

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

input
integrate(x^m/(a*x+1)^2*(-a^2*x^2+1),x, algorithm="maxima")
 
output
-integrate((a^2*x^2 - 1)*x^m/(a*x + 1)^2, x)
 
3.2.46.8 Giac [F]

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

input
integrate(x^m/(a*x+1)^2*(-a^2*x^2+1),x, algorithm="giac")
 
output
integrate(-(a^2*x^2 - 1)*x^m/(a*x + 1)^2, x)
 
3.2.46.9 Mupad [F(-1)]

Timed out. \[ \int e^{-2 \text {arctanh}(a x)} x^m \, dx=-\int \frac {x^m\,\left (a^2\,x^2-1\right )}{{\left (a\,x+1\right )}^2} \,d x \]

input
int(-(x^m*(a^2*x^2 - 1))/(a*x + 1)^2,x)
 
output
-int((x^m*(a^2*x^2 - 1))/(a*x + 1)^2, x)