Skip to main content
Became Hot Network Question
edited title
Link
Denis Serre
  • 52.3k
  • 10
  • 146
  • 300

Function thosewhose sets of discontinuities and zeros are the rationals

Source Link
tj_
  • 2.2k
  • 1
  • 18
  • 24

Function those sets of discontinuities and zeros are the rationals

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.