Let $f(x) = \sin x − x \cos x$, $0 \le x \le \pi$. Find the absolute maximum and the absolute minimum of f. Hence, or otherwise, determine the range of f. Finally, determine whether f has an inverse or not. You need not find the formula of the inverse function if exists.
I can find that the critical points are at $x=0$ and $x=\pi$ but when I do the sign test the abs max and min are also =0 What does this mean?
By the way, are you sure $x=\pi$ is a critical point? It is still a value to be checked (since it is an endpoint), but $f'(\pi)\neq 0$.
– bartgol Nov 30 '15 at 15:46