Prove that $\lim_{x\to 2}x^2=4$ using $\epsilon-\delta$ definition.
By the mean of $\epsilon-\delta$ definition, $|x-2|\le \delta,|x+2|\le \delta+4$
then $|x-2||x+2|\le \delta(\delta+4),|x^2-4|\le \delta^2+4\delta$.
Assign $\epsilon=\delta^2+4\delta,|x^2-4|\le\epsilon$.
Q.E.D.
Is this method correct? If yes, why I always see people do this by putting $\delta = \min(1,\epsilon/5)$...?
Thanks.
This is pretty good, but this goes the other way around.
You fix $\epsilon>0$ first.
Then you it suffices to find $\delta>0$ such that $\delta^2+4\delta\leq\epsilon$. You need to make this explicit. So indeed, lots of people would do it like this. If you take a priori $\delta\leq 1$, then $$ \delta^2+4\delta\leq \delta+4\delta=5\delta. $$ So it suffices to have $\delta \leq\epsilon/5$. If $\epsilon/5\leq 1$, the choice $\delta =\epsilon/5$ works by the above estimate. If not, the choice $\delta=1$ works, still by the previous estimate.
That's why most people would take $$ \delta:=\min\left(1,\frac{\epsilon}{5}\right) $$ which works either way.