2cos^2x-1=0\Rightarrow{cosx=\pm{\frac{\sqrt{2}}{2}}}