how to prove by $\epsilon - \delta$ - definition that $$\lim_{x \to 0^{-}}\frac1{1 + e^{1/x}}=1.$$
My attempt: I arrived at $\dfrac1{e^{1/x} + e^{2/x}}< \epsilon$ and I know that $-\dfrac 1\delta > \dfrac 1x > 0$ by our assumption, hence $e^{1/\delta} < 1/e^{1/x} < 1$ and also $e^{2/\delta} < 1/e^{2/x} < 1$ , finally I arrived that $\dfrac1{e^{1/x} + e^{2/x}}< 1/2$ am I correct? then I will take $\delta \leq 1/2$ correct?
Let $0<\epsilon <1$ and $\delta =\frac 1 {log \, (\frac 1 {\epsilon})}$. Then $x<0$ and $0<|x| <\delta$ implies $-\delta <x <0$ so $e^{\frac 1 x} <\frac { \epsilon} {1-\epsilon}$ so $\frac {e^{\frac 1 x}} {1+e^{\frac 1 x}} <\epsilon$. Observe that $|\frac 1 {1+e^{\frac 1 x}}-1|=\frac {e^{\frac 1 x}} {1+e^{\frac 1 x}} <\epsilon$. How does one arrive at this $\delta $?: We want $\frac {e^{\frac 1 x}} {1+e^{\frac 1 x}} <\epsilon$ and the inequality $\frac x {1+x} < \epsilon $ is same as $x < \frac {\epsilon} {1-\epsilon}$ as seen by a simple algebraic manipulation. Now you can see how I got my $\delta$.