Formula
a \sin x + b \cos x = R \sin (x+\varphi ), \text{ with } R=\sqrt{a^{2}+b^{2}}, R \cos \varphi =a, R \sin \varphi =b
LaTeX
a \sin x + b \cos x = R \sin (x+\varphi ), \text{ with } R=\sqrt{a^{2}+b^{2}}, R \cos \varphi =a, R \sin \varphi =b
Plain text
a sin x + b cos x = R sin(x+φ), with R=√(a²+b²), R cosφ=a, R sinφ=b
Read the topic: Trigonometric identities: the main toolkit