I'm trying to show that, given X is the set of all continuous functions , and d(f,g) = , that (X, d) defines a metric space.

My confusion is coming in when I let a = 0, b = , and f = sine and g = cosine. Then wouldn't the distance function between these two be

But f != g, so isn't that a problem?