Prove $f(\overline{U})) \subset \overline{f(U)}$

continuitygeneral-topology

I'm facing this problem: For $f : (X,\mathcal{T}) \to (Y,\mathcal{T}')$ a continuous map between topological space, then for any subset $U \subset X$ is $f(\overline{U}) \subset \overline{f(U)}$.

I know the usual proof, but I´d like is this one is right:

Let be $x \in f(\overline{U})$. So for any open neighborhood $V$ of $x$ is $V \cap f(U) \neq \emptyset$.

Since $f$ is continuous, $f^{-1}(V)$ is an open neighborhood of $f^{-1}(x)$.

Using $f^{-1}(x) \in \overline{U}$ is $f^{-1}(V) \cap U \neq \emptyset$.

So $f(f^{-1}(V) \cap U) = V \cap f(U) \neq \emptyset$, then $x \in \overline{f(U)}$.

Is this right? I'm not sure.

And here another try:

Suppose exist $x \in f(\overline{U})$ with $x \notin \overline{f(U)}.$ Then exist an open neightborhood $V$ of $x$ such that $V \cap f(U) = \emptyset$.

For $z \in \overline{U}$ such that $f(z) = x$, for any $W$ open neighborhood of $z$ is $W \cap A \neq \emptyset$.

Then exist $h \in W \cap A$ and $f(h) \in f(W) \cap f(A)$. So for the adequate $f(W) \subset V$ is $f(W) \cap U \neq \emptyset$ but $V \cap f(U) = \emptyset$. A contradiction.

Is this last one right?

Thanks!

Best Answer

You shouldn't have to use points at all. Since $\overline{f(U)}$ is closed the continuity of $f$ implies $f^{-1}(\overline{f(U)})$ is closed too. But $$U \subset f^{-1}(f(U)) \subset f^{-1}(\overline{f(U)}) \implies \overline U \subset f^{-1}(\overline{f(U)})$$ because the latter set is closed. Thus $$ f(\overline U) \subset f(f^{-1}(\overline{f(U)})) = \overline{f(U)}.$$