0

Let $X$ be a compact metric space, $\mathcal{B}(X)$ be the borel-sigma algebra.

Assume $\mu(G)>0$ for all nonempty open sets $G\subseteq X$.

Show that for each open set $G$, exists a closed subset $F\subset G$ of positive measure and a continuous function $f$ defined as $f(x)=1$ for $x\in F$, $f(x)>0$ for $x\in G$ and $f(x)=0$ for $x\in X\setminus G$.

Is there any reason why a function like $g(x)=\frac{d(x,X\setminus G)}{d(x,X\setminus G)+d(x,G)}$

wouldn't work? The only problem i got with it...that $g(x)=1$ for all $x\in G$. But it seems to work. I'm not sure what to show here. I feel somehow it's not the function im supposed to coock up :P

DinkyDoe
  • 2,477

2 Answers2

2

Every metric space is normal, so you know from the Tietze extension theorem that for any closed $F\subseteq G$ there is a continuous $f:X\to[0,1]$ such that $f(x)=1$ for $x\in F$ and $f(x)=0$ for $x\in X\setminus G$. To get $F$ to have positive measure, just pick a point $x\in G$, use the regularity of metric spaces to get an open nbhd $U$ of $x$ such that $\operatorname{cl}U\subseteq G$, and let $F=\operatorname{cl}U$.

It only remains to be shown that $f$ can be chosen in such a way that $f(x)=0$ iff $x\in X\setminus G$. (In technical terms, we need to show that $X\setminus G$ is a zero-set, also called a functionally closed set, or, equivalently, that $G$ is a cozero-set, also called a functionally open set.) You can show that $X\setminus G$ is a zero-set using the function $g(x)=d(x,X\setminus G)$. Now combine $f$ and $g$ suitably to get the desired function.

Brian M. Scott
  • 616,228
1

If $G$ is empty, this is clearly impossible.

So suppose $G$ is nonempty. Let $x \in G$. Since $G$ is open, there exists $r$ such that the open ball of radius $r$ around $x$ is contained in $G$. Let $F$ be the closed ball of radius $r/2$ around $x$. It's certainly closed, and it has positive measure since it contains a nonempty open set.

Now let $f(x)=\frac{d(x,X\setminus G)}{d(x,X\setminus G)+d(x,F)}$.

Chris Eagle
  • 33,306