In the epsilon-delta proof for $\lim\limits_{x \to 0} \frac{\sin(x)}{x}$, we can show that for $|x| < 1$, $|\frac{\sin(x)}{x}| < \frac{x^2}{6}$. We can set $\delta = \sqrt{6\epsilon}$ and complete the proof. During the proof, $\delta$ is taken to be the minimum of $\sqrt{6\epsilon}$ and $1$. Why is $\delta$ defined this way, and why is 1 included in the definition of $\delta$? What would go wrong if $\delta$ is just $\sqrt{6 \epsilon}$? Can we use another number other than $1$?
Update:
So now I understand that in the proof, $\delta=\sqrt{6\epsilon}$ is guaranteed to work when $|x|<1$. So we need to deal with the case when $|x| \geq 1$. We want to choose a $\delta$ such that $|x| < \delta$ still yields $$\left|\frac{\sin(x)}{x} - 1\right| = |\frac{x^2}{3!} - \frac{x^4}{5!} + \frac{x^6}{7!} - \frac{x^8}{9!} + \frac{x^{10}}{11!} - \cdots | < \frac{x^2}{6} < \epsilon$$
My question is how do we deal with this case? If there is an upper bound on $\delta$, how do we find it? What is a formal proof?
Also, for $|x| \geq 1$ are we just saying that $\delta = 1$ works or is it actually the case that we are taking $\delta = \min(1, \sqrt{6\epsilon})$? If we set $\delta=1$, note that $|x| < 1$ would be false, so the whole statement $$0<|x|<\delta \Rightarrow \left|\frac{\sin(x)}{x}-1\right| < \epsilon$$ would be vacuously true.
For $|x| \leq 1$, we argue that $\left| \frac{\sin(x)}{x} -1 \right| < \frac{x^2}{6}$. So if $\epsilon > \frac{x^2}{6}$ we can conlcude that $|x| < \sqrt{6\epsilon}$. Note that it is really true for $|x|=1$, but the endpoints need to be checked separately. So this argument only works for when $|x| \leq 1$. What about $|x| > 1$? We don't know yet.
To prove $\left| \frac{\sin(x)}{x} -1 \right| < \frac{x^2}{6}$, an argument was used that involved converging alternating series. That is $$\left| \frac{\sin(x)}{x} -1 \right| = \left| \frac{x^2}{3!} - \frac{x^4}{5!} + \frac{x^6}{7!} - \cdots \right| < \frac{x^2}{6}$$ But when $|x| > 1$, we cannot be certain this statement is true so we have to find an alternative (interestingly, I am almost certain that $\left| \frac{\sin(x)}{x} -1 \right| < \frac{x^2}{6}$ is true for all non-zero $x$ but we did not prove this so we cannot use this).
So let $|x|>1$. Let $\delta = 1$. Then $|x| < 1 = \delta$ is false, since $|x| > 1$. Therefore the statement $$0<x<\delta \Rightarrow |f(x)-L| < \epsilon$$ is vacuously true.
So from $|x| \leq 1$, we have $\delta = \sqrt{6\epsilon}$ and from $|x| > 1$ we have $\delta < 1$. Let $\delta=\min(\sqrt{6\epsilon}, 1)$, then we can be certain that
$|x|<1$, which in fact implies that $\left| \frac{\sin(x)}{x} - L \right| < \frac{x^2}{6} < \frac{\left(\sqrt{6\epsilon}\right)^2}{6} = \epsilon$, and we are done.
The takeaway message is that, if we look at this argument abstractly, it goes something like:
The fact that $1$ is the obvious choice in this example is because it was shown for $|x| \leq 1$, we can find $\delta$ such that $|f(x)-L|<\epsilon$. This was the most challenging part of the proof, so the fact that for $|x|>1$, we can just take $\delta=1$ and the implication being vacuously true may sound a bit like cheating, but it is the reward of the hardwork of the first part.
A more challenging question to ask would be:
Can we pick a larger value for $\delta$ when $|x|>1$? In this case we know the answer is yes. And If so, how large can it be? The answer to these questions are not obvious in general. Actually, the answer to the latter question for this specific example is not so obvious unlike the former one (I would appreciate if someone can provide a full proof of this).
But the definition of $\epsilon$-$\delta$ is not concerned with the optimal values of $\delta$. We just have to find a $\delta$ that works.