Euler’s Formula and Complex Exponentials
Transcript
Welcome back to Lockdown Math! Today we are going to be talking about Euler's formula. And just to give you a little sense of where we're going to be ending up with this lesson, I'm going to go ahead and show you what we're aiming for at the end, which is a certain visualization. So, I don't expect you to necessarily understand this immediately, but the point is that this is something we're going to walk towards. What we're going to analyze is an extension of the idea of exponentials in a way that works in the complex plane. And the illustration that you're looking at is showing very literally what the claim of Euler's formula is. Because what I want you to appreciate is what the actual statement says, rather than letting it be shrouded in a certain mystery or a certain question of what the conventions are. Now, needless to say, this is kind of a confusing thing.
We've got this spiral of vectors, and if it's not entirely clear, don't worry about it. I just want to give you a little sense of where we're going to be going with this. But before any of that, let's take a step back and remember where were we. Back in the end of the last lesson, when we were talking about complex numbers, one of the key types of complex numbers that we were looking at were those that existed on the unit circle. So here I have a little complex plane drawn. We've got the real number line with the points 1 and negative 1 indicated. We've got the imaginary number line, i being the square root of negative 1. And if you remember, one of the main points that we emphasized last time is that when you have a number who's sitting one unit away from the origin at some angle theta, multiplying by this number has the effect of rotating things by that angle. This is incredibly important throughout physics,
throughout electrical engineering, all throughout math. You see these numbers everywhere. They describe wave mechanics, they're very important for polynomials. It's really hard to overstate how important numbers that sit on this unit circle are. Now one way that you could write them is with the real and imaginary parts. And based on lecture 2, if we know our trigonometry, the x coordinate is going to be the cosine of that angle, and the y coordinate, which is the imaginary part, is going to be i times the sine of that angle. So you might think, all throughout physics, all throughout electrical engineering, you see the expression cosine of theta plus i sine of theta. In fact, what you often see is another form of this. Almost always, you see this written down as e to the power i times theta. And this relationship is what's known as Euler's formula. Now e is a special constant of nature, and I always remember in high school,
it was never crystal clear to me exactly what it was. It was something that was just kind of handed down, okay, it's 2.71828, on and on. And we were just taking, you know, we were to take this as an analog of pi. It's an irrational number that evidently the universe finds significant. I had one calculus teacher who would tell us it was the Andrew Jackson number, because the president, Andrew Jackson, served two terms. He was the seventh president, and he was elected in 1828. So, there you go. I don't know if Andrew Jackson appreciated this relationship that he had to Euler, but it always helped me remember the number. Now, just to gauge sentiment, because I'm not entirely sure where the audience is, I want to know what your current relationship with this particular formula is. So we're going to do a poll to start, and this poll is mostly going to be helpful to me. So, polling up some of the warm-up questions that we had, where evidently most of you,
if you were to choose one of Euler's formulas, would have gone with the one that we're talking about today, which is great, you know, appropriate given where we want to head. As a poll that's actually going to be helpful to me, let me ask you, which of the following best describes your relationship with the formula e to the power i theta equals cosine of theta plus i times the sine of theta? Okay? And the options here are that you've never seen it before, totally understandable, that you've seen it but you're confused by it, that you still don't understand it but you've grown used to it, or that you understand it well. So, as you can see, answers are rolling in. Please participate! This is going to be way fun if more of you participate. You can go to 3b1b.co slash live, link is also in the description, that forwards you to the place where you can answer this poll.
And while answers are rolling in, I just want to remind us of a more famous variant of this expression that you often see, which is basically what happens when you plug in pi. So, if we say e to the i times pi, now we're thinking of pi as an angle, it's a number of radians, a distance around the unit circle, you would plug in cosine of pi plus i times the sine of pi. Okay? And the way to think about that is to look at the unit circle and ask, what if you walked around until you'd walked a total distance of pi? You know, if it's a lake with a radius 1 and you walk around the boundary until you've gone a distance of pi, kind of by the definition of what pi is, that takes you halfway around the circle. So the x component, cosine, is going to be negative 1, and then the y component, sine, is actually 0, so there's no imaginary part, it's just negative 1.
And this gets us, you know, what might be the most celebrity equation in all of math, e to the i times pi is equal to negative 1. Okay? But it's baffling, genuinely baffling, because you've got this idea of raising a constant, which is a little wishy-washy to start with, what is e, but you're raising it to an imaginary power. And if you don't understand what that means, you're in good company, I think very few people in the world actually do. Now turning back to our poll, where we've got a good number of responses, and a pretty good spread too, I'm genuinely curious to know, who am I talking to right now? Okay? Because it looks like we have a pretty even distribution among all camps. Alright, so the number one most common answer is c, which is those who still don't understand it but they've grown used to it. This, I'm going to guess, includes people like math majors or
engineering majors or people who have gone into a technical field, where it comes up a lot, so you have to grow used to it. This is also revealing the fact that even though these lectures are targeted at high school students, that this channel has a certain base demographic to start with, so sometimes those sitting in the audience, it's more like adults who have walked in and are sitting in the back of the class. Very happy to see that d, I understand it well, is the second most common answer. I'm curious among those who answer d, if by the end of the lecture they would say that what they understood about this is the same as what I'm going to teach. Because for example, I would make the claim that this formula actually has nothing to do with the number e, okay? That the number e doesn't actually play a role in what this formula is computationally saying.
And I'd be curious if those who claim that they understand it well would agree with that statement. After that we have those who've seen it but are confused by it, and at the very end is the actual target demographic of those who've never seen it before. Oh, I don't know if it's fair to call that the target demographic because I think sometimes you see it in an odd circumstance here or there, but definitely those who answered a or b, you're my people. You're the ones that I want to talk to about this, okay? But let's say you see this, okay? You see this weird formula e to the pi i, or the generalization e to the i times some angle. I think the healthy reaction to have to this, okay, if you're just seeing this for the first time, the healthy question to ask is w t f, okay?
What is the function at play and how is it defined, okay? What's the function? Because in this case the function is e to the x, and we're plugging in certain imaginary inputs. And I think a lot of people think that that refers to taking a number e and multiplying by itself some number of times, and that x describes how often you're multiplying by itself. And that yeah, there's some notion of extending that to things like one half or negative one, or any kind of real number, but that it's based in this idea of repeated multiplication.
Now the thing that makes this equation misleading is that that's not the function. That is not what e to the x is referring to. Let's emphasize that very heavily. This is not what e to the x means. This is not its convention. Instead, what has emerged in math is that we use e to the x to be a shorthand for another function. A function which I'm going to give the name exp. This is how you often see it in literature. And it's defined to be a certain polynomial. It's one plus x plus x squared divided by two plus x cubed divided by six plus x to the power four divided by twenty four. And in fact it's not a polynomial, it's an infinite polynomial. We add infinitely many terms, each of which look like x to the n divided by n factorial.
The proper term for this is a series. In practice, if you're actually computing this, because that denominator grows so quickly, you can chop off the series pretty early to get an approximate value for what this actually is. Now right away, we can see that this is going to work for lots of kinds of x that we could plug in. Anything where we know how to raise x to a power, just a whole number power, multiply it by itself, and where we know how to divide by a factorial and add those together, we can come up with a nice meaning for what this exp function means. But before we jump into things like complex numbers and throwing that in, I think it would be very unsatisfying to do that if we didn't first draw the connection to the number e. And the idea of repeated multiplication. Because on the surface, this infinite polynomial seems very different from the idea of some special constant of nature e and raising it to a power. So let's build up a little familiarity.
We're going to take, you know, a couple minutes to do this. And it's a very healthy exercise I think to become friends with this function by starting to plug in a couple different values. One of the first you might plug in is the number 1. So that way we get 1 and then x is 1, so that's 1. x squared is still 1, so that's 1 half. And then 1 sixth. And then 1 twenty fourth. And in general, we're adding 1 divided by n factorial.
In math we say that this is a series that converges in the sense that as we add more and more terms, it approaches a certain value and it gets closer and closer to some specific value. And that value ends up being around 2.71828, the Andrew Jackson number. But at this point, just think of it as it was going to be something. x of 1 was going to be something. This is what x of 1 happens to be. At the moment, there isn't necessarily anything special about that. But let's say you wanted to plug in other values. Just to get a little practice with what that would look like, if I wanted x of 2, it would look like 1 plus 2 plus 2 squared over 2 plus 2 cubed over 6. And in principle, if you were on a desert island and you just needed to compute x of 2,
you could work this all out by hand if you were comfortable with long division. But of course, we live in the modern world. We have computers, we have programming. So I think to make this especially concrete, let's go ahead and actually implement this function so that we can calculate a couple values and so that it's not a black box. It's not just a calculator that's been handed to us. We implement it so we know exactly what it's doing. So for that, let's go ahead and pull up a little Python. This is Desmos. We might look at that a little bit later. Right now, let's be a little bit more programmatic. Let's pull up some Python. Let's import some math because that's a sign you're always going to have some fun. Then I'm going to define the exp function that's going to take in some number x. And what I want is to return something that looks like 1 plus x plus x squared over 2, where in Python this double, what do you call it, an asterisk,
this double asterisk sign is how we do exponentiation. And then x cubed over 6. And we kind of want to add that up a whole bunch. Of course, instead of typing all that out, we can use a little special syntax where I'm going to say, I want you to return a sum of a bunch of terms. Each term is going to look like raising x to some power, and it knows what x is because that's what was handed to it. x to some power divided by the factorial. Factorial of n. And that's built into this math package that we imported. And I'm just going to do this for values of n that start at 0.
0 factorial is defined to be 1, if you're curious. We could talk all about factorials of weird values at a later date, but that's all you need to know here. And I'm just going to have it range up to 100 because 100 factorial is going to be huge. So that's going to be plenty big enough for a denominator to be small enough that those later terms don't contribute a lot. So even if you don't know Python, I hope that this is a reasonably clear way to turn the math into something that our computer can chew on, and crunch through the numbers so that we don't have to. So for example, if we type x of 1, we get the Andrew Jackson number. 2.71828, on and on. And I could type in x of 2, and it looks like that's around 7.389. So maybe we even write that in our notes. We go over here and say, interesting, x of 2 was about 7.389.
Okay. And if you spend a long time just kind of playing around with this, okay, I think it's not obvious that you might find this, but if you were just plugging in a couple values, x of 3, x of 4, one important fact you might stumble across is that if I add two numbers in the input, okay, so in this case I get 1096 when I plug in 7, which is 3 plus 4, that actually ends up being the same as if I plug in x of 3 times x of 4.
So adding the input corresponds to multiplying in the output. And 3 and 4 weren't special here, I could have done, you know, 5.5 and 3.2, and that would have gotten me some value. And if instead I had added those together, okay, it gets the same value. That is not at all obvious, okay? So I think that would be a genuine discovery to have with respect to this function, with this polynomial, if that was something that you found. And it's important enough that I want to write it down.
Exp of a plus b is actually the same thing as exp of a times exp of b. Now if you just look at the polynomial, this is not clear. This is not something that, like, you look at it and say, oh yes, of course, it couldn't have been any other way. At the end of today's lesson though, I'm going to give you guys some homework, and yes, homework will make you learn better. And what we're going to do is go through a couple problems that are going to have you show that this fact is true.
That simply from the polynomial, and the fact that it includes these factorial terms, excuse me, that's going to be enough to show this very special property. Now why am I calling it a very special property? Well, I want to ask you a certain question that will hopefully make this clear. And it really is important that you think this through yourself. Because I think if we, uh, if I just kind of tell you the implications here, it's not going to sink in to the same extent as if you really noodle with it yourself. So I'm going to pull up another question, and I'm going to give you some time to think on this one.
What the question asks us is to suppose that we have some function f of x that has this special property. We're adding two numbers in the input, f of a plus b, gives the same result as multiplying in the output, f of a times f of b. And that this is true for any real number, a and b. Okay? Suppose you have some function that satisfies this property, who cares how it's defined? Whether it's through this polynomial, through other means. Which of the following is true? One of the options is that f of five is equal to f of one raised to the power five. Another is that f of one half is equal to the square root of f of one. And the other is f of negative one equals one divided by f of one. Now very important, I'm not asking does there exist some function f where these three things will be true. I'm asking which of these necessarily has to be true only from that property. So you shouldn't be able to contrive some sort
of adversarial function that doesn't satisfy it. And then you have various options for which collection of these three things is true. I'm going to give you some time to think about this because I really do think it's important. So I'm going to turn up our pause and ponder music to get us in the mood. And take a desperately needed drink of water.
While you're noodling on that, I'm going to go ahead and take a question from the audience. Where it looks like Serft asks, what do you think is more interesting to someone who is a newcomer to higher level math? Special case theorems like e to the i pi or more general cases like e to the i x. Oh that is such a great question. By the way, anyone who wants to ask questions go to Twitter and just use the hashtag lockdown math. Those will be forwarded to me. I think the best way to learn is to have specific examples and really let yourself understand the patterns represented by those specific examples and then generalize them. For the specific one that you have here, I think if you just see e to the i pi, that doesn't really count as a good specific example that explains the generality. It's more that you're plugging in one particular number into a formula. So in this case e to the i x, as you'll see, it has everything
to do with circular motion and between this lecture and the next one, we're going to talk about why that relation might be there. So the form of having specific examples that aids your understanding wouldn't be, you know, a number like e to the i pi. It would be building a relationship with circular motions and other circumstances like studying physics where you have a tetherball with some kind of centripetal force and it's orbiting or like orbital mechanics. Anything where you're really understanding the nature of circular motion, that actually prepares you for understanding e to the i x as a generality a little bit better.
So with all of that, answers are still rolling in and I don't want you to feel rushed. So I'm going to give a little bit more time here actually. Because remember, you need to really be sure that if you're saying that something like 2 or 3 or 1 is included in your answer that any function with this special property necessarily follows that. Oh, let's see if we can grade it when the top answer is the year. So 2017, that's a little bit in the past. 2013, we're losing the top answer. Interesting, people are changing their mind. It's like we're going back in time.
So it looks like a couple people are, oh now we're in the future, 2023. Yeah, so we're actually seeing people think about it and thinking, hang on, you know, is it the case that option 3 here is necessarily true? And they're really being critical about that. So that's a good sign. If you want to keep thinking about it, please do. But for the sake of continuing with the lesson, I'm going to go ahead and lock things in here and see how people ended up answering. So it looks like 2030 of you, the decade in the future, believe that all three of these are necessarily true. So, second most common answer was B, they only believe that the first one is true. And then after that, people who either included number 2 or number 3. And the correct answer is that all of them are.
And it's very interesting to walk through why. I do think it's very elucidating. So let's go ahead and do this. The first one, which it seems like a majority of you believe, is that if we plug in something like 5 to a function with this special property, that it'll be the same as taking f of 1 raised to the fifth. Now the reason is that we could also write 5 as 1 plus 1 plus 1 plus 1 plus 1. And this property of addition in the input becoming multiplication in the output means that's the same thing as writing x of 1 multiplied by itself 5 times.
Okay? It lets you rewrite the whole thing in terms of x of 1, which I'm going to say 5 times. This is the same as taking x of 1 raised to the power 5. And here when I'm writing exponentials, anytime you see a natural number or a whole number, it can literally mean multiplying by itself that number of times. That's not the same as the fact that e to the x is a shorthand for this crazy polynomial. So that can sometimes get a little confusing, the exponent is playing two different roles. And we might give x of 1 a special name, a shorthand. Let's just call it e for short.
That's not why we call this number e, by the way. It's also not because this is what Euler's name starts with. It's just because whenever Euler was using this, the first time in a particular book, he was partial to vowels and the vowel a had already been used. So e was just his arbitrary letter. Okay, so simply by virtue of this property, we can see that x of 5 has to be written in terms of x of 1. Now a little bit trickier was the question about plugging in 1 half. Okay? And the key to solving this, it's a little bit tricky, is to think about what happens when we multiply that by itself. Exp of one half times exp of one half, because of this property, has to satisfy, or I should say has to equal exp of one half plus exp of one half.
Which is of course x of 1, which let's say we're using the shorthand and we call it e. So what does that mean? x of 1 half has to be a number such that multiplying it by itself equals e. Well that's what we mean when we write square roots. Okay? And the last one was talking about negative inputs. So just as an example, if we inputted something like negative 1. So the key here is to ask about multiplying it by the value when you plug in 1.
By this rule, that addition in the input turns into multiplication in the output, that has to be the same as exp of 0. Now what is exp of 0? Ooh, you know what I'm realizing. Hmm. I think I might have actually made the, entered a wrong answer there. Because in our case, in our case exp of 0 actually does come out to be the number 1. Okay, so if we plug in 0 for x, then all of these, you add them together, the only term that matters is 1. So exp of negative 1 times exp of 1 is equal to exp of 0, which is 1. So this is true in the case of exp. I, I can't actually think to myself right now if that's necessarily true.
You know, if we look at our question, where it's saying all we know about f is that f of a plus b is f of a times f of b. If that necessarily implies that f of 0 is going to be 1. And I, I don't think it does. I think we could construct a function. Yeah, because we could just scale e to the x by some other amount. Okay, yeah, so actually what's graded here is not entirely correct. The correct answer would be only 1 and 2. I think. Someone correct me on Twitter if I'm wrong about that. But, very interesting. So if we go back to our paper, let's see. In the case of exp, this, this value at 0 would be 1. What does that imply? Well, if we call exp of 1 e, that means we're asking what is the number which when you multiply by e equals 1. And it would be 1 divided by e.
But yeah, for the general case, we need the added condition that when you plug in 0 you do get 1. Now the point of all of this, right, the reason that I'm saying this, is to emphasize why it's reasonable that we use the shorthand. That when we say exp of x, for real numbers x, why it would be very reasonable to write this as e to the power x. Because basically this special property means that because you can use the number 1 to access pretty much all the real numbers by adding it to itself or dividing as needed or negating. And then if you have certain continuity restrictions that will let you extend from rational numbers to all the reals. But that's a technical point, you don't need to fuss over for what we're doing right now.
It lets you basically express everything that this polynomial can output in terms of what it outputs at the number 1. So you might read e to the x as just, whatever this polynomial is at the input 1, we can start exponentiating in terms of that. So that's the connection, right, we could, we could if we wanted define the number e to simply be where is this polynomial at the number 1. And then all of this would follow. But I really want to emphasize that only makes sense for real numbers. Because as soon as we start introducing things like complex numbers, you can't just add 1 to itself or subtract and divide and get the number i. And in math you often do even crazier things where you plug in things like matrices into this polynomial. Which seems weird, but you know, you can take a matrix and square it, you can divide it by 2, you can add all of those together. And that's actually a very useful thing. It's very useful for a field called differential equations, which in turn is useful for physics.
In quantum mechanics you often plug in these things called operators, which are kind of like the mature older brother of matrices. And all of that looks totally nonsensical if we're talking about a constant raised to some kind of power. But what you have to understand is that it's being plugged into this polynomial. So I understand why we have the convention of writing this as e to the x. It makes sense for real numbers. But I think that's actually a bad convention as soon as we start extending it. And I think that causes a lot of undue confusion. So with all of that said, let's finally have some fun and plug in some complex values. And before we do that, just as kind of a warm up, I want to make sure that we're comfortable with powers of i. Because that's what's going to be important here.
So let's pull up our quiz and let's go ahead and ask one more question. And then I'll take a question from the audience too while you guys think about this. Remember that i is defined to be a value that satisfies i squared equals negative one. So that's defined. For which values of n does i to the power n equal negative i? So the spirit of this question is to have people thinking deeply about powers of i. And I wanted it to be a question that's not totally obvious. So one that you do have to put a little mental energy into.
So let's go ahead and take a question from the audience while I take a drink of water. F of x equals zero doesn't work with f of negative one equals one over f of one. Yeah, f of x equals zero. Oh interesting. Yeah okay. So they're saying that if f of x ever outputs zero. Actually, I'm not entirely sure what Sam is saying. F of x equals zero doesn't work with f of negative one equals one over f of one.
So I guess that fact that f of negative one is one over f of one doesn't imply that the output will ever be zero. So I could ask for some clarification, but I think that might be getting at the general point of the mistake of the question. Which was to assume, to extend the idea of exp a little bit too much. Where the fact that exp of zero equals one gives us this other property. And then Crispin Simmons says three is included because f of x plus zero. Oh okay. Yeah okay. Great. Great. Yeah, someone thought this through a little bit more deeply than I can while live and on camera and under some pressure. F of x plus zero is the same as f of x times f of zero, which implies f of x equals one. Awesome. Crispin, you saved me. You saved me on this one. That's a beautiful way of thinking about it. Yeah, all of these questions where you have like a property of a function and you're supposed to deduce facts. They can be very subtle. And so in this case, okay, the question was graded correctly.
The property simply that addition in the input becomes multiplication in the output is enough to imply f of zero equals one, which in turn locks in the value for f of negative one. Oh, it's so pleasing. One little property can just lock in basic, not the whole real number line because it didn't assume continuity, but it locks in pretty much any value you want. Awesome. Excellent questions. I love live stuff. Even if I make errors, it does feel a little more interactive than the usual videos. So let's see how we're doing on the quiz. Looks like we've still got some answers rolling in. We're trying to understand which powers of i are equal to negative i. And the options include multiples of three or multiples of three as long as they're positive, or integers one below a multiple of four or those where you're restricted to them just being positive.
And I'm going to go ahead and grade this question. And as always, if you feel like you weren't done by the time I'm locking it in, know that that's just for the sake of letting the lesson progress forward. If you wanted to pause and think about it further yourself, especially if you're watching this later, that would be totally in the spirit of these lessons. Okay. So the majority, or the plurality, I guess, of you answered that it's all integers one below a multiple of four, which is correct. And the second most common answer was basically the same but restricted to positives. Great. So let's think through what powers of i actually look like, because this is going to be the only thing we really need to plug in complex values into this exp function. And the way this can work, if I pull out my infinite supply of unit circles,
is to remember that multiplication in the complex plane includes a rotation component. And because i has a magnitude of one, there's only rotation. So multiplying by i has the effect of rotating 90 degrees. If you multiply by i twice, okay, i squared, you end up 180 degrees around. Reassuring, it's supposed to have a square of negative one, and this geometry lines up with that fact. If we multiply by itself three times to get i cubed, it ends up being a vector pointing straight down.
Multiplying by itself a fourth time, 90 degrees, takes us back to one. So i to the fourth is one, and then after that they all start repeating. So basically all you need to know is where is that exponent with respect to powers of four. If it's a power of four, you're at one. If it's one above a power of four, you're at i. Now the trickiness of the question was to also include the nuance of whether this is only for positive powers or negative powers. But what a negative power means, if we write something like i to the negative one, that's defined to be one over i, the number such that when you multiply by it, you get one.
And you can see that that's actually the same as i cubed. This is the same as i cubed because that's a number where when we multiply it by i, we get one. Negative one, that's also one below a multiple of four. And in general, anything that's one below all the negative multiples of four will also satisfy this property. So it's a little tricky question, but it's just because I wanted you to think deeply about this idea that powers of i, of whole numbers, just have us ticking forward by 90 degrees. And finally, we can have our fun. We can take our crazy exp function, and we could plug it into Python if we wanted to and see how things play there. But first, let me go ahead and visualize it for you.
So I'm going to, uh, let's see, that circle is already suggestively drawn, but I don't want that to be there. I just want you to think about this polynomial where I'm going to plug in i scaled by some kind of constant, which very suggestively I'm going to give the name theta. And then what that means is taking one plus i times theta plus i theta squared over two, on and on. And just as an example, let's crank theta on up until it equals one. And let's try to think pretty deeply about what this actually means computationally. The first term is one, which we might draw with this green vector on the bottom, pointed one unit to the right. The next term is going to be i times one, so just i. It's pointed straight up with magnitude one. Now think about what the next term is.
It's going to be i squared, or i theta squared, but theta is one, so it's i squared, which is negative one over two. So that's why this next vector is pointed to the left, and it has length one half. Okay? Then after that, i cubed is pointed straight down, and we divide it by six. So now we just have an itty bitty vector that is of magnitude one sixth, and then they just get smaller from there. The next one is pointed to the right, but it has magnitude one over twenty four, and they just shrink a whole bunch. And so we get something. It's clear that this is a computation that makes sense to do. It's not clear how we would know where it ends up. That feels like it's going to require real math to have some kind of theory behind it. We could be computational, and pull up Python, and remember that it actually has built-in support for complex numbers. If I write something like complex of two three,
it gives me a complex number with real part two and imaginary part three, and what's cool is that it already knows the rules for multiplication. So I could multiply this by other things, it knows how to take their product, very cool. Now given that our definition of this exponential function, if you'll remember, was only ever in terms of raising something to a power and scaling it by a factorial, and then adding all those terms up, well it should make sense to plug in something like complex zero one, which is how we write i in Python, and see what it pops out. And indeed, it crunches through the numbers, and it gets for us something whose real part is evidently around point five four, who knew? And whose imaginary part is around point eight four, and in terms of our visual, you know, that checks out. It looks like the real part is a little above point five, so point five four, I believe that. And the imaginary part is, it claimed what, point eight four?
Yeah, that seems about right. So at this point, we can actually think, what is the claim of Euler's formula? What is it telling us about the behavior here? And my hope is that Euler's formula might have started off mysterious, but mysterious in a bad way, okay? Because when you initially see this expression, e to the i theta is equal to cosine theta plus i sine theta, telling you that, oh, I guess imaginary exponents get us on the unit circle, it doesn't leave you wondering about a real pattern, it leaves you wondering what the convention is, right? It leaves you wondering, WTF. However, right now what we can see is what this is saying is if I plug in i times theta, evidently that's the same as walking around a unit circle. Now that feels very substantive, there's a lot of content to be had in that expression, because if we go to our visual, what it's telling us is that if I,
if I crank up this value of theta, the place that the sum of vectors converges always sits on a circle that's one of radius one. That's not obvious. If you just look at this expression and you think through what it's saying very literally, that is definitely not something that just pops right out of it. But it becomes a lot more beautiful, in my opinion, because you're no longer asking questions of convention, you're asking questions of the universe, of actual patterns. So just to take the most famous input that there is, plugging in pi around 3.14, let's think about what this is actually saying. It's saying, okay, the first term is one, so we've got our vector pointed one unit to the right. The next term is i times pi. Okay, so that's going to be a vector that's pointed up because of the i with a length of pi around 3.14, which it looks like it is. The next one is going to be i squared times pi squared over two.
So that i squared means that it's negative, okay, it's pointing to the left. And I guess the magnitude is pi squared over two. We could do a quick gut check if we wanted and just ask ourselves, you know, what is pi squared? It's around 9.8, same as the gravity on Earth in terms of meters per second squared, which is always fun. And dividing that by two, it looks like it's 4.93. Okay, does that check out? Yeah, I buy it that the length of this vector is just less than five, so 4.93.
And then the next one, because of the i cubed, is pointed down and the magnitude is pi cubed over six. Evidently that's around the magnitude of pi cubed over six. And so far the vectors have been getting bigger, but it's at this point they start turning around because basically each time on the, for each new term, the numerator gets an extra pi thrown in. But the denominator now gets an extra four thrown in. Like going from six to 24, you're multiplying by a four. And then it's going to get an extra five and then a six. So the denominator is going to start growing much more than the numerator, which is why the vectors shrink and shrink and start to converge to a point. So the i in there is what's letting these vectors all turn 90 degrees each time and give us this very pretty spiral sum. And the claim of Euler's formula is this very fascinating fact, that evidently when the vectors are rotating according to powers of i,
and when their lengths are changing according to powers of pi divided by n factorial, they all conspire in just the right way, that they land at the point negative one. That's interesting. Still mysterious, but mysterious in a good way. And it's making an even stronger claim, which is that any other angle that we might put in, it puts us on a unit circle at that angle. Now this is especially mysterious when we consider the fact that as we let this value just continue increasing, it's not even clear that the function would be periodic, right? Because as theta increases, more and more of the vectors become relevant, because it takes longer and longer for the denominator of our terms to win out, and yet they stay very nicely constrained onto the unit circle. I think that's interesting.
So just to do a last little concept check here, I'm going to ask you one final question to basically see if you've been paying attention, see if the claims made stand to reason. So getting rid of our powers of i, the last question is a wind-down question of sorts for the evening. Which of the following values is closest to e to the 3i? So as usual, this is the link you can go to. Which of the following values is closest to e to the 3i?
Now as you're answering, let me just remind you that the main takeaway I want you to have from this lesson is that the way that you read this is not to think about a constant e raised to an imaginary power. Because that doesn't really make sense when we're thinking of powers as repeated multiplication. However, what does... Let's see... Seems like we have some controversy over the last question. We'll address that in a moment.
But what you should think about here is the fact that e to the x is shorthand for this general polynomial, okay? And this general polynomial, it turns out to be very relevant in things like calculus in a future lecture. I'd like to start talking about why this idea of x to the n over n factorial and adding them up. Why is that useful? Why would anyone care? Why would it give rotation? But if you know that that's how to read it, hopefully this isn't a nonsense question. And it's not one that just asks you to blindly believe convention. It kind of asks you to blindly believe a claim about the fact that this follows a circle, but we'll address that in the next lecture. And I think that's enough time to go ahead and grade this. And the correct answer is b, which around 3800 of you nicely got. Well done, well done indeed. And it's around negative 0.99 plus 0.14i.

Ask anything
We've read this whole study set, so questions about it get the best answers.