so I was trying to get the derivative of the sigmoid function $\sigma(x)=\frac{1}{1+e^{-x}}$. I know how to get it using the properties of derivatives but I need to do it from limit definition.
Here is what I tried: $\sigma'(x)= \lim_{h \to 0} \frac{\frac{1}{1+e^{-(x+h)}}-\frac{1}{1+e^{-x}}}{h}=\frac{e^{-x}-e^{-(x+h)}}{(1+e^{-(x+h)})(1+e^{-x})h}$.