6

$$ \textbf{PROBLEM} $$

$f : X \to Y $ continuous and surjective. $A $ dense in $X$ $\implies$ $f(A)$ dense in $Y$

$$ \textbf{SOLUTION(ATTEMPT)} $$

Suppose $A$ is dense in $X$. Then we must have by definition that $Cl(A) = X $. Since $f$ enjoys surjectivity, we must have $f(X) = Y $. This implies $f(Cl(A)) = Y $. We must show $Cl(f(A)) = Y$. So my claim is that $f( Cl(A)) = Cl( f(A) )$ if $f$ is continous. But I am stuck how can I prove this claim. Any ideas?

ILoveMath
  • 10,694

3 Answers3

9

Suppose $V$ is a closed subset of $Y$ containing $f(A)$. Then $f^{-1}(V)$ is a closed subset of $X$ containing $A$, and therefore $f^{-1}(V) = X$ because $A$ is dense in $X$. Therefore, since $f$ is surjective, $f(f^{-1}(V)) = V =f(X) = Y$. Thus $V=Y$, so $f(A)$ is dense in $Y$.

Bruno Joyal
  • 54,711
  • 2
    Clean as a whistle. I detoured a little, but mainly because I like the $f(\overline A)\subseteq \overline {f(A)}$ characterization of continuity. – Pedro Oct 28 '13 at 04:39
8

What you’re trying to prove isn’t true; as Pedro says in his answer, continuity of $f$ guarantees only that $\operatorname{cl}f[A]\supseteq f[\operatorname{cl}A]$ for sets $A\subseteq X$. The proof can be carried out that way, but I find other approaches easier.

  • First show that if $X$ is any space, a set $D\subseteq X$ is dense in $X$ if and only if $U\cap D\ne\varnothing$ whenever $U$ is a non-empty open set in $X$. (Added: Reading back, I see from this question that you’ve already encountered this fact.)
  • Then let $U$ be a non-empty open set in $Y$; you want to show that $U\cap f[A]\ne\varnothing$. What can you say about $f^{-1}[U]$?
Brian M. Scott
  • 616,228
5

What you want to prove is

PROP Let $f:X\to Y$. Then $\overline{f(G)}\supseteq f(\overline G)$ for every $G\subseteq X\iff$ $f$ is continuous.

P Suppose that $f$ is continuous. We always have $f(A)\subseteq \overline{f(A)}$, so that $$A\subseteq f^{-1}f(A)\subseteq f^{-1}\overline {f(A)}$$ The last set is the preimage of a closed set under a continuous function, thus it is closed. Thus $\overline A \subseteq f^{-1}\overline{ f(A)}$ that is $f(\overline A)\subseteq \overline{f(A)}$.

Now suppose $\overline{f(G)}\supseteq f(\overline G)$ for every $G\subseteq X$. Let $F$ be closed. Then $$f\left(\overline{f^{-1}(F)}\right)\subseteq \overline{ff^{-1}(F)}\subseteq \overline F=F$$ which gives $\overline{f^{-1}(F)}\subseteq f^{-1}(F) $. The other inclusion always holds, so $\overline{f^{-1}(F)}= f^{-1}(F)$, $f^{-1}(F)$ is closed and $f$ is continuous.

COR If $f:X\to Y$ is continuous and onto, and $A\subseteq X$ is dense, then $f(A)$ is dense in $Y$, for $$\overline{f(A)}\supseteq f(\overline A)=f(X)=Y$$ by the above.

Pedro
  • 122,002