
How does the author come to the conclusion that $\delta$ has to be the $ \min\left\{1,\frac{\epsilon}5\right\}$. Why that $1$? Can it be any number and we get accordingly the value of $\epsilon$? In general, finding $\delta$ for any $\epsilon$ is purely by some guesswork? I can understand why these values work but the ‘why’ question is troubling me. I’m not very comfortable and unable to convince myself perfectly.


This is one of the most annoying aspects of teaching a first course in analysis. The author of such a proof has always worked backwards, and has then rewritten the proof (erasing the entire process of coming up with it) so that it looks completely magic.
This kind of proof is generated as follows.
(Thanks to Dr Paul Russell for giving almost exactly this answer in his course Analysis II.)