We have $f:\Bbb R\to \Bbb R^*$, a function that admits primitives and admits the relations $$\cos \left(f(x)\right)=1,\ ∀x\in \Bbb R, \quad\text{and}\quad|f(\pi )−\pi |≤\pi .$$
What is the value of $f(100)$?
My thought. We obviously have $$\cos (f(100)) =1\overset{?}{\implies} f(100) =\arccos (1),$$ but this seems not to make any sense at all.
How can I use the provided inequality $|f(\pi)−\pi|≤\pi$?
Because $f$ has a primitive $F$, then $f = F'$ has the intermediate value property. Note that $f(\mathbb{R}) \subseteq \{2kπ \mid k \in \mathbb{Z}^*\}$ since $\cos(f(x)) \equiv 1$ and $f(x) \neq 0 \ (\forall x \in \mathbb{R})$, thus $f$ is a constant function. Also$$ |f(π) - π| \leqslant π \Longrightarrow 0 \leqslant f(π) \leqslant 2π, $$ therefore$$ f(π) = 2π, $$ which implies$$ f(x) \equiv 2π. \quad \forall x \in \mathbb{R} $$