I need to find the general solution to the equation
$$\sin(x) + \sqrt3\cos(x)=\sqrt2$$
So I went ahead and divided by $2$, thus getting the form
$$\cos(x-\frac{\pi}{6})=\cos(\frac{\pi}{4})$$
Thus the general solution to this would be $$x = 2n\pi \pm\frac{\pi}{4}+\frac{\pi}{6}$$
Which simplifies out to be,
$$x = 2n\pi +\frac{5\pi}{12}$$ $$ x = 2n\pi -\frac{\pi}{12}$$
But the answer doesn't have the 2nd solution as a solution to the given equation. Did I go wrong somewhere?