Euler's formula

Revision as of 13:30, 19 June 2006 by Me@home (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article is about Euler's formula in complex analysis. For other meanings, see Euler function.

Euler's formula, named after Leonhard Euler, is a mathematical formula in complex analysis that shows a deep relationship between the trigonometric functions and the complex exponential function. (Euler's identity is a special case of the Euler formula.)

Euler's formula states that, for any real number x,

$e^{ix} = \cos x + i\sin x \!$

where

$e$ is the base of the natural logarithm
$i$ is the imaginary unit
$\sin$ and $\cos$ are trigonometric functions.

Richard Feynman called Euler's formula "our jewel" and "the most remarkable formula in mathematics" (Feynman, p. 22-10).

History

Euler's formula was proven (in an obscured form) for the first time by Roger Cotes in 1714, then rediscovered and popularized by Euler in 1748. Neither of these men saw the geometrical interpretation of the formula: the view of complex numbers as points in the plane arose only some 50 years later (see Caspar Wessel).

Applications in complex number theory

This formula can be interpreted as saying that the function eix traces out the unit circle in the complex number plane as x ranges through the real numbers. Here, x is the angle that a line connecting the origin with a point on the unit circle makes with the positive real axis, measured counter clockwise and in radians. The formula is valid only if sin and cos take their arguments in radians rather than in degrees.

The 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 below). In fact, the same proof shows that Euler's formula is even valid for all complex numbers x.

Euler's formula can be used to represent complex numbers in polar coordinates. Any complex number z=x+iy can be written as

$z = x + iy = |z| (\cos \phi + i\sin \phi ) = |z| e^{i \phi} \,$

where

$x = \mathrm{Re}\{z\} \,$
$y = \mathrm{Im}\{z\} \,$
$|z|$ is the magnitude of z

and $\phi$ is the argument of z— the angle between the x axis and the vector z measured counterclockwise and in radians — which is defined up to addition of 2π.

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 facts that

$a = e^{ln (a)}\,$

and

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

both valid for any complex numbers a and b.

Therefore, one can write:

$z=|z| e^{i \phi} =  e^{\ln |z|} e^{i \phi} = e^{\ln |z| + i \phi}\,$

for any $z\ne 0$. Taking the logarithm of both sides shows that:

$\ln z= \ln |z| + i \phi.\,$

and in fact this can be used as the defintion for the complex logarithm. The logarithm of a complex number is thus a multi-valued function, due to the fact that $\phi$ is multi-valued.

Finally, the other exponential law

$(e^a)^k = e^{a k}, \,$

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 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 = {e^{ix} + e^{-ix} \over 2}$
$\sin x = {e^{ix} - e^{-ix} \over 2i}$

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

$e^{ix} = \cos x + i \sin x \;$
$e^{-ix} = \cos x - i \sin x \;$

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(iy) =  {e^{-y} + e^{y} \over 2} = \cosh(y)$
$\sin(iy) =  {e^{-y} - e^{y} \over 2i} = i \sinh(y).$

Other applications

In differential equations, the function eix is often used to simplify derivations, even if the final answer is a real function involving sine and cosine. Euler's identity is an easy consequence of Euler's formula.

In electrical engineering and other fields, signals that vary periodically over time are often described as a combination of sine and cosine functions (see Fourier analysis), and these are more conveniently expressed as the real part of exponential functions with imaginary exponents, using Euler's formula.

Proofs

Using Taylor series

Here is a proof of Euler's formula using Taylor 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 \,$

and so on. The functions ex, cos(x) and sin(x) (assuming x is real) can be written as:

$e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots$
$\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots$
$\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots$

and for complex z we define each of these function by the above series, replacing x with iz. This is possible because the radius of convergence of each series is infinite. We then find that

$e^{iz} = 1 + iz + \frac{(iz)^2}{2!} + \frac{(iz)^3}{3!} + \frac{(iz)^4}{4!} + \frac{(iz)^5}{5!} + \frac{(iz)^6}{6!} + \frac{(iz)^7}{7!} + \frac{(iz)^8}{8!} + \cdots$
$= 1 + iz - \frac{z^2}{2!} - \frac{iz^3}{3!} + \frac{z^4}{4!} + \frac{iz^5}{5!} - \frac{z^6}{6!} - \frac{iz^7}{7!} + \frac{z^8}{8!} + \cdots$
$= \left( 1 - \frac{z^2}{2!} + \frac{z^4}{4!} - \frac{z^6}{6!} + \frac{z^8}{8!} - \cdots \right) + i\left( z - \frac{z^3}{3!} + \frac{z^5}{5!} - \frac{z^7}{7!} + \cdots \right)$
$= \cos (z) + i\sin (z) \,$

The rearrangement of terms is justified because each series is absolutely convergent. Taking z = x to be a real number gives the original identity as Euler discovered it.

Q.E.D.

Using calculus

Define the complex number $z$ such that

$z=\cos x + i\sin x \,$ (ignoring the modulus term, as this cancels later)

Differentiating $z$ with respect to $x$:

$\frac{dz}{dx}=-\sin x + i\cos x$

Using the fact that i2 = -1:

$\frac{dz}{dx}=i^2\sin x + i\cos x=i(\cos x + i\sin x)=iz$

Dividing both sides by z, multiplying both sides by dx, and integrating:

$\frac{dz}{z}=idx$
$\int\frac{1}{z}\,dz=\int i\,dx$
$\ln z=ix + C\,$

where

$C$ is the constant of integration.

To finish the proof it must be shown that $C$ is zero. This is easily done by, for example, substituting $x=0$.

$\ln z = C\,$

But $z$ is just equal to:

$z = \cos x + i\sin x = \cos 0 + i \sin 0 = 1 \,$

thus

$\ln 1 = C \,$
$C = 0 \,$

The final step is to exponentiate

$\ln z = ix \,$
$e^{\ln z} = e^{ix} \,$
$z = e^{ix} \,$
$e^{ix} = \cos x + i\sin x \,$

References

  • Feynman, Richard P., The Feynman Lectures on Physics, vol. I Addison-Wesley (1977), ISBN 0201020106, ISBN 02010211161

External links

See also