# Closed sets - Simple question, if you know the answer.

• mattmns

#### mattmns

First I am in $\mathbb{R}$ with the standard metric [d(x,y)=|y-x|]. Is $[0,\infty)$ considered a closed set? I would think yes, since I would consider $(-\infty,0)$ to be an open set. However, I can't seem to find any examples like this in our book, and I have yet to be able to find anything online either to clarify this. I guess I am not sure how to deal with infinity. Thoughts? Thanks!

edit... Last time I posted part of a question people wanted to see the whole thing.

So here is the question: Let $(\mathbb{R},d)$ be the real line with the standard metric. Give an example of a continuous function $f:\mathbb{R}\to\mathbb{R}$, and a closed set $F\subseteq \mathbb{R}$, such that $f(F) = \{f(x) : x \in F\}$ is not closed.

So I was thinking of taking $f(x)=e^x$ and taking $(-\infty,0]$ as my closed set. Since that would be mapped into $(0,1]$ which is not closed. Here arises my question of is $(-\infty,0]$ closed.

Also, if you have any insightful examples for this question, I would love to see them. Thanks!

Last edited:
If you consider the complement of the set to be open, then you had better consider the set to be closed. Right?

Well yeah, that is why I was guessing it to be closed. However, I was not sure if either set was open or closed. From your response, though, I am guessing I was right in my guesses.

Please say, "It's not a guess". I guess we (I guess I should maybe say I?) used the word guess too much, and I guess I am confused by your response :rofl:

OK, so $(0,\infty)$ is open, and hence the complement is closed. And thus my example of a function and closed set produces an open set. I guess we (I guess I should maybe say I?) used the word guess too much, and I guess I am confused by your response :rofl:

OK, so $(0,\infty)$ is open, and hence the complement is closed. And thus my example of a function and closed set produces an open set. That's better. Show some CONFIDENCE!

First I am in $\mathbb{R}$ with the standard metric [d(x,y)=|y-x|]. Is $[0,\infty)$ considered a closed set? I would think yes, since I would consider $(-\infty,0)$ to be an open set. I guess I am not sure how to deal with infinity. Thoughts?

Here's something for you. What is the closure/adherence of $[0,\infty)$ ?

You haven't told us what DEFINITION of closed set you are using! Don't you think that's important?

The reason I mention that is that there are, in fact, several different definitions of "closed" set. One that is commonly used is "complement of an open set". Since you say " I would think yes, since I would consider $(-\infty,0)$ to be an open set", I take it you are using that one.

Okay, how would you prove that the complement of $[0,\infty)$, which is $(-\infty,0)$ to be an open set? Welll, that depends on your definition of open set! Probably you are using "every member is an interior point". So what is the definition of "interior point"? That some neighborhood of the point is a subset of your original set. If x is in $(-\infty, 0)$, then is it a negative number. What if you take $\delta$= -a/2? Can you show that $(x- \delta, x+ \delta)$ contains only negative numbers? If so then you have shown that $(-\infty, 0)$ is an open set and so $[0,\infty)$ is a closed set.

You probably learned, in Calculus or before, that an interval is "open" if it has "(" and ")" and closed if it has "[" and "]". Of course, $[0, \infty)$ is confusing because it has both! But $\infty$ isn't a real number so ...

That can be used as another definition of "open" and "closed":
We say that a point is an "interior" point of a set if some neighborhood is a subset of the set (same definition as above). We say that a point is an "exterior" point of a set if it is an interior point of the complement of the set (some neighborhood contains NO member of the set). We say that a point is a "boundary" point of a set if it is neither an interior point or an exterior point of the set.

A set is open if it contains NONE of its boundary points, closed if it contains ALL of its boundary points.
What are the boundary points of $[0, \infty)$?

For extra credit: it is clear that if a set contains some of its boundary points, but not all, it is neither open nor closed. Under what conditions is a set both open and closed?

Here's something for you. What is the closure/adherence of $[0,\infty)$ ?

I would say the closure would be still $[0, \infty)$

You haven't told us what DEFINITION of closed set you are using! Don't you think that's important?

The reason I mention that is that there are, in fact, several different definitions of "closed" set. One that is commonly used is "complement of an open set". Since you say " I would think yes, since I would consider $(-\infty,0)$ to be an open set", I take it you are using that one.

Okay, how would you prove that the complement of $[0,\infty)$, which is $(-\infty,0)$ to be an open set? Welll, that depends on your definition of open set! Probably you are using "every member is an interior point". So what is the definition of "interior point"? That some neighborhood of the point is a subset of your original set. If x is in $(-\infty, 0)$, then is it a negative number. What if you take $\delta$= -a/2? Can you show that $(x- \delta, x+ \delta)$ contains only negative numbers? If so then you have shown that $(-\infty, 0)$ is an open set and so $[0,\infty)$ is a closed set.

You probably learned, in Calculus or before, that an interval is "open" if it has "(" and ")" and closed if it has "[" and "]". Of course, $[0, \infty)$ is confusing because it has both! But $\infty$ isn't a real number so ...

That can be used as another definition of "open" and "closed":
We say that a point is an "interior" point of a set if some neighborhood is a subset of the set (same definition as above). We say that a point is an "exterior" point of a set if it is an interior point of the complement of the set (some neighborhood contains NO member of the set). We say that a point is a "boundary" point of a set if it is neither an interior point or an exterior point of the set.

A set is open if it contains NONE of its boundary points, closed if it contains ALL of its boundary points.
What are the boundary points of $[0, \infty)$?

For extra credit: it is clear that if a set contains some of its boundary points, but not all, it is neither open nor closed. Under what conditions is a set both open and closed?

Sorry about the definition. Our definition of open was containing none of its boundary points. However, in our last homework we had to prove that a set is open iff its complement is closed, and that a set E is open iff E = Int(E) [Interior of E] (among a ton of other properties).

The boundary point/s of $[0,\infty)$ would be 0 which is contained in the set and hence the set is closed.

A set could be open and closed if there were no boundary points. This could happen if the set was empty, or if we had the complete space as our set.