Euler’s identity is a special case of the equation that the American quantum physicist Richard Feynman called “the most remarkable formula in mathematics.” That equation is Euler’s formula,

Euler’s identity is Euler’s formula when *x* = .

Euler’s formula connects complex analysis with trigonometry, and Euler’s identity ties in a single equation the five most fundamental numbers of mathematics. (For more on the irrational numbers in Euler’s identity, see these three posts.)

Why does Euler’s formula and, by extension, Euler’s identity, even work? One explanation, and the one by which I was first exposed to Euler’s formula, was the Maclaurin expansion of *e* and the trigonometric functions sine and cosine.

Maclaurin series, named after 18th century Scottish mathematician Colin Maclaurin, are a form of Taylor series beginning where *x* = 0. Taylor series represent a function as an infinite sum of terms calculated from taking higher and higher order derivatives of the function at the point *x* = *a*. They help turn complicated functions into more easily interpreted ones.

According to a Taylor series expansion, *f*(x) =

Where *x* = 0, you have the Maclaurin series expansion *f*(x) =

Expanding the functions *f*(*x*) = , *g*(*x**) = *cos *x*, and *h*(*x*) = sin *x *using Maclaurin series gives us the following sums:

Notice that the cosine function has only even powers and the sine function has only odd powers. The cosine and sine Maclaurin expansions would complete one another, if not for the changing of signs for each term.

If we substituted the *x* in with , understanding that *i *is equal to , gives us:

Simplifying this yields:

When we group the even and odd order terms separately, the expansion becomes:

Remarkably, the left side of the sum contains the even order terms of the Maclaurin expansion of the cosine series; the right side, the odd order terms of the sine series. We could simplify the sum, then, to:

Then, as discussed previously, where *x* = = , we derive Euler’s identity, .

Given a unit circle, such as the one displayed at the beginning of this post, you can see the relation between *e* and the trigonometric functions as well. (For more on the real and imaginary axes on the unit circle, see this post.) For a point on the unit circle, cos *x* is the x-coordinate and sin *x* is the y-coordinate. is equal to a counterclockwise rotation around that circle.

Think of it as the hypotenuse of the triangle formed by the cosine and sine functions. Taking every value for and plotting at each point would trace the unit circle.

That is imaginary exponential growth described by Euler’s identity.