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 i is defined by
A complex number on the unit circle is one unit from the origin. If its angle from the positive real axis is θ, its coordinates are cosθ and sinθ, so the number is
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 ex can suggest that the function means multiplying the number e by itself x times. That interpretation does not explain what an imaginary exponent means. A more general way to define the exponential is through the function exp:
Here, n! means the factorial of n, and 0!=1. A factorial is the product of the positive integers up to its argument; for example, 4!=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 1 and the number e
Substituting x=1 gives
This value is the constant e. For real inputs, the familiar notation ex is shorthand for exp(x). The constant e is therefore the value of the exponential function at 1, rather than a separate ingredient needed to compute the series at every input.
For example,
The exponential addition property
A fundamental property of the exponential function is
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
On the other hand, expanding the series for exp(x+y) gives
By the binomial theorem,
Since (kn)=k!(n−k)!n!, each term becomes
Writing m=n−k shows that the terms match those in the product exp(x)exp(y). This establishes the addition property for real or complex numbers.
What the addition property implies about functions
Suppose a function f satisfies
for all inputs a and b. Several consequences follow directly.
Whole-number inputs
For a positive integer such as 5, write 5=1+1+1+1+1. Repeated use of the property gives
More generally, for each positive integer n,
The input 21
Since 21+21=1,
Thus, f(21) is a square root of f(1). If the function is real-valued, this implies f(1)≥0, but it does not, by itself, select a particular square root.
The input 0 and negative inputs
Setting a=b=0 gives
Therefore, f(0) is either 0 or 1. If f(0)=0, then using a=x and b=0 gives
for every x. So the only function satisfying the property with f(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)=1. Then
so
This reciprocal conclusion requires f(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 ex is useful notation—and where it can mislead
For the exponential function, the addition property makes it reasonable to write exp(x) as ex for real x. The value at 1, namely 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 ez is interpreted through the exponential function’s series:
It is not necessary to think of an imaginary exponent as repeatedly multiplying the constant e 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 i
The relation i2=−1 determines a repeating pattern of powers:
The pattern then repeats every four powers. Geometrically, multiplying by i rotates a complex number by 90∘, or 2π radians. Accordingly:
i points upward on the imaginary axis.
i2=−1 points left on the real axis.
i3=−i points downward on the imaginary axis.
i4=1 returns to the positive real axis.
Thus, an integer power in depends on where n falls in the repeating cycle of four. The powers equal to −i are those with exponent one less than a multiple of four, including negative exponents. For example, i−1=i3=−i, because multiplying i−1 by i must give 1.
Euler’s formula
The central relationship is Euler’s formula:
usually written
The right-hand side is precisely the unit-circle complex number at angle θ. Euler’s formula therefore says that evaluating the exponential at the imaginary input iθ produces a point on the unit circle at angle θ.
A geometric interpretation using the series
Substituting iθ into the exponential series gives
Each term can be viewed as a vector in the complex plane:
The first term, 1, points to the right.
The next term, iθ, points upward.
The next term, (iθ)2/2!, points left, since i2=−1.
The next term, (iθ)3/3!, points downward, since i3=−i.
Subsequent terms continue rotating through the same directions.
The length of the term with exponent n is
For a fixed θ, 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 θ. 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 θ=π
At angle π, the point on the unit circle is halfway around from 1, at −1. Since cosπ=−1 and sinπ=0,
This gives the famous relationship
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
Euler’s formula gives
This value is near −1 on the unit circle, with a small positive imaginary component. Angles here are measured in radians: π radians is halfway around the circle, and 2π radians is one full turn.
Periodicity
A full turn changes an angle by 2π radians but returns to the same point. Correspondingly,
In complex-input notation, increasing the input by 2πi returns to the same exponential value. Thus, the complex exponential repeats with period 2πi along the imaginary direction.
What the roles of e and π mean
The exponential function connects the constants e and π to complex rotation, but their roles arise from different features of the function:
e is defined by the value exp(1) and is used in the familiar real-input notation ex.
π 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π) can be performed directly from its series without first inserting the decimal value of e. 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π expresses that function using the constant e.
Computing the series
A computer can approximate the exponential by adding a finite number of terms:
For sufficiently large N, 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 A to be defined by
where I 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:
For matrices, this identity is guaranteed when X and Y commute, meaning XY=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∞n!xn.
The number e is the value exp(1); for real inputs, ex is shorthand for exp(x).
The exponential addition property is exp(a+b)=exp(a)exp(b).
Powers of i cycle every four steps, corresponding to repeated quarter-turns in the complex plane.
Euler’s formula, exp(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.