An example of neither open nor closed set

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











up vote
17
down vote

favorite
5












I need a very simple example of a set of real numbers (if there is any) that is neither closed nor open, along with an explanation of why it is so.










share|cite|improve this question



























    up vote
    17
    down vote

    favorite
    5












    I need a very simple example of a set of real numbers (if there is any) that is neither closed nor open, along with an explanation of why it is so.










    share|cite|improve this question

























      up vote
      17
      down vote

      favorite
      5









      up vote
      17
      down vote

      favorite
      5






      5





      I need a very simple example of a set of real numbers (if there is any) that is neither closed nor open, along with an explanation of why it is so.










      share|cite|improve this question















      I need a very simple example of a set of real numbers (if there is any) that is neither closed nor open, along with an explanation of why it is so.







      general-topology






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Sep 2 at 9:39









      Gaurang Tandon

      3,38822147




      3,38822147










      asked Aug 24 '12 at 0:27









      Monkey D. Luffy

      7272822




      7272822




















          5 Answers
          5






          active

          oldest

          votes

















          up vote
          28
          down vote



          accepted










          $[0,1)$



          It is not open because there is no $epsilon > 0$ such that $(0-epsilon,0+epsilon) subseteq [0,1)$.



          It is not closed because $1$ is a limit point of the set which is not contained in it.






          share|cite|improve this answer




















          • One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
            – Monkey D. Luffy
            Aug 24 '12 at 0:36






          • 2




            @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
            – Eugene Shvarts
            Aug 24 '12 at 0:37

















          up vote
          20
          down vote













          For a slightly more exotic example, the rationals, $mathbbQ$.



          They are not open because any interval about a rational point $r$, $(r-epsilon,r+epsilon)$, contains an irrational point.



          They are not closed because every irrational point is the limit of a sequence of rational points. If $s$ is irrational, consider the sequence $left dfraclfloor10^n srfloor10^n right.$






          share|cite|improve this answer




















          • $mathbb Q$ is exotic?
            – celtschk
            Sep 2 at 10:28

















          up vote
          12
          down vote













          Let $A = frac1n : n in mathbbN$.



          $A$ is not closed since $0$ is a limit point of $A$, but $0 notin A$.



          $A$ is not open since every ball around any point contains a point in $mathbbR - A$.






          share|cite|improve this answer



























            up vote
            5
            down vote













            Take $mathbbR$ with the finite complement topology - that is, the open sets are exactly those with finite complement. Then $[0,1]$ is neither open nor closed. It is not open since $mathbbRsetminus [0,1]=(-infty,0) cup (1,infty)$ is not finite, and it is not closed since its complement, $(-infty,0) cup (1,infty)$, is not open, as just demonstrated.






            share|cite|improve this answer



























              up vote
              1
              down vote













              The interval $left ( 0,1 right )$ as a subset of $mathbbR^2$, that is $left left ( x,0 right ) in mathbbR^2: x in left ( 0,1 right )right $ is neither open nor closed because none of its points are interior points and $left ( 1,0 right )$ is a limit point not in the set.






              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%2f186101%2fan-example-of-neither-open-nor-closed-set%23new-answer', 'question_page');

                );

                Post as a guest






























                5 Answers
                5






                active

                oldest

                votes








                5 Answers
                5






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                28
                down vote



                accepted










                $[0,1)$



                It is not open because there is no $epsilon > 0$ such that $(0-epsilon,0+epsilon) subseteq [0,1)$.



                It is not closed because $1$ is a limit point of the set which is not contained in it.






                share|cite|improve this answer




















                • One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
                  – Monkey D. Luffy
                  Aug 24 '12 at 0:36






                • 2




                  @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
                  – Eugene Shvarts
                  Aug 24 '12 at 0:37














                up vote
                28
                down vote



                accepted










                $[0,1)$



                It is not open because there is no $epsilon > 0$ such that $(0-epsilon,0+epsilon) subseteq [0,1)$.



                It is not closed because $1$ is a limit point of the set which is not contained in it.






                share|cite|improve this answer




















                • One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
                  – Monkey D. Luffy
                  Aug 24 '12 at 0:36






                • 2




                  @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
                  – Eugene Shvarts
                  Aug 24 '12 at 0:37












                up vote
                28
                down vote



                accepted







                up vote
                28
                down vote



                accepted






                $[0,1)$



                It is not open because there is no $epsilon > 0$ such that $(0-epsilon,0+epsilon) subseteq [0,1)$.



                It is not closed because $1$ is a limit point of the set which is not contained in it.






                share|cite|improve this answer












                $[0,1)$



                It is not open because there is no $epsilon > 0$ such that $(0-epsilon,0+epsilon) subseteq [0,1)$.



                It is not closed because $1$ is a limit point of the set which is not contained in it.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Aug 24 '12 at 0:28









                user642796

                44k557112




                44k557112











                • One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
                  – Monkey D. Luffy
                  Aug 24 '12 at 0:36






                • 2




                  @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
                  – Eugene Shvarts
                  Aug 24 '12 at 0:37
















                • One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
                  – Monkey D. Luffy
                  Aug 24 '12 at 0:36






                • 2




                  @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
                  – Eugene Shvarts
                  Aug 24 '12 at 0:37















                One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
                – Monkey D. Luffy
                Aug 24 '12 at 0:36




                One last Question, does the set has be connected? for example:- [1,2]U[3,4] ... what can we say about this set?
                – Monkey D. Luffy
                Aug 24 '12 at 0:36




                2




                2




                @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
                – Eugene Shvarts
                Aug 24 '12 at 0:37




                @MonkeyD.Luffy A finite union of closed sets is closed, an arbitrary intersection of closed sets is closed. DeMorgan's Law gives you the analogous statements for open sets.
                – Eugene Shvarts
                Aug 24 '12 at 0:37










                up vote
                20
                down vote













                For a slightly more exotic example, the rationals, $mathbbQ$.



                They are not open because any interval about a rational point $r$, $(r-epsilon,r+epsilon)$, contains an irrational point.



                They are not closed because every irrational point is the limit of a sequence of rational points. If $s$ is irrational, consider the sequence $left dfraclfloor10^n srfloor10^n right.$






                share|cite|improve this answer




















                • $mathbb Q$ is exotic?
                  – celtschk
                  Sep 2 at 10:28














                up vote
                20
                down vote













                For a slightly more exotic example, the rationals, $mathbbQ$.



                They are not open because any interval about a rational point $r$, $(r-epsilon,r+epsilon)$, contains an irrational point.



                They are not closed because every irrational point is the limit of a sequence of rational points. If $s$ is irrational, consider the sequence $left dfraclfloor10^n srfloor10^n right.$






                share|cite|improve this answer




















                • $mathbb Q$ is exotic?
                  – celtschk
                  Sep 2 at 10:28












                up vote
                20
                down vote










                up vote
                20
                down vote









                For a slightly more exotic example, the rationals, $mathbbQ$.



                They are not open because any interval about a rational point $r$, $(r-epsilon,r+epsilon)$, contains an irrational point.



                They are not closed because every irrational point is the limit of a sequence of rational points. If $s$ is irrational, consider the sequence $left dfraclfloor10^n srfloor10^n right.$






                share|cite|improve this answer












                For a slightly more exotic example, the rationals, $mathbbQ$.



                They are not open because any interval about a rational point $r$, $(r-epsilon,r+epsilon)$, contains an irrational point.



                They are not closed because every irrational point is the limit of a sequence of rational points. If $s$ is irrational, consider the sequence $left dfraclfloor10^n srfloor10^n right.$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Aug 24 '12 at 0:32









                Eugene Shvarts

                1,2371014




                1,2371014











                • $mathbb Q$ is exotic?
                  – celtschk
                  Sep 2 at 10:28
















                • $mathbb Q$ is exotic?
                  – celtschk
                  Sep 2 at 10:28















                $mathbb Q$ is exotic?
                – celtschk
                Sep 2 at 10:28




                $mathbb Q$ is exotic?
                – celtschk
                Sep 2 at 10:28










                up vote
                12
                down vote













                Let $A = frac1n : n in mathbbN$.



                $A$ is not closed since $0$ is a limit point of $A$, but $0 notin A$.



                $A$ is not open since every ball around any point contains a point in $mathbbR - A$.






                share|cite|improve this answer
























                  up vote
                  12
                  down vote













                  Let $A = frac1n : n in mathbbN$.



                  $A$ is not closed since $0$ is a limit point of $A$, but $0 notin A$.



                  $A$ is not open since every ball around any point contains a point in $mathbbR - A$.






                  share|cite|improve this answer






















                    up vote
                    12
                    down vote










                    up vote
                    12
                    down vote









                    Let $A = frac1n : n in mathbbN$.



                    $A$ is not closed since $0$ is a limit point of $A$, but $0 notin A$.



                    $A$ is not open since every ball around any point contains a point in $mathbbR - A$.






                    share|cite|improve this answer












                    Let $A = frac1n : n in mathbbN$.



                    $A$ is not closed since $0$ is a limit point of $A$, but $0 notin A$.



                    $A$ is not open since every ball around any point contains a point in $mathbbR - A$.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Aug 24 '12 at 0:38









                    user898033

                    43128




                    43128




















                        up vote
                        5
                        down vote













                        Take $mathbbR$ with the finite complement topology - that is, the open sets are exactly those with finite complement. Then $[0,1]$ is neither open nor closed. It is not open since $mathbbRsetminus [0,1]=(-infty,0) cup (1,infty)$ is not finite, and it is not closed since its complement, $(-infty,0) cup (1,infty)$, is not open, as just demonstrated.






                        share|cite|improve this answer
























                          up vote
                          5
                          down vote













                          Take $mathbbR$ with the finite complement topology - that is, the open sets are exactly those with finite complement. Then $[0,1]$ is neither open nor closed. It is not open since $mathbbRsetminus [0,1]=(-infty,0) cup (1,infty)$ is not finite, and it is not closed since its complement, $(-infty,0) cup (1,infty)$, is not open, as just demonstrated.






                          share|cite|improve this answer






















                            up vote
                            5
                            down vote










                            up vote
                            5
                            down vote









                            Take $mathbbR$ with the finite complement topology - that is, the open sets are exactly those with finite complement. Then $[0,1]$ is neither open nor closed. It is not open since $mathbbRsetminus [0,1]=(-infty,0) cup (1,infty)$ is not finite, and it is not closed since its complement, $(-infty,0) cup (1,infty)$, is not open, as just demonstrated.






                            share|cite|improve this answer












                            Take $mathbbR$ with the finite complement topology - that is, the open sets are exactly those with finite complement. Then $[0,1]$ is neither open nor closed. It is not open since $mathbbRsetminus [0,1]=(-infty,0) cup (1,infty)$ is not finite, and it is not closed since its complement, $(-infty,0) cup (1,infty)$, is not open, as just demonstrated.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Aug 24 '12 at 0:33









                            Alex Petzke

                            3,88723368




                            3,88723368




















                                up vote
                                1
                                down vote













                                The interval $left ( 0,1 right )$ as a subset of $mathbbR^2$, that is $left left ( x,0 right ) in mathbbR^2: x in left ( 0,1 right )right $ is neither open nor closed because none of its points are interior points and $left ( 1,0 right )$ is a limit point not in the set.






                                share|cite|improve this answer


























                                  up vote
                                  1
                                  down vote













                                  The interval $left ( 0,1 right )$ as a subset of $mathbbR^2$, that is $left left ( x,0 right ) in mathbbR^2: x in left ( 0,1 right )right $ is neither open nor closed because none of its points are interior points and $left ( 1,0 right )$ is a limit point not in the set.






                                  share|cite|improve this answer
























                                    up vote
                                    1
                                    down vote










                                    up vote
                                    1
                                    down vote









                                    The interval $left ( 0,1 right )$ as a subset of $mathbbR^2$, that is $left left ( x,0 right ) in mathbbR^2: x in left ( 0,1 right )right $ is neither open nor closed because none of its points are interior points and $left ( 1,0 right )$ is a limit point not in the set.






                                    share|cite|improve this answer














                                    The interval $left ( 0,1 right )$ as a subset of $mathbbR^2$, that is $left left ( x,0 right ) in mathbbR^2: x in left ( 0,1 right )right $ is neither open nor closed because none of its points are interior points and $left ( 1,0 right )$ is a limit point not in the set.







                                    share|cite|improve this answer














                                    share|cite|improve this answer



                                    share|cite|improve this answer








                                    edited Aug 3 '15 at 13:21

























                                    answered Aug 3 '15 at 9:19









                                    OGC

                                    1,31511126




                                    1,31511126



























                                         

                                        draft saved


                                        draft discarded















































                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f186101%2fan-example-of-neither-open-nor-closed-set%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        這個網誌中的熱門文章

                                        Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

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

                                        Amount of Number Combinations to Reach a Sum of 10 With Integers 1-9 Using 2 or More Integers [closed]