Intervals and classical trigonometric equations
Filter a family To solve $\sin x=1/2$ to $[0,4\pi)$, first obtain the families $x=\pi/6+2k\pi$ and $x=5\pi/6+2k\pi$. Then impose the limits of the range. The solutions are:
$$\frac\pi6,\quad\frac{5\pi}6,\quad\frac{13\pi}6,\quad\frac{17\pi}6.$$The inclusion sign of the ends matters. After squaring or multiplying by a variable expression, substitute the answers into the initial equation.
A combination of sine and cosine To solve $a\sin x+b\cos x=c$, with $(a,b)\ne(0,0)$, set $R=\sqrt{a^2+b^2}$ and choose $\varphi$ with:
$$\cos\varphi=\frac aR,\qquad\sin\varphi=\frac bR.$$This is possible because the squares of these two numbers add up to 1. Using the addition formula: