yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Eulers formula


4m read
·Nov 11, 2024

So in this video, we're going to talk about Oilers formula. One of the things I want to start out with is why. Why do we want to talk about this rather oddly looking formula? What's the big deal about this? And there is a big deal, and the big deal is e. We love e, and I'll underline that twice.

Now the reason is because when we take a derivative of e, dDT of e to the x equals e to the x; and dDT of e to the ax, where a is anything, equals a e to the ax. The property is that when you take a derivative of the function, the same function comes out; or if you take a derivative of the function, a scaled version of the same function comes out. We love this because, why? Because when we do differential equations, e to the x is the solution almost every time.

Whenever we did a circuit, e to the x was the answer. If you recall from when we were solving circuits, simple circuits with differential equations, we always said something like, "Well, we're going to guess that V of T is some constant times e to the St." That was a proposed solution; this turned out to work every time.

So there's something else we love too, and that is sinusoids or sines and cosines. Okay, we love these and that gets two lines now. Why do we love these? It's because they happen in nature. If you whistle, the air pressure looks like a sine wave. If you ring a bell, the bell moves in a sine wave. Any kind of music, if you look at the notes and music, the sound they make, the pressure waves look like sine waves.

Circuits make sine waves. Remember if we analyze this circuit in great detail, it was the LC circuit. We looked at the natural response of this, and that was a sine wave. Okay, so electric circuits make sine waves; all these things make sine waves. They occur in nature and we want to be able to analyze things that happen when sine waves are present.

So we have two things we love, and we want to relate these two things. These are going to be related through that Oilers formula. That's how we connect these two separate ideas, and let me, let's go do that.

So Euler's formula says that e to the Jx equals cosine x plus J times sin x. So S has a really nice video where he actually proves that this is true. He does it by taking the Maclaurin series expansions of e, cosine, and sine, and showing that this expression is true by comparing those series expansions.

Now I'm not going to repeat that here; we're just going to state that as fact. Now we're going to look at this equation a little bit more. So this is the expression that relates exponentials that we love to sines and cosines that we love.

Part of the price of doing that is we introduce complex numbers into our world. Here's two complex numbers. Okay, this is where complex numbers come into electrical engineering. So I have to mention the other form of this formula, which is e to the -Jx, and that equals cosine x minus J sin x.

So these two expressions together are Euler's formula or Euler's formulas. We're going to exploit this by taking; we'll be able to take the cosines and sines that we find in nature, and we're going to be able to fashion them into exponentials.

These exponentials then go into our differential equations and give us solutions. We're going to come back and pull out the cosines and sines—that's the rhythm of how we're going to use this equation to help us solve circuits.

One small point I want to share: notice that in both these equations, the cosine comes first and the sine is over here on the imaginary side. So the cosine is on the real side. This is the reason that we have a preference in the future; we're going to have a preference for talking about our real-world signals in terms of the cosine function. It's because in this Euler's formula, the cosine comes first in both cases.

So what I want to do now is take a second, and I want to see if we had our signal expressed in these exponentials, how do we recover the cosine and the sine term? How do we flip these equations around so we can solve for the cosine and the sine? It's a simple bit of algebra here; it's good to see.

Alright, so if I want to isolate the cosine term, let me get rid of these guys here. So now, to isolate the cosine term, what I'm going to do is add these two equations together, and that plus and minus are going to cancel out this second term here. That's what I'm going for.

So if I add, I'll get e to the Jx plus e to the -Jx equals cosine doubled, 2 cosine x, and the two J terms cancel out. Right, so then I can write, I'll write it over here: I can write cosine of x equals e to the Jx plus e to the -Jx over 2.

Alright, so that's the expression—that's the expression for cosine in terms of complex exponentials. Okay, let's go back and see if we can get sine. So what I'm going to do with sine is I'm going to subtract, and that gives me, what that'll do is it'll get the cosine terms to fall away, and then I get e to the Jx minus e to the -Jx equals cosine terms, and they subtract out and I get 2J sine x.

Alright, and that means I can write sine x equals e to the Jx minus e to the -Jx over 2J. And it's really easy; that J term is down there; that's easy to forget sometimes. So let me put a square around these guys because that's important—important.

So there's the two expressions; that's the two expressions for if you have complex exponentials and you want to extract the cosine, this is how you do it. If you want to extract the sine, this is how you do it. Okay, and you can either— you know, you can put these in your head, or probably easier for me, if you just remember Euler's formula. This is a pretty straightforward, quick derivation.

So the other thing we put a square around is this guy here. So we have Euler's formula and basically the cosine and sine extracted from Euler's formula.

More Articles

View All
These Mini-Ships Teach Pilots How to Navigate Major Waterways | National Geographic
When you look at the ships, you may think that they’re small toys. But the minute you get on it, the power is to scale to the size, and it becomes very real, very quickly. When we build a new ship, the first question is, is this ship correct? Is it close …
The Best Aperture Videos of 2023
You wake up to the sound of the alarm on your iPhone, and annoyed that you couldn’t get more sleep, you grudgingly unlock your phone to see what’s going on in the world. There’s an email from Amazon telling you that your package has been delivered, so you…
It Started: Home Prices Are Falling 50%
What’s up guys, it’s Graham here, and it’s official: after a decade of unstoppable growth, the housing market is beginning to fall. A new report from Redfin just found that home buyers are now backing out of deals at the fastest pace since the start of th…
Winners and losers from inflation and deflation | AP Macroeconomics | Khan Academy
What we’re going to do in this video is talk more about inflation and deflation, which we’ve talked about in other videos. But we’re going to talk about it in the context of who benefits and who gets hurt, especially in a situation where people are lendin…
Justification with the mean value theorem: table | AP Calculus AB | Khan Academy
The table gives selected values of the differentiable function f. All right, can we use a mean value theorem to say that there is a value c such that f prime of c is equal to 5 and c is between 4 and 6? If so, write a justification. Well, to use the mean…
The Housing Market JUST Went From BAD To WORSE
What’s up, Graham? It’s guys here! So, while the stock market was sneaking towards its record all-time high, Dogecoin was blowing past 40 cents, and Apple was unveiling a purple iPhone that sent their stock price soaring a whopping .0038 percent. There w…