4: The derivative
f ′(x) = 2 + cos(x)
is continuous at π and positive at π, therefore f is monotone on some neighborhood of a.
To find the derivative, use the appropriate formula.
Next hint Answer