I have taken a compact seminar about Fourier analysis and someone mentioned the following: Let $f\in C(\mathbb R)$ with period 1. Let $a$ be an arbitrary irrational number. Then $$ \lim_{m\to\infty}\frac1m\sum_{n=1}^m f(an)=\int_\limits{0}^1fdx $$
Since it wasn't mentioned any proof, I've tried to verify the equation by showing it first for $f(x)=\exp(2\pi ikx)$ but didn't get far. Anybody could help using Fourier?
This result is known as Weyl's ergodic theorem.
Using Fejér's theorem, $f$ is a uniformly approximate by elements in $\textrm{Vect}(\{e^{2i\pi n\cdot};n\in\mathbb{Z}\})$. Hence, it suffices to prove that for all $n\in\mathbb{N}$, one has: $$\lim_{m\to+\infty}\frac{1}{m}\sum_{k=0}^{m-1}e^{2i\pi kn\theta}=0.$$ To see that, notice that $n\theta$ is not an integer, so that $e^{2i\pi n\theta}\neq 1$. Hence using a geometric summation, one has: $$\left|\sum_{k=0}^{m-1}e^{2i\pi k\theta}\right|\leqslant\frac{2}{|1-e^{2i\pi n\theta}|}.$$