I'm trying to solve this equation:
$e^z-2ie^{-z}=i-2$
Here's what I've done: $z=x+iy$
$e^x(\cos y + i \sin y) - 2ie^{-x} (\cos y - i \sin y) = i-2$
(1) $ \ \ e^x \cos y - 2e^{-x} \sin y = -2 \ $ and $ \ \ $ (2) $ \ \ e^x \sin y - 2e^ {-x} \cos y = 1$
Now I substitute $e^x = w \neq 0$
(1) $ \ \ w^2 \cos y + 2w - 2 \sin y = 0 \ $ and $ \ \ $ (2) $ \ \ w^2 - w - 2 \cos y = 0$
$\Delta_1 = 4+8 \sin y \cos y = 4 + 4 \sin 2y, \ \ \Delta_2 = 1+4 \sin 2y$
From the first equation we have $w_1 = -1- \sqrt{1+\sin 2y}, \ \ w_2 = -1+ \sqrt{1+ \sin 2y}$.
But after I plug one of the $w_1, w_2$ I get a nasty equation which I don't know how to solve.
Could you help?
$$(e^z)^2-(i-2)e^z-2i=0$$
$$e^z=\frac{i-2\pm\sqrt{(i-2)^2+8i}}2=\frac{i-2\pm(i+2)}2$$
as $(a-b)^2+4ab=(a+b)^2$
$+\displaystyle\implies e^z=i=e^{\left(2n\pi i+i\dfrac\pi2\right)}$
$\displaystyle-\implies e^z=-2=e^{(\ln2+2n\pi i+i\pi)}$ where $n$ is any integer