I am learning real analysis , and started with continuity of function. I am reading the following example of proving continuity of a real function with the '$\delta-\epsilon$' definition
Prove $f(x)=2x^2+1$ is continuous using the $\epsilon-\delta$ definition.
Proof : Let $x_0$ be in $\mathbb{R}$ and let $\epsilon > 0 $. We want to show that $|f(x)-f(x_0)|<\epsilon$ provided there exists a $\delta>0$, s.t $|x-x_0|<\delta$ .
We note $|f(x)-f(x_0)| = |(2x^2+1)-(2x_0^2+1)|= > |2x-2x_0^2|=2|x-x_0||x+x_0|$.We need a bound for $|x+x_0|$ that does not depend on x.. We notice that if $|x-x_0|<1$, say , then $|x|<|x_0|+1$ and hence $|x+x_0|\le |x|+|x_0|<2|x_0|+1$.
Thus we have $|f(x)-f(x_0)| \leq 2|x-x_0|(2|x_0|+1)$ provided $|x-x_0|<1$. To arrange for $2|x-x_0|(2|x_0|+1)<\epsilon$, it is enough to have $|x-x_0|<\frac{\epsilon}{2(2|x_0|+1)}$ and also $|x-x_0|<1$. So we put $\delta = min(1,\frac{\epsilon}{2(2|x_0|+1)})$. Thus we will get our desired result.
In this whole proof what I don't understand is why we need a bound for $|x-x_0|$ that does not depend on $x$. What will happen if the bound depends on $x$.