I wish to know if the following is true:
Let $f : [\alpha, \beta]\to \mathbb R$ be a function so that $$ \lim_{x\to x_0} f(x) = 0$$ for all $x_0 \in [\alpha, \beta]$. Then $f(x) = 0$ for some $x\in [\alpha, \beta]$.
The Thomae's function $f: [0,1]\to \mathbb R$
$$f(x) =\begin{cases} 1/q & \text{if }x= p/q\in \mathbb Q, \\ 0 & \text{otherwise.}\end{cases}$$
leads me to the above question. The Thomae function has limit zero everywhere, althought it is nonzero in $\mathbb Q$. I think I can take any countable dense subset $D\subset [\alpha, \beta]$ and construct a function which is nonzero in $D$ but limit equals zero everywhere. But I can't think of a function that is nonzero everywhere but has zero limit everywhere.