Let f be a 2$\pi$ periodic, Riemann integrable function and let $\alpha$ be an irrational number. Suppose that $f(x+2\pi\alpha)=f(x)$ for all x. Show that f is constant almost everywhere.
I know that If f,g is $2\pi$ periodic function and the coefficients of Fourier series of f,g are same, then f=g
Finally, I want to prove that there exists a constant c such that $\{x:f(x)\neq c\} $is of measure zero.
How to prove that?