Questin on algebraic manipulation of exponential

48 Views Asked by At

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.

Screenshot here

2

There are 2 best solutions below

0
On BEST ANSWER

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*}

0
On

For any real $x$, we have that:

$$e^{ix} = \cos(x) + i \sin(x).$$