Open or Closed: Analyzing the Intersection of Rationals and an Interval

In summary, the homework statement is that the set S is open or closed. However, the set is not closed because there exists an irrational element within the neighborhood around a rational element. S is not open, so S is closed.
  • #1
gbean
43
0

Homework Statement


Given the set S = the intersection of the rationals and the interval [0, 1], is S open or closed?


Homework Equations


Definition of open: for all elements of S, there exists epsilon > 0 such that the neighborhood (x, delta) is a subset of S.

The Attempt at a Solution


Since the rationals are dense in the reals, then I will have an infinite union of open neighborhoods around the rational elements of S, which should mean that the set is open.

But this is wrong because of the following explanation I was given:
Taking some neighborhood around an element of S, there exists a rational element and an irrational element in this neighborhood.

Since there exists an irrational element in this neighborhood, then this neighborhood is not an element of S, and S is not open.

Also, S is not closed. The complement of S is not open because there exists a rational element in the neighborhood of an element of S, so the neighborhood is not a subset of S. S is not open, so S is closed.

I basically don't understand the explanation for why the set is neither open nor closed. If there exists an irrational element within the neighborhood around a rational element of the set, does this mean that the neighborhood is no longer a part of the set? So a neighborhood can only be contained within a set if every element within that neighborhood is also an element of the set?
 
Physics news on Phys.org
  • #2
But then I can take an infinite union of open sets (neighborhoods) that will only contain the rational elements, so shouldn't this be open?
 
  • #3
For a set to be open, every member must be an "interior point". That means there must be some neighborhood of the point that itself contains only points from the set. Here, that would mean there must be some interval around a rational number that contains only rational numbers. But there exist irrational numbers in every interval so that is not true.

For a set to be closed, its complement must be open. The complement of this set is "all numbers less than 0" union "all number greater than 1" union "the irrational numbers between 0 and 1". Again, it is true that there exist rational numbers in any interval so there cannot exist an interval around an irrational number between 0 and 1 that contains only irrational numbers. That set is not open so the set of rationals between 0 and 1 is not closed.
 
  • #4
gbean said:
But then I can take an infinite union of open sets (neighborhoods) that will only contain the rational elements, so shouldn't this be open?
No, you can't. NO neighborhood (open interval) contains only rational numbers, much less an infinite union.
 
  • #5
Ok, that makes sense. Thank you!
 

1. What does it mean for a set to be open or closed?

For a set to be open or closed is a concept in topology, which is the study of spaces and their properties. An open set is a set that does not contain its boundary points, while a closed set is a set that contains all of its boundary points.

2. How can you determine if a set is open or closed?

To determine if a set is open or closed, you can use the definitions of open and closed sets. If the set does not contain any of its boundary points, then it is open. On the other hand, if the set contains all of its boundary points, then it is closed.

3. What is the difference between an open set and a closed set?

The main difference between an open set and a closed set is the inclusion of boundary points. An open set does not contain any of its boundary points, while a closed set contains all of its boundary points. Another difference is that an open set can be infinite, while a closed set must be finite.

4. Can a set be both open and closed?

No, a set cannot be both open and closed. This is because the definitions of open and closed sets are mutually exclusive. A set can either contain its boundary points and be closed or not contain its boundary points and be open.

5. Why is it important to know if a set is open or closed?

Knowing if a set is open or closed is important in topology because it helps us classify different types of spaces and understand their properties. It also allows us to define other concepts such as continuity and convergence, which are crucial in many areas of mathematics and science.

Similar threads

Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
894
  • Calculus and Beyond Homework Help
Replies
1
Views
505
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
25
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
Back
Top