# Trigonometry/Functions of complex variables

The trigonometric functions can be defined for complex variables as well as real ones.

One way is to use the power series for sin(x) and cos(x), which are convergent for all real and complex numbers. An easier procedure, however, is to use the identities from the previous section:

- cos(
*i*x) = cosh(x) - sin(
*i*x) =*i*sinh(x) - tan(
*i*x) =*i*tanh(x)

Any complex number z can be written z = x+*i*y for real x and y. We then have

- sin(z) = sin(x+
*i*y) = sin(x)cos(*i*y) + cos(x)sin(*i*y) = sin(x)cosh(y) +*i*cos(x)sinh(y)

- cos(z) = cos(x+
*i*y) = cos(x)cos(*i*y) - sin(x)sin(*i*y) = cos(x)cosh(y) -*i*sin(x)sinh(y)

These functions can take any real or complex value, however large. Nevertheless, they still satisfy

- sin
^{2}(x) + cos^{2}(x) = 1

Also, it is easily shown that all the results such as sin(z+2π)=sin(z) and sin(-z)=-sin(z) are still true.

Clearly, sin(z) and cos(z) are real if y=0 so z is real. Otherwise, sin(z) is real if cos(x)=0 and cos(z) is real if sin(x)=0.

Since cosh(y) is never zero, and sin(x) and cos(x) are never simultaneously zero, there are no zeroes of sin(z) and cos(z) other than the ones on the real number axis.