The question is to find the general solution of $\sin5x = \cos2x$ I did the following:
$\sin5x-\cos2x=0$
$\implies\sin5x-\sin(\frac{\pi}2-2x)=0$
$\implies\cos(\frac{3x}2 +\frac{\pi}4)\sin(\frac{7x}2 - \frac{\pi}4)=0$
And I got the answers as:
$(4n + 1)\frac{\pi}{14} = x$ (Which is correct)
And
$(4n+1)\frac{\pi}6 =x$ (Which apparently is wrong and the correct answer is given to be $x=-(4n-1)\frac{\pi}6$ Could somebody please tell me where I went wrong?
I think it's better after your first step to use the following. $$5x=\frac{\pi}{2}-2x+2\pi k,$$ where $k\in\mathbb Z$ or
$$5x=\frac{\pi}{2}+2x+2\pi k.$$