Alternatively, we can use the standard formula, sinP−sinQ=2cos(2P+Q)sin(2P−Q).
A function is increasing exactly when its derivative is positive, so we are looking for those ranges of values of
x
such that
dxd(3cosx−cos3x)>0
which, from the above, is equivalent to the inequality
sinxcos2x>0.
This holds exactly when sinx and cos2x have the same sign. We know that sinx is positive when 0<x<π, so the required inequality can only hold when cos2x>0. We know that:
cos2x>0 when 0<x<π/4,
cos2x<0 when π/4<x<3π/4, and
cos2x>0 when 3π/4<x<π.
The regions are therefore 0<x<π/4 and 3π/4<x<π.
From the above, we know that y is
equal to 2 when x=0;
increasing in the region 0<x<π/4;
stationary when x=π/4;
decreasing in the region π/4<x<3π/4;
stationary when x=3π/4;
increasing when 3π/4<x<π; and
equal to −2 when x=π.
The only aspects left to consider are the location of the
x
-intercept in the decreasing phase and the value of the function at the stationary points. Symmetry suggests that the
x
-intercept might be at
x=2π
so we start by trying that.
At x=2π,yAt x=4π,yAt x=43π,y=3cos2π−cos23π=0,=3cos4π−cos43π=232+22=22,=3cos43π−cos49π=−232−22=−22.
We also have rotational symmetry about (2π,0), as y(x)=−y(π−x) for any 0<x<2π. We thus have the following sketch graph.