Let .
The derivative of is .
Then, apply the chain rule. Multiply by :
Differentiate term by term:
The derivative of the constant is zero.
The derivative of is itself.
The result is:
The result of the chain rule is:
Now simplify:
The answer is:
/ x \ | e | x |1 - ------|*e | x| \ 1 + e / --------------- x 1 + e
/ x 2*x \ | 3*e 2*e | x |1 - ------ + ---------|*e | x 2| | 1 + e / x\ | \ \1 + e / / --------------------------- x 1 + e