i don't understand how we went from the 2nd line to the 3rd line in order to have $\cos x$ and $\sin x$. This is used in order to prove that $\cos z$ is analytic, i know there is easier ways to achieve that but i want to understand this way.
2026-04-01 05:37:35.1775021855
Questin on algebraic manipulation of exponential
48 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
By Euler's formula $e^{ix}=\cos x+ i \sin x$, we have:
\begin{equation*} \frac{e^{-y}e^{ix}+e^ye^{-ix}}{2}= \frac{e^{-y}(\cos x+i \sin x)+e^y(\cos x- i \sin x )}{2} = \frac{(e^{-y}+e^y)\cos x + i (e^{-y}-e^y)\sin x}{2} \end{equation*}