Continuity of the identity function

Let $$(X,\rho)$$ be a metric space. Show that the identity function $$\operatorname{id} \colon X \to X$$ defined as $$\operatorname{id}(x) = x$$ is continuous.

• Resolution

It is sufficient to verify that any open set is an open set under id.