Algebra, Geometry and Trigonometry at a Glance

Euler's Formula, Where Trigonometry Meets the Exponential

Understand why e^(iθ) equals cos θ + i sin θ, with two justifications, worked examples and what the formula makes easy.

Key takeaways

  • The number e^(iθ) is the point on the unit circle at angle θ in the complex plane.
  • Comparing the power series for the exponential, sine and cosine shows why the formula holds.
  • A second argument reads it as motion whose velocity is always at right angles to position.
  • Multiplying complex numbers adds their angles, so trigonometric identities become laws of exponents.
  • Setting θ = π gives the famous identity e^(iπ) + 1 = 0.

Euler's formula states that for every real number θ, measured in radians,

e^(iθ) = cos θ + i sin θ

Here e ≈ 2.71828 is the base of natural growth and i is a number with i² = −1. The formula says that raising e to an imaginary power does not make something grow. It moves a point around the circle of radius 1, to the position at angle θ.

The stage: the complex plane

A complex number a + bi, with a and b real, can be drawn as the point (a, b). The horizontal axis holds the real numbers and the vertical axis the multiples of i. Its distance from zero is called the modulus, √(a² + b²), and the angle from the positive real axis is called the argument.

In this picture, multiplying by i turns a point a quarter turn counterclockwise: 1 becomes i, i becomes −1, −1 becomes −i. Doing it four times brings you back. If the idea of i still seems strange, start with imaginary numbers without the mystery.

A point on the unit circle at angle θ is therefore cos θ + i sin θ. The surprise of Euler's formula is that this expression is an exponential.

What an imaginary power could mean

Repeated multiplication cannot explain e^(iθ), since you cannot multiply e by itself i times. You need a definition that works for complex inputs and agrees with the old one on real inputs. The standard choice is the power series:

e^z = 1 + z + z²/2! + z³/3! + z⁴/4! + ...

The symbol n! means the product of the whole numbers from 1 to n. The series converges for every complex z, and it keeps the key rule e^(z + w) = e^z · e^w.

The series argument

Substitute z = iθ. The powers of i cycle through i, −1, −i, 1.

e^(iθ) = 1 + iθ − θ²/2! − iθ³/3! + θ⁴/4! + iθ⁵/5! − ...
       = (1 − θ²/2! + θ⁴/4! − ...)         (real terms)
       + i(θ − θ³/3! + θ⁵/5! − ...)        (imaginary terms)
       = cos θ + i sin θ

The two brackets are exactly the series for cosine and sine. Rearranging is allowed because the series converges absolutely, meaning the sizes of its terms have a finite sum.

Try θ = 1. Using terms up to the fifth power, the real part is 1 − 1/2 + 1/24 ≈ 0.5417 and the imaginary part is 1 − 1/6 + 1/120 ≈ 0.8417. The true values are cos 1 ≈ 0.5403 and sin 1 ≈ 0.8415. More background is in Taylor series as better and better polynomials.

The motion argument

Think of f(t) = e^(it) as the position of a moving point at time t. The exponential rule for derivatives gives f′(t) = i · f(t). So the velocity is always the position turned a quarter turn.

At t = 0 the point is at 1 and its velocity is i, straight up. A velocity at right angles to the position cannot change the distance from zero, so the point stays on the unit circle. Its speed equals its distance, which is 1. A point that starts at 1 and moves counterclockwise on the unit circle at speed 1 has covered arc length t after time t. That places it at cos t + i sin t.

Why e^(it) goes around a circle
1 Start At t = 0 the point sits at 1 2 Rule Velocity equals i times position 3 Consequence Motion is always at right angles to the radius 4 Circle Distance stays 1 and speed stays 1 5 Result e^(it) = cos t + i sin t Start At t = 0 the point sits at 1 1 Rule Velocity equals i times position 2 Consequence Motion is always at right angles to the radius 3 Circle Distance stays 1 and speed stays 1 4 Result e^(it) = cos t + i sin t 5

The famous special case

Set θ = π, a half turn. The point lands at −1:

e^(iπ) + 1 = 0

This line, often called Euler's identity, links 0, 1, e, i and π with one addition, one multiplication and one exponent. Its content is geometric: traveling distance π around the unit circle from 1 takes you to the opposite side. Taking θ = π/2 gives i, and θ = 2π gives 1 again. Both the number e and π arise in separate settings, which is why their meeting here strikes people.

Trigonometry made lighter

Because e^(ia) · e^(ib) = e^(i(a + b)), you can expand the left side:

(cos a + i sin a)(cos b + i sin b)
  = (cos a cos b − sin a sin b) + i(sin a cos b + cos a sin b)

Matching real and imaginary parts with cos(a + b) + i sin(a + b) gives both addition formulas at once. (If you used those formulas to build the theory, treat this as a consistency check.)

Raising to a whole number power n gives de Moivre's formula, (cos θ + i sin θ)ⁿ = cos nθ + i sin nθ. With n = 3, expanding and taking the real part gives cos 3θ = 4cos³θ − 3cos θ. Test it at θ = 60°: 4/8 − 3/2 = −1, which equals cos 180°.

You can also solve backward for the trigonometric functions:

cos θ = (e^(iθ) + e^(−iθ)) / 2
sin θ = (e^(iθ) − e^(−iθ)) / (2i)

Many awkward integrals of products of sines and cosines become sums of simple exponentials in this form.

Multiplication as turn and stretch

Every nonzero complex number can be written r·e^(iθ), with r > 0. To multiply two of them, multiply the moduli and add the angles.

For example, 1 + i has modulus √2 and angle π/4. So (1 + i)⁸ = (√2)⁸ · e^(2πi) = 16. Multiplying it out by hand gives the same: (1 + i)² = 2i, and (2i)⁴ = 16.

Run the idea backward to find roots. The solutions of z³ = 1 sit at angles 0, 2π/3 and 4π/3: the numbers 1, −1/2 + i√3/2 and −1/2 − i√3/2, corners of an equilateral triangle.

The three cube roots of 1 also add to zero, which you can verify from the list: the real parts are 1 − 1/2 − 1/2 and the imaginary parts cancel. The same holds for the n equally spaced nth roots of 1 whenever n ≥ 2. Turning the whole set by one step leaves it unchanged, so the sum must be a number that does not move when rotated, and only 0 qualifies.

Growth and rotation together

What if the exponent has both a real and an imaginary part? The law of exponents separates them:

e^((a + ib)t) = e^(at) · (cos bt + i sin bt)

The first factor sets the distance from zero and the second sets the angle. With a < 0 the point spirals inward, with a > 0 outward, and with a = 0 it circles.

This is why the formula is central to differential equations. Take y″ + 2y′ + 5y = 0. Trying y = e^(rt) gives r² + 2r + 5 = 0, so r = −1 ± 2i. The real solutions are combinations of e^(−t) cos 2t and e^(−t) sin 2t, an oscillation that dies away. The imaginary part of r gives the frequency and the real part gives the rate of decay. See the characteristic equation method.

Adding waves with arrows

Say you want to add cos t and cos(t + π/3). Write both as real parts and factor out the common rotation:

cos t + cos(t + π/3) = real part of e^(it) · (1 + e^(iπ/3))
1 + e^(iπ/3) = 3/2 + i√3/2
modulus = √(9/4 + 3/4) = √3,   angle = π/6
sum = √3 · cos(t + π/6)

A trigonometry problem has become the addition of two arrows. Check it at t = 0: the left side is 1 + 1/2 = 3/2, and the right side is √3 · √3/2 = 3/2.

Summing many angles at once

The formula also tames long sums. Suppose you need 1 + cos θ + cos 2θ + ... + cos nθ. Each term is the real part of a power of w = e^(iθ), so the whole expression is the real part of a geometric series:

1 + w + w² + ... + wⁿ = (w^(n+1) − 1) / (w − 1),   when w ≠ 1

Take θ = π/2 and n = 2. The direct sum is 1 + cos(π/2) + cos π = 1 + 0 − 1 = 0. The series gives 1 + i − 1 = i, whose real part is also 0. The imaginary part, 1, is the matching sum of sines, sin 0 + sin(π/2) + sin π. One calculation delivers both. Sums like this appear throughout the study of Fourier series, where many frequencies are stacked together.

A note on history and on logarithms

Roger Cotes found a closely related relation in logarithmic form in the early eighteenth century. Leonhard Euler gave the exponential form its clear statement in the 1740s, and it appears in his 1748 textbook on the analysis of infinite quantities. See Euler and his astonishing range.

The formula also complicates logarithms. Since e^(iπ) = e^(3iπ) = −1, the number −1 has infinitely many complex logarithms, iπ(2k + 1) for whole numbers k. Rules such as ln(ab) = ln a + ln b need care once you leave positive real numbers.

Where it works for a living

A steady oscillation A cos(ωt + φ), with amplitude A, angular frequency ω and phase φ, is the real part of A·e^(i(ωt + φ)). Engineers analyzing alternating current circuits use this to turn differential equations into algebra with complex numbers. The Fourier transform is written with these exponentials, and quantum mechanics is formulated with complex amplitudes whose phases are factors of exactly this kind.

Common questions

Is e^(iθ) ever larger than 1 in size?

Not for real θ. Its modulus is √(cos²θ + sin²θ) = 1. Its reciprocal is e^(−iθ), the mirror image across the real axis.

Does θ have to be in radians?

Yes. In degrees the formula would need an extra factor of π/180 in the exponent.

Can θ be a complex number?

The formula still holds if cosine and sine are defined by their series. The point then need not lie on the unit circle, and cosine and sine can exceed 1 in size.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 31 articles in Algebra, Geometry and Trigonometry at a Glance →

Latest news on this topic