Prove that $a\sin x+b\cos x=\sqrt{a^2+b^2} \sin\left(x+\tan^{-1}\left(\frac{b}{a}\right)\right)$

45 Views Asked by At

Recently, I came across a beautiful question. I tried several ways of solving it, but I could not reach anywhere. The question goes like:

Prove that:

$$a\sin x+b\cos x=\sqrt{a^2+b^2} \sin\left(x+\tan^{-1}\left(\frac{b}{a}\right)\right)$$

Please give me a hint. Thanks in advance.