I am trying to solve the following problem:
Let $f:[a, b] \rightarrow \mathbb{R}$ be Riemann integrable. Suppose that $f$ is such that for any $c \in [a,b]$, $f$ continuous at $c$ implies $f(c)=0$. I need to prove that then the set $$ X=\{x \in[a, b] ; f(x) \neq 0\} $$ has empty interior (notation: $\operatorname{int}(x)=\varnothing$).
What have i tried so far?
Since f is continuos at $c \in [a, b]$ for every $\epsilon > 0$ there exists $\delta > 0$ such that $\forall$ $\bar{x} \in [a,b]$ and $|\bar{x} - c|<\delta$ then $|f(\bar{x})-f(c)|<\varepsilon$
Since $f(c) = 0$ we have that $|f(\bar{x})|<\varepsilon$
Now i am stuck. Since i am trying to prove that $X$ has empty interior, i should come to the conclusion that there does not exist $\bar{\epsilon} > 0$ such that $$ (x-\bar{\epsilon}, x+\bar{\epsilon}) \subset X $$ but i just cannot see the connection between what i have already done and the conclusion i should reach.
Can someone help?
Thanks in advance, Lucas