An open set S in R is such set, that if x∈S then there exist such ε>0 , that (x−ε,x+ε) ∈S. Since for every x∈(a,b) , a<x<b, then (if either a=−∞ or b=+∞) we will define ε as min(∣x−a∣,∣x−b∣)>0.
If, for instance, a=−∞ and b=+∞, then ε:=∣x−b∣>0, same for a=−∞,b=+∞. Notice, that a can not be equal to +∞, as well as b can not be equal to +∞, since a<b. If a=−∞,b=+∞ simultaneously, we let ε=1.
With such ε, by the definition, (x−ε,x+ε)∈(a,b), if x∈(a,b). Thus, (a,b) is an open set.
A closed set S in R is such set, that its complement is open. Let's show that [a,b]C is open. Indeed, [a,b]C=(−∞,a)∪(b,+∞). Notice, that If either a=−∞, or b=+∞, then there is only one interval in the complement.
[a,b] is the set of following elements: x∈R, a≤x≤b . We have already proved that open interval is an open set. Thus, since the union of open sets is also an open set, we obtan that (−∞,a)∪(b,+∞) is an open set too. (if there was only one interval in the complement, then the last sentence can be ommitted).
So, [a,b] is a closed set.
Comments