True or False:
There exists a continuous function $f : \mathbb{R}^2 → \mathbb{R} > $such that $f ≡ 1$ on the set $\{(x, y) \in \mathbb{R}^2 : x ^2+y^2 =3/2 \}$ and $f ≡ 0$ on the set $B∪\{(x, y) \in \mathbb{R}^2: x^2+y^2 ≥ 2\}$ where B is closed unit disk.
I think this is just a stratightforward application of Urysohn's Lemma as metric spaces are normal so by Urysohn's Lemma says that disjoint closed subsets can be separated by continuous function.
I hope I am not missing something. Topology can be weird sometimes!!!
Thanks in advance.
Right. As you say and as Yanko agrees, you can use Urysohn's Lemma; then it just remains to show the sets are closed and disjoint.
In case you don't like Ursyohn's Lemma -- or just for fun -- we can define the continuous function ourselves. It doesn't turn out to be so hard in this particular case. Define $f: \mathbb{R}^2 \to \mathbb{R}$ by $$ f(x,y) = 2(2 - x^2 - y^2). $$
Now, this is a polynomial, so it's continuous. And on the set $A$, $f(x,y) = 2(2 - \tfrac32) = 2 \cdot \tfrac12 = 1$. And on the set $B$, $f(x,y) = 2(2 - 2) = 0$.
If $f$ has to be positive, you can instead make $f(x,y) = \max(0, 2(2-x^2 - y^2))$.
I agree :)