Let S denote the set of continuous real-valued functions on the interval [0,1]. For f,g∈S, set
d1(f,g)=sup{∣f(x)−g(x)∣:x∈[0,1]} and d2(f,g)=∫01∣f(x)−g(x)∣dx
Show that both d1 and d2 define metrics on S. Does the identity map on S define a continuous map of metric spaces (S,d1)→(S,d2)? Does the identity map define a continuous map of metric spaces (S,d2)→(S,d1) ?