What are the general procedures for simplifying a trigonometric expression using Euler's formula? As an example, this is how we can simplify the following trigonometric expression:
$$\sin{x}\cos{x}$$
$$\sin{x}\cos{x} = \dfrac{e^{ix}-e^{-ix}}{2i} \times \dfrac{e^{ix}+e^{-ix}}{2}$$
$$ = \dfrac{(e^{ix}-e^{-ix})(e^{ix}+e^{-ix})}{4i}$$ $$ = \dfrac{(e^{2ix}-e^{-2ix})}{4i}$$ $$ = \dfrac{1}{2} \times \dfrac{(e^{i(2x)}-e^{-i(2x)})}{2i}$$ $$ = \dfrac{1}{2} \times \sin(2x)$$
However, how would you approach other expressions? What general steps can you take to simplify any trigonometric expression, such as the following:
$$ \tan^{-1}(\dfrac{\cos{x}-\sin{x}}{\cos{x}+\sin{x}})$$ Where $\dfrac{-\pi}{4} < x < \dfrac{\pi}{4}$