\frac{\cos 2x}{4}=\frac{1-2\sin^2 x}{4}=-\frac{\sin^2 x}{2}+\frac{1}{4}