# Pop Video: Euler’s Formula with Introductory Group Theory

Grant Sanderson • 3Blue1Brown • Boclips

Euler’s Formula with Introductory Group Theory

23:00

### Video Transcript

Two years ago, almost to the day actually, I put up the first video on this channel about Euler’s formula, 𝑒 to the 𝜋𝑖 equals negative one. As an anniversary of sorts, I wanna revisit that same idea. For one thing, I’ve always kinda wanted to improve on the presentation. But I wouldn’t rehash an old topic if there wasn’t something new to teach. You see, the idea underlying that video was to take certain concepts from a field in math called group theory and show how they give Euler’s formula a much richer interpretation than a mirror association between numbers. And, two years ago, I thought it might be fun to use those ideas without referencing group theory itself or any of the technical terms within it. But I’ve come to see that you all actually quite like getting into the math itself even if it takes some time.

So here, two years later, let’s, you and me, go through an introduction to the basics of group theory building up to how Euler’s formula comes to life under this light. If all you want is a quick explanation of Euler’s formula and if you’re comfortable with vector calculus. I’ll go ahead and put up a particularly short explanation on the screen that you can pause and ponder on. If it doesn’t make sense, don’t worry about it. It’s not needed for where we’re going. The reason that I wanna put out this group theory video though is not because I think it’s a better explanation. Heck it’s not even a complete proof. It’s just an intuition really. It’s because it has the chance to change how you think about numbers and how you think about algebra.

You see, group theory is all about studying the nature of symmetry. For example, a square is a very symmetric shape. But what do we actually mean by that? One way to answer that is to ask about, what are all the actions you can take on the square that leave it looking indistinguishable from how it started? For example, you could rotate it 90 degrees counterclockwise. And it looks totally the same to how it started. You could also flip it around this vertical line and, again, it still looks identical. In fact, the thing about such perfect symmetry is that it’s hard to keep track of what action has actually been taken. So to help out, I’m gonna go ahead and stick on an asymmetric image here. And we call each one of these actions a symmetry of the square. And all of the symmetries together make up a group of symmetries or just group, for short.

This particular group consists of eight symmetries. There’s the action of doing nothing, which is one that we count, plus three different rotations. And then, there’s four ways that you can flip it over. And, in fact, this group of eight symmetries has a special name. It’s called the dihedral group of order eight. And that’s an example of a finite group, consisting of only eight actions. But a lot of other groups consist of infinitely many actions. Think of all possible rotations, for example, of any angle. Maybe you think of this as a group that acts on a circle, capturing all of the symmetries of that circle that don’t involve flipping it. Here, every action from this group of rotation lies somewhere on the infinite continuum between zero and two 𝜋 radians.

One nice aspect of these actions is that we can associate each one of them with a single point on the circle itself, the thing being acted on. You start by choosing some arbitrary point, maybe the one on the right here. Then every circle symmetry, every possible rotation, takes this marked point to some unique spot on the circle. And the action itself is completely determined by where it takes that spot. Now this doesn’t always happen with groups. But it’s nice when it does happen cause it gives us a way to label the actions themselves which can otherwise be pretty tricky to think about. The study of groups is not just about what a particular set of symmetries is. Whether that’s the eight symmetries of a square, the infinite continuum of symmetries of the circle, or anything else you dream of. The real heart and soul of the study is knowing how these symmetries play with each other.

On the square, if I rotate 90 degrees and then flip around the vertical axis, the overall effect is the same as if I had just flipped over this diagonal line. So in some sense, that rotation plus the vertical flip equals that diagonal flip. On the circle, if I rotate 270 degrees and then follow it with a rotation of 120 degrees, the overall effect is the same as if I had just rotated 30 degrees to start with. So in this circle group, a 270-degree rotation plus a 120-degree rotation equals a 30-degree rotation. And in general, with any group, any collection of these sorts of symmetric actions, there’s a kind of arithmetic where you can always take two actions and add them together to get a third one, by applying one after the other. Or maybe you think of it as multiplying actions. It doesn’t really matter. The point is that there’s some way to combine the two actions to get out another one.

That collection of underlying relations, all associations between pairs of actions and the single action that’s equivalent to applying one after the other, that’s really what makes a group a group. It’s actually crazy how much of modern math is rooted in-in, well this, in understanding how a collection of actions is organized by this relation. This relation between pairs of actions and the single action you get by composing them. Groups are extremely general. A lot of different ideas can be framed in terms of symmetries and composing symmetries. And maybe the most familiar example is numbers, just ordinary numbers. And there are actually two separate ways to think about numbers as a group. One where composing actions is gonna look like addition. And another where composing actions will look like multiplication.

It’s a little weird because we don’t usually think of numbers as actions. We usually think of them as counting things. But let me show you what I mean. Think of all of the ways that you could slide a number line left or right along itself. This collection of all sliding actions is a group, what you might think of as the group of symmetries on an infinite line. And in the same way that actions from the circle group could be associated with individual points on that circle. This is another one of those special groups where we can associate each action with a unique point on the thing that it’s actually acting on. You just follow where the point that starts at zero ends up.

For example, the number three is associated with the action of sliding right by three units. The number negative two is associated with the action of sliding two units to the left. Since that’s the unique action that drags the point at zero over to the point at negative two. The number zero itself? Well, that’s associated with the action of just doing nothing. This group of sliding actions, each one of which is associated with a unique real number, has a special name. The additive group of real numbers. The reason the word additive is in there is because of what the group operation of applying one action followed by another looks like. If I slide right by three units and then I slide right by two units, the overall effect is the same as if I slid right by three plus two or five units. Simple enough, we’re just adding the distances of each slide.

But the point here is that this gives an alternate view for what numbers even are. They are one example in a much larger category of groups, groups of symmetries acting on some object. And the arithmetic of adding numbers is just one example of the arithmetic that any group of symmetries has within it. We could also extend this idea, instead asking about the sliding actions on the complex plane. The newly introduced numbers — 𝑖, two 𝑖, three 𝑖, and so on — on this vertical line would all be associated with vertical sliding motions. Since those are the actions that drag the point at zero up to the relevant point on that vertical line. The point over here at three plus two 𝑖 would be associated with the action of sliding the plane in such a way that drags zero up and to the right to that point.

And it should make sense why we call this three plus two 𝑖. That diagonal sliding action is the same as first sliding by three to the right and then following it with a slide that corresponds to two 𝑖, which is two units vertically. Similarly, let’s get a feel for how composing any two of these actions generally breaks down. Consider this slide-by-three-plus-two-𝑖 action as well as this slide-by-one-minus-three-𝑖 action and imagine applying one of them right after the other. The overall effect, the composition of these two sliding actions, is the same as if we had slid three plus one to the right and two minus three vertically. Notice how that involves adding together each component. So composing sliding actions is another way to think about what adding complex numbers actually means.

This collection of all sliding actions on the 2D complex plane goes by the name the additive group of complex numbers. Again, the upshot here is that numbers, even complex numbers, are just one example of a group. And the idea of addition can be thought of in terms of successively applying actions. But numbers, schizophrenic as they are, also lead a completely different life as a completely different kind of group. Consider a new group of actions on the number line, all ways that you can stretch or squish it, keeping everything evenly spaced and keeping that number zero fixed in place. Yet again, this group of actions has that nice property where we can associate each action in the group with a specific point on the thing that it’s acting on.

In this case, follow where the point that starts at the number one goes. There is one and only one stretching action that brings that point at one to the point at three, for instance; namely, stretching by a factor of three. Likewise, there is one and only one action that brings that point at one to the point at one-half; namely, squishing by a factor of one-half. I like to imagine using one hand to fix the number zero in place and using the other to drag the number one wherever I like. While the rest of the number line just does whatever it takes to stay evenly spaced. In this way, every single positive number is associated with a unique stretching or squishing action.

Now, notice what composing actions looks like in this group. If I apply the stretch-by-three action and then follow it with the stretch-by-two action. The overall effect is the same as if I had just applied the stretch-by-six action, the product of the two original numbers. And in general, applying one of these actions followed by another corresponds with multiplying the numbers that they’re associated with. In fact, the name for this group is the multiplicative group of positive real numbers. So multiplication, ordinary familiar multiplication, is one more example of this very general and very far-reaching idea of groups and the arithmetic within groups. And we can also extend this idea to the complex plane. Again, I like to think of fixing zero in place with one hand and dragging around the point at one, keeping everything else evenly spaced while I do so.

But this time, as we drag the number one to places that are off the real number line, we see that our group includes not only stretching and squishing actions. But actions that have some rotational component as well. The quintessential example of this is the action associated with that point at 𝑖, one unit above zero. What it takes to drag the point at one to that point at 𝑖 is a 90-degree rotation. So the multiplicative action associated with 𝑖 is a 90-degree rotation. And notice, if I apply that action twice in a row, the overall effect is to flip the plane 180 degrees. And that is the unique action that brings the point at one over to negative one. So in this sense, 𝑖 times 𝑖 equals negative one. Meaning, the action associated with 𝑖 followed by that same action associated with 𝑖 has the same overall effect as the action associated with negative one.

As another example, here’s the action associated with two plus 𝑖, dragging one up to that point. If you want, you could think of this as broken down as a rotation by 30 degrees followed by a stretch by a factor of square root of five. And in general, every one of these multiplicative actions is some combination of a stretch or a squish, an action associated with some point on the positive real number line. Followed by a pure rotation, where pure rotations are associated with points on this circle, the one with radius one. This is very similar to how the sliding actions in the additive group could be broken down as some pure horizontal slide, represented with points on the real number line, plus some purely vertical slide, represented with points on that vertical line.

That comparison of how actions in each group breaks down is gonna be important, so remember it. In each one, you can break down any action as some purely real number action, followed by something that’s specific to complex numbers. Whether that’s vertical slides for the additive group or pure rotations for the multiplicative group. So that’s our quick introduction to groups.

A group is a collection of symmetric actions on some mathematical object, whether that’s square, a circle, the real number line, or anything else you dream up. And every group has a certain arithmetic, where you can combine two actions by applying one after the other and asking what other action from the group gives the same overall effect. Numbers, both real and complex numbers, can be thought of in two different ways as a group. They can act by sliding, in which case the group arithmetic just looks like ordinary addition. Or, they can act by these stretching, squishing, rotating actions. In which case, the group arithmetic looks just like multiplication.

And with that, let’s talk about exponentiation. Our first introduction to exponents is to think of them in terms of repeated multiplication, right? I mean, the meaning of something like two cubed is to take two times two times two. And the meaning of something like two to the fifth is two times two times two times two times two. And a consequence of this, something you might call the exponential property, is that if I add two numbers in the exponent, say two to the three plus five, this can be broken down as the product of two to the third times two to the five. And when you expand things, this seems reasonable enough, right? But expressions like two to the one-half or two to the negative one and, much less, two to the 𝑖 don’t really make sense when you think of exponents as repeated multiplication. I mean, what does it mean to multiply two by itself half of a time or negative one of a time?

So we do something very common throughout math and extend beyond the original definition, which only makes sense for counting numbers, to something that applies to all sorts of numbers. But we don’t just do this randomly. If you think back to how fractional and negative exponents are defined, it’s always motivated by trying to make sure that this property, two to the 𝑥 plus 𝑦 equals two to the 𝑥 times two to the 𝑦, still holds. To see what this might mean for complex exponents, think about what this property is saying from a group theory light. It’s saying that adding the inputs corresponds with multiplying the outputs. And that makes it very tempting to think of the inputs not merely as numbers but as members of the additive group of sliding actions. And to think of the outputs not merely as numbers but as members of this multiplicative group of stretching and squishing actions.

Now it is weird and strange to think about functions that take in one kind of action and spit out another kind of action. But this is something that actually comes up all the time throughout group theory. And this exponential property is very important for this association between groups. It guarantees that if I compose two sliding actions, maybe a slide by negative one and then a slide by positive two, it corresponds to composing the two output actions. In this case, squishing by two to the negative one and then stretching by two squared. Mathematicians would describe a property like this by saying that the function preserves the group structure in the sense that the arithmetic within a group is what gives it its structure. And a function like this exponential plays nicely with that arithmetic. Functions between groups that preserve the arithmetic like this are really important throughout group theory. Enough so that they’ve earn themselves a nice fancy name, homomorphisms.

Now think about what all of this means for associating the additive group in the complex plane with the multiplicative group in the complex plane. We already know that when you plug in a real number to two to the 𝑥, you get out a real number, a positive real number in fact. So this exponential function takes any purely horizontal slide and turns it into some pure stretching or squishing action. So wouldn’t you agree that it would be reasonable for this new dimension of additive actions, slides up and down, to map directly into this new dimension of multiplicative actions, pure rotations? Those vertical sliding actions correspond to points on this vertical axis. And those rotating multiplicative actions correspond to points on the circle with radius one.

So what it would mean for an exponential function, like two to the 𝑥, to map purely vertical slides into pure rotations would be that complex numbers on this vertical line, multiples of 𝑖, get mapped to complex numbers on this unit circle. In fact, for the function two to the 𝑥, the input 𝑖, a vertical slide of one unit, happens to map to a rotation of about 0.693 radians. That is, a walk around the unit circle that covers 0.693 units of distance. With a different exponential function, say five to the 𝑥, that input 𝑖, a vertical slide of one unit, would map to a rotation of about 1.609 radians. A walk around the unit circle covering exactly 1.609 units of distance. What makes the number 𝑒 special is that when the exponential 𝑒 to the 𝑥 maps vertical slides to rotations, a vertical slide of one unit, corresponding to 𝑖, maps to a rotation of exactly one radian. A walk around the unit circle covering a distance of exactly one.

And so, a vertical slide of two units would map to a rotation of two radians. A three-unit slide up corresponds to a rotation of three radians. And a vertical slide of exactly 𝜋 units up corresponding to the input, 𝜋 times 𝑖, maps to a rotation of exactly 𝜋 radians, halfway around the circle. And that’s the multiplicative action associated with the number negative one. Now you might ask, why 𝑒? Why not some other base? Well, the full answer resides in calculus. I mean, that’s the birthplace of 𝑒 and where it’s even defined. Again, I’ll leave up another explanation on the screen if you’re hungry for a fuller description. And if you’re comfortable with the calculus. But at a high level, I’ll say that it has to do with the fact that all exponential functions are proportional to their own derivative. But 𝑒 to the 𝑥 alone is the one that’s actually equal to its own derivative.

The important point that I wanna make here though is that if you view things from the lens of group theory, thinking of the inputs to an exponential function as sliding actions and thinking of the outputs as stretching and rotating actions. It gives a very vivid way to read what a formula like this is even saying. When you read it, you can think that exponentials, in general, map purely vertical slides, the additive actions that are perpendicular to the real number line, into pure rotations. Which are, in some sense, perpendicular to the real number-stretching actions. And moreover, 𝑒 to the 𝑥 does this in the very special way that ensures that a vertical slide of 𝜋 units corresponds to a rotation of exactly 𝜋 radians. The 180-degree rotation associated with the number negative one.

To finish things off here, I wanna show a way that you can think about this function 𝑒 to the 𝑥 as a transformation of the complex plane. I like to imagine first rolling that plane into a cylinder, wrapping all those vertical lines into circles. And then taking that cylinder and kinda smooshing it onto the plane around zero. Where each of those concentric circles, spaced out exponentially, correspond with what started off as vertical lines.