According to Bohr, the definition of the almost periodic function is:
A function $f:\mathbb{R}\rightarrow \mathbb{C}$ is called almost periodic if it is continuous and if for every positive $\epsilon$, there exists a positive number $l$ such that every closed interval of length $l$ contains an $\epsilon$-almost period.


Intuitively, when $\epsilon$ is getting smaller, the corresponding $l$ is getting larger. But is this always correct? If it is correct, may I ask how to prove it? Also, is there any relation between $\epsilon$ and the corresponding $\epsilon$-almost period?



Question on the definition of almost periodic function
It seems to me that if an interval is an $\epsilon$-almost period then it is trivially an $\epsilon'$-almost period for any $\epsilon' >\epsilon$. So as $\epsilon$ gets smaller the set of intervals which contain $\epsilon$-almost periods shrinks (i.e., fewer intervals have this property).


As to the second question, consider the function $\sum\_1^\infty 2^{-n} e^{ib\_nx}$ where $(b\_n)$ is any sequence going to infinity. In order to contain a $2^{-n}$-almost period you'll need length on the order of $b\_n$. So there's no upper bound on the length of the intervals as a function of $\epsilon$.


