I am trying to prove the limit of the following:
$\lim x \rightarrow 1 $ of $x^2+2x$ where the limit $L = 3$
This gives us $0<|x-1|<\delta$ and $|x^2+2x-3|<\epsilon$
First I factorize $f(x) \rightarrow$ $|(x+3)(x-1)|<\epsilon$
$\rightarrow |x+3||x-1|<\epsilon $
I recognize that I get a matching term $|x-1|$, however I have an uncontrolled term $|x+3|$.
$|x-1|<\epsilon/|x+3| $
If I assume $|x-1|<\delta$ and $\delta < 1$
Edit, made some progress;
I.e. making a restriction that $x$ can be a maximum distance of 1 away from $a$.
$|x-1| < 1$
$0< x<2$
$3<x+3<5$
Thus, $\epsilon/|x+3|$ is at its minimum when $|x+3|$ is at its maximum
$|x-1|< \frac\epsilon5$
Hint: You can add a condition depending on the size of $\epsilon$. i.e change your $\delta$ depending on $\epsilon$. What happens if you let
$$\delta = \min\{1,\frac{\epsilon}{5}\}?$$
If $|x-1| < \delta$ then what do you know about $|x+3|$ and $|x-1|$ in terms of constants and $\epsilon$?
Edit: Here is a full solution at the OPs request.
Let $f(x) = x^2 +2x$. Given $\epsilon > 0$ define $\delta = \min\{1,\frac{\epsilon}{5}\}$. We note that
\begin{align*} |f(x) -1| &= |x^2 + 2x -3|\\ &=|x+3||x-1|. \end{align*} When $|x-1| < \delta$ we have $|x-1| < \frac{\epsilon}{5}$ and $|x+3| <5$ and hence
\begin{align*} |f(x)-1|&=|x+3||x-1|\\ &\le 5 \cdot \frac{\epsilon}{5}\\ &=\epsilon \end{align*}
We have shown that for any $\epsilon > 0$ there exists $\delta = \min\{1,\frac{\epsilon}{5}\}$ such that when $|x-1|<\delta$, $|f(x) -1| < \epsilon$. This implies that $f(x) \rightarrow 1$ when $x \rightarrow 1$.