Euler's formula, named after
Leonhard Euler
Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
, is a
mathematical
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
formula in
complex analysis
Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates functions of complex numbers. It is helpful in many branches of mathematics, including algebra ...
that establishes the fundamental relationship between the
trigonometric functions
In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in ...
and the
complex exponential function
The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, ...
. Euler's formula states that for any
real number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
:
where is the
base of the natural logarithm, is the
imaginary unit
The imaginary unit or unit imaginary number () is a solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition a ...
, and and are the
trigonometric functions
In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in ...
cosine and
sine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is opp ...
respectively. This complex exponential function is sometimes denoted ("cosine plus i sine"). The formula is still valid if is a
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
, and so some authors refer to the more general complex version as Euler's formula.
Euler's formula is ubiquitous in mathematics, physics, and engineering. The physicist
Richard Feynman
Richard Phillips Feynman (; May 11, 1918 – February 15, 1988) was an American theoretical physicist, known for his work in the path integral formulation of quantum mechanics, the theory of quantum electrodynamics, the physics of the superf ...
called the equation "our jewel" and "the most remarkable formula in mathematics".
When , Euler's formula may be rewritten as , which is known as
Euler's identity.
History
In 1714, the English mathematician
Roger Cotes presented a geometrical argument that can be interpreted (after correcting a misplaced factor of
) as:
Exponentiating this equation yields Euler's formula. Note that the logarithmic statement is not universally correct for complex numbers, since a complex logarithm can have infinitely many values, differing by multiples of .
Around 1740
Leonhard Euler
Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
turned his attention to the exponential function and derived the equation named after him by comparing the series expansions of the exponential and trigonometric expressions.
The formula was first published in 1748 in his foundational work ''
Introductio in analysin infinitorum''.
Johann Bernoulli
Johann Bernoulli (also known as Jean or John; – 1 January 1748) was a Swiss mathematician and was one of the many prominent mathematicians in the Bernoulli family. He is known for his contributions to infinitesimal calculus and educating ...
had found that
And since
the above equation tells us something about
complex logarithms by relating natural logarithms to imaginary (complex) numbers. Bernoulli, however, did not evaluate the integral.
Bernoulli's correspondence with Euler (who also knew the above equation) shows that Bernoulli did not fully understand
complex logarithms. Euler also suggested that complex logarithms can have infinitely many values.
The view of complex numbers as points in the
complex plane
In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by th ...
was described about 50 years later by
Caspar Wessel.
Definitions of complex exponentiation
The exponential function for real values of may be defined in a few different equivalent ways (see
Characterizations of the exponential function In mathematics, the exponential function can be characterized in many ways. The following characterizations (definitions) are most common. This article discusses why each characterization makes sense, and why the characterizations are independent ...
). Several of these methods may be directly extended to give definitions of for complex values of simply by substituting in place of and using the complex algebraic operations. In particular we may use any of the three following definitions, which are equivalent. From a more advanced perspective, each of these definitions may be interpreted as giving the
unique analytic continuation
In complex analysis, a branch of mathematics, analytic continuation is a technique to extend the domain of definition of a given analytic function. Analytic continuation often succeeds in defining further values of a function, for example in a n ...
of to the complex plane.
Differential equation definition
The exponential function
is the unique
differentiable function
In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
of a
complex variable
Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates functions of complex numbers. It is helpful in many branches of mathematics, including algebra ...
for which the derivative equals the function
and
Power series definition
For complex
Using the
ratio test, it is possible to show that this
power series
In mathematics, a power series (in one variable) is an infinite series of the form
\sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots
where ''an'' represents the coefficient of the ''n''th term and ''c'' is a con ...
has an infinite
radius of convergence and so defines for all complex .
Limit definition
For complex
Here, is restricted to
positive integer
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called '' cardinal ...
s, so there is no question about what the power with exponent means.
Proofs
Various proofs of the formula are possible.
Using differentiation
This proof shows that the quotient of the trigonometric and exponential expressions is the constant function one, so they must be equal (the exponential function is never zero,
[ Theorem 1.42] so this is permitted).
Consider the function
for real . Differentiating gives by the
product rule
Thus, is a constant. Since , then for all real , and thus
Using power series
Here is a proof of Euler's formula using
power-series expansions, as well as basic facts about the powers of :
Using now the power-series definition from above, we see that for real values of
where in the last step we recognize the two terms are the
Maclaurin series for and .
The rearrangement of terms is justified because each series is
absolutely convergent.
Using polar coordinates
Another proof
[ Second proof on page.] is based on the fact that all complex numbers can be expressed in
polar coordinates
In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a reference point and an angle from a reference direction. The reference point (analogous to t ...
. Therefore,
for some
In predicate logic, an existential quantification is a type of quantifier, a logical constant which is interpreted as "there exists", "there is at least one", or "for some". It is usually denoted by the logical operator symbol ∃, which, ...
and depending on ,
No assumptions are being made about and ; they will be determined in the course of the proof. From any of the definitions of the exponential function it can be shown that the derivative of is . Therefore, differentiating both sides gives
Substituting for and equating real and imaginary parts in this formula gives and . Thus, is a constant, and is for some constant . The initial values and come from , giving and . This proves the formula
Applications
Applications in complex number theory
Interpretation of the formula
This formula can be interpreted as saying that the function is a
unit complex number
In mathematics, the circle group, denoted by \mathbb T or \mathbb S^1, is the multiplicative group of all complex numbers with absolute value 1, that is, the unit circle in the complex plane or simply the unit complex numbers.
\mathbb T = ...
, i.e., it traces out the
unit circle
In mathematics, a unit circle is a circle of unit radius—that is, a radius of 1. Frequently, especially in trigonometry, the unit circle is the circle of radius 1 centered at the origin (0, 0) in the Cartesian coordinate system in the Eucli ...
in the
complex plane
In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by th ...
as ranges through the real numbers. Here is the
angle
In Euclidean geometry, an angle is the figure formed by two rays, called the '' sides'' of the angle, sharing a common endpoint, called the '' vertex'' of the angle.
Angles formed by two rays lie in the plane that contains the rays. Angles ...
that a line connecting the origin with a point on the unit circle makes with the
positive real axis, measured counterclockwise and in
radian
The radian, denoted by the symbol rad, is the unit of angle in the International System of Units (SI) and is the standard unit of angular measure used in many areas of mathematics. The unit was formerly an SI supplementary unit (before tha ...
s.
The original proof is based on the
Taylor series
In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor se ...
expansions of the
exponential function
The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, ...
(where is a complex number) and of and for real numbers (see below). In fact, the same proof shows that Euler's formula is even valid for all ''complex'' numbers .
A point in the
complex plane
In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by th ...
can be represented by a complex number written in
cartesian coordinates
A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured i ...
. Euler's formula provides a means of conversion between cartesian coordinates and
polar coordinates
In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a reference point and an angle from a reference direction. The reference point (analogous to t ...
. The polar form simplifies the mathematics when used in multiplication or powers of complex numbers. Any complex number , and its complex conjugate, , can be written as
where
* is the real part,
* is the imaginary part,
* is the
magnitude of and
*.
is the
argument
An argument is a statement or group of statements called premises intended to determine the degree of truth or acceptability of another statement called conclusion. Arguments can be studied from three main perspectives: the logical, the dialect ...
of , i.e., the angle between the ''x'' axis and the vector ''z'' measured counterclockwise in
radian
The radian, denoted by the symbol rad, is the unit of angle in the International System of Units (SI) and is the standard unit of angular measure used in many areas of mathematics. The unit was formerly an SI supplementary unit (before tha ...
s, which is defined
up to addition of . Many texts write instead of , but the first equation needs adjustment when . This is because for any real and , not both zero, the angles of the vectors and differ by radians, but have the identical value of .
Use of the formula to define the logarithm of complex numbers
Now, taking this derived formula, we can use Euler's formula to define the
logarithm
In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number to the base is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 of ...
of a complex number. To do this, we also use the definition of the logarithm (as the inverse operator of exponentiation):
and that
both valid for any complex numbers and . Therefore, one can write:
for any . Taking the logarithm of both sides shows that
and in fact, this can be used as the definition for the
complex logarithm. The logarithm of a complex number is thus a
multi-valued function, because is multi-valued.
Finally, the other exponential law
which can be seen to hold for all integers , together with Euler's formula, implies several
trigonometric identities, as well as
de Moivre's formula.
Relationship to trigonometry

Euler's formula, the definitions of the trigonometric functions and the standard identities for exponentials are sufficient to easily derive most trigonometric identities. It provides a powerful connection between
analysis
Analysis ( : analyses) is the process of breaking a complex topic or substance into smaller parts in order to gain a better understanding of it. The technique has been applied in the study of mathematics and logic since before Aristotle (3 ...
and
trigonometry
Trigonometry () is a branch of mathematics that studies relationships between side lengths and angles of triangles. The field emerged in the Hellenistic world during the 3rd century BC from applications of geometry to astronomical studies. ...
, and provides an interpretation of the sine and cosine functions as
weighted sums of the exponential function:
The two equations above can be derived by adding or subtracting Euler's formulas:
and solving for either cosine or sine.
These formulas can even serve as the definition of the trigonometric functions for complex arguments . For example, letting , we have:
Complex exponentials can simplify trigonometry, because they are easier to manipulate than their sinusoidal components. One technique is simply to convert sinusoids into equivalent expressions in terms of exponentials. After the manipulations, the simplified result is still real-valued. For example:
Another technique is to represent the sinusoids in terms of the
real part of a complex expression and perform the manipulations on the complex expression. For example:
This formula is used for recursive generation of for integer values of and arbitrary (in radians).
Topological interpretation
In the language of
topology
In mathematics, topology (from the Greek words , and ) is concerned with the properties of a geometric object that are preserved under continuous deformations, such as stretching, twisting, crumpling, and bending; that is, without closing ho ...
, Euler's formula states that the imaginary exponential function
is a (
surjective)
morphism of
topological group
In mathematics, topological groups are logically the combination of groups and topological spaces, i.e. they are groups and topological spaces at the same time, such that the continuity condition for the group operations connects these two ...
s from the real line
to the unit circle
. In fact, this exhibits
as a
covering space of
. Similarly,
Euler's identity says that the
kernel
Kernel may refer to:
Computing
* Kernel (operating system), the central component of most operating systems
* Kernel (image processing), a matrix used for image convolution
* Compute kernel, in GPGPU programming
* Kernel method, in machine lea ...
of this map is
, where
. These observations may be combined and summarized in the
commutative diagram below:
Other applications
In
differential equations, the function is often used to simplify solutions, even if the final answer is a real function involving sine and cosine. The reason for this is that the exponential function is the
eigenfunction
In mathematics, an eigenfunction of a linear operator ''D'' defined on some function space is any non-zero function f in that space that, when acted upon by ''D'', is only multiplied by some scaling factor called an eigenvalue. As an equation, ...
of the operation of
differentiation.
In
electrical engineering,
signal processing
Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing '' signals'', such as sound, images, and scientific measurements. Signal processing techniques are used to optimize transmissions, ...
, and similar fields, signals that vary periodically over time are often described as a combination of sinusoidal functions (see
Fourier analysis), and these are more conveniently expressed as the sum of exponential functions with
imaginary exponents, using Euler's formula. Also,
phasor analysis of circuits can include Euler's formula to represent the impedance of a capacitor or an inductor.
In the
four-dimensional space
A four-dimensional space (4D) is a mathematical extension of the concept of three-dimensional or 3D space. Three-dimensional space is the simplest possible abstraction of the observation that one only needs three numbers, called ''dimensions'', ...
of
quaternion
In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. Hamilton defined a quat ...
s, there is a
sphere
A sphere () is a Geometry, geometrical object that is a solid geometry, three-dimensional analogue to a two-dimensional circle. A sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
of
imaginary unit
The imaginary unit or unit imaginary number () is a solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition a ...
s. For any point on this sphere, and a real number, Euler's formula applies:
and the element is called a
versor in quaternions. The set of all versors forms a
3-sphere in the 4-space.
See also
*
Complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
*
Euler's identity
*
Integration using Euler's formula
*
*
List of things named after Leonhard Euler
References
Further reading
*
*
External links
Elements of Algebra
{{Leonhard Euler
Theorems in complex analysis
Articles containing proofs
Analysis
E (mathematical constant)
Trigonometry
Leonhard Euler