7.7 Trigonometric & Hyperbolic Functions

Where $\sin z = 2$ has solutions, and the circular and hyperbolic families turn out to be one

What will I learn in this section?

On completion of this section, you should be able to:

  • Understand the definitions and properties of the complex trigonometric functions.
  • Understand the definitions and properties of the complex hyperbolic functions.
  • Know the identities linking the two families, such as $\cos(iz) = \cosh z$.
  • Solve trigonometric and hyperbolic equations in the complex plane.

Euler's formula gave us $e^{i\theta}$ in terms of sine and cosine. Run it backwards and we can define sine and cosine in terms of $e^{z}$ — which immediately extends them to the whole plane, where they stop being bounded and start behaving like their hyperbolic cousins.

Sine and Cosine of a Complex Variable

For real $\theta$, Euler's formula gives $e^{i\theta} = \cos\theta + i\sin\theta$ and $e^{-i\theta} = \cos\theta - i\sin\theta$. Adding and subtracting these isolates each function:

Definition: $\sin z$ and $\cos z$
$$\sin z = \frac{e^{iz} - e^{-iz}}{2i}, \qquad \cos z = \frac{e^{iz} + e^{-iz}}{2}$$

For real $z$ these agree with the functions you already know, so nothing is broken — the definition only extends them.

Substituting $z = x + iy$ and separating gives the forms you actually compute with:

Real and Imaginary Parts
$$\sin z = \sin x \cosh y + i\cos x \sinh y$$ $$\cos z = \cos x \cosh y - i\sin x \sinh y$$

Note the minus sign in $\cos z$, and that the hyperbolic functions carry the $y$.

Most familiar identities survive unchanged, because they are consequences of the exponential definition: $\sin^2 z + \cos^2 z = 1$, the addition formulas, $\sin(-z) = -\sin z$, and the derivatives $\frac{d}{dz}\sin z = \cos z$, $\frac{d}{dz}\cos z = -\sin z$. Both functions are entire.

One famous property does NOT survive

$|\sin z| \le 1$ is false in the complex plane. Take $z = i$:

$$\sin i = \sin 0\cosh 1 + i\cos 0 \sinh 1 = i \sinh 1 \;\Longrightarrow\; |\sin i| = \sinh 1 \approx 1.1752$$

And it gets worse: $|\sin(2i)| = \sinh 2 \approx 3.627$, and $\sinh y$ grows without bound. Complex sine and cosine are unbounded. The boundedness you grew up with was a feature of the real line only.

Where the zeros are

Despite being unbounded, $\sin z$ gains no new zeros: $\sin z = 0$ exactly when $z = n\pi$ for an integer $n$, all of them real. Likewise $\cos z = 0$ only at $z = \tfrac{\pi}{2} + n\pi$. Extending to the plane adds enormous size but no extra roots.

Hyperbolic Functions, and the Bridge

Definition: $\sinh z$ and $\cosh z$
$$\sinh z = \frac{e^{z} - e^{-z}}{2}, \qquad \cosh z = \frac{e^{z} + e^{-z}}{2}$$

Same shape as the definitions above, with the $i$ removed from the exponents. Both are entire, with $\frac{d}{dz}\sinh z = \cosh z$ and $\frac{d}{dz}\cosh z = \sinh z$, and $\cosh^2 z - \sinh^2 z = 1$.

Over the reals, the circular and hyperbolic functions are separate families that happen to look alike. Over $\mathbb{C}$ they are the same family, seen along two perpendicular directions:

The Bridge
$$\sin(iz) = i\sinh z \qquad\qquad \cos(iz) = \cosh z$$ $$\sinh(iz) = i\sin z \qquad\qquad \cosh(iz) = \cos z$$

Multiplying the input by $i$ turns one family into the other. This is why $\cosh$ appeared in the formula for $\sin z$ two boxes ago — it was never a coincidence.

Example 1

Evaluate $\cos(i)$.

Straight from the bridge, with $z = 1$:

$$\cos(i) = \cos(i \cdot 1) = \cosh 1 = \frac{e + e^{-1}}{2} \approx 1.5431$$

A cosine larger than $1$, and entirely real. Over the reals this is impossible; here it is routine.

Zeros of the hyperbolic functions

Reading the bridge backwards places them immediately: $\sinh z = 0$ at $z = n\pi i$, and $\cosh z = 0$ at $z = \left(\tfrac{\pi}{2} + n\pi\right)i$. Over the reals $\cosh x \ge 1$ never vanishes at all — its zeros were simply hiding off the real axis the whole time.

Solving Trigonometric and Hyperbolic Equations

Because sine and cosine are unbounded, equations with no real solution may have complex ones. The method is always the same: split into real and imaginary parts, and solve the two real equations together.

Example 2 — solve $\sin z = 2$

Step 1: Split. Using $\sin z = \sin x\cosh y + i\cos x \sinh y$ and matching to $2 + 0i$:

$$\sin x \cosh y = 2 \qquad\text{and}\qquad \cos x \sinh y = 0$$

Step 2: Use the easy equation. A product is zero, so $\cos x = 0$ or $\sinh y = 0$.

If $\sinh y = 0$ then $y = 0$, and the first equation becomes $\sin x = 2$, which has no real solution. So that branch dies, and we must have $\cos x = 0$, i.e. $x = \tfrac{\pi}{2} + n\pi$.

Step 3: Back-substitute. At those $x$, $\sin x = \pm 1$. Since $\cosh y \ge 1 \gt 0$ and the product must be $+2$, we need $\sin x = +1$, which selects

$$x = \tfrac{\pi}{2} + 2k\pi$$

Step 4: Solve for $y$. Now $\cosh y = 2$, so $y = \pm\operatorname{arccosh} 2 = \pm\ln\left(2 + \sqrt{3}\right)$.

$$\boxed{z = \frac{\pi}{2} + 2k\pi \pm i\ln\left(2 + \sqrt{3}\right)}$$

Numerically $\ln(2+\sqrt3) \approx 1.3170$, so the solutions nearest the origin are $z \approx 1.5708 \pm 1.3170\,i$.

Do not reach for $\arcsin$

Typing $\arcsin 2$ into a calculator returns an error, and that error means nothing about the complex problem. Split into real and imaginary parts and solve the pair — that method never fails, and it produces all the solutions, not just one.

Worked Examples

Click a problem to open the full solution.

Example A: Write $\sin\left(\tfrac{\pi}{2} + i\right)$ in the form $a + bi$ ▼

Solution

Step 1: Apply the split formula with $x = \tfrac{\pi}{2}$ and $y = 1$.

$$\sin z = \sin x \cosh y + i \cos x \sinh y = \sin\tfrac{\pi}{2}\cosh 1 + i\cos\tfrac{\pi}{2}\sinh 1$$

Step 2: Evaluate. $\sin\tfrac{\pi}{2} = 1$ and $\cos\tfrac{\pi}{2} = 0$, so the imaginary part vanishes:

$$\boxed{\sin\left(\tfrac{\pi}{2} + i\right) = \cosh 1 \approx 1.5431}$$

Step 3: Notice. The answer is real, and bigger than $1$ — another reminder that the bound $|\sin| \le 1$ belongs to the real line only.

Example B: Find all zeros of $\cosh z$ ▼

Solution

Step 1: Use the bridge. $\cosh z = \cos(iz)$, so $\cosh z = 0$ exactly when $\cos(iz) = 0$.

Step 2: Use the known zeros of cosine. $\cos w = 0$ only at $w = \tfrac{\pi}{2} + n\pi$, so

$$iz = \tfrac{\pi}{2} + n\pi$$

Step 3: Divide by $i$, remembering $\tfrac{1}{i} = -i$:

$$z = -i\left(\tfrac{\pi}{2} + n\pi\right)$$

As $n$ runs over all integers this is the same set as $z = i\left(\tfrac{\pi}{2} + n\pi\right)$.

$$\boxed{z = \left(\tfrac{\pi}{2} + n\pi\right)i, \quad n \in \mathbb{Z}}$$
Check the smallest one: $\cosh\left(\tfrac{\pi}{2}i\right) = \cos\left(i \cdot \tfrac{\pi}{2}i\right) = \cos\left(-\tfrac{\pi}{2}\right) = 0$ ✓ — and over the reals $\cosh x \ge 1$, so every one of these zeros is genuinely off the real axis.
Example C: Show that $|\sin z|^{2} = \sin^{2}x + \sinh^{2}y$ ▼

Solution

Step 1: Take the modulus squared of the split form.

$$|\sin z|^{2} = \sin^{2}x\cosh^{2}y + \cos^{2}x\sinh^{2}y$$

Step 2: Replace $\cosh^{2}y$ using $\cosh^{2}y = 1 + \sinh^{2}y$.

$$= \sin^{2}x\left(1 + \sinh^{2}y\right) + \cos^{2}x\sinh^{2}y$$

Step 3: Collect the $\sinh^{2}y$ terms.

$$= \sin^{2}x + \sinh^{2}y\left(\sin^{2}x + \cos^{2}x\right) = \sin^{2}x + \sinh^{2}y$$ $$\boxed{|\sin z|^{2} = \sin^{2}x + \sinh^{2}y}$$
This one formula explains the whole section. The first term never exceeds $1$; the second grows without limit as you move off the real axis. Set $y = 0$ and you recover $|\sin x| \le 1$. The unboundedness lives entirely in the imaginary direction.

📝 Exam-Style Practice Problems

These problems are similar in style and difficulty to past exam questions. Click each problem to reveal the step-by-step solution.

Practice 1: Solve $\cos z = 5$ ▼

Solution

Step 1: Split using $\cos z = \cos x\cosh y - i\sin x \sinh y$ and match to $5 + 0i$:

$$\cos x \cosh y = 5 \qquad\text{and}\qquad \sin x \sinh y = 0$$

Step 2: The easy equation. If $\sinh y = 0$ then $y = 0$ and $\cos x = 5$, impossible for real $x$. So $\sin x = 0$, giving $x = n\pi$.

Step 3: Choose the sign. At $x = n\pi$, $\cos x = \pm 1$. Since $\cosh y \gt 0$ and the product is $+5$, we need $\cos x = +1$, so $x = 2k\pi$.

Step 4: Solve $\cosh y = 5$.

$$y = \pm\operatorname{arccosh} 5 = \pm\ln\left(5 + \sqrt{24}\right) = \pm\ln\left(5 + 2\sqrt{6}\right)$$ $$\boxed{z = 2k\pi \pm i\ln\left(5 + 2\sqrt{6}\right)}$$
Where the formula comes from: $\cosh y = c$ means $e^{y} + e^{-y} = 2c$, which is a quadratic in $e^{y}$: $\left(e^{y}\right)^2 - 2c\,e^{y} + 1 = 0$, so $e^{y} = c \pm \sqrt{c^2 - 1}$. The two roots are reciprocals, which is why the answer comes in a $\pm$ pair.
Practice 2: Express $\cos(2 + 3i)$ in the form $a + bi$ ▼

Solution

Step 1: Apply the split formula with $x = 2$, $y = 3$.

$$\cos(2+3i) = \cos 2 \cosh 3 - i \sin 2 \sinh 3$$

Step 2: Evaluate each factor (radians throughout):

$$\cos 2 \approx -0.4161, \quad \cosh 3 \approx 10.068, \quad \sin 2 \approx 0.9093, \quad \sinh 3 \approx 10.018$$

Step 3: Combine.

$$\approx (-0.4161)(10.068) - i(0.9093)(10.018)$$ $$\boxed{\cos(2+3i) \approx -4.190 - 9.109i}$$
Two traps: the minus sign belongs to the imaginary part of $\cos$ (it is $+$ for $\sin$), and the modulus here is about $10.0$ — a cosine ten times bigger than anything the real function can produce.
Practice 3: Prove $\sin(iz) = i\sinh z$ from the definitions ▼

Solution

Step 1: Start from the definition of sine, with $iz$ in place of $z$:

$$\sin(iz) = \frac{e^{i(iz)} - e^{-i(iz)}}{2i}$$

Step 2: Simplify the exponents, using $i \cdot i = -1$:

$$i(iz) = -z \qquad\text{and}\qquad -i(iz) = z$$ $$\sin(iz) = \frac{e^{-z} - e^{z}}{2i}$$

Step 3: Flip the sign to match $\sinh$.

$$= -\frac{e^{z} - e^{-z}}{2i} = -\frac{1}{i}\sinh z$$

Step 4: Simplify $-1/i$. Multiplying above and below by $i$ gives $-\tfrac{1}{i} = -\tfrac{i}{i^2} = -\tfrac{i}{-1} = i$.

$$\boxed{\sin(iz) = i\sinh z}$$
The same three lines prove the other three bridge identities. Each one is a sign chase, and $1/i = -i$ is where they all go wrong if they go wrong.

Practice Problems

Problem 1

Evaluate $\sin(i)$.

With $x = 0$, $y = 1$: $\sin i = \sin 0 \cosh 1 + i\cos 0 \sinh 1 = i\sinh 1$.

$$\sin i = i\sinh 1 \approx 1.1752\,i$$

Purely imaginary, with modulus greater than $1$.

Problem 2

Find all zeros of $\sinh z$.

$\sinh z = -i\sin(iz)$, so $\sinh z = 0$ when $\sin(iz) = 0$, i.e. $iz = n\pi$.

$$z = n\pi i, \quad n \in \mathbb{Z}$$

Over the reals only $z = 0$ is visible; the rest sit on the imaginary axis.

Problem 3

Is $|\cos z| \le 1$ for all complex $z$?

No. $\cos i = \cosh 1 \approx 1.5431 \gt 1$, and $|\cos(iy)| = \cosh y$ grows without bound.

The companion identity to Example C is $|\cos z|^2 = \cos^2 x + \sinh^2 y$, which shows exactly the same thing.

Multiple-Choice Check

Test your understanding with these multiple-choice questions. Click a choice to see if you're correct.

Q1: $\cos(i)$ equals

Q2: Is $|\sin z| \le 1$ for every complex $z$?

Q3: The zeros of $\sin z$ in the complex plane are

Q4: $\cos(iz)$ equals

Q5: The solutions of $\sin z = 2$ are

Q6: $\cosh z = 0$ when

Chapter 7 Complete

That closes the chapter. You can describe sets in the plane, decide when a function of a complex variable is analytic, and compute with the exponential, logarithm, powers, and the circular and hyperbolic functions — which, out here, are two views of one family.

← Back to Chapter 7 Overview