3.10.70 \(\int e^{n \cosh (a+b x)} \tanh (a+b x) \, dx\) [970]

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 = {4426, 2209} \begin {gather*} \frac {\text {Ei}(n \cosh (a+b x))}{b} \end {gather*}

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 2209

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

Rule 4426

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 {\text {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.04, size = 13, normalized size = 1.00 \begin {gather*} \frac {\text {Ei}(n \cosh (a+b x))}{b} \end {gather*}

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 = 5.87, size = 17, normalized size = 1.31

method result size
derivativedivides \(-\frac {\expIntegral \left (1, -n \cosh \left (b x +a \right )\right )}{b}\) \(17\)
default \(-\frac {\expIntegral \left (1, -n \cosh \left (b x +a \right )\right )}{b}\) \(17\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

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 = 0.34, size = 13, normalized size = 1.00 \begin {gather*} \frac {{\rm Ei}\left (n \cosh \left (b x + a\right )\right )}{b} \end {gather*}

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

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.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

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)

________________________________________________________________________________________

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

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)

________________________________________________________________________________________