In the complex ‐plane, the function is defined using and or the exponential function in the points and through the formula: In the points , where has zeros, the denominator of the last formula equals zero and has singularities (poles of the first order). Here are two graphics showing the real and imaginary parts of the cotangent function over the complex plane.
