# Complex Sine

Solve the equation sin z = 2 for complex z. You only need the
formula you are given for sin z in terms of the exponential
function, and to solve a quadratic equation and use the logarithmic
function.

## Problem

Show that the complex solutions of $\sin z = 2$ are given by $$z =
{\pi \over 2} - i \log (2\pm\sqrt 3) +2n\pi.$$

## Getting Started

One method is to use the formula $$\sin z = {1\over 2i}(e^{iz} -
e^{-iz})$$ substitute $w=e^{iz}$ and solve for $w$.

## Student Solutions

Thank you to Barinder Singh Banwait, Langley Grammar School; Angus Balkham from Bexhill College and Derek Wan for your excellent solutions.

As $$\sin z = {1\over 2i}\left(e^{iz} - e^{-iz}\right) = 2$$ then, substituting $w=e^{iz}$, we have $$w - {1\over w} = 4i.$$ So $w^2 - 4iw -1 = 0$ and the solutions of this quadratic equation are: $$w = e^{iz} = {4i \pm \sqrt{- 12} \over 2} = i\left(2\pm \sqrt 3\right).$$ Taking logarithms gives $$iz = \log_e i\left(2\pm \sqrt 3\right) = \log_e i + \log_e\left(2\pm \sqrt 3\right) = i{\pi\over 2} + \log_e \left(2\pm \sqrt 3\right).$$ Dividing by $i$ gives the solutions $z = {\pi \over 2} -i \log_e \left(2\pm \sqrt 3\right)$ but since $\sin z$ is periodic with period $2\pi$ the set of all solutions is given by $$z ={\pi \over 2} - i \log \left(2\pm\sqrt 3\right) +2n\pi.$$

The same method works to give solutions for $\sin z = a$ where $a$ is any complex number.

The step in the solution above $\log_e i = {\pi \over 2}$ follows from the definition of the complex logarithm function using $|i|=1$ and $\arg i = {\pi \over 2}$. The logarithms of $z$ are the numbers $\lambda$ such that $e^{\lambda} = z$, that is: $$\lambda = \log |z| + i (\arg z + 2\pi n)$$ for integer $n$ . It is easy to check: $$e^{\log |z| + i (\arg z + 2\pi n)}= e^{\log |z|} \times e^{i\arg z}\times e^{2\pi ni} = |z|e^{i\arg z} = z$$ giving the complex number $z$ in modulus-argument form. Every complex number has infinitely many complex logarithms each differing by an integer multiple of $2\pi i$ because $e^{2\pi ni}=1$.

As $$\sin z = {1\over 2i}\left(e^{iz} - e^{-iz}\right) = 2$$ then, substituting $w=e^{iz}$, we have $$w - {1\over w} = 4i.$$ So $w^2 - 4iw -1 = 0$ and the solutions of this quadratic equation are: $$w = e^{iz} = {4i \pm \sqrt{- 12} \over 2} = i\left(2\pm \sqrt 3\right).$$ Taking logarithms gives $$iz = \log_e i\left(2\pm \sqrt 3\right) = \log_e i + \log_e\left(2\pm \sqrt 3\right) = i{\pi\over 2} + \log_e \left(2\pm \sqrt 3\right).$$ Dividing by $i$ gives the solutions $z = {\pi \over 2} -i \log_e \left(2\pm \sqrt 3\right)$ but since $\sin z$ is periodic with period $2\pi$ the set of all solutions is given by $$z ={\pi \over 2} - i \log \left(2\pm\sqrt 3\right) +2n\pi.$$

The same method works to give solutions for $\sin z = a$ where $a$ is any complex number.

The step in the solution above $\log_e i = {\pi \over 2}$ follows from the definition of the complex logarithm function using $|i|=1$ and $\arg i = {\pi \over 2}$. The logarithms of $z$ are the numbers $\lambda$ such that $e^{\lambda} = z$, that is: $$\lambda = \log |z| + i (\arg z + 2\pi n)$$ for integer $n$ . It is easy to check: $$e^{\log |z| + i (\arg z + 2\pi n)}= e^{\log |z|} \times e^{i\arg z}\times e^{2\pi ni} = |z|e^{i\arg z} = z$$ giving the complex number $z$ in modulus-argument form. Every complex number has infinitely many complex logarithms each differing by an integer multiple of $2\pi i$ because $e^{2\pi ni}=1$.

## Teachers' Resources

The formula $$\sin z = {1\over 2\pi}(e^{iz} - e^{-iz})$$ can be
verified by showing that the series expansion for $\sin z$, that is
$$\sin z = z - z^3/3! + z^5/5! - z^7/7! + ... $$ can be obtained
using the series expansions $$e^{iz} = 1 + iz + (iz)^2/2! + ...$$
and $$e^{-iz} = 1 -iz + (iz)^2/2! + ...$$