Closed subset of a metric space admits open subsets

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have the following question and I require some help.



Let $(X,d)$ be a metric space. Let $C$ be a closed subset of $X$, and let $x in X$ be such that $x notin C$. Show that there exist disjoint subsets $U, V$ of $X$ with $ C subseteq U$ and $x in V$.



I am also given the following hint:

Hint: you may consider the function $f: X rightarrow mathbbR$ defined by
beginequation
f(y)=inf, d(y,c): c in C
endequation

I have managed to show that the function in the hint is continuous, which I think will help to use it in combination with the fact that the inverse image of an open set is open, but I cannot exactly move forward from that.



Any solutions or suggestions will be helpful.

Thanks.







share|cite|improve this question


















  • 3




    One more hint: $f(x) >0$, so you can half it.
    – Berci
    Aug 8 at 18:27










  • Why do you not take $U=C$ and $V=Xsetminus C$? PD: the answer is the same even if $C$ would be open.
    – Dog_69
    Aug 8 at 20:05















up vote
0
down vote

favorite












I have the following question and I require some help.



Let $(X,d)$ be a metric space. Let $C$ be a closed subset of $X$, and let $x in X$ be such that $x notin C$. Show that there exist disjoint subsets $U, V$ of $X$ with $ C subseteq U$ and $x in V$.



I am also given the following hint:

Hint: you may consider the function $f: X rightarrow mathbbR$ defined by
beginequation
f(y)=inf, d(y,c): c in C
endequation

I have managed to show that the function in the hint is continuous, which I think will help to use it in combination with the fact that the inverse image of an open set is open, but I cannot exactly move forward from that.



Any solutions or suggestions will be helpful.

Thanks.







share|cite|improve this question


















  • 3




    One more hint: $f(x) >0$, so you can half it.
    – Berci
    Aug 8 at 18:27










  • Why do you not take $U=C$ and $V=Xsetminus C$? PD: the answer is the same even if $C$ would be open.
    – Dog_69
    Aug 8 at 20:05













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have the following question and I require some help.



Let $(X,d)$ be a metric space. Let $C$ be a closed subset of $X$, and let $x in X$ be such that $x notin C$. Show that there exist disjoint subsets $U, V$ of $X$ with $ C subseteq U$ and $x in V$.



I am also given the following hint:

Hint: you may consider the function $f: X rightarrow mathbbR$ defined by
beginequation
f(y)=inf, d(y,c): c in C
endequation

I have managed to show that the function in the hint is continuous, which I think will help to use it in combination with the fact that the inverse image of an open set is open, but I cannot exactly move forward from that.



Any solutions or suggestions will be helpful.

Thanks.







share|cite|improve this question














I have the following question and I require some help.



Let $(X,d)$ be a metric space. Let $C$ be a closed subset of $X$, and let $x in X$ be such that $x notin C$. Show that there exist disjoint subsets $U, V$ of $X$ with $ C subseteq U$ and $x in V$.



I am also given the following hint:

Hint: you may consider the function $f: X rightarrow mathbbR$ defined by
beginequation
f(y)=inf, d(y,c): c in C
endequation

I have managed to show that the function in the hint is continuous, which I think will help to use it in combination with the fact that the inverse image of an open set is open, but I cannot exactly move forward from that.



Any solutions or suggestions will be helpful.

Thanks.









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 8 at 18:31









Clayton

18k22882




18k22882










asked Aug 8 at 18:23









Nick

444




444







  • 3




    One more hint: $f(x) >0$, so you can half it.
    – Berci
    Aug 8 at 18:27










  • Why do you not take $U=C$ and $V=Xsetminus C$? PD: the answer is the same even if $C$ would be open.
    – Dog_69
    Aug 8 at 20:05













  • 3




    One more hint: $f(x) >0$, so you can half it.
    – Berci
    Aug 8 at 18:27










  • Why do you not take $U=C$ and $V=Xsetminus C$? PD: the answer is the same even if $C$ would be open.
    – Dog_69
    Aug 8 at 20:05








3




3




One more hint: $f(x) >0$, so you can half it.
– Berci
Aug 8 at 18:27




One more hint: $f(x) >0$, so you can half it.
– Berci
Aug 8 at 18:27












Why do you not take $U=C$ and $V=Xsetminus C$? PD: the answer is the same even if $C$ would be open.
– Dog_69
Aug 8 at 20:05





Why do you not take $U=C$ and $V=Xsetminus C$? PD: the answer is the same even if $C$ would be open.
– Dog_69
Aug 8 at 20:05











1 Answer
1






active

oldest

votes

















up vote
0
down vote













Take $f^-1(fracf(y)2,infty)$ for $V$ ; and let $U=Xsetminus overlineV$.



(You could also just take $V=B_y(fracf(y)2)$, the open ball of radius $fracf(y)2$ centered at $y$...)






share|cite|improve this answer






















    Your Answer




    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2876411%2fclosed-subset-of-a-metric-space-admits-open-subsets%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Take $f^-1(fracf(y)2,infty)$ for $V$ ; and let $U=Xsetminus overlineV$.



    (You could also just take $V=B_y(fracf(y)2)$, the open ball of radius $fracf(y)2$ centered at $y$...)






    share|cite|improve this answer


























      up vote
      0
      down vote













      Take $f^-1(fracf(y)2,infty)$ for $V$ ; and let $U=Xsetminus overlineV$.



      (You could also just take $V=B_y(fracf(y)2)$, the open ball of radius $fracf(y)2$ centered at $y$...)






      share|cite|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        Take $f^-1(fracf(y)2,infty)$ for $V$ ; and let $U=Xsetminus overlineV$.



        (You could also just take $V=B_y(fracf(y)2)$, the open ball of radius $fracf(y)2$ centered at $y$...)






        share|cite|improve this answer














        Take $f^-1(fracf(y)2,infty)$ for $V$ ; and let $U=Xsetminus overlineV$.



        (You could also just take $V=B_y(fracf(y)2)$, the open ball of radius $fracf(y)2$ centered at $y$...)







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Aug 8 at 21:18

























        answered Aug 8 at 19:13









        Chris Custer

        5,5782622




        5,5782622






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2876411%2fclosed-subset-of-a-metric-space-admits-open-subsets%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Mutual Information Always Non-negative

            Why am i infinitely getting the same tweet with the Twitter Search API?