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 continuous at some point
We will show that for any neighborhood
of
in
its inverse image
in
is a neighborhood of
in
Let
be a neighborhood of
in
To demonstrate that
is a neighborhood of
in
we need to find an open ball around
that is contained in
Since
is a neighborhood of
by definition there exists
so that
Since
is continuous at
there exists
such that
So if
then
So
and
is a neighborhood of
in