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

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

[Out]

ExpIntegralEi[n*Cosh[a*c + b*c*x]]/(b*c)

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

ExpIntegralEi[n*Cosh[a*c + b*c*x]]/(b*c)

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 (c (a+b x))} \tanh (a c+b c x) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{e^{n x}}{x} \, dx,x,\cosh (a c+b c x)\right )}{b c}\\ &=\frac{\text{Ei}(n \cosh (a c+b c x))}{b c}\\ \end{align*}

Mathematica [A]  time = 0.0613761, size = 18, normalized size = 0.95 \[ \frac{\text{Ei}(n \cosh (c (a+b x)))}{b c} \]

Antiderivative was successfully verified.

[In]

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

[Out]

ExpIntegralEi[n*Cosh[c*(a + b*x)]]/(b*c)

________________________________________________________________________________________

Maple [A]  time = 0.039, size = 23, normalized size = 1.2 \begin{align*} -{\frac{{\it Ei} \left ( 1,-n\cosh \left ( bcx+ac \right ) \right ) }{cb}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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