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]

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 13, normalized size of antiderivative = 1.00, 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 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

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]

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.06, size = 13, normalized size = 1.00 \[ \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

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 13, normalized size = 1.00 \[ \frac {{\rm Ei}\left (n \cosh \left (b x + a\right )\right )}{b} \]

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

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{\left (n \cosh \left (b x + a\right )\right )} \tanh \left (b x + a\right )\,{d x} \]

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)

________________________________________________________________________________________

maple [A]  time = 0.07, size = 17, normalized size = 1.31 \[ -\frac {\Ei \left (1, -n \cosh \left (b x +a \right )\right )}{b} \]

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.00, size = 0, normalized size = 0.00 \[ \int e^{\left (n \cosh \left (b x + a\right )\right )} \tanh \left (b x + a\right )\,{d x} \]

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)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.08 \[ \int {\mathrm {e}}^{n\,\mathrm {cosh}\left (a+b\,x\right )}\,\mathrm {tanh}\left (a+b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{n \cosh {\left (a + b x \right )}} \tanh {\left (a + b x \right )}\, dx \]

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)

________________________________________________________________________________________