3.681 \(\int e^x \text {sech}(e^x) \, dx\)

Optimal. Leaf size=5 \[ \tan ^{-1}\left (\sinh \left (e^x\right )\right ) \]

[Out]

arctan(sinh(exp(x)))

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 5, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2282, 3770} \[ \tan ^{-1}\left (\sinh \left (e^x\right )\right ) \]

Antiderivative was successfully verified.

[In]

Int[E^x*Sech[E^x],x]

[Out]

ArcTan[Sinh[E^x]]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 3770

Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]

Rubi steps

\begin {align*} \int e^x \text {sech}\left (e^x\right ) \, dx &=\operatorname {Subst}\left (\int \text {sech}(x) \, dx,x,e^x\right )\\ &=\tan ^{-1}\left (\sinh \left (e^x\right )\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 5, normalized size = 1.00 \[ \tan ^{-1}\left (\sinh \left (e^x\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[E^x*Sech[E^x],x]

[Out]

ArcTan[Sinh[E^x]]

________________________________________________________________________________________

fricas [B]  time = 0.39, size = 16, normalized size = 3.20 \[ 2 \, \arctan \left (\cosh \left (\cosh \relax (x) + \sinh \relax (x)\right ) + \sinh \left (\cosh \relax (x) + \sinh \relax (x)\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*sech(exp(x)),x, algorithm="fricas")

[Out]

2*arctan(cosh(cosh(x) + sinh(x)) + sinh(cosh(x) + sinh(x)))

________________________________________________________________________________________

giac [A]  time = 0.21, size = 6, normalized size = 1.20 \[ 2 \, \arctan \left (e^{\left (e^{x}\right )}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*sech(exp(x)),x, algorithm="giac")

[Out]

2*arctan(e^(e^x))

________________________________________________________________________________________

maple [A]  time = 0.03, size = 5, normalized size = 1.00 \[ \arctan \left (\sinh \left ({\mathrm e}^{x}\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)*sech(exp(x)),x)

[Out]

arctan(sinh(exp(x)))

________________________________________________________________________________________

maxima [A]  time = 0.87, size = 4, normalized size = 0.80 \[ \arctan \left (\sinh \left (e^{x}\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*sech(exp(x)),x, algorithm="maxima")

[Out]

arctan(sinh(e^x))

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 6, normalized size = 1.20 \[ 2\,\mathrm {atan}\left ({\mathrm {e}}^{{\mathrm {e}}^x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)/cosh(exp(x)),x)

[Out]

2*atan(exp(exp(x)))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{x} \operatorname {sech}{\left (e^{x} \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*sech(exp(x)),x)

[Out]

Integral(exp(x)*sech(exp(x)), x)

________________________________________________________________________________________