Preply — Study more efficiently by working with a personal tutor. Get 50% off.Affiliate

Wikipedia

Euler's formula

Euler's formula

Euler's formula, named after Leonhard Euler, is a mathematical formula in complex analysis that establishes the fundamental relationship between the trigonometric functions and the complex exponential function. Euler's formula states that, for any real number x, one has

e i x = cos ⁡ x + i sin ⁡ x , {\displaystyle e^{ix}=\cos x+i\sin x,}

where e is the base of the natural logarithm, i is the imaginary unit, and cos and sin are the trigonometric functions cosine and sine respectively. This complex exponential function is sometimes denoted cis x ("cosine plus i sine"). The formula is still valid if x is a complex number, and is also called Euler's formula in this more general case. Euler's formula is ubiquitous in mathematics, physics, chemistry, and engineering. The physicist Richard Feynman called the equation "our jewel" and "the most remarkable formula in mathematics". When x = π, Euler's formula may be rewritten as eiπ = −1 or eiπ + 1 = 0, 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 − 1 {\displaystyle {\sqrt {-1}}} ) as:

i x = ln ⁡ ( cos ⁡ x + i sin ⁡ x ) . {\displaystyle ix=\ln(\cos x+i\sin x).}

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 2πi.

Around 1740, Leonhard Euler 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 had found that

1 1 + x 2 = 1 2 ( 1 1 − i x + 1 1 + i x ) . {\displaystyle {\frac {1}{1+x^{2}}}={\frac {1}{2}}\left({\frac {1}{1-ix}}+{\frac {1}{1+ix}}\right).}

And since

∫ d x 1 + a x = 1 a ln ⁡ ( 1 + a x ) + C , {\displaystyle \int {\frac {dx}{1+ax}}={\frac {1}{a}}\ln(1+ax)+C,}

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 was described about 50 years later by Caspar Wessel.

Definitions of complex exponentiation

The exponential function ex for real values of x may be defined in a few different equivalent ways (see Characterizations of the exponential function). Several of these methods may be directly extended to give definitions of ez for complex values of z simply by substituting z in place of x 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 of ex to the complex plane.

Differential equation definition The exponential function f ( z ) = e z {\displaystyle f(z)=e^{z}} is the unique differentiable function of a complex variable for which the derivative equals the function d f d z = f {\displaystyle {\frac {df}{dz}}=f} and f ( 0 ) = 1. {\displaystyle f(0)=1.}

Power series definition For complex z

e z = 1 + z 1 ! + z 2 2 ! + z 3 3 ! + ⋯ = ∑ n = 0 ∞ z n n ! . {\displaystyle e^{z}=1+{\frac {z}{1!}}+{\frac {z^{2}}{2!}}+{\frac {z^{3}}{3!}}+\cdots =\sum _{n=0}^{\infty }{\frac {z^{n}}{n!}}.}

Using the ratio test, it is possible to show that this power series has an infinite radius of convergence and so defines ez for all complex z.

Limit definition For complex z

e z = lim n → ∞ ( 1 + z n ) n . {\displaystyle e^{z}=\lim _{n\to \infty }\left(1+{\frac {z}{n}}\right)^{n}.}

Here, n is restricted to positive integers, so there is no question about what the power with exponent n 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 of one, so they must be equal (the exponential function is never zero, so this is permitted). Consider the function f(θ)

f ( θ ) = cos ⁡ θ + i sin ⁡ θ e i θ = e − i θ ( cos ⁡ θ + i sin ⁡ θ ) {\displaystyle f(\theta )={\frac {\cos \theta +i\sin \theta }{e^{i\theta }}}=e^{-i\theta }\left(\cos \theta +i\sin \theta \right)}

for real θ. Differentiating gives by the product rule

f ′ ( θ ) = e − i θ ( i cos ⁡ θ − sin ⁡ θ ) − i e − i θ ( cos ⁡ θ + i sin ⁡ θ ) = 0 {\displaystyle f'(\theta )=e^{-i\theta }\left(i\cos \theta -\sin \theta \right)-ie^{-i\theta }\left(\cos \theta +i\sin \theta \right)=0}

Thus, f(θ) is a constant. Since the exponential function is 1 for θ = 0, by definition, and the complex trig function also evaluates to 1 there, f(0) = 1/1 = 1, then f(θ) = 1 for all real θ, and thus

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

Using power series

Here is a proof of Euler's formula using power-series expansions, as well as basic facts about the powers of i:

i 0 = 1 , i 1 = i , i 2 = − 1 , i 3 = − i , i 4 = 1 , i 5 = i , i 6 = − 1 , i 7 = − i ⋮ ⋮ ⋮ ⋮ {\displaystyle {\begin{aligned}i^{0}&=1,&i^{1}&=i,&i^{2}&=-1,&i^{3}&=-i,\\i^{4}&=1,&i^{5}&=i,&i^{6}&=-1,&i^{7}&=-i\\&\vdots &&\vdots &&\vdots &&\vdots \end{aligned}}}

Using now the power-series definition from above, we see that for real values of x

e i x = 1 + i x + ( i x ) 2 2 ! + ( i x ) 3 3 ! + ( i x ) 4 4 ! + ( i x ) 5 5 ! + ( i x ) 6 6 ! + ( i x ) 7 7 ! + ( i x ) 8 8 ! + ⋯ = 1 + i x − x 2 2 ! − i x 3 3 ! + x 4 4 ! + i x 5 5 ! − x 6 6 ! − i x 7 7 ! + x 8 8 ! + ⋯ = ( 1 − x 2 2 ! + x 4 4 ! − x 6 6 ! + x 8 8 ! − ⋯ ) + i ( x − x 3 3 ! + x 5 5 ! − x 7 7 ! + ⋯ ) = cos ⁡ x + i sin ⁡ x , {\displaystyle {\begin{aligned}e^{ix}&=1+ix+{\frac {(ix)^{2}}{2!}}+{\frac {(ix)^{3}}{3!}}+{\frac {(ix)^{4}}{4!}}+{\frac {(ix)^{5}}{5!}}+{\frac {(ix)^{6}}{6!}}+{\frac {(ix)^{7}}{7!}}+{\frac {(ix)^{8}}{8!}}+\cdots \\[8pt]&=1+ix-{\frac {x^{2}}{2!}}-{\frac {ix^{3}}{3!}}+{\frac {x^{4}}{4!}}+{\frac {ix^{5}}{5!}}-{\frac {x^{6}}{6!}}-{\frac {ix^{7}}{7!}}+{\frac {x^{8}}{8!}}+\cdots \\[8pt]&=\left(1-{\frac {x^{2}}{2!}}+{\frac {x^{4}}{4!}}-{\frac {x^{6}}{6!}}+{\frac {x^{8}}{8!}}-\cdots \right)+i\left(x-{\frac {x^{3}}{3!}}+{\frac {x^{5}}{5!}}-{\frac {x^{7}}{7!}}+\cdots \right)\\[8pt]&=\cos x+i\sin x,\end{aligned}}}

where in the last step we recognize the two terms are the Maclaurin series for cos x and sin x. The splitting into two series is justified since we know the series for sine and cosine converge.

Using polar coordinates Another proof is based on the fact that all complex numbers can be expressed in polar coordinates and on the assumption that e i x {\displaystyle e^{ix}} can be likewise represented; this will be the case if we find a solution. Therefore, for some r and θ depending on x,

e i x = r ( cos ⁡ θ + i sin ⁡ θ ) . {\displaystyle e^{ix}=r\left(\cos \theta +i\sin \theta \right).}

No assumptions are being made about r 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 eix is ieix. Therefore, differentiating both sides gives

i e i x = ( cos ⁡ θ + i sin ⁡ θ ) d r d x + r ( − sin ⁡ θ + i cos ⁡ θ ) d θ d x . {\displaystyle ie^{ix}=\left(\cos \theta +i\sin \theta \right){\frac {dr}{dx}}+r\left(-\sin \theta +i\cos \theta \right){\frac {d\theta }{dx}}.}

Substituting r(cos θ + i sin θ) for eix and equating real and imaginary parts in this formula gives ⁠dr/dx⁠ = 0 and ⁠dθ/dx⁠ = 1. Thus, r is a constant, and θ is x + C for some constant C. We now have

e i θ = r e i C ( cos ⁡ θ + i sin ⁡ θ ) ; {\displaystyle e^{i\theta }=re^{iC}(\cos \theta +i\sin \theta );}

knowing that ei0 = 1, for θ = 0, this becomes

1 = r e i C ( cos ⁡ ( 0 ) + i sin ⁡ ( 0 ) ) = r e i C ( 1 + i 0 ) = r e i C , {\displaystyle 1=re^{iC}(\cos(0)+i\sin(0))=re^{iC}(1+i0)=re^{iC},}

giving us the constant r e i C = 1 {\displaystyle re^{iC}=1} and proving the formula

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

Applications

Applications in complex number theory

Interpretation of the formula This formula can be interpreted as saying that the function eiφ is a unit complex number, i.e., it traces out the unit circle in the complex plane as φ ranges through the real numbers. Here φ is the angle that a line connecting the origin with a point on the unit circle makes with the positive real axis, measured counterclockwise and in radians. The original proof is based on the Taylor series expansions of the exponential function ez (where z is a complex number) and of sin x and cos x for real numbers x (see above). In fact, the same proof shows that Euler's formula is even valid for all complex numbers x. A point in the complex plane can be represented by a complex number written in cartesian coordinates. Euler's formula provides a means of conversion between cartesian coordinates and polar coordinates. The polar form simplifies the mathematics when used in multiplication or powers of complex numbers. Any complex number z = x + iy, and its complex conjugate, z = x − iy, can be written as

z = x + i y = | z | ( cos ⁡ φ + i sin ⁡ φ ) = r e i φ , z ¯ = x − i y = | z | ( cos ⁡ φ − i sin ⁡ φ ) = r e − i φ , {\displaystyle {\begin{aligned}z&=x+iy=|z|(\cos \varphi +i\sin \varphi )=re^{i\varphi },\\{\bar {z}}&=x-iy=|z|(\cos \varphi -i\sin \varphi )=re^{-i\varphi },\end{aligned}}}

where

x = Re z is the real part, y = Im z is the imaginary part,

r = | z | = x 2 + y 2 {\displaystyle \textstyle r=|z|={\sqrt {x^{2}+y^{2}}}} is the magnitude of z and φ = arg z = atan2(y, x). φ is the argument of z, i.e., the angle between the x axis and the vector z measured counterclockwise in radians, which is defined up to addition of 2π. Many texts write φ = tan−1 ⁠y/x⁠ instead of φ = atan2(y, x), but the first equation needs adjustment when x ≤ 0. This is because for any real x and y, not both zero, the angles of the vectors (x, y) and (−x, −y) differ by π radians, but have the identical value of tan φ = ⁠y/x⁠.

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 of a complex number. To do this, we also use the definition of the logarithm (as the inverse operator of exponentiation):

a = e ln ⁡ a , {\displaystyle a=e^{\ln a},}

and that

e a e b = e a + b , {\displaystyle e^{a}e^{b}=e^{a+b},}

both valid for any complex numbers a and b. Therefore, one can write:

z = | z | e i φ = e ln ⁡ | z | e i φ = e ln ⁡ | z | + i φ {\displaystyle z=\left|z\right|e^{i\varphi }=e^{\ln \left|z\right|}e^{i\varphi }=e^{\ln \left|z\right|+i\varphi }}

for any z ≠ 0. Taking the logarithm of both sides shows that

ln ⁡ z = ln ⁡ | z | + i φ , {\displaystyle \ln z=\ln \left|z\right|+i\varphi ,}

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

( e a ) k = e a k , {\displaystyle \left(e^{a}\right)^{k}=e^{ak},}

which can be seen to hold for all integers k, 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 and trigonometry, and provides an interpretation of the sine and cosine functions as weighted sums of the exponential function:

cos ⁡ x = Re ⁡ ( e i x ) = e i x + e − i x 2 , sin ⁡ x = Im ⁡ ( e i x ) = e i x − e − i x 2 i . {\displaystyle {\begin{aligned}\cos x&=\operatorname {Re} \left(e^{ix}\right)={\frac {e^{ix}+e^{-ix}}{2}},\\\sin x&=\operatorname {Im} \left(e^{ix}\right)={\frac {e^{ix}-e^{-ix}}{2i}}.\end{aligned}}}

The two equations above can be derived by adding or subtracting Euler's formulas:

e i x = cos ⁡ x + i sin ⁡ x , e − i x = cos ⁡ ( − x ) + i sin ⁡ ( − x ) = cos ⁡ x − i sin ⁡ x {\displaystyle {\begin{aligned}e^{ix}&=\cos x+i\sin x,\\e^{-ix}&=\cos(-x)+i\sin(-x)=\cos x-i\sin x\end{aligned}}}

and solving for either cosine or sine. These formulas can even serve as the definition of the trigonometric functions for complex arguments x. For example, letting x = iy, we have:

cos ⁡ i y = e − y + e y 2 = cosh ⁡ y , sin ⁡ i y = e − y − e y 2 i = e y − e

Tags

  • E (mathematical constant)
  • Leonhard Euler
  • Mathematical analysis
  • Theorems in complex analysis
  • Trigonometry