Phương trình tương đương với:
$\dfrac{m}{2}.2\sin x\cos x+\dfrac{1-\cos2x}{2}=m$
$\to m\sin2x+1-\cos2x=2m$
$\to m\sin2x-\cos2x=2m-1$
Để phương trình có nghiệm:
$m^2+1\ge (2m-1)^2$
$\to 4m^2-4m+1\le m^2+1$
$\to 3m^2-4m\le 0$
$\to 0\le m\le \dfrac{4}{3}$