I asked a question on the conditions when $S_n-\lfloor S_n \rfloor \sim U([0,1))$ where
$$S_n = \sum\limits_{i=1}^n X_i$$
and the $X_i$ are i.i.d. here. The accepted answer states the conditions that lead to this along with a proof provided by H. H. Rugh. The proof is above my level, but I want to close the gap. So, I decided to ask follow-up questions around the things I don't grasp.
In the answer, he defines for each $m\in {\Bbb Z}$: $\gamma_m = {\Bbb E} \left( e^{2\pi i m X_1} \right)$ and it is claimed that the following two statements are equivalent:
- The law of $S_n \ {\rm mod}\ 1$ converge in distribution to $\ { U}([0,1))$
- $|\gamma_m|<1$ for every $m\in {\Bbb Z}^*$.
A proof is provided for the equivalence (to understand it, I need to close a lot of gaps), but even before getting into it I don't understand how $|\gamma_m| = |E(\cos(2\pi m X_1)+i \sin(2\pi m X_1))|$ can possibly be anything but $1$.
Isn't it true that for any realization of $X_1$, $|\cos(2\pi m X_1)+i \sin(2\pi m X_1)|=1$? And if so, the expected value over $X_1$ should also be $1$.
What am I missing?
EDIT: Once I wrote this down here, I noticed that we can write -
$$|\gamma_m| = |E(\cos(2\pi m X_1)) + i E(\sin(2\pi m X_1))|$$
This gives me a sense that it might not be $1$ necessarily, but still lost as to why it has to be $<1$.