I have recently started reading Kosniowski's A First Course in Algebraic Topology; my background on Calculus, Algebra and Set Theory is vast enough to understand many of the concepts shown in the first few pages. This is my first time exploring an entire subject on my own, and the lack of a solution manual is overwhelmingly inconvenient.
Let $(A, d)$ be a metric space with metric $d$. Let $y \in A$. Show that the function $f: A\rightarrow \mathbb{R}$ where $f(x) = d(x, y)$ is continuous, where $\mathbb{R}$ has the usual metric (which we`ll call $d_\mathbb{R}(x_0, y_0)$).
My geometrical insight:
The function $f(x)$ is the distance between the point $x$ we want to show continuity on and some other fixed point $y$. Then, let $a, b \in A$; draw two circumferences (or higher-dimensional equivalents) centered in $y$, respectively passing through $a$ and $b$. The expression: $$d_\mathbb{R}(f(a), f(b))$$ Is the difference of the two radii.
The definition of continuous function at $x$ is given as: $$\forall \epsilon \in \mathbb{R}_{>0}: \exists \delta \in \mathbb{R}_{>0}: \forall x \in A_1: d_1 \left({x, a}\right) < \delta \implies d_2 \left({f \left({x}\right), f \left({a}\right)}\right) < \epsilon $$ My attempt:
- Let $a, b \in A$. Then: $$d_\mathbb{R}(f(a), f(b)) < \epsilon$$ $$-\epsilon < f(a) - f(b) < \epsilon$$ $$-\epsilon + 2f(b) < f(a) + f(b) < \epsilon + 2f(b)$$ $$-\epsilon + 2d(b, y) < d(a, y) + d(b, y) < \epsilon + 2d(b, y)$$ By the triangular inequality: $$d(a, b) \le d(a, y) + d(b, y) < \epsilon + 2d(b, y)$$ $$d(a, b) < \epsilon + 2d(b, y)$$ And given the result above, a good candidate for $\delta$ might be: $$\delta = \epsilon + 2d(b, y)$$ But I feel I should be thinking the other way round, and this approach could be completely wrong. I don't even know an effective method of disproving myself, or checking if what I've found actually works...
- An idea stemming from the first comment and the first answer led me to this reasoning: $$ - \epsilon < d(a,y) - d(b,y) < \epsilon$$ $$ d(a,y) - d(b,y) \le d(b,a) < \delta $$ And it works symmetrically to get: $$ -\delta < - d(b,a) \le d(a,y) - d(b,y) $$ Then, a good candidate for $\delta$ is: $$ \delta \le \epsilon $$ Applying it to a concrete situation (I tried with both metric spaces being the real number line with the usual metric) seemed to work.