An expert is a person who has made all the mistakes that can be made in a very narrow field, Niels Bohr

The complex exponential function, denoted as $e^z$ or $\exp(z)$, is one of the most important functions in all of mathematics. It is the unique entire function that extends the real exponential function $e^x$ to the complex plane. This function is not only entire but also periodic.
To define the complex exponential function, we seek a function $f: \mathbb{C} \to \mathbb{C}$ that satisfies two key properties:
Let $z = x + iy$ with $x, y \in \mathbb{R}$. Using properties (1) and (2): $f(z) = f(x + iy) \overset{(1)}{=} f(x) \cdot f(iy) \overset{(2)}{=} e^x \cdot f(iy).$
Writing $f(iy) = A(y) + iB(y)$ where $A$ and $B$ are real-valued functions of $y$, $f(z) = e^x A(y) + ie^x B(y),$ so $u(x, y) = e^x A(y)$ and $v(x, y) = e^x B(y)$.
For $f$ to be analytic (differentiable everywhere), its real and imaginary parts must satisfy the Cauchy–Riemann equations.
Computing partial derivatives: $u_x = e^x A(y), \quad u_y = e^x A'(y), \quad v_x = e^x B(y), \quad v_y = e^x B'(y).$
The equation $u_x = v_y$ gives $e^x A(y) = e^x B'(y)$, hence $A(y) = B'(y) (\star)$.
Similarly, the equation $u_y = -v_x$ gives $e^x A'(y) = -e^x B(y)$, hence $A'(y) = -B(y) (\star\star)$.
Differentiating $A(y) = B'(y) (\star)$, we get $B''(y) = A'(y)$ and substituting $A'(y) = -B(y) (\star\star)$: $B''(y) = A'(y) = -B(y) \quad \Longrightarrow \quad B''(y) + B(y) = 0.$
This is a linear, homogeneous, constant-coefficient ODE with characteristic equation $r^2 + 1 = 0$, giving roots $r = \pm i$.
Recall. For complex conjugate roots $a \pm bi$, the general solution is $y(t) = e^{at}(\alpha\cos(bt) + \beta\sin(bt))$, where $\alpha, \beta \in \mathbb{R}$.
With $a = 0$ and $b = 1$ ($r = \pm i$), the general solution is: $B(y) = \alpha\cos y + \beta\sin y, \qquad A(y) =[(\star)] B'(y) = -\alpha\sin y + \beta\cos y.$
From property (2), $f(0) = e^0 = 1$. But $f(0) = e^0 A(0) + ie^0 B(0) = A(0) + iB(0)$, so $A(0) = 1 \quad \text{and} \quad B(0) = 0.$
From $A(0) = 1$: $-\alpha\sin 0 + \beta\cos 0 = \beta = 1$.
From $B(0) = 0$: $\alpha\cos 0 + \beta\sin 0 = \alpha = 0$.
Therefore $A(y) = \cos y$ and $B(y) = \sin y$, and we finally arrive at the definition of the complex exponential function: $\boxed{e^z = e^x(\cos y + i\sin y), \qquad z = x + iy.}$
The exponential function is well-defined for all $z \in \mathbb{C}$, entire, non-zero, consistent with the real exponential, periodic with period $2\pi i$ ($e^{z+2\pi i}=e^z$), satisfies $\frac{d}{dz}e^z = e^z$, and can be represented as a power series $\boxed{e^z = \sum_{n=0}^∞ \frac{z^n}{n!}}$ with infinite radius of convergence.
For a complex number $z = x + iy$ (where $x, y \in \mathbb{R}$), the complex exponential is $exp(e) = e^{x+iy} = e^x(cos(y) + isin(y))$
Euler’s formula $e^{iy} = cos(y) + isin(y)$ leads to elegant expressions for the trigonometric functions. If we also write its complex conjugate $e^{-i y} = \cos(y) - i\sin(y),$ then by adding and subtracting these two expressions, we could isolate the real trigonometric functions and get: $\boxed{cos(y) = \frac{eⁱʸ+e⁻ⁱʸ}{2}, sin(y) = \frac{eⁱʸ-e⁻ⁱʸ}{2i}}$.
These relationships naturally extend to complex arguments, giving us the standard complex-analytic definitions: $\boxed{\cos z = \frac{e^{iz} + e^{-iz}}{2}, \qquad \sin z = \frac{e^{iz} - e^{-iz}}{2i}}$.valid for all $z \in \mathbb{C}$.
From these, all other trigonometric functions follow: $\tan z = \frac{\sin z}{\cos z}, \quad \cot z = \frac{\cos z}{\sin z}, \quad \sec z = \frac{1}{\cos z}, \quad \csc z = \frac{1}{\sin z}.$
Definition. The hyperbolic sine and cosine are defined for all $z \in \mathbb{C}$ by $\boxed{\sinh z = \frac{e^z - e^{-z}}{2}}, \qquad \boxed{\cosh z = \frac{e^z + e^{-z}}{2}}.$
These are entire functions (it follows from the fact that they are build from the entire exponential function) built from the same exponential building blocks as sine and cosine, but without the factor of $i$ in the exponent. These definitions are valid for all complex numbers $z \in \mathbb{C}$, and use the exponential function to build smooth, entire functions.
Bridge identities. Evaluating the circular functions at imaginary arguments (or vice versa) reveals that trigonometric and hyperbolic functions are essentially the same functions, rotated in the complex plane: $\sin(iz) = i\sinh z, \qquad \cos(iz) = \cosh z$, $\sinh(iz) = i\sin z, \qquad \cosh(iz) = \cos z$
Proof: $\sin(iz) = \dfrac{e^{i(iz)} - e^{-i(iz)}}{2i} = \dfrac{e^{-z} - e^{z}}{2i} = \dfrac{-(e^z - e^{-z})}{2i} = \dfrac{i(e^z - e^{-z})}{2} = i\sinh z.$
Let’s write $\sin z$ and $\cos z$ in terms of their reasl and imaginary parts $x = \operatorname{Re} z$ and $y = \operatorname{Im} z$.
$$ \begin{aligned} \cos(x+iy) = \frac{e^{i(x+iy)} + e^{-i(x+iy)}}{2} &=\frac{e^{-y+ix} + e^{y-ix}}{2} \\[2pt] &= \frac{e^{-y}(\cos x + i\sin x) + e^{y}(\cos x - i\sin x)}{2}\\[2pt] &=\cos x \cdot \frac{e^y + e^{-y}}{2} - i\sin x \cdot \frac{e^y - e^{-y}}{2}\\[2pt] &=\cos x\cosh y - i\sin x \sinh y. \end{aligned} $$$$ \begin{aligned} \sin(x+iy) = \frac{e^{i(x+iy)} - e^{-i(x+iy)}}{2i} &=\frac{e^{-y+ix} - e^{y-ix}}{2i} \\[2pt] &= \frac{e^{-y}(\cos x + i\sin x) - e^{y}(\cos x - i\sin x)}{2i} \\[2pt] &= \sin x \cdot \frac{e^y + e^{-y}}{2} + i\cos x \cdot \frac{e^y - e^{-y}}{2} \\[2pt] &= \sin x \cosh y + i\cos x \sinh y \end{aligned} $$This confirms that the complex definitions are consistent extensions of the real trigonometric functions — they agree on $\mathbb{R}$ and extend holomorphically to all of $\mathbb{C}$.
Since the exponential function $e^z$ is entire, and $\sin z$ and $\cos z$ are defined through linear combinations of the entire functions $e^{iz}$ and $e^{-iz}$, they inherit this property. No discontinuities, no branch cuts, no singularities — just smooth, “well complex-analytic behavior” everywhere.
Their reciprocals and quotients, however, introduce isolated singularities (poles) where their denominators vanish. All these poles are simple (order 1. This is the case because the zeroes of sin(z) and cos(z) are simple, their derivatives are non-zero at the zeroes), and the functions are meromorphic on $\mathbb{C}$.
A meromorphic function is almost analytic everywhere, except for countably many singularities (poles) where it “blows up” in a controlled way, e.g., $\frac{1}{z}, \frac{1}{z^2}$, etc.
| Function | Poles at |
|---|---|
| $\tan z = \sin z / \cos z$ | $z = \frac{\pi}{2} + n\pi, \quad n \in \mathbb{Z}$ |
| $\sec z = 1/\cos z$ | $z = \frac{\pi}{2} + n\pi, \quad n \in \mathbb{Z}$ |
| $\cot z = \cos z / \sin z$ | $z = n\pi, \quad n \in \mathbb{Z}$ |
| $\csc z = 1/\sin z$ | $z = n\pi, \quad n \in \mathbb{Z}$ |
These results are identical to the familiar formulas from real calculus and extend naturally to the complex domain, $\boxed{\frac{d}{dz}\sin z = \cos z, \qquad \frac{d}{dz}\cos z = -\sin z}$
Compact formula using phase shift: $\frac{d^n}{dz^n}\cos z = \cos(z+\frac{n\pi}{2}), \frac{d^n}{dz^n}\sin z = \sin(z+\frac{n\pi}{2})$
The pattern repeats with period 4, reflecting the identity $\left(\frac{d}{dz}\right)^4 = \text{id}$ on the span of $\{\sin z, \cos z\}$. The derivative generates a 4-cycle isomorphic to $\mathbb{Z}_4$.
$\frac{d^2}{dz^2}\sin z = -\sin z, \frac{d^2}{dz^2}\cos z = -\cos z$. Both satisfy the harmonic oscillator equation (second order) $\boxed{f''(z) + f(z) = 0}$.
Equivalently, both $\cos(z)$ and $\sin(z)$ are fundamental solutions to the second-order harmonic oscillator equation: $\boxed{f''(z) + f(z) = 0}$. By the existence and uniqueness theorem for linear ODEs, we can completely and uniquely define these functions across the entire complex plane simply by specifying their initial conditions at $z = 0$:
This ODE with specified initial conditions has a unique solution. In other words, it uniquely characterizes cos(z) and sin(z) among entire functions.
Evaluating the derivatives at the origin (the Maclaurin series coefficients): $\cos^{(2n)}(0) = (-1)^n, \quad \cos^{(2n+1)}(0) = 0$, $\sin^{(2n)}(0) = 0, \quad \sin^{(2n+1)}(0) = (-1)^n$
The ratio test confirms this: $\left|\frac{a_{n+1}}{a_n}\right| = \frac{|z|^2}{(2n+2)(2n+1)} \to 0 \quad \text{as } n \to \infty,$ regardless of $|z|$, so both series have radius of convergence $R = \infty$.
These power series can serve as alternative definitions of sine and cosine, from which all properties (including Euler’s formula itself) can be derived.
These hold for contour integrals in $\mathbb{C}$ as well, since $\sin z$ and $\cos z$ are entire and hence have antiderivatives on all of $\mathbb{C}$.
This follows from the identity principle: if two entire functions agree on $\mathbb{R}$, they agree on all of $\mathbb{C}$. For example, the Pythagorean identity, $cos^2(z) + sin^2(z) = (\frac{eⁱᶻ+e⁻ⁱᶻ}{2})^2 + (\frac{eⁱᶻ-e⁻ⁱᶻ}{2i})^2 = \frac{e²ⁱᶻ+ 2 + e⁻²ⁱᶻ}{4} + \frac{e²ⁱᶻ -2 +e⁻²ⁱᶻ}{-4} = \frac{e²ⁱᶻ+ 2 + e⁻²ⁱᶻ -e²ⁱᶻ + 2 - e⁻²ⁱ}{4} = \frac{4}{4} = 1$.
Identity Principle. If $f$ and $g$ are entire (holomorphic on all of $\mathbb{C}$) and $f(z) = g(z)$ for all $z$ in a set $S \subseteq \mathbb{C}$ that has a limit point in $\mathbb{C}$, then $f \equiv g$ on all of $\mathbb{C}$. Key corollary: If two entire functions agree on $\mathbb{R}$ (or any interval, no matter how small), they agree everywhere on $\mathbb{C}$.
Related identities: $1 + \tan^2 z = \sec^2 z, \qquad 1 + \cot^2 z = \csc^2 z$
Angle Addition Formulas: $\sin(z_1 + z_2) = \sin z_1 \cos z_2 + \cos z_1 \sin z_2$, $\cos(z_1 + z_2) = \cos z_1 \cos z_2 - \sin z_1 \sin z_2$, $\sin(z_1 - z_2) = \sin z_1 \cos z_2 - \cos z_1 \sin z_2$, $\cos(z_1 - z_2) = \cos z_1 \cos z_2 + \sin z_1 \sin z_2$
Double Angle Formulas. Setting $z_1 = z_2 = z$ in the addition formulas: $\sin(2z) = 2\sin z \cos z, \cos(2z) = \cos^2 z - \sin^2 z = 2\cos^2 z - 1 = 1 - 2\sin^2 z$
Half-Angle Formulas. Rearranging the double-angle formulas (with $z$ replaced by $z/2$): $\cos^2(z/2) = \frac{1 + \cos z}{2}, \sin^2(z/2) = \frac{1 - \cos z}{2}$
Product-to-Sum Formulas: $\cos z_1\cos z_2 = \frac{1}{2}\bigl[\cos(z_1 - z_2) + \cos(z_1 + z_2)\bigr]$, $\sin z_1\sin z_2 = \frac{1}{2}\bigl[\cos(z_1 - z_2) - \cos(z_1 + z_2)\bigr]$, $\sin z_1\cos z_2 = \frac{1}{2}\bigl[\sin(z_1 + z_2) + \sin(z_1 - z_2)\bigr]$.
Periodicity. Both sine and cosine are $2\pi$-periodic: $\sin(z + 2\pi) = \sin z, \qquad \cos(z + 2\pi) = \cos z \qquad \text{for all } z \in \mathbb{C}.$
More generally, $\sin(z + 2n\pi) = \sin z$ and $\cos(z + 2n\pi) = \cos z$ for all $n \in \mathbb{Z}$.
This follows directly from the periodicity of the exponential function: $e^{i(z+2nπ)}=e^{iz}e^{i2nπ}=e^{iz}$. Besides, the period $2\pi$ is the minimal period: there is no smaller $T > 0$ with $\sin(z + T) = \sin z$ for all $z$.
The tangent and cotangent have the shorter minimal period $\pi$: $\tan(z + \pi) = \tan z, \qquad \cot(z + \pi) = \cot z.$
Phase Relationships: $\sin\left(\frac{\pi}{2} + z\right) = \cos z, \cos\left(\frac{\pi}{2} + z\right) = -\sin z, \sin\left(\frac{\pi}{2} - z\right) = \cos z, \cos\left(\frac{\pi}{2} - z\right) = \sin z$. Sine and cosine are the same function, shifted by $\pi/2$.
Symmetry Properties: $\sin(-z) = -\sin z$ (odd function), $\cos(-z) = \cos z$ (even function).
$|\sin(x + iy)|^2 = \sin^2 x\cosh^2 y + \cos^2 x\\sinh^2 y$. Next, simplify using $\cosh^2 y = 1 + \sinh^2 y$, and we get, $= \sin^2 x\,(1 + \sinh^2 y) + \cos^2 x\,\sinh^2 y = \sin^2 x + (\sin^2 x + \cos^2 x)\sinh^2 y$. Conclusion: $\boxed{|\sin(x+iy)|^2 = \sin^2 x + \sinh^2 y}$
An analogous computation yields: $\boxed{|\cos(x+iy)|^2 = \cos^2 x + \sinh^2 y}$
Asymptotic growth. The hyperbolic sine function, sinh(y), is defined as: sinh(y) = $\frac{e^y - e^{-y}}{2}$. Now, let’s analyze the behavior as $|y| \to \infty$, the term $e^{-|y|}$ approaches 0, so $\sinh(∣y∣) \approx \frac{e^{|y|}}{2}$. Therefore, as $|y| \to \infty, ∣\sin(x+iy)∣^2 = \sin^2(x) + \sinh^2(y) \approx \sin^2(x) + (\frac{e^{|y|}}{2})^2 ≈ sin²(x) + \frac{e^{2|y|}}{4}$. Since the exponential term $e^{2|y|}$ grows much faster than the bounded term sin²(x) (which is negligible between 0 and 1), the asymptotic behavior is dominated by the hyperbolic sine term, $∣\sin(x+iy)∣^2 \approx \frac{e^{2|y|}}{4}$. Taking the square root of both sides, we find the magnitude: $∣\sin(x+iy)∣ \approx \sqrt{\frac{e^{2|y|}}{4}} = \frac{e^{|y|}}{2}$. Similarly, $∣\cos(x+iy)∣ \approx \frac{e^{|y|}}{2}$
Conclusion: Complex sine and cosine grow exponentially in the imaginary direction — even though on the real line they remain bounded between $-1$ and $1$.
This behavior is not paradoxical but inevitable: by Liouville’s theorem, a bounded entire function must be constant. Since $\sin z$ and $\cos z$ are entire (analytic everywhere) and non-constant, they must be unbounded.
Remark. Along the real axis ($y = 0$), the formulas correctly reduce to $|\sin x|^2 = \sin^2 x$ and $|\cos x|^2 = \cos^2 x$, both $\leq 1$.
So complex sine and cosine grow exponentially in the imaginary direction! —even though on the real line they stay bounded between -1 and 1.
Zeros of sine. We solve $\sin z = 0$: $\frac{e^{iz} - e^{-iz}}{2i} = 0 \quad \Longrightarrow \quad e^{iz} = e^{-iz} \quad \Longrightarrow \quad e^{2iz} = 1 \quad \Longrightarrow \quad 2iz = 2n\pi i \quad \Longrightarrow \quad z = n\pi$ for $n \in \mathbb{Z}$.
Alternatively, using the modulus formula: $|\sin(x+iy)|^2 = \sin^2 x + \sinh^2 y = 0$ requires both $\sin x = 0$ and $\sinh y = 0$, giving $x = n\pi$ and $y = 0$ (So zeros must lie on the real axis). Conclusion: $\boxed{\sin z = 0 \quad \Longleftrightarrow \quad z = n\pi, \quad n \in \mathbb{Z}}$
Zeros of cosine. Similarly, $\cos z = 0$ gives $e^{2iz} = -1 = e^{i(\pi + 2n\pi)}$, so $z = \frac{\pi}{2} + n\pi$, $\boxed{\cos z = 0 \quad \Longleftrightarrow \quad z = \frac{\pi}{2} + n\pi, \quad n \in \mathbb{Z}}$
All zeros are simple (the derivative is nonzero there): at $z_0 = n\pi$, $\sin'(z_0) = \cos(n\pi) = (-1)^n \neq 0$, and similarly for cosine.
The fact that all zeros are real is a special feature of sine and cosine. Many entire functions (like $e^z - 1$) have complex zeros.