First question I have is the following:
Is [0, 1] open relative to [0, 1]?
It seems open to me because for x in (0, 1), x is definitely an interior point of [0, 1] and for x=0, 1 there is a neighborhood centered at each point which is completely contained in [0, 1] because x>1 or x<0 are not in our attention.
If the answer is positive to the previous question, then I have this further question.
Theorem 2.30 of Baby Rudin is stated as follows.
Suppose $Y\subset X $. A subset E of Y is open relative to Y if and only if $E=Y \cap G $ for some open subset G of X.
If we consider a specific case like Y=[0, 1], X=$\mathbb {R} $ and E=Y, then G can be Y, so should G always be an open set?
My last question is the following. Is the purpose of implementing the new set G in the above Theorem to 'delete' all the points in X which are not in the sets containing the set E? Thus when G is intersected with Y, the result is the set E?