Euler's Formula

Euler's  Formula

Formula

Summary

Euler’s formula returns the complex number on the unit circle corresponding to the angle (theta).

Expression Description
The exponential function.
The complex constant where from complex numbers.
The angle in radians..
The cosine function.
The sine function.

How to use

Euler’s formula takes an angle as input and returns a complex number that represents a point on the unit circle in the complex plane that corresponds to the angle. For example, given the angle of radians, Euler’s formula returns the complex number which is the right-most point on the unit circle in the complex plane.

Euler's Formula visualized as a point on the unit circle in the complex plane.

Note, the notation is shorthand for the exponential function. Shown below is the formula written explicitly with the exponential function.

When using a computational medium that supports complex numbers this is useful to know. Conceptually, the definition of the exponential function can be used to verify the formula as discussed in the explanation below.

Examples

Explanation

The connection between the exponential function and the trigonometric functions sine and cosine is surprising and gives this formula notoriety. However, as mentioned above is shorthand for the exponential function.

Derivation

The example below derives Euler’s formula starting with the power series definition of the exponential function[1].

Steps

  1. Start with the power series definition of the exponential function.

  2. Substitute the complex input into the function as input.

  3. Expand the expressions in the numerators.

  4. Everywhere the complex constant is raised to a power greater than one, such as , and we can substitute into the expression one or more times.

  5. Simplify the expressions which flip some of the signs. The expressions that still contain the constant are highlighted in blue.

  6. Group the expressions containing together then factor out the complex constant.

  7. Observe that the two expressions represent the power series definitions of sine and cosine[2][3].

  8. Substitute the functions in for the power series in the expression and we get Euler’s formula.

References

  1. Derive Definition of Exponential Function (Taylor Series) Example
  2. Derive Sine Function (Taylor Series) Example
  3. Derive Cosine Function (Taylor Series) Example