From: Albert on
Find the local maximum and minimum values of f (x) for each of
the
following and state the corresponding x-value of each.
(Consider 0 = x = 2 only.)
f(x) = 2cos(x) - [2cos^2(x) - 1]

f'(x) = -2sin(x)[1 - 2cos(x)] = 0
x = 0, pi, 2pi, pi / 3, 5pi / 3

I want to use a sign diagram or gradient table to distinguish between
local maxima and minima but I'm not sure as to what values to test
around each zero. I tried testing x = -pi for the sign of the gradient
before x = 0 but x = -pi is itself a zero. I need an algebraic method.

TIA,
Albert