Let $ f: X \rightarrow Y $ be a continuous function. And let $ E $ be a connected subset of $ X $.
I want to show that $ f(E) $ is also connected.
I am able to show that if $ X $ is connect if follows that $ f(X) $ is also connect.
I noticed that there are proofs on this site, but they all use a different definition of connected. I want to prove it using the following definition: $ A \subset X $ is connected if there are no non-empty disjoint open sets $ U $ , $ V $ such that $ A = U \cup V $.
My work: For $ f: X \rightarrow Y$ continuous. Suppose $ A \subset X $ is connect. For sake of contradiction assume $ f(A) $ is not connected. Thus there are open sets $ U, V $ such that $ U_1 := U \cap f(A) $ and $ V_1 := V \cap f(A) $, so that $ U_1 $ and $ V_1$ are disjoint and nonempty as well as $ f(A) = U_1 \cup V_1 $.
It follows that $ f^{-1} (U_1) = f^{-1} (U) \cap f^{-1}f(A)) $. However, if $ A \neq X $ I am unable to show that $ f^{-1} (U_1) $ needs to be open or that $ f^{-1} (U_1) \cup f^{-1} (V_1) = f(A) $.
Any help would be much appreciated.