3
$\begingroup$

Question: Is there a real valued function $f:\mathbb{R}\to\mathbb{R}$ such that its set of discontinuities is $\mathbb{Q}$ and its set of zeros $\{x\in \mathbb{R}\mid f(x)=0\}$ is also $\mathbb{Q}$?

It's well known that the Thomae function has as discontinuities the rationals. However, its zero set is $\mathbb{R}\setminus\mathbb{Q}$. On the other hand, the characteristic function of the set of irrational numbers has the rationals as zero set but its set of discontinuities is $\mathbb{R}$. So none of the candidates, that come to mind first, work.

$\endgroup$

1 Answer 1

21
$\begingroup$

There isn't such a function. If $f$ is nonzero and continuous at some point $x$, then there is a neighbourhood of $x$ on which $f$ doesn't vanish. Hence if the set of zeros of $f$ is dense, then the function has to be discontinuous at every value on which it doesn't vanish.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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