\(2cos2x-1=0\Rightarrow cos2x=\dfrac{1}{2}\)
\(\Rightarrow\left[{}\begin{matrix}2x=\dfrac{\pi}{3}+k2\pi\\2x=-\dfrac{\pi}{3}+k2\pi\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}x=\dfrac{\pi}{6}+k\pi\\x=-\dfrac{\pi}{6}+k\pi\end{matrix}\right.\)
\(x\in\left[0;\pi\right]\Rightarrow x=\left\{\dfrac{\pi}{6};\dfrac{5\pi}{6}\right\}\)