I'm trying to prove the following: Every metric space can be isometrically embedded in a Banach space, so that it's a linearly independent set.
I came up with the following idea:
Let $ (X,d) $ be a metric space. We can take the vector space of all functions from $ X $ to $ \mathbb{R} $. Now we can send an element $ x \in X $ to the function which takes the value $ 1 $ on $ x $ and $ 0 $ everywhere else. This would embed $ X $ in $ \mathbb{R}^X $, so that it would be a linearly independent set and actually a basis.
The problem seems to be finding a suitable norm, to make the embedding also an isometry. With that, we could just use the fact that every normed space can be isometrically embedded in a Banach space to get the desired result.
Any hints on constructing the metric? Or have I chosen a bad space?
Hint: Perhaps try the continuous real-valued functions on $X$ with a suitable norm.