Suppose $f: \mathbb{R} → \mathbb{R}$ is a continuous and periodic function with period $T > 0$. Show that: there exists an $x \in \mathbb{R}$ such that $f(x) = f(x + T/2)$.
We figured out we needed to use the intermediate value theorem (our instructor approved of the idea), but still can't figure out how to prove it. Any help is appreciated!