Let $A$ be a measurable subset of $[0,2\pi]$, show that $\int_A {\cos nxdx} \to 0$ as $n \to \infty $.
My attempt is that since $A$ is measurable, then $\forall \epsilon>0$ there exists an open set $G$ such that $A\subseteq G$ and $|G-A|<\epsilon$ where $|.|$ denotes Lebesgue measure.
Now $G$ can be written as countable union of disjoint open intervals and for each such open interval $(a,b)$ we have $\int_a^b {\cos nxdx} = \frac{1}{n}[\sin (nb) - \sin (na)] \to 0$ as $n \rightarrow \infty$, thus it is proved that $\int_A {\cos nxdx} \to 0$ as $n \to \infty $ on set $G$.
Then I got stuck. There is a set $G-A$ left with arbitrary small measure $\epsilon$. I also feel that my attempt might not be correct... I just realized the sum of countable infinitesimal might not be zero...
Hope someone can help. Thank you!