Let $f : X \rightarrow f(X)$ be continuous and X connected. Then $f(X)$ is connected.
I'm coming across a major problem with the following proof:
Suppose $f(X)$ is not connected. Then $\exists$ non-empty sets $U,V$ open in $f(X)$ such that $f(X) = U \cup V$, and $U,V$ are disjoint. Since $f$ is continuous, $f^{-1}(U)$ and $f^{-1}(V)$ are open in $X$ (where $f^{-1}$ is the pre-image). We want to show $f^{-1}(U)$ and $f^{-1}(V)$ disconnect X for a contradiction.
It is now easy to show that X is the union of $f^{-1}(U)$ and $f^{-1}(V)$ and that $f^{-1}(U)$ and $f^{-1}(V)$ are non-empty. However, it seems to me that $f^{-1}(U)$ and $f^{-1}(V)$ are disjoint if and only if $f$ is 1-1. Am I mistaken?
Suppose that $x \in f^{-1}[U]$ and also $x \in f^{-1}[V]$. By definition the former means that $f(x) \in U$ and the latter that $f(x) \in V$. But then $f(x) \in U \cap V = \emptyset$, contradiction. This holds by the definitions, we don't use any property of $f$.
In general, for any family of sets $A_i, i \in I$:
$$f^{-1}[\bigcap_{i \in I} A_i] = \bigcap_{i \in I} f^{-1}[A_i]$$
which can be shown by showing two inclusions and using the definition
$f^{-1}[A] = \{x \in X: f(x) \in A\}$ of the set $f^{-1}[A]$ for a function $f: X \to Y$.