I stumbled upon this question in my course, and I am out of ideas. Let $f$ be a periodic function $$f(x)=f(x+l), \qquad l>0$$
Prove that if it is not constant, then $\lim_{x\to 0}f\left(\frac1x\right)$ does not exist.
I don't understand why it's true, let alone how to prove it.
Assume the limit $\lim_{x \to 0} f(1/x) = a$ exists. Let $\varepsilon > 0$. Now there exist $\delta > 0$ such that \begin{align} |x| < \delta & \implies |f(1/x) - a| < \varepsilon\,. \end{align} This is equivalent with $$ |y| > 1/\delta \implies |f(y) - a | < \varepsilon\,. $$ Thus for all $y \in (1/\delta, \infty)$ we have $f(y) \in (a - \varepsilon, a + \varepsilon)$.
Because $f(y-l) = f(y)$ this implies that for all $y \in (1/\delta -l, \infty)$ we have $f(y) \in (a- \varepsilon, a + \varepsilon)$. Continuing this shows that $f(y) \in (a - \varepsilon, a + \varepsilon)$ for all $y \in \mathbb{R}$.
Since $\varepsilon$ was arbitrary, we must have $f(y) = a$ for all $y$.
So if the limit exists, $f$ is constant. Thus if $f$ is not constant, the limit does not exist.