3.604 \(\int \frac {e^x}{\cosh (x)+\sinh (x)} \, dx\)

Optimal. Leaf size=1 \[ x \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 1, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2282, 29} \[ x \]

Antiderivative was successfully verified.

[In]

Int[E^x/(Cosh[x] + Sinh[x]),x]

[Out]

x

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], 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]]]

Rubi steps

\begin {align*} \int \frac {e^x}{\cosh (x)+\sinh (x)} \, dx &=\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,e^x\right )\\ &=x\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 1, normalized size = 1.00 \[ x \]

Antiderivative was successfully verified.

[In]

Integrate[E^x/(Cosh[x] + Sinh[x]),x]

[Out]

x

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {e^x}{\cosh (x)+\sinh (x)} \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[E^x/(Cosh[x] + Sinh[x]),x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [A]  time = 0.78, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/(cosh(x)+sinh(x)),x, algorithm="fricas")

[Out]

x

________________________________________________________________________________________

giac [A]  time = 0.59, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/(cosh(x)+sinh(x)),x, algorithm="giac")

[Out]

x

________________________________________________________________________________________

maple [A]  time = 0.06, size = 2, normalized size = 2.00




method result size



default \(x\) \(2\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)/(cosh(x)+sinh(x)),x,method=_RETURNVERBOSE)

[Out]

x

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/(cosh(x)+sinh(x)),x, algorithm="maxima")

[Out]

x

________________________________________________________________________________________

mupad [B]  time = 0.29, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x

________________________________________________________________________________________

sympy [B]  time = 0.41, size = 10, normalized size = 10.00 \[ \frac {x e^{x}}{\sinh {\relax (x )} + \cosh {\relax (x )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/(cosh(x)+sinh(x)),x)

[Out]

x*exp(x)/(sinh(x) + cosh(x))

________________________________________________________________________________________