Let \(f:\mathbb R \to \mathbb R\) be a function such that for any irrational number r, and any real number x we have \(f(x)=f(x+r)\). Show that f is a constant function.
We will not help you cheat on your homework.