I want to show that as x approaches $2,\ (-1/(x+ 2))$ approaches $\frac{-1}{4}$.
The way I solved it was:
$\forall \epsilon>0,\ \exists \delta>0$ s.t. $|x| < \delta \Rightarrow |(-1/(x+2)) + 1/4 |< \epsilon$
Let epsilon be fixed and delta s.t. $(-1/(delta + 2)) + \frac{1}{4} = \epsilon$
Some calculations give us that $\delta = (-1/(\epsilon - \frac{1}{4})) -2$ if I'm not mistaken. I've used some values of epsilon and this works, and honestly, it just makes sense.
However, my teacher solved it like this: ...$|x-2|<\delta \Rightarrow |(-1/(x+2) + \frac{1}{4}| < \epsilon$.
let $x$ be equal to $2+h$. $x$ tends to $2$ is the same as h tending to $0$. Some calculations with the function gives us $|h/(|4(4+h))| \le h/12 \le \delta/12 \le \epsilon$.
Let's impose that $\delta < 1$, and so $-1 < h < 1$ and $12 < 4(4h) < 20$. All we have to do is consider $delta = min \{1,12\epsilon\}$
My question is, is it incorrect to do it my way? It just seems so much simpler.