Source \begin{equation} \sin x + \cos x = \sqrt{2} \sin \left(x + \frac{\pi}{4}\right) \end{equation} Preview