1. Home
  2. Explore
  3. Mathematics
  4. Euler’s Formula and Complex Exponentials

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Euler’s Formula and Complex Exponentials

Euler’s Formula and the Complex Exponential

Complex numbers on the unit circle

A complex number can be represented as a point in the complex plane: its horizontal coordinate is the real part, and its vertical coordinate is the imaginary part. The imaginary unit iii is defined by

i2=−1.i^2=-1.i2=−1.

A complex number on the unit circle is one unit from the origin. If its angle from the positive real axis is θ\thetaθ, its coordinates are cos⁡θ\cos\thetacosθ and sin⁡θ\sin\thetasinθ, so the number is

cos⁡θ+isin⁡θ.\cos\theta+i\sin\theta.cosθ+isinθ.

Multiplying by a unit-circle number rotates another complex number by its angle. Thus, unit-circle complex numbers naturally describe rotation and circular motion. They are useful in mathematics, physics, and electrical engineering, including the study of waves and oscillations.


Defining the exponential function by a series

The notation exe^xex can suggest that the function means multiplying the number eee by itself xxx times. That interpretation does not explain what an imaginary exponent means. A more general way to define the exponential is through the function exp⁡\expexp:

exp⁡(x)=∑n=0∞xnn!=1+x+x22!+x33!+x44!+⋯ .\exp(x)=\sum_{n=0}^{\infty}\frac{x^n}{n!} =1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\frac{x^4}{4!}+\cdots.exp(x)=∑n=0∞​n!xn​=1+x+2!x2​+3!x3​+4!x4​+⋯.

Here, n!n!n! means the factorial of nnn, and 0!=10!=10!=1. A factorial is the product of the positive integers up to its argument; for example, 4!=4⋅3⋅2⋅1=244!=4\cdot3\cdot2\cdot1=244!=4⋅3⋅2⋅1=24.

This infinite sum is a series. For any particular input, its terms eventually become small because the factorial in the denominator grows quickly. The series converges, meaning that adding more terms approaches a definite value. In practical numerical calculations, the series can be truncated after enough terms to obtain a good approximation.

Because its definition uses integer powers, division by factorials, and addition, this definition can also be used for complex inputs. It can even be applied to matrices and other mathematical objects, though some identities require additional conditions.

The value at 111 and the number eee

Substituting x=1x=1x=1 gives

exp⁡(1)=1+1+12!+13!+14!+⋯≈2.71828.\exp(1)=1+1+\frac{1}{2!}+\frac{1}{3!}+\frac{1}{4!}+\cdots \approx 2.71828.exp(1)=1+1+2!1​+3!1​+4!1​+⋯≈2.71828.

This value is the constant eee. For real inputs, the familiar notation exe^xex is shorthand for exp⁡(x)\exp(x)exp(x). The constant eee is therefore the value of the exponential function at 111, rather than a separate ingredient needed to compute the series at every input.

For example,

exp⁡(2)=1+2+222!+233!+⋯≈7.389.\exp(2)=1+2+\frac{2^2}{2!}+\frac{2^3}{3!}+\cdots \approx 7.389.exp(2)=1+2+2!22​+3!23​+⋯≈7.389.

The exponential addition property

A fundamental property of the exponential function is

exp⁡(a+b)=exp⁡(a)exp⁡(b).\exp(a+b)=\exp(a)\exp(b).exp(a+b)=exp(a)exp(b).

It says that adding inputs corresponds to multiplying outputs. This property follows from the factorial series, although the relationship is not immediately obvious by looking at the series.

When the two series are multiplied, a typical term has the form

xkk!ymm!=xkymk!m!.\frac{x^k}{k!}\frac{y^m}{m!} = \frac{x^k y^m}{k!m!}.k!xk​m!ym​=k!m!xkym​.

On the other hand, expanding the series for exp⁡(x+y)\exp(x+y)exp(x+y) gives

exp⁡(x+y)=∑n=0∞(x+y)nn!.\exp(x+y) =\sum_{n=0}^{\infty}\frac{(x+y)^n}{n!}.exp(x+y)=∑n=0∞​n!(x+y)n​.

By the binomial theorem,

(x+y)nn!=∑k=0n(nk)xkyn−kn!.\frac{(x+y)^n}{n!} = \sum_{k=0}^{n} \frac{\binom{n}{k}x^k y^{n-k}}{n!}.n!(x+y)n​=∑k=0n​n!(kn​)xkyn−k​.

Since (nk)=n!k!(n−k)!\binom{n}{k}=\frac{n!}{k!(n-k)!}(kn​)=k!(n−k)!n!​, each term becomes

xkyn−kk!(n−k)!.\frac{x^k y^{n-k}}{k!(n-k)!}.k!(n−k)!xkyn−k​.

Writing m=n−km=n-km=n−k shows that the terms match those in the product exp⁡(x)exp⁡(y)\exp(x)\exp(y)exp(x)exp(y). This establishes the addition property for real or complex numbers.


What the addition property implies about functions

Suppose a function fff satisfies

f(a+b)=f(a)f(b)f(a+b)=f(a)f(b)f(a+b)=f(a)f(b)

for all inputs aaa and bbb. Several consequences follow directly.

Whole-number inputs

For a positive integer such as 555, write 5=1+1+1+1+15=1+1+1+1+15=1+1+1+1+1. Repeated use of the property gives

f(5)=f(1)5.f(5)=f(1)^5.f(5)=f(1)5.

More generally, for each positive integer nnn,

f(n)=f(1)n.f(n)=f(1)^n.f(n)=f(1)n.

The input 12\frac1221​

Since 12+12=1\frac12+\frac12=121​+21​=1,

f(12)2=f(1).f\left(\frac12\right)^2=f(1).f(21​)2=f(1).

Thus, f(12)f(\frac12)f(21​) is a square root of f(1)f(1)f(1). If the function is real-valued, this implies f(1)≥0f(1)\geq 0f(1)≥0, but it does not, by itself, select a particular square root.

The input 000 and negative inputs

Setting a=b=0a=b=0a=b=0 gives

f(0)=f(0)2.f(0)=f(0)^2.f(0)=f(0)2.

Therefore, f(0)f(0)f(0) is either 000 or 111. If f(0)=0f(0)=0f(0)=0, then using a=xa=xa=x and b=0b=0b=0 gives

f(x)=f(x)f(0)=0f(x)=f(x)f(0)=0f(x)=f(x)f(0)=0

for every xxx. So the only function satisfying the property with f(0)=0f(0)=0f(0)=0 is the zero function, which is constantly equal to zero.

For any function satisfying the property that is not the zero function, f(0)=1f(0)=1f(0)=1. Then

f(−1)f(1)=f(0)=1,f(-1)f(1)=f(0)=1,f(−1)f(1)=f(0)=1,

so

f(−1)=1f(1).f(-1)=\frac{1}{f(1)}.f(−1)=f(1)1​.

This reciprocal conclusion requires f(1)≠0f(1)\ne 0f(1)=0, which holds for a nonzero function of this kind. The zero function is an exception: the reciprocal expression is undefined for it.

These examples show how strongly the addition property constrains a function. Additional assumptions, such as continuity, can provide further information. For instance, continuity helps extend patterns from rational inputs to real inputs.


Why exe^xex is useful notation—and where it can mislead

For the exponential function, the addition property makes it reasonable to write exp⁡(x)\exp(x)exp(x) as exe^xex for real xxx. The value at 111, namely e=exp⁡(1)e=\exp(1)e=exp(1), determines values at integers by repeated multiplication, and the pattern extends to other real inputs under suitable regularity conditions.

The notation can become confusing when the input is complex. In this setting, it is important to remember that eze^zez is interpreted through the exponential function’s series:

ez=exp⁡(z)=∑n=0∞znn!.e^z=\exp(z)=\sum_{n=0}^{\infty}\frac{z^n}{n!}.ez=exp(z)=∑n=0∞​n!zn​.

It is not necessary to think of an imaginary exponent as repeatedly multiplying the constant eee in the ordinary whole-number sense. The series gives a meaningful definition for complex inputs and also extends to objects such as matrices.


Powers of iii

The relation i2=−1i^2=-1i2=−1 determines a repeating pattern of powers:

i0=1,i1=i,i2=−1,i3=−i,i4=1.i^0=1,\qquad i^1=i,\qquad i^2=-1,\qquad i^3=-i,\qquad i^4=1.i0=1,i1=i,i2=−1,i3=−i,i4=1.

The pattern then repeats every four powers. Geometrically, multiplying by iii rotates a complex number by 90∘90^\circ90∘, or π2\frac{\pi}{2}2π​ radians. Accordingly:

  • iii points upward on the imaginary axis.

  • i2=−1i^2=-1i2=−1 points left on the real axis.

  • i3=−ii^3=-ii3=−i points downward on the imaginary axis.

  • i4=1i^4=1i4=1 returns to the positive real axis.

Thus, an integer power ini^nin depends on where nnn falls in the repeating cycle of four. The powers equal to −i-i−i are those with exponent one less than a multiple of four, including negative exponents. For example, i−1=i3=−ii^{-1}=i^3=-ii−1=i3=−i, because multiplying i−1i^{-1}i−1 by iii must give 111.


Euler’s formula

The central relationship is Euler’s formula:

exp⁡(iθ)=cos⁡θ+isin⁡θ,\exp(i\theta)=\cos\theta+i\sin\theta,exp(iθ)=cosθ+isinθ,

usually written

eiθ=cos⁡θ+isin⁡θ.e^{i\theta}=\cos\theta+i\sin\theta.eiθ=cosθ+isinθ.

The right-hand side is precisely the unit-circle complex number at angle θ\thetaθ. Euler’s formula therefore says that evaluating the exponential at the imaginary input iθi\thetaiθ produces a point on the unit circle at angle θ\thetaθ.

A geometric interpretation using the series

Substituting iθi\thetaiθ into the exponential series gives

exp⁡(iθ)=1+iθ+(iθ)22!+(iθ)33!+(iθ)44!+⋯ .\exp(i\theta) = 1+i\theta+\frac{(i\theta)^2}{2!} +\frac{(i\theta)^3}{3!} +\frac{(i\theta)^4}{4!}+\cdots.exp(iθ)=1+iθ+2!(iθ)2​+3!(iθ)3​+4!(iθ)4​+⋯.

Each term can be viewed as a vector in the complex plane:

  • The first term, 111, points to the right.

  • The next term, iθi\thetaiθ, points upward.

  • The next term, (iθ)2/2!(i\theta)^2/2!(iθ)2/2!, points left, since i2=−1i^2=-1i2=−1.

  • The next term, (iθ)3/3!(i\theta)^3/3!(iθ)3/3!, points downward, since i3=−ii^3=-ii3=−i.

  • Subsequent terms continue rotating through the same directions.

The length of the term with exponent nnn is

∣θ∣nn!.\frac{|\theta|^n}{n!}.n!∣θ∣n​.

For a fixed θ\thetaθ, the terms eventually shrink because factorials grow rapidly. Adding the vectors produces a convergent sum. Euler’s formula makes the remarkable claim that the endpoint of this sum is always on the unit circle, at angle θ\thetaθ. The series itself does not make this circular path immediately obvious; explaining why the claim holds requires further mathematical analysis.


Important special cases

The input θ=π\theta=\piθ=π

At angle π\piπ, the point on the unit circle is halfway around from 111, at −1-1−1. Since cos⁡π=−1\cos\pi=-1cosπ=−1 and sin⁡π=0\sin\pi=0sinπ=0,

eiπ=cos⁡π+isin⁡π=−1.e^{i\pi} = \cos\pi+i\sin\pi = -1.eiπ=cosπ+isinπ=−1.

This gives the famous relationship

eiπ+1=0.e^{i\pi}+1=0.eiπ+1=0.

Its significance comes from connecting several important mathematical constants and operations, but it is best understood as one instance of the more general Euler formula.

The input θ=3\theta=3θ=3

Euler’s formula gives

e3i=cos⁡3+isin⁡3≈−0.98999+0.14112i.e^{3i}=\cos 3+i\sin 3 \approx -0.98999+0.14112i.e3i=cos3+isin3≈−0.98999+0.14112i.

This value is near −1-1−1 on the unit circle, with a small positive imaginary component. Angles here are measured in radians: π\piπ radians is halfway around the circle, and 2π2\pi2π radians is one full turn.

Periodicity

A full turn changes an angle by 2π2\pi2π radians but returns to the same point. Correspondingly,

exp⁡(i(θ+2π))=exp⁡(iθ).\exp\bigl(i(\theta+2\pi)\bigr)=\exp(i\theta).exp(i(θ+2π))=exp(iθ).

In complex-input notation, increasing the input by 2πi2\pi i2πi returns to the same exponential value. Thus, the complex exponential repeats with period 2πi2\pi i2πi along the imaginary direction.


What the roles of eee and π\piπ mean

The exponential function connects the constants eee and π\piπ to complex rotation, but their roles arise from different features of the function:

  • eee is defined by the value exp⁡(1)\exp(1)exp(1) and is used in the familiar real-input notation exe^xex.

  • π\piπ describes the angle of a half-turn around the unit circle.

  • Euler’s formula describes what happens when the input is imaginary: the exponential traces the unit circle.

A calculation of exp⁡(iπ)\exp(i\pi)exp(iπ) can be performed directly from its series without first inserting the decimal value of eee. In that sense, the series definition makes clear that the complex-rotation claim is about the behavior of the exponential function. The familiar notation eiπe^{i\pi}eiπ expresses that function using the constant eee.


Computing the series

A computer can approximate the exponential by adding a finite number of terms:

∑n=0Nxnn!.\sum_{n=0}^{N}\frac{x^n}{n!}.∑n=0N​n!xn​.

For sufficiently large NNN, the omitted terms have very little effect because the factorial denominators grow rapidly. The same idea works with complex numbers: each term is calculated using complex arithmetic, then added to the others.

A programming implementation makes explicit what the computation does: generate powers of the input, divide each by the corresponding factorial, and sum the results. Numerical outputs are approximations, so tiny residual values may appear where the exact result is zero. Such differences can result from truncating the series or from finite precision in computer arithmetic.


Extending the exponential to matrices

The series definition also allows an exponential of a matrix AAA to be defined by

exp⁡(A)=I+A+A22!+A33!+⋯ ,\exp(A)=I+A+\frac{A^2}{2!}+\frac{A^3}{3!}+\cdots,exp(A)=I+A+2!A2​+3!A3​+⋯,

where III is the identity matrix. Matrix exponentials are useful in areas such as differential equations and physics.

For scalar or complex inputs, the addition identity holds:

exp⁡(X+Y)=exp⁡(X)exp⁡(Y).\exp(X+Y)=\exp(X)\exp(Y).exp(X+Y)=exp(X)exp(Y).

For matrices, this identity is guaranteed when XXX and YYY commute, meaning XY=YXXY=YXXY=YX. It does not generally hold for noncommuting matrices, because matrix multiplication depends on order. The series definition remains useful even when familiar scalar identities need extra conditions.


Key conclusions

  • The complex exponential is defined by the convergent series exp⁡(x)=∑n=0∞xnn!\exp(x)=\sum_{n=0}^{\infty}\frac{x^n}{n!}exp(x)=∑n=0∞​n!xn​.

  • The number eee is the value exp⁡(1)\exp(1)exp(1); for real inputs, exe^xex is shorthand for exp⁡(x)\exp(x)exp(x).

  • The exponential addition property is exp⁡(a+b)=exp⁡(a)exp⁡(b)\exp(a+b)=\exp(a)\exp(b)exp(a+b)=exp(a)exp(b).

  • Powers of iii cycle every four steps, corresponding to repeated quarter-turns in the complex plane.

  • Euler’s formula, exp⁡(iθ)=cos⁡θ+isin⁡θ\exp(i\theta)=\cos\theta+i\sin\thetaexp(iθ)=cosθ+isinθ, identifies the complex exponential of an imaginary input with a point on the unit circle.

  • The series definition generalizes to complex numbers and matrices, while some identities—especially for matrices—require additional conditions.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent