It is true that $overline{(0,epsilon)cup(mathbb Qcap(epsilon,1))}=[0,1]$ for $epsilonin(0,1)$?












1












$begingroup$


Let $epsilonin(0,1)$ and $E=(0,epsilon)cup(mathbb Qcap(epsilon,1))$. It is true that $overline{E}=[0,1]$?



I know that $overline{E}subset[0,1]$, but how to show that $overline{E}supset[0,1]$?



I've tried to show that if I have an open interval $(a,b)$ then $overline{mathbb Qcap(a,b)}=[a,b]$. By the way, is this true?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Yes it's true. Just note that $mathbb{Q}cap(0,1)setminus{epsilon}subset Esubset [0,1]$ and take the closure.
    $endgroup$
    – Ben W
    Jan 22 at 11:30












  • $begingroup$
    $mathbb{Q}cap(0,1)setminus{epsilon}=mathbb{Q}cap((0,epsilon)cup(epsilon,1))$, then $overline{mathbb{Q}cap(0,1)setminus{epsilon}}=overline{mathbb{Q}cap((0,epsilon)cup(epsilon,1))}subsetmathbb{R}cap[0,1]=[0,1]$. But how do I conclude that $[0,1]subset overline{mathbb{Q}cap(0,1)setminus{epsilon}}$
    $endgroup$
    – Ali Khan
    Jan 22 at 13:42
















1












$begingroup$


Let $epsilonin(0,1)$ and $E=(0,epsilon)cup(mathbb Qcap(epsilon,1))$. It is true that $overline{E}=[0,1]$?



I know that $overline{E}subset[0,1]$, but how to show that $overline{E}supset[0,1]$?



I've tried to show that if I have an open interval $(a,b)$ then $overline{mathbb Qcap(a,b)}=[a,b]$. By the way, is this true?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Yes it's true. Just note that $mathbb{Q}cap(0,1)setminus{epsilon}subset Esubset [0,1]$ and take the closure.
    $endgroup$
    – Ben W
    Jan 22 at 11:30












  • $begingroup$
    $mathbb{Q}cap(0,1)setminus{epsilon}=mathbb{Q}cap((0,epsilon)cup(epsilon,1))$, then $overline{mathbb{Q}cap(0,1)setminus{epsilon}}=overline{mathbb{Q}cap((0,epsilon)cup(epsilon,1))}subsetmathbb{R}cap[0,1]=[0,1]$. But how do I conclude that $[0,1]subset overline{mathbb{Q}cap(0,1)setminus{epsilon}}$
    $endgroup$
    – Ali Khan
    Jan 22 at 13:42














1












1








1





$begingroup$


Let $epsilonin(0,1)$ and $E=(0,epsilon)cup(mathbb Qcap(epsilon,1))$. It is true that $overline{E}=[0,1]$?



I know that $overline{E}subset[0,1]$, but how to show that $overline{E}supset[0,1]$?



I've tried to show that if I have an open interval $(a,b)$ then $overline{mathbb Qcap(a,b)}=[a,b]$. By the way, is this true?










share|cite|improve this question











$endgroup$




Let $epsilonin(0,1)$ and $E=(0,epsilon)cup(mathbb Qcap(epsilon,1))$. It is true that $overline{E}=[0,1]$?



I know that $overline{E}subset[0,1]$, but how to show that $overline{E}supset[0,1]$?



I've tried to show that if I have an open interval $(a,b)$ then $overline{mathbb Qcap(a,b)}=[a,b]$. By the way, is this true?







real-analysis general-topology






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 22 at 13:36







Ali Khan

















asked Jan 22 at 11:27









Ali KhanAli Khan

17312




17312








  • 1




    $begingroup$
    Yes it's true. Just note that $mathbb{Q}cap(0,1)setminus{epsilon}subset Esubset [0,1]$ and take the closure.
    $endgroup$
    – Ben W
    Jan 22 at 11:30












  • $begingroup$
    $mathbb{Q}cap(0,1)setminus{epsilon}=mathbb{Q}cap((0,epsilon)cup(epsilon,1))$, then $overline{mathbb{Q}cap(0,1)setminus{epsilon}}=overline{mathbb{Q}cap((0,epsilon)cup(epsilon,1))}subsetmathbb{R}cap[0,1]=[0,1]$. But how do I conclude that $[0,1]subset overline{mathbb{Q}cap(0,1)setminus{epsilon}}$
    $endgroup$
    – Ali Khan
    Jan 22 at 13:42














  • 1




    $begingroup$
    Yes it's true. Just note that $mathbb{Q}cap(0,1)setminus{epsilon}subset Esubset [0,1]$ and take the closure.
    $endgroup$
    – Ben W
    Jan 22 at 11:30












  • $begingroup$
    $mathbb{Q}cap(0,1)setminus{epsilon}=mathbb{Q}cap((0,epsilon)cup(epsilon,1))$, then $overline{mathbb{Q}cap(0,1)setminus{epsilon}}=overline{mathbb{Q}cap((0,epsilon)cup(epsilon,1))}subsetmathbb{R}cap[0,1]=[0,1]$. But how do I conclude that $[0,1]subset overline{mathbb{Q}cap(0,1)setminus{epsilon}}$
    $endgroup$
    – Ali Khan
    Jan 22 at 13:42








1




1




$begingroup$
Yes it's true. Just note that $mathbb{Q}cap(0,1)setminus{epsilon}subset Esubset [0,1]$ and take the closure.
$endgroup$
– Ben W
Jan 22 at 11:30






$begingroup$
Yes it's true. Just note that $mathbb{Q}cap(0,1)setminus{epsilon}subset Esubset [0,1]$ and take the closure.
$endgroup$
– Ben W
Jan 22 at 11:30














$begingroup$
$mathbb{Q}cap(0,1)setminus{epsilon}=mathbb{Q}cap((0,epsilon)cup(epsilon,1))$, then $overline{mathbb{Q}cap(0,1)setminus{epsilon}}=overline{mathbb{Q}cap((0,epsilon)cup(epsilon,1))}subsetmathbb{R}cap[0,1]=[0,1]$. But how do I conclude that $[0,1]subset overline{mathbb{Q}cap(0,1)setminus{epsilon}}$
$endgroup$
– Ali Khan
Jan 22 at 13:42




$begingroup$
$mathbb{Q}cap(0,1)setminus{epsilon}=mathbb{Q}cap((0,epsilon)cup(epsilon,1))$, then $overline{mathbb{Q}cap(0,1)setminus{epsilon}}=overline{mathbb{Q}cap((0,epsilon)cup(epsilon,1))}subsetmathbb{R}cap[0,1]=[0,1]$. But how do I conclude that $[0,1]subset overline{mathbb{Q}cap(0,1)setminus{epsilon}}$
$endgroup$
– Ali Khan
Jan 22 at 13:42










1 Answer
1






active

oldest

votes


















1












$begingroup$

The result is indeed true. Here is a way to show it.



Since $E$ is just a finite union of sets, we have
$$
overline{E} = overline{(0,varepsilon) cup (mathbb{Q}cap(varepsilon,1))}=overline{(0,varepsilon)}cupoverline{mathbb{Q}cap(varepsilon,1)} = [0,varepsilon] cup overline{mathbb{Q}cap(varepsilon,1)}.
$$



If we manage to show that for an interval $(a,b)$, the equality $overline{mathbb{Q}cap(a,b)}=[a,b]$ is true, as you have asked, then we are done. To show this, first notice that from standard properties of the closure we already have the inclusion $overline{mathbb{Q}cap(a,b)} subseteq overline{mathbb{Q}}capoverline{(a,b)}=[a,b]$. Now, to show the reverse inclusion, we must show that for an arbitrary point $x in [a,b]$, any neighborhood of $x$ intersects the set $mathbb{Q}cap(a,b)$. Since any neighborhood of $x$ contains open balls of arbitrarily small radii centered at $x$, it is sufficient to prove that any sufficiently small ball centered at $x$ intercepts $mathbb{Q}cap(a,b)$.



If $x in (a,b)$, since this set is open, for any sufficiently small radius $r>0$, the interval $(x-r,x+r)$ is contained in $(a,b)$, but the density of $mathbb{Q}$ then implies the existence of a rational number $q in (x-r,x+r)$, and by construction this rational number is in $mathbb{Q}cap(a,b)$.



If $x=a$, even though in this case we cannot obtain $r>0$ such that $(x-r,x+r) subset (a,b)$, we can guarantee that the right-side $(x,x+r)$ of the interval will be contained in $(a,b)$. Density again implies that there is a rational number $q in (x,x+r)$, therefore in $mathbb{Q}cap(a,b)$, so $(x-r,x+r)$ intersects $mathbb{Q}cap(a,b)$.



The last case where $x=b$ is analogous to the previous one, just use the left-side $(x-r,x)$ of the interval and argue in the same way.






share|cite|improve this answer









$endgroup$













    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f3083042%2fit-is-true-that-overline0-epsilon-cup-mathbb-q-cap-epsilon-1-0-1-f%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    The result is indeed true. Here is a way to show it.



    Since $E$ is just a finite union of sets, we have
    $$
    overline{E} = overline{(0,varepsilon) cup (mathbb{Q}cap(varepsilon,1))}=overline{(0,varepsilon)}cupoverline{mathbb{Q}cap(varepsilon,1)} = [0,varepsilon] cup overline{mathbb{Q}cap(varepsilon,1)}.
    $$



    If we manage to show that for an interval $(a,b)$, the equality $overline{mathbb{Q}cap(a,b)}=[a,b]$ is true, as you have asked, then we are done. To show this, first notice that from standard properties of the closure we already have the inclusion $overline{mathbb{Q}cap(a,b)} subseteq overline{mathbb{Q}}capoverline{(a,b)}=[a,b]$. Now, to show the reverse inclusion, we must show that for an arbitrary point $x in [a,b]$, any neighborhood of $x$ intersects the set $mathbb{Q}cap(a,b)$. Since any neighborhood of $x$ contains open balls of arbitrarily small radii centered at $x$, it is sufficient to prove that any sufficiently small ball centered at $x$ intercepts $mathbb{Q}cap(a,b)$.



    If $x in (a,b)$, since this set is open, for any sufficiently small radius $r>0$, the interval $(x-r,x+r)$ is contained in $(a,b)$, but the density of $mathbb{Q}$ then implies the existence of a rational number $q in (x-r,x+r)$, and by construction this rational number is in $mathbb{Q}cap(a,b)$.



    If $x=a$, even though in this case we cannot obtain $r>0$ such that $(x-r,x+r) subset (a,b)$, we can guarantee that the right-side $(x,x+r)$ of the interval will be contained in $(a,b)$. Density again implies that there is a rational number $q in (x,x+r)$, therefore in $mathbb{Q}cap(a,b)$, so $(x-r,x+r)$ intersects $mathbb{Q}cap(a,b)$.



    The last case where $x=b$ is analogous to the previous one, just use the left-side $(x-r,x)$ of the interval and argue in the same way.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      The result is indeed true. Here is a way to show it.



      Since $E$ is just a finite union of sets, we have
      $$
      overline{E} = overline{(0,varepsilon) cup (mathbb{Q}cap(varepsilon,1))}=overline{(0,varepsilon)}cupoverline{mathbb{Q}cap(varepsilon,1)} = [0,varepsilon] cup overline{mathbb{Q}cap(varepsilon,1)}.
      $$



      If we manage to show that for an interval $(a,b)$, the equality $overline{mathbb{Q}cap(a,b)}=[a,b]$ is true, as you have asked, then we are done. To show this, first notice that from standard properties of the closure we already have the inclusion $overline{mathbb{Q}cap(a,b)} subseteq overline{mathbb{Q}}capoverline{(a,b)}=[a,b]$. Now, to show the reverse inclusion, we must show that for an arbitrary point $x in [a,b]$, any neighborhood of $x$ intersects the set $mathbb{Q}cap(a,b)$. Since any neighborhood of $x$ contains open balls of arbitrarily small radii centered at $x$, it is sufficient to prove that any sufficiently small ball centered at $x$ intercepts $mathbb{Q}cap(a,b)$.



      If $x in (a,b)$, since this set is open, for any sufficiently small radius $r>0$, the interval $(x-r,x+r)$ is contained in $(a,b)$, but the density of $mathbb{Q}$ then implies the existence of a rational number $q in (x-r,x+r)$, and by construction this rational number is in $mathbb{Q}cap(a,b)$.



      If $x=a$, even though in this case we cannot obtain $r>0$ such that $(x-r,x+r) subset (a,b)$, we can guarantee that the right-side $(x,x+r)$ of the interval will be contained in $(a,b)$. Density again implies that there is a rational number $q in (x,x+r)$, therefore in $mathbb{Q}cap(a,b)$, so $(x-r,x+r)$ intersects $mathbb{Q}cap(a,b)$.



      The last case where $x=b$ is analogous to the previous one, just use the left-side $(x-r,x)$ of the interval and argue in the same way.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        The result is indeed true. Here is a way to show it.



        Since $E$ is just a finite union of sets, we have
        $$
        overline{E} = overline{(0,varepsilon) cup (mathbb{Q}cap(varepsilon,1))}=overline{(0,varepsilon)}cupoverline{mathbb{Q}cap(varepsilon,1)} = [0,varepsilon] cup overline{mathbb{Q}cap(varepsilon,1)}.
        $$



        If we manage to show that for an interval $(a,b)$, the equality $overline{mathbb{Q}cap(a,b)}=[a,b]$ is true, as you have asked, then we are done. To show this, first notice that from standard properties of the closure we already have the inclusion $overline{mathbb{Q}cap(a,b)} subseteq overline{mathbb{Q}}capoverline{(a,b)}=[a,b]$. Now, to show the reverse inclusion, we must show that for an arbitrary point $x in [a,b]$, any neighborhood of $x$ intersects the set $mathbb{Q}cap(a,b)$. Since any neighborhood of $x$ contains open balls of arbitrarily small radii centered at $x$, it is sufficient to prove that any sufficiently small ball centered at $x$ intercepts $mathbb{Q}cap(a,b)$.



        If $x in (a,b)$, since this set is open, for any sufficiently small radius $r>0$, the interval $(x-r,x+r)$ is contained in $(a,b)$, but the density of $mathbb{Q}$ then implies the existence of a rational number $q in (x-r,x+r)$, and by construction this rational number is in $mathbb{Q}cap(a,b)$.



        If $x=a$, even though in this case we cannot obtain $r>0$ such that $(x-r,x+r) subset (a,b)$, we can guarantee that the right-side $(x,x+r)$ of the interval will be contained in $(a,b)$. Density again implies that there is a rational number $q in (x,x+r)$, therefore in $mathbb{Q}cap(a,b)$, so $(x-r,x+r)$ intersects $mathbb{Q}cap(a,b)$.



        The last case where $x=b$ is analogous to the previous one, just use the left-side $(x-r,x)$ of the interval and argue in the same way.






        share|cite|improve this answer









        $endgroup$



        The result is indeed true. Here is a way to show it.



        Since $E$ is just a finite union of sets, we have
        $$
        overline{E} = overline{(0,varepsilon) cup (mathbb{Q}cap(varepsilon,1))}=overline{(0,varepsilon)}cupoverline{mathbb{Q}cap(varepsilon,1)} = [0,varepsilon] cup overline{mathbb{Q}cap(varepsilon,1)}.
        $$



        If we manage to show that for an interval $(a,b)$, the equality $overline{mathbb{Q}cap(a,b)}=[a,b]$ is true, as you have asked, then we are done. To show this, first notice that from standard properties of the closure we already have the inclusion $overline{mathbb{Q}cap(a,b)} subseteq overline{mathbb{Q}}capoverline{(a,b)}=[a,b]$. Now, to show the reverse inclusion, we must show that for an arbitrary point $x in [a,b]$, any neighborhood of $x$ intersects the set $mathbb{Q}cap(a,b)$. Since any neighborhood of $x$ contains open balls of arbitrarily small radii centered at $x$, it is sufficient to prove that any sufficiently small ball centered at $x$ intercepts $mathbb{Q}cap(a,b)$.



        If $x in (a,b)$, since this set is open, for any sufficiently small radius $r>0$, the interval $(x-r,x+r)$ is contained in $(a,b)$, but the density of $mathbb{Q}$ then implies the existence of a rational number $q in (x-r,x+r)$, and by construction this rational number is in $mathbb{Q}cap(a,b)$.



        If $x=a$, even though in this case we cannot obtain $r>0$ such that $(x-r,x+r) subset (a,b)$, we can guarantee that the right-side $(x,x+r)$ of the interval will be contained in $(a,b)$. Density again implies that there is a rational number $q in (x,x+r)$, therefore in $mathbb{Q}cap(a,b)$, so $(x-r,x+r)$ intersects $mathbb{Q}cap(a,b)$.



        The last case where $x=b$ is analogous to the previous one, just use the left-side $(x-r,x)$ of the interval and argue in the same way.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 22 at 14:14









        Edmundo MartinsEdmundo Martins

        29228




        29228






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3083042%2fit-is-true-that-overline0-epsilon-cup-mathbb-q-cap-epsilon-1-0-1-f%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith