How do you take the derivative of this?
\[y=\frac{ 2 }{ (1+e^{-x}) }\]
My attempt:
\[(0-2*-e^-x) / (1+e^{-x})^2\]
Exponent rule might be helpful here :)\[\large\rm y=2(1+e^{-x})^{-1}\]You `could` leave it alone and do quotient rule if you like. Seems burdensome though.
Ah yes, that's what you did :) Quotient rule hehe
hehe
but product rule seems more efficient
ooohh
Not product, simple power rule.\[\large\rm \frac{d}{dx}2(1+e^{-x})^{-1}\quad=\quad 2\frac{d}{dx}(1+e^{-x})^{-1}\]
\[2ex^{-x}(1+e^-x )^{-2}\]
So we have chain rule,\[\large\rm 2\frac{d}{dx}(1+e^{-x})^{-1}\quad=\quad 2(-1)(1+e^{-x})^{-2}\frac{d}{dx}e^{-x}\]I think something got mixed up in yours, hmm
\[\large\rm 2\frac{d}{dx}(1+e^{-x})^{-1}\quad=\quad 2(-1)(1+e^{-x})^{-2}\left(-e^{-x}\right)\]
When you do exponents in LaTeX equation tool, you have to put { } around the stuff when typing more than one character in the exponent. Examples: e^x is fine e^2x is not. you would need to write e^{2x}
I agree that the Power Rule, with Chain Rule, is the easiest tool to apply here.
Here, \[\large\rm 2\frac{d}{dx}(1+e^{-x})^{-1}\quad=\quad 2(-1)(1+e^{-x})^{-2}\left(-e^{-x}\right)\] zepdrix has correctly applied the Power and Chain rules.
Join our real-time social learning platform and learn together with your friends!