I am teaching myself Real Analysis. I have done proofs in Discrete Mathematics, Linear Algebra, and Abstract Algebra. Nothing too difficult, mainly elementary and intermediate kinds! For this problem, I will lay out my thought process and explain where I am stuck at. If someone could please explain, in a clear manner, what to do OR giving me a hint, that would be helpful!
My thought:
Consider $|x-a| < \epsilon$. If we add $-|y-a|$ to both sides of the inequality, then the inequality maintains order and we have $|x-a| - |y-a| < \epsilon -|y-a|$. By the Triangle Inequality, we can see that $|x-a| - |y-a| \leq |x-y|$.
Now this is where I am stuck. I am not quite sure on how to explain if $|x-y| < \epsilon - |y-a|$, $|x-y| \leq \epsilon - |y-a|$, or if there is something else I am missing.
Any help explained clearly would be kindly appreciated.
Using the triangle inequality,
$|x-y|=|(x-a)+(a-y)|\le|x-a|+|a-y|=|x-a|+|y-a|\lt \epsilon + \epsilon=2\epsilon$.
Alternatively $|x-a|<\epsilon$ and $|y-a|<\epsilon\iff a-\epsilon<x<a+\epsilon$ and $a-\epsilon<y<a+\epsilon\iff$
$ a-\epsilon<x<a+\epsilon$ and $-a-\epsilon<-y<-a+\epsilon\implies-2\epsilon<x-y<2\epsilon\iff|x-y|<2\epsilon$.