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

Sine and cosine from rotating vector


2m read
·Nov 11, 2024

Now I'd like to demonstrate one way to construct a sine wave. What we're going to do is we're going to construct something that looks like ( S(\Omega t) ). So, we have our function of time here and we have our frequency.

Now this little animation is going to show us a way to construct a sine wave. So what I have here, this green line, is a rotating vector, and let's just say that the radius of this circle is one.

So here's a vector just rotating slowly around and around, and in the dotted line here, that yellow dot going up and down, that's the projection of the tip of the green arrow onto the Y-axis. As the vector goes round and around, you can see that the projection on the Y-axis is bobbing up and down and up and down. That’s actually going up and down in a sine wave pattern.

So now I'm going to switch to a new animation, and we'll see what that dot looks like as it goes up and down in time. So here's the plot; here's what a sine wave looks like. As you notice, when the green line goes through zero right there, let's wait till it comes around again, the value of the yellow line when it goes through zero is zero.

So this yellow line here is a plot of ( S(\Omega t) ). Now if I go to a projection, this projection was onto the Y-axis. I can do the same animation, but this time project onto the x-axis, and that'll produce for us a cosine wave.

Let's see what that looks like now. Now in this case, if we switch over, you can see that the projection, that dotted green line, is onto the x-axis. What this is doing is it's producing a cosine wave.

So this is going to be ( \cos(\Omega t) ). Now, because we're tracking the progress on the x-axis, the cosine wave seems to emerge going down on the page. So the time axis is down here.

When the green arrow is zero right there, the value of the cosine was one, and when it's minus 180°, it's minus one on the cosine. So that's why this is a cosine wave, and it has the same frequency as the sine wave we generated.

Now I want to show you these two together because it's just sort of a beautiful drawing. I'll leave our animation here for a second. We see our sine wave being generated in yellow, and in orange, we see the cosine wave being generated, and they're both coming from this rotating green vector.

So this is a really simple demonstration of a way to generate sines and cosines with this rotating vector idea. We're going to be able to generate this rotating vector using some ideas from complex arithmetic and Euler's formula.

I find these to be a really beautiful pattern, and it emerges from such a simple idea as a rotating vector.

More Articles

View All
Wealth Secrets: When Family Asks For Money
Hey there, Aluer. So you’ve made a little bit of money, and now you’re faced with this awkward situation where some people are in your life, and they might want or need some of it. What do you do? Should you give money to your family and friends, especial…
Amazon River Monster Project - Smarter Every Day 147
Hey, it’s me Destin. Welcome back to Smarter Every Day. Every December it’s a tradition for me to make a video down here in Peru about an orphanage project I’ve been working on. Specifically, it’s with Not Forgotten, and I make the video every December be…
Jamie Dimon: The $35 Trillion Dollar Storm Brewing in the US Economy
What you should worry about is the deficit. Today it is 7% of GDP. When Volcker was around and we had very high inflation, it was 3 and a half percent. The debt to GDP is 35% back then, 1982. It’s 100% today. The deficit is the biggest peacetime deficit w…
Getting To Kiwalik - Behind the Scenes | Life Below Zero
Campers aren’t working. That’s getting super frustrating. This is what it’s like on Life Below Zero. Cameras are already down. Tough conditions all around. I fill in: no heat, no car, no anything; won’t even turn on. Too many times we’ve had batteries go …
Introduction to proteins and amino acids | High school biology | Khan Academy
What we’re going to do in this video is talk about proteins. Some of you all might already be familiar with them, at least in some context. If you look at any type of packaging on food, you’ll oftentimes see a label that has protein listed in a certain nu…
Warren Buffett Warns About Diversifying Your Portfolio
Hey everyone! In this video, we are going to listen to Buffett describe why he recommends serious and knowledgeable investors should ignore conventional wisdom and purposely have a concentrated portfolio of stocks. Make sure to stick around to the end be…