http://www.ai.mit.edu/courses/6.892/lecture8-html/sld015.htm
how does this:
$${1\over 1 + e^{-x}} \cdot {-e^{-x}\over 1 + e^{-x}}$$
become this:
$${1\over 1 + e^{-x}} \cdot \left (1 - {1\over 1 + e^{-x}}\right)$$
http://www.ai.mit.edu/courses/6.892/lecture8-html/sld015.htm
how does this:
$${1\over 1 + e^{-x}} \cdot {-e^{-x}\over 1 + e^{-x}}$$
become this:
$${1\over 1 + e^{-x}} \cdot \left (1 - {1\over 1 + e^{-x}}\right)$$
I checked again and it is wrong. If the minus sign for the $-e^{-x}$ wasn't there then it would be right.
From the link, it appears they are trying to show $$ \begin{align} \frac{\mathrm{d}}{\mathrm{d}x}\frac1{1+e^{-x}} &=\frac{-1}{(1+e^{-x})^2}\frac{\mathrm{d}}{\mathrm{d}x}e^{-x}\tag{1}\\ &=\frac{-1}{(1+e^{-x})^2}(-e^{-x})\tag{2}\\ &=\frac1{1+e^{-x}}\frac{e^{-x}}{1+e^{-x}}\tag{3}\\ &=\frac1{1+e^{-x}}\left(1-\frac1{1+e^{-x}}\right)\tag{4} \end{align} $$ So the equation would be $$ \frac1{1+e^{-x}}\frac{e^{-x}}{1+e^{-x}} =\frac1{1+e^{-x}}\left(1-\frac1{1+e^{-x}}\right)\tag{5} $$ Note that in step $(3)$ the two negatives cancel.