Suppose , where , such that . We want to show that a limit point of is in , or vice versa.
Let . Similarly .
Sometimes we say that is the a shorthand to , even though may not be bijective (and thus non-invertible).
First off since then , so then is nonempty. Thus then where and thus . A similar argument shows that . Further notice that , because .
Now because is connected, then (without loss of generality) then such that where .
Now because is continuous at then by definition. Now because each then clearly contains the limit points of the set . This shows then that . The same argument shows that .