I'm trying to solve a problem from an old qualifying exam that asks to show that $\displaystyle\int_{E}e^{inx}dx$ is nonzero for some integer $n\neq 0$. Here $E$ is assumed to be a measurable set of measure 1.
How do I approach this problem? Do I need to use some result from Fourier analysis or is this a problem from Lebesgue integration theory. So far, the results I know of don't seem to work at all.
Hint: Consider the $2\pi$-periodic function $f=\sum_{n\in\mathbb{Z}} 1_{E+2\pi n}$. Note that if $g\in L^\infty(\mathbb{R})$ is $2\pi$-periodic, then $\int_E g=\int_0^{2\pi}fg$. Now what can you say about the Fourier series of $f$, assuming $\int_E e^{inx}dx=0$ for all nonzero integers $n$?
How to finish the proof from here is hidden below: