BM · 09 Beauty of Math

Euler's Formula: Why e^(iπ) = −1

Euler's Formula: Why e^(iπ) = −1

Raise e to the power i times pi and you get exactly minus one. What could an imaginary power even mean? The answer is a picture: a point turning around a circle. We see that multiplying by i is a quarter turn, that multiplying numbers multiplies their lengths and adds their angles, that e comes from growth whose speed equals its size, and that pushing that growth sideways carries a point around a circle at speed one. Then we reach minus one three more ways: with a hundred small steps, with the point's two shadows (cosine and sine), and with an infinite sum that spirals in. Plus the history (Cotes, Euler, Wessel, Argand), the formulas it gives for free, i to the power i, and where engineers use it every day.

Chapters

Cheat sheet

Sources

Transcript

Take the number e, about two point seven one eight. Raise it to the power i, the square root of minus one, times pi. The answer is exactly minus one. That sounds like nonsense. What does it even mean to multiply a number by itself an imaginary number of times?

The answer is a picture: a point turning around a circle. By the end of this video, you'll see what i really does, what e really means, why together they make a circle, and why engineers use this formula every day.

This is Just Known. From unknown, to known. Beauty of Math, episode nine: Euler's formula, and why e to the i pi equals minus one. Start with the number line. Multiplying by minus one flips it around zero: two becomes minus two.

That's a half turn. Do it twice, and you're back where you started. Now ask: what could you multiply by twice to get that flip? No number on the line works. But two quarter turns make a half turn.

So call a quarter turn i. Multiplying one by i turns it straight up, to a new direction. Do it again, and i becomes minus one. That's all "i squared equals minus one" means: two quarter turns make a flip. The numbers now live on a plane, not a line.

Every number on this plane is a point, like three plus two i: three across, two up. It also has a length, its distance from zero, and an angle. Here's the key fact. When you multiply two of these numbers, their lengths multiply, and their angles add. One plus i has a length of about one point four, at forty-five degrees.

Multiply it by itself, and you get two i: length two, at ninety degrees. Keep going, and the points spiral outward, turning forty-five degrees each time. And if a number has a length of exactly one, multiplying by it doesn't stretch anything. It only turns. Now, e.

Imagine a dollar earning a hundred percent interest a year. Paid once, at the end of the year, you'd have two dollars. Paid in two halves, two dollars twenty-five. Monthly, about two sixty-one. Daily, about two seventy-one.

Pay it ever more often, and the total never runs past one number: two point seven one eight, and so on. That's e. It's what you get from growth whose speed always equals its current size, run for one unit of time. And e to the x is that same growth, run for a time x. So what is e to the i times something?

Take that same rule, speed equals size, but multiply the push by i. Now the push always points a quarter turn away from where you are. Start at one: the push points straight up. A push that's always at right angles to your position never moves you farther out or closer in. It just carries you around a circle, at a speed of one.

After a time t, you've travelled a distance t along the circle, so your angle is t, measured in radians. That's all e to the i t is: the point at angle t on the circle. The whole way around is two pi. So after a time pi, you're halfway round, at minus one. You can also get there with arithmetic, the same way we built e, and the way Euler did it.

e to the x is what one plus x over n, to the power n, settles on as n grows. So put in i pi. With n equals one, a single step of one plus i pi throws you straight up, far off the circle. With two steps, each a smaller nudge sideways, you curl further round. With ten steps, closer still.

Each step multiplies by a number turned a small angle, and only a little longer than one, so the steps bend round, very nearly in a circle. With a hundred steps, you land about a twentieth away from minus one. And in the limit, as the steps shrink to nothing, you land on it exactly. Now watch the point's shadows. Its shadow on the horizontal axis swings back and forth: that's the cosine of the angle.

Its shadow on the vertical axis is the sine. Spread them out over time, and they become the two waves from every trig class. Put together, they make Euler's formula: e to the i theta equals cos theta, plus i sin theta. The across part is the cosine, and the up part is the sine. At theta equals pi, the cosine is minus one and the sine is zero.

So e to the i pi is exactly minus one. There's a third way to get there, with an infinite sum. e to the x equals one, plus x, plus x squared over two, plus x cubed over six, and so on, each term divided by a bigger factorial. Put in i pi, and draw each term as an arrow, starting where the last one ended. Each term has one more factor of i than the one before, so each arrow turns a quarter turn: right, up, left, down, and round again.

They grow at first, then the factorials win and they shrink. The chain spirals inward and closes in on minus one. The arrows that point across add up to the cosine. The ones that point up and down add up to the sine. Move the minus one across, and you get its most famous form: e to the i pi, plus one, equals zero.

Five of the most important numbers in mathematics in one short line: e from growth, i from turning, pi from circles, and one and zero, where counting starts. Go all the way around instead, and e to the two pi i equals one. Richard Feynman called the full formula "our jewel", and "the most remarkable formula in mathematics". And in a 1988 poll of readers of the Mathematical Intelligencer, who scored twenty-four theorems for beauty, e to the i pi equals minus one came top. In 1714, the English mathematician Roger Cotes found the formula in disguise, written with a logarithm.

Leonhard Euler wrote it in the form we use and published it in 1748, in his book Introduction to the Analysis of the Infinite. He didn't even use the letter i yet: he wrote the square root of minus one. And here's the twist: Euler worked it out with algebra, not pictures. The idea of complex numbers as points on a plane came about fifty years later, from Caspar Wessel, a surveyor in Denmark, and Jean-Robert Argand, an amateur in Paris. The circle we've been drawing was hiding in the formula all along.

The formula turns trigonometry into multiplication. Going round the circle a distance a, then b, puts you at angle a plus b. Write both sides with Euler's formula, multiply out, and the angle addition formulas for sine and cosine fall out, no triangles needed. It also solves equations like z to the fifth equals one: five numbers do it, spaced evenly around the circle, the corners of a pentagon. And it gives one of the strangest answers in math.

i is e to the i pi over two, so i to the power i is e to the minus pi over two: about zero point two oh eight, an ordinary real number. Go round the circle again first, either way, and you get other answers, every one of them real. Engineers use this every day. The electricity in your wall swings back and forth fifty or sixty times a second. Engineers draw it as an arrow spinning around a circle, and its shadow is the voltage.

Signals and sounds are built from circles too: the spinning circles that drew pi in our Fourier episode each spin like e to the i k t, at their own speed k. Wi-Fi and phone signals send data as points on this same plane. And in quantum mechanics, i sits right in the main equation: a particle's wave is a row of arrows that turn as it goes. You can watch this happen in a few lines of code. Start at one: x is one, and y is zero.

Take a hundred small steps. Each step multiplies by one plus i pi over a hundred: the new x loses a little of y, and the new y gains a little of x. Draw a dot after every step. The dots curl around half a circle and land just outside minus one. Change a hundred to a thousand, and they land closer still.

The code is in the description. Let's recap. Multiplying by i is a quarter turn. Multiplying two numbers multiplies their lengths and adds their angles. e comes from growth whose speed equals its size.

Push that growth sideways with i, and it goes around a circle instead, at a speed of one. After a time pi, it's halfway round, at minus one. Next time: rose curves, where one short equation grows a flower, and the number of petals follows a surprising rule. This is Just Known. From unknown, to known.

Note: every point, path, sum and number on screen is computed; pictures marked "illustration" are schematic.
Narration voice generated with Google Gemini text-to-speech.