# Metric spaces and continuous functions

• Apr 3rd 2011, 03:38 PM
Connected
Metric spaces and continuous functions
Let $\displaystyle (X,d)$ metric space. Let $\displaystyle Y=\mathcal B\mathcal C(X,\mathbb R)$ be the space of every continuous and bounded functions from $\displaystyle X$ to $\displaystyle \mathbb R.$

Prove that $\displaystyle f_1(x)=\dfrac{d(x,x_0)}{1+d(x,x_0)}$ and $\displaystyle f_2(x)=d(x,x_1)-d(x,x_0)$ belong to $\displaystyle Y.$

How to do this? By proving that $\displaystyle f_1,f_2$ are both continuous and bounded functions?

Well clearly both of them are continuous. The first one is bounded by 1 and the second one can be bounded by the triangle inequality. Is that all?
• Apr 3rd 2011, 05:19 PM
Drexel28
Quote:

Originally Posted by Connected
Let $\displaystyle (X,d)$ metric space. Let $\displaystyle Y=\mathcal B\mathcal C(X,\mathbb R)$ be the space of every continuous and bounded functions from $\displaystyle X$ to $\displaystyle \mathbb R.$

Prove that $\displaystyle f_1(x)=\dfrac{d(x,x_0)}{1+d(x,x_0)}$ and $\displaystyle f_2(x)=d(x,x_1)-d(x,x_0)$ belong to $\displaystyle Y.$

How to do this? By proving that $\displaystyle f_1,f_2$ are both continuous and bounded functions?

Well clearly both of them are continuous. The first one is bounded by 1 and the second one can be bounded by the triangle inequality. Is that all?

Indeed.