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
Growing Up in the African Wild : Beyond ‘Savage Kingdom’ (Part 1) | Nat Geo Live
(Dramatic orchestral music) - Imagine you’re out in Africa. It’s night-time, you’re sleeping in the back of an open vehicle, and it’s so hot that you have no clothes on and you’re still sweating. All you can hear is the distant call of a hyena and an impa…
LearnStorm at Wewahitchka High School
We will hitch high schools. Have a great little school here. It’s a rural area, about 350 kids, 7 through 12. A great school, though our kids are interested in bettering themselves. Miss Camden Topman is a reading ELA teacher here, English Language Arts…
What Could Trigger a Shark Attack? | Rogue Shark
Across the Whit Sundays, hundreds of baited cameras are deployed and listening stations fixed as scientists race to understand why these previously safe waters have turned deadly. As the footage comes in, one big clue emerges: the poor visibility. What w…
The "Most Money Raised" game
One of those stupid games sometimes people play is just how much money can I raise. What’s the stupid prize? If you play the “raids as much as you can” game often, you lose control of your company. So, like, when you confront the challenges, suddenly you…
Finding Fourier coefficients for square wave
So this could very well be an exciting video because we started with this idea of a 4A series that we could take a periodic function and represent it as an infinite sum of weighted cosines and sines. We use that idea to say, well, can we find formulas for…
It’s much easier to build when you’re optimistic.
We all, you all, get to create this future. Yes, and there’s this thing where it’s cooler and edgier and more punk rock. Yes, to be like everything is, and that’s a good high horse to be on if you want to be cool. But if you’re actually building things an…