9: Usually the easiest way to prove that a function is constant is to use derivative for it. Find derivative of the given function and determine intervals such that the function is continuous on them and differentiable on their interiors.

Next hint
Answer