3.92 \(\int \frac {e^x}{1+e^x} \, dx\)

Optimal. Leaf size=6 \[ \log \left (e^x+1\right ) \]

[Out]

ln(1+exp(x))

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 6, 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 = {2246, 31} \[ \log \left (e^x+1\right ) \]

Antiderivative was successfully verified.

[In]

Int[E^x/(1 + E^x),x]

[Out]

Log[1 + E^x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 2246

Int[((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)*((a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.))^(p_.),
x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int[(a + b*x)^p, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b,
c, d, e, n, p}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 6, normalized size = 1.00 \[ \log \left (e^x+1\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[E^x/(1 + E^x),x]

[Out]

Log[1 + E^x]

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 5, normalized size = 0.83 \[ \log \left (e^{x} + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(e^x + 1)

________________________________________________________________________________________

giac [A]  time = 0.97, size = 5, normalized size = 0.83 \[ \log \left (e^{x} + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(e^x + 1)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 6, normalized size = 1.00 \[ \ln \left ({\mathrm e}^{x}+1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)/(exp(x)+1),x)

[Out]

ln(exp(x)+1)

________________________________________________________________________________________

maxima [A]  time = 0.55, size = 5, normalized size = 0.83 \[ \log \left (e^{x} + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(e^x + 1)

________________________________________________________________________________________

mupad [B]  time = 0.00, size = 5, normalized size = 0.83 \[ \ln \left ({\mathrm {e}}^x+1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)/(exp(x) + 1),x)

[Out]

log(exp(x) + 1)

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 5, normalized size = 0.83 \[ \log {\left (e^{x} + 1 \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/(1+exp(x)),x)

[Out]

log(exp(x) + 1)

________________________________________________________________________________________