Proving continuity on different metric spaces

continuitygeneral-topologymetric-spaces

I was thinking about proving the continuity of functions over metric spaces like absolute value metric (d(x,y) = |x-y|) over real numbers $\Bbb{R}$.

Like I was thinking $f(x) = 5x+7$ is continuous over $\Bbb{R} \rightarrow \Bbb{R}$?
for which I am applying that a function $f$ is continuous at $x=a$ if $\lim_{x \rightarrow a} f(x) = f(a)$. So, suppose $a \in \Bbb{R}$, then $\lim_{x \rightarrow a}f(x) = \lim_{x \rightarrow a} 5x+7 = 5a+7 = f(a)$, thus as $f$ is continuous atpoint $x=a \in \Bbb{R}$, and the point $a$ is arbitrary, so $f$ is continuous from $\Bbb{R} \rightarrow \Bbb{R}$.

I hope I am corect here, but I am finding it difficult to prove the continuity of the function $f$ once the metric is changed.

Like if we take $f(x) = 5x+7$ over the absolute metric say $D$, so how do we prove the continuity of $f : (\Bbb{R},D) \rightarrow (\Bbb{R},D)$?

Also, How can we think of continuity when the dimension of the domain is increased, say for example the function $f(x,y) = x+y$, how do we prove continuity in two cases $f:(\Bbb{R}^2,D) \rightarrow (\Bbb{R},D)$?

Next, similarly the continuity of f defined as $f(g) = g(0)$ 1) $f: (X,D) \rightarrow [0,1]$, where $[0,1]$ is the subspace of real numbers with absolute value metric and $X$ is the set of all functions from $[0,1]$ to $[0,1]$, in case of functions we define $D(f,g):= lub\{|f(x)-g(x)| , x \in [0,1]\} \forall f,g \in X$

How do I approach these type of questions?

Best Answer

To show that $f(x) = 5x + 7$, no your proof will not suffice. Primarily, the step where you go from $$\lim_{x \to a} 5x + 7 = 5a + 7.$$ Why is this true? If I make a step like this, the justification is typically because of continuity, but continuity is what you're trying to prove. You need to use the definition of continuity, which involves the metric. That is, you need to show that, for all $\varepsilon > 0$, there exists a $\delta$ such that $$0 < D(x, a) < \delta \implies D(f(x), f(a)) < \varepsilon,$$ or, substituting in the particular metric and function, $$0 < |x - a| < \delta \implies |5x + 7 - (5a + 7)| < \varepsilon.$$ Note the role that the metric plays in this. Changing the metric could easily make this function not continuous, and thus the limit of $5x + 7$ may not be $5a + 7$. It's your job to show that, for this particular metric, the function is continuous. That is, you have to find this $\delta$, for the given $\varepsilon$. I'll leave you to complete the proof.


For the two variable function, we do much the same thing, but we have to bear in mind that the domain is different, and hence so is the metric. I'm going to call $D_2$ the Euclidean metric on $\mathbb{R}^2$. Fix a point $(a, b) \in \mathbb{R}^2$. Then, for all $\varepsilon > 0$, we need a $\delta$ such that $$0 < D_2((x, y), (a, b)) < \delta \implies |f(x, y) - f(a, b)| < \varepsilon,$$ or equivalently, $$0 < \sqrt{(x - a)^2 + (y - b)^2} < \delta \implies |x + y - a - b| < \varepsilon.$$ This one isn't as straightforward as the previous one. We need a few tricks. For one, note that $$|x - a| = \sqrt{(x - a)^2} \le \sqrt{(x - a)^2 + (y - b)^2},$$ and similarly for $|y - b|$. So, forcing the above expression to be less than $\delta$ implies both $|x - a| < \delta$ and $|y - b| < \delta$.

For two, we can use the triangle inequality (for the absolute value metric on $\mathbb{R}$) to show that $|x + y - a - b| \le |x - a| + |y - b|$. So, if we force $\delta = \frac{\varepsilon}{2}$, we should get the result we need (try filling in the blanks yourself).


As for your third question, we again use the same definition. Fix a function $h \in X$, and an $\varepsilon > 0$. We wish to find a $\delta$ such that $$0 < D(g, h) < \delta \implies |f(g) - f(h)| < \varepsilon.$$ (Note that I substituted in the metric for $\mathbb{R}$ already.) That is, $$0 < \sup_{x \in [0, 1]} |g(x) - h(x)| < \delta \implies |g(0) - h(0)| < \varepsilon.$$ But, clearly $|g(0) - h(0)|$ lies in the set of numbers over which we are taking the supremum, so $$|g(0) - h(0)| \le \sup_{x \in [0, 1]} |g(x) - h(x)|.$$ If we take $\delta = \varepsilon$, then we are done!

Related Question