Solution:
Key idea: On the closed interval [0,2π], the maximum and minimum values occur at critical points or at the end points, so we compare f at all of them.
Step 1 — Differentiate and factorise.
Let f(x)=sinx+21cos2x. The derivative of cos2x is −2sin2x, and we then use sin2x=2sinxcosx.
f′(x)=cosx−sin2x
f′(x)=cosx−2sinxcosx
f′(x)=cosx(1−2sinx)
Step 2 — Find the critical points.
So the derivative is zero when cosx=0, or when sinx=21. In [0,2π] these give two points.
x=6πorx=2π
Step 3 — Work out the values.
At x=0, sinx=0 and cos2x=1.
f(0)=21
At x=6π, sinx=21, and cos2x is cos3π, so it is also one half.
f(6π)=21+41
f(6π)=43
At x=2π, sinx is 1, and cos2x is cosπ, so it is minus one.
f(2π)=1−21
f(2π)=21
Step 4 — Pick the largest and the smallest.
The largest value is 43. The smallest value is 21, and it is reached at both x=0 and x=2π.
Note: The minimum 21 occurs at both end points, x=0 and x=2π, so both points should be given.
Therefore, the maximum value is 43 at x=6π, and the minimum value is 21 at x=0 and at x=2π.