Let $C'([0,1])$ be the set of differentiable functions $f:[a,b]\to \Bbb R$, having continuous derivatives
The supremum metric is $$d(f,g)= \sup_{t\in [0,1]}|f(t)-g(t)|$$
and we are given
$$p(f,g)=|f(0)-g(0)|+ \sup_{t\in [0,1]}|f'(t)-g'(t)|$$
Show that
$$d(f,g) \leq p(f,g)$$
My Attempt:
I have proven that $p(f,g)$ is a metric on $C'([0,1])$, then we can define a new function $h(t)=f(t)-g(t)$ and prove that
$$\sup_{t\in [0,1]}|h(t)| \leq |h(0)|+ \sup_{t\in [0,1]}|h'(t)|$$
But I'm stuck here
We have (Mean value theorem)
$|h(t)|-|h(0)| \le |h(t)-h(0)|=t|h'(s)| \le |h'(s)| \le \sup_{t \in [0,1]} |h'(t)|$
for some $s \in [0,t]$.
Hence
$|h(t)| \le |h(0)|+\sup_{t \in [0,1]} |h'(t)|$ .
This gives
$\sup_{t\in [0,1]}|h(t)| \leq |h(0)|+ \sup_{t\in [0,1]}|h'(t)|$