Let
and
be metric spaces, and let
be a function. To prove this biconditional statement we need to prove both implications. First assume that
is a continuous function. We must show that
is an open set in
for every open set
in
So let
be an open set in
To demonstrate that
is open in
we will show that
is a neighborhood of each of its points. Let
Then
Now
is an open set, so there is an open ball
around
that is entirely contained in
Since
is a neighborhood of
we know that
is a neighborhood of
Thus, there exists
so that
Now
and so
We conclude that
is a neighborhood of each of its points and is therefore an open set in