Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let $E$ be a closed set in $\mathbb{R}$.

Then $E^c$ is open, hence it is a union of at most countable collection of disjoint segments, $\{I_i\}$.

Say, $I_i=(a_i,b_i)$.

Now, suppose $x\in E$ and $x$ is not an interior point of $E$.

How do i prove that $x$ is an endpoint for some $I_i$?

share|cite|improve this question
You can't. See this related question. – arjafi Oct 23 '12 at 15:40
up vote 3 down vote accepted

The simplest example I can come up with to show that this is not the case is the following: Let $$E = \left\{ \frac{-1}{n} : n \in \mathbb{N} \right\} \cup \{ 0 \} \cup \left\{ \frac{1}{n} : n \in \mathbb{N} \right\}.$$ Clearly $E$ is closed, and its complement is $$( - \infty , -1 ) \cup \bigcup_{n=1}^\infty \left( \frac{-1}{n} , \frac{-1}{n+1} \right) \cup \bigcup_{n=1}^\infty \left( \frac{1}{n+1} , \frac{1}{n} \right) \cup ( 1 , + \infty ).$$ However $0$ is not the endpoint of any of these intervals.

share|cite|improve this answer
I have checked some solutions, but it all states that if $x\in E$, then $x$ is an interior point of $E$ or $x$ is an endpoint. – Katlus Oct 23 '12 at 16:33
See 4.5 in the link. Now, i'm sure that that proof is wrong, but then how do i show this? It's ridiculous that every solution i found (more than 10) has the same argument which is wrong. – Katlus Oct 23 '12 at 16:35
@Katlus: I haven't gone through the details, but the only outstanding case is if the point $p$ is an accumulation point of endpoints of the open intervals, and hence also of $E$ itself. You should then be able to use the fact that the original function $f$ is continuous on $E$ together with the fact that $g$ is linear on the open intervals $(a_i , b_i)$ to show that $g$ is continuous at $p$. – arjafi Oct 23 '12 at 18:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.