Properties of dense sets

245 Views Asked by At

Let $A$ be a countable set dense in $[0,1]$ and we have $f(n)=0$ for all $n$ in $A$.

Does this imply that $f(x)=0$ almost everywhere in $[0,1]$?

1

There are 1 best solutions below

3
On

If $f$ is also continuous, then $f$ has to vanish everywhere, since, for every $x\in [0,1]$, there exists a $x_n\to x$, with $\{x_n\}\subset A$, and $$0=f(x_n)\to f(x).$$