Let $\mathcal{C}([0, 1])$ be the set of all continuous functions $f : [0, 1] \to \mathbb{R}$. For $f, g \in \mathcal{C}([0, 1])$, define $d(f, g) = \max|f(x) − g(x)|$. Show that $d$ is a metric on $\mathcal{C}([0, 1])$.
Asked
Active
Viewed 63 times
1
1 Answers
1
If it is zero, functions are same, since they differ nowhere. Always positive otherwise. Triangle inequality comes from the triangle inequality in complex numbers by just putting max in front.
ploosu2
- 8,707
-
Thank you for the response.. I'm not quite clear on how to proove the triangle inequality still. And why do complex numbers come into it? I am just looking at R2.. thanks – Step199 Oct 16 '14 at 12:03
-
I somehow saw C in there, but anyhow the numbers you have are a part of complex numbers ;) – ploosu2 Oct 16 '14 at 12:17
$$ \vert f(x) - g(x) \vert \leq \vert f(x) - h(x) \vert + \vert h(x) - g(x) \vert.$$
which follows from the triangle inequality. It should help you prove that $d$ satisfies to the triangle inequality.
– pitchounet Oct 16 '14 at 12:03