3.970 \(\int e^{n \cosh (a+b x)} \tanh (a+b x) \, dx\)

Optimal. Leaf size=13 \[ \frac{\text{Ei}(n \cosh (a+b x))}{b} \]

[Out]

ExpIntegralEi[n*Cosh[a + b*x]]/b

________________________________________________________________________________________

Rubi [A]  time = 0.0235904, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {4341, 2178} \[ \frac{\text{Ei}(n \cosh (a+b x))}{b} \]

Antiderivative was successfully verified.

[In]

Int[E^(n*Cosh[a + b*x])*Tanh[a + b*x],x]

[Out]

ExpIntegralEi[n*Cosh[a + b*x]]/b

Rule 4341

Int[(u_)*Tanh[(c_.)*((a_.) + (b_.)*(x_))], x_Symbol] :> With[{d = FreeFactors[Cosh[c*(a + b*x)], x]}, Dist[1/(
b*c), Subst[Int[SubstFor[1/x, Cosh[c*(a + b*x)]/d, u, x], x], x, Cosh[c*(a + b*x)]/d], x] /; FunctionOfQ[Cosh[
c*(a + b*x)]/d, u, x, True]] /; FreeQ[{a, b, c}, x]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rubi steps

\begin{align*} \int e^{n \cosh (a+b x)} \tanh (a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{e^{n x}}{x} \, dx,x,\cosh (a+b x)\right )}{b}\\ &=\frac{\text{Ei}(n \cosh (a+b x))}{b}\\ \end{align*}

Mathematica [A]  time = 0.0602792, size = 13, normalized size = 1. \[ \frac{\text{Ei}(n \cosh (a+b x))}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[E^(n*Cosh[a + b*x])*Tanh[a + b*x],x]

[Out]

ExpIntegralEi[n*Cosh[a + b*x]]/b

________________________________________________________________________________________

Maple [A]  time = 0.01, size = 17, normalized size = 1.3 \begin{align*} -{\frac{{\it Ei} \left ( 1,-n\cosh \left ( bx+a \right ) \right ) }{b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(n*cosh(b*x+a))*tanh(b*x+a),x)

[Out]

-1/b*Ei(1,-n*cosh(b*x+a))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int e^{\left (n \cosh \left (b x + a\right )\right )} \tanh \left (b x + a\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cosh(b*x+a))*tanh(b*x+a),x, algorithm="maxima")

[Out]

integrate(e^(n*cosh(b*x + a))*tanh(b*x + a), x)

________________________________________________________________________________________

Fricas [A]  time = 2.31028, size = 31, normalized size = 2.38 \begin{align*} \frac{{\rm Ei}\left (n \cosh \left (b x + a\right )\right )}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cosh(b*x+a))*tanh(b*x+a),x, algorithm="fricas")

[Out]

Ei(n*cosh(b*x + a))/b

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int e^{n \cosh{\left (a + b x \right )}} \tanh{\left (a + b x \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cosh(b*x+a))*tanh(b*x+a),x)

[Out]

Integral(exp(n*cosh(a + b*x))*tanh(a + b*x), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int e^{\left (n \cosh \left (b x + a\right )\right )} \tanh \left (b x + a\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cosh(b*x+a))*tanh(b*x+a),x, algorithm="giac")

[Out]

integrate(e^(n*cosh(b*x + a))*tanh(b*x + a), x)