Derivative of 1/(1 + e^(−x))

ddx(11+e−x)\frac{d}{dx}\left(\frac{1}{1 + e^{-x}}\right) = e−x(1+e−x)2\frac{e^{- x}}{\left(1 + e^{- x}\right)^{2}}

Answer

Derivative
e−x(1+e−x)2\frac{e^{- x}}{\left(1 + e^{- x}\right)^{2}}

Checked numerically before it is shown

Step-by-step solution

  1. Power and chain rule

    Power rule with the chain rule, inner function 1+e−x1 + e^{- x}:

    ddx[11+e−x]=−1(1+e−x)−2⋅ddx[1+e−x]\frac{d}{dx}\left[\frac{1}{1 + e^{- x}}\right] = -1\left(1 + e^{- x}\right)^{-2} \cdot \frac{d}{dx}\left[1 + e^{- x}\right]
  2. Sum rule

    The derivative of a sum is the sum of the derivatives:

    ddx[1+e−x]=ddx[1]+ddx[e−x]\frac{d}{dx}\left[1 + e^{- x}\right] = \frac{d}{dx}\left[1\right] + \frac{d}{dx}\left[e^{- x}\right]
  3. Chain rule

    Chain rule with the inner function −x- x:

    ddx[e−x]=e−x⋅ddx[−x]\frac{d}{dx}\left[e^{- x}\right] = e^{- x} \cdot \frac{d}{dx}\left[- x\right]
  4. Constant multiple rule

    A constant factor stays in front:

    ddx[−x]=−1⋅ddx[x]\frac{d}{dx}\left[- x\right] = -1 \cdot \frac{d}{dx}\left[x\right]
  5. Simplify

    −1(1+e−x)−2⋅ddx[1+e−x]=e−x(1+e−x)2-1\left(1 + e^{- x}\right)^{-2} \cdot \frac{d}{dx}\left[1 + e^{- x}\right] = \frac{e^{- x}}{\left(1 + e^{- x}\right)^{2}}

Change the problem in the solver Derivative calculator

Related solved examples