*This article about complex numbers is a little advanced. See here for a basic introduction to complex numbers.*

Many things in mathematics are named after Leonhard Euler, who probably was the most prolific mathematician of all time. In this article we explore a formula carrying his name which reveals a beautiful relationship between the exponential function and trigonometric functions. It also allows us to write complex numbers in an exponential way.

First of all, remember that a complex number has the form where and are real numbers and is the square root of .

You can associate a complex number with the point in the plane that has Cartesian coordinates .

A complex number represented as a point on the plane in Cartesian coordinates.

Now a point in the plane can also be described by its *polar coordinates* . Here is the distance from to and is the angle formed by the line connecting to and the positive -axis (measured anti-clockwise).

A complex number represented as a point on the plane in polar coordinates.

The relationship between the Cartesian coordinates and the polar coordinates can be worked out using a little trigonometry. It is

Trigonometry tells us the relationship between polar and Cartesian coordinates.

Going back to our complex number , we now see that it can also be written as

### The power of powers

Here comes the really interesting bit.
As we explained in a piece from our *Maths in a minute* library, the cosine, the sine, and the exponential of a real number can be written as infinite sums of powers of .

and

Here For all three of these series the beautiful pattern continues indefinitely. Choosing a particular value for you will find that the infinite series *converges* to or respectively.

### Re-writing *z*

Now let’s see what happens when we work out

using the infinite series representation. We get

Now notice that the number raised to the powers , , , etc, gives us . For example,

By contrast, raised to the powers , , , etc, gives . For example,

Something similar happens for odd powers. The number raised to the powers , , , etc, gives . For example

By contrast, raised to the powers , , , etc, gives us . For example,

This means that our expression for above becomes

We can rearrange this series to gather together all terms involving :

(Note that we are allowed to rearrange the terms of the series because it is *absolutely convergent,* though we won't prove this here.)

From our representations of and above, this means that

So, in summary, a complex number can also be written as

where

and

It is associated to the point in the plane that has Cartesian coordinates and polar coordinates .

### Why do we care?

Euler’s formula is beautiful in its own right, but it’s also useful. Imagine you want to multiply two complex numbers and . If you write them as and then this is tedious. You have to work out

which involves multiplying out brackets. It’s even more tedious if you’re multiplying more than two complex numbers. And it doesn’t give you a sense of where on the plane the point corresponding to might lie.

However, writing as and as makes the multiplication easy:

All you have to do is multiply the two *radii* and and add the two polar angles.

From this you can also immediately tell where on the plane the point corresponding to lies.

We have illustrated this below for amnd so .

### Euler's identity

Finally, we have a quick look look at what's often described as the most beautiful equation in mathematics: *Euler's identity*:

We can see that the equation is true because

People love this equation because it combines three of the most important numbers in maths — , , , , and — with three of the most important mathematical operations— addition, multiplication, and exponentiation. It almost feels like a miracle that these numbers and operations combine in such a beautifully elegant way.

### About this article

Marianne Freiberger is Editor of *Plus*.

*This article is part of our collaboration with the Isaac Newton Institute for Mathematical Sciences (INI), an international research centre and our neighbour here on the University of Cambridge's maths campus. INI attracts leading mathematical scientists from all over the world, and is open to all. Visit www.newton.ac.uk to find out more.*

## Comments

## How to do it with a computer

Here is another take on the topic, plus how to do it with a popular programming language (R): https://blog.ephorie.de/euler-coding-challenge-build-maths-most-beautifu...