Complex Sine and Cosine Explained with Worked Examples

The sine and cosine of a complex number are defined by and . They extend the real functions and satisfy the same identities.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Complex sine and cosine means

These formulae come from Euler’s formula: adding or subtracting and isolates and .

For real they agree with the usual functions. For complex they can take values bigger than 1, unlike the real versions.

The familiar identity still holds for all complex . They are linked to the hyperbolic functions (the hyperbolic-trigonometric link) and defined from the complex exponential.

This page is part of Complex numbers in Complex numbers. Topics that work alongside it: Euler's formula, Hyperbolic–trigonometric link, Complex exponential, Complex logarithm, Complex powers and Division of complex numbers.

What is it used for?

Sine and cosine can be defined for complex numbers using exponentials. They agree with the real functions on the real axis.

How to use complex sine and cosine

  1. Replace in the definition.
  2. Use the laws of exponents.
  3. Simplify with Euler’s formula if is real or imaginary.
  4. Check the identity .

Graph

cos x on the real axis and cosh x on the imaginary axis-3-2-10123-10123456cos x on the real axis and cosh x on the imaginary axisxycos xcos(ix) = cosh xGraph with x from -3 to 3 and y from -1.5 to 6. Shows the curve cos x; the curve cos(ix) = cosh x.

Cosine oscillates between −1 and 1 along the real axis. Along the imaginary axis, cos(ix) = cosh x grows without limit.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: cos of an imaginary number

Find .

Worked example
Answer
cosh⁡1≈1.543\cosh1\approx1.543
  1. Use the definition
  2. Evaluate

Example 2: sin of an imaginary number

Find .

Worked example
Answer
isinh⁡1≈1.175ii\sinh1\approx1.175i
  1. Use the definition
  2. Simplify (dividing by i multiplies by −i)

Example 3: a check of the identity at z = 0

Check at .

Worked example
Answer
11
  1. Evaluate
  2. Add the squares

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

cos(i)

cosh 1

1.5431.

sin(i) = i sinh 1

imaginary part

1.1752.

cos(iy), y = 2

cosh 2

3.7622.

cos(1 + i) real part

cos 1 cosh 1

0.8337.

Word problems

sin z = (e^{iz} − e^{−iz})/(2i), cos z = (e^{iz} + e^{−iz})/2. They extend the real functions: cos(iy) = cosh y, sin(iy) = i sinh y, cos(x + iy) = cos x cosh y − i sin x sinh y.

cos i

cosh 1.

  1. 1.5431
  2. Check: ✓1.5431

sin i

Imaginary part sinh 1.

  1. 1.1752
  2. Check: ✓1.1752

cos 2i Higher

cosh 2.

  1. 3.7622
  2. Check: ✓3.7622

cos(1 + i) Higher

Real part cos 1 cosh 1.

  1. 0.5403 × 1.5431
  2. Check: ✓0.8337

Common mistakes

|cos z| ≤ 1

bounded ✗

unbounded for complex z ✓

cosh grows.

sin(iy) real

real ✗

i sinh y ✓

Imaginary.

cos(x + iy) = cos x + cos iy

additive ✗

addition formula ✓

Product terms.

Degrees

mixed ✗

radians ✓

Units.

Exam tips

  1. cos iy = cosh y.
  2. sin iy = i sinh y.
  3. Not bounded by 1.
  4. Same identities hold.
  5. Addition formulae for x + iy.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. cosh 1.5 to 4 d.p. Foundation

2.3524

2. sinh 0.5 to 4 d.p. Foundation

0.5211

3. Re cos(2 + i) to 4 d.p. Foundation

-0.6421

4. Im cos(2 + i) to 4 d.p. Higher

-1.0686

5. cosh 0 Higher

1

6. cos² + sin² at 1 Higher

1

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Complex cosine
(e^{iz} + e^{−iz})/2.
Complex sine
(e^{iz} − e^{−iz})/(2i).
Hyperbolic link
cos iy = cosh y.
Addition formula
cos(a + b).
Unbounded
Grows with
Euler
Basis.

Frequently asked questions

What is cos(iy)?

cosh y.

What is sin(iy)?

i sinh y.

Is |cos z| ≤ 1?

Not for complex z.

Do the usual identities hold?

Yes, e.g. sin² + cos² = 1.

Which page covers the hyperbolic-trig link?

hyperbolic–trigonometric link.

Which page covers the complex logarithm?

complex logarithm.

More in Complex numbers and the formula sheets.