Let $g:\mathbb{R} \to \mathbb{R}$ be a differentiable function such that $|g'(x) |\le M$ for all $x\in \mathbb{R}$. For what values of $a$ will the function $f(x) = x + a g(x)$ be necessarily one-to-one?
As $g'$ is bounded $g$ is uniformly continuous. Hence $f$ is continuous. Now I tried to use the result that If a continuous function is monotone then it is one one. But I failed to get any conclusion. What was my fault? What is the right way?