I was working on a trig question and got stuck, but then I noticed a possible way to solve the problem. However, this way seemed to be slightly unconventional and possibly not what the book was looking for.
The question was: "Find $k$ and $b$ when $\sqrt3 \sin x + \cos x=k\sin(x+b)$" The first thing I did was to expand $k\sin(x+b)$ to $k\sin x\cos b+k\cos x\sin b$. Here is where I got stuck. I tried several different things, but I hit dead ends. Then I tried to equate coefficients and got $k\cos b=\sqrt3$ and $k\sin b=1$ which simplified to: $\cos b=\displaystyle{\sqrt3 \over k}$ and $\sin b=\displaystyle{1\over k}$. The answer from there is fairly simple to get which is $k=2$ and $b=\displaystyle{\pi\over6}$.
However this method seems rather dubious and so I was wondering if someone new a better way of solving the problem using more rigorous mathematical methods.