Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let $X$ and $Y$ be metric spaces, with $X$ compact, and $f: X \to Y$ continuous.
Let $C$ be a closed subset of $Y$.
Show that for any open neighboorhood $U$ of $f^{-1}(C)$ there is an open neighborhood $V$ of $C$ such that $$ f^{-1}(V) \subset U. $$

This question is answered here but I don't understand the answer.
Specifically, I don't see why $$ U^c \cap f^{-1}(C) = \emptyset, $$ with $U^c$ the complement of $U$ in $X$.

Here is my attempt.
Since $U$ is open and $f^{-1}(C)$ is closed then the $f^{-1}(C)$ complement of $U$ is closed. Let $U^c$ be this complement.
since $f$ is continuous, then $f(U^c)$ is closed.
Let $V=C\setminus f(U^c)$, then $V$ is open, but I don't see why $$ f^{-1}(V) \subset U. $$

share|cite|improve this question
If $A\supseteq B$, then $A^c\cap B=\varnothing$; draw a Venn diagram if you don’t see it otherwise. Here $A=U$, and $B=f^{-1}[C]$. – Brian M. Scott Jan 14 '13 at 22:03
$f^{-1}(C)\subset U\Rightarrow f^{-1}(C)\cap U^c=\emptyset$. – Sigur Jan 14 '13 at 22:11
No, it means that $U\supseteq f^{-1}[C]$ (and $U$ is open). – Brian M. Scott Jan 14 '13 at 22:24
@BrianM.Scott, notation q: $f^{-1}[C] = f^{-1}(C)$? – alancalvitti Jan 14 '13 at 22:37
@alancalvitti: I am one of those who make a careful distinction between $f^{-1}[C]=\{x\in X:f(x)\in C\}$ and $f^{-1}(C)$, the latter making sense only when $f$ is an injection from some set with $C$ in its range. – Brian M. Scott Jan 14 '13 at 22:43
up vote 1 down vote accepted

We know that $U^{c}$ is closed, and hence, compact in $X$. Thus, $f(U^{c})$ is compact, and hence, closed in $Y$ since $f$ is continuous and $Y$ is a metric space.

Let $V=Y\setminus f(U^{c})$. Then, $V$ is an open set. We'll show that $f^{-1}(V)\subset U$. Pick $x\in f^{-1}(V)$. Then, $y:=f(x)\in V$, so that $y\notin f(U^{c})$. Therefore, $x\notin U^{c}$, which means that $x\in U$. Hence, $f^{-1}(V)\subset U$, as desired.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.