Hi guys.

Suppose we have two metric spaces and , and we have a function which is continuous on . If is a connected subset of , then it's easy enough to show that is connected.

However, suppose there is a function which is only continuous on , but not necessarily the rest of . How do we show that is connected?

Any help would be much appreciated. Thanks!