I am currently studying the formal defenition of the limit. One of the examples given by my book is the following: Prove that: $$ \lim_{x \to 3} x^2 = 9 $$ So, using only the defenition of the limit, I have to prove that for every $\epsilon > 0$ there is a $\delta > 0$ for which the following is true: $$ 0 < |x - 3| < \delta \to |x^2 - 9| < \epsilon $$ So after some puzzeling I came up with: $\delta = \frac{\epsilon}{|x + 3|}$. And I though this was correct: under the assumption that the antecedent is true, we can make the following construct: $$ 0 < |x - 3| < \delta \Rightarrow 0 < |x - 3| < \frac{\epsilon}{|x + 3|} \Rightarrow 0 < |x + 3||x - 3| < \epsilon \Rightarrow |x^2 - 9| < \epsilon $$
Q.E.D, I thought. But the book came up with the following solution: $$ \delta = \min{(1,\frac{\epsilon}{7})} $$ Which is a correct solution. So, is mine wrong? Or did the book just provide a different proof?