I've been trying to work through this and got stuck on a step. My professor wrote out a solution but I don't understand it. Would someone help explain what exactly he did?
$|x^2+x-1-5|<\epsilon \impliedby |(x+3)(x-2)|<\epsilon$
Up to this point things make sense to me: we're confirming a limit by searching for a valid $\delta$ (ideally we will find that $|x-2| <$ something involving $\epsilon$). However, my professor suggests the next step to be $|(2+3)^2(x-2)|< \epsilon$, which doesn't make much sense to me. Why did he do this, and what is the reasoning that makes this an appropriate step? Any input is appreciated. Thanks!
We compute the limit of $f (x) $ near $a=2$, this means that $x $ is not far away from $2$. So we can assume that the distance from $x $ to $2$ which is $|x-2|$ is for example less than $1$.
thus
$$-1\le x-2\le 1 \tag 1$$ $$\implies 1\le x\le 3$$ $$\implies 4\le x+3 \le 6$$ $$\implies |x+3|\le 6$$ $$\implies |(x+3)(x-2)|\le 6|x-2| \tag 2$$
finally, given $\epsilon>0$,
If $|x-2|\le 1$ and $|x-2|\le \frac {\epsilon}{6} $ then $|f (x)-f (2)|\le \epsilon $.
We can take $$\eta=\min (1,\frac {\epsilon}{6}) .$$ to satisfy conditions $(1) $ and $(2) $.