I'm not sure what delta to choose to satisfy this question:
$$\lim_{x\rightarrow1}\frac{x^{3}-1}{x-1}=L$$ For this limit $L$, given $\epsilon>0$ , find $\delta>0$ in terms of $\epsilon$ such that: $$\lvert \frac{x^{3}-1}{x-1}-L\rvert<\epsilon$$ For all $x$ satisfying $0<\lvert x-1\rvert<\delta$.
The work I have so far is:
Guess the limit $L=3$. Then $$\lvert \frac{x^{3}-1}{x-1}-3\rvert<\epsilon$$ $$=\lvert \frac{(x-1)(x^{2}+x+1)}{x-1}-3\rvert<\epsilon$$ $$=\lvert {(x^{2}+x+1)}-3\rvert<\epsilon$$ $$=\lvert x^{2}+x-2\rvert<\epsilon$$ $$=\lvert (x+2)(x-1)\rvert<\epsilon$$ $$=\lvert x+2\rvert \lvert x-1\rvert<\epsilon$$ Then using $\lvert x-1\rvert<\delta$ I'm not sure which delta to choose. I assume using $\delta=1$ would work because it is still in the neighborhood for the limit $L$, and I know I am looking for some $\lvert x+2 \rvert<$ some number, I am just unclear how I should go about choosing my delta.
Any help on how to choose a $\delta$ is appreciated as I feel confident in solving the rest of the problem.
Given an $\epsilon>0$, you would find $ \delta>0$ such that
$$|x-1|<\delta \;\; \implies $$ $$\;\;|(x+2)(x-1)|<\epsilon$$
As $ x $ is near $ 1$, you can assume that, for example, that $ |x-1|<\color{red}{1 }$ or which is equivalent $$-1 < x-1 <1$$ which gives
$$2 < x+2 < 4$$
thus, we look for $ \delta>0 $ such that
$$|x-1|<\delta \text{ and } |x-1|<1 \; \implies$$ $$ \; |x-1||x+2|<4|x-1|<\epsilon$$ it is sufficient to take $$\delta = \min(\color{red}{1},\frac{\epsilon}{4})$$