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
Stonehenge Has a Traffic Problem | Podcast | Overheard at National Geographic
It’s June 2021 at Alice Zoo, this National Geographic photographer. She’s in a field in rural England. It’s this gray, overcast English morning. It was still totally dark when we arrived. There were kind of a few other figures quietly making their way in …
An Affordable 3D-Printed Arm
I’m actually gonna use my arm so I can high-five so many people, 106. You’re gonna high-five 106 people? Yeah. Aren’t you gonna get tired? No, because my robo-arm’s going to do all the work. Alex was born without a fully formed arm, a condition that…
Ryan Serhant: How to Sell a BILLION DOLLARS of Real Estate Per Year!
[Music] I’m introducing you in this video. There we go. You gotta say what’s up. You guys, it’s Graham here. What’s up you guys, it’s Graham here! Welcome to the greatest real estate investor podcast and YouTube in the entire world. Do you ever guess? Ye…
What Science Tells Us About Living Longer | Podcast | Overheard at National Geographic
Foreign s have always been interested in finding ways to live longer. The oldest surviving story in recorded history is Mesopotamia’s 4,000-year-old Epic of Gilgamesh, and this desire shows up even there. After the death of a close friend, our hero Gilgam…
Charlie Munger – The Man Who Built Berkshire Hathaway | A Documentary
[Music] America looked at capitalism as a failed experiment. This is the example of the time when capitalism broke. There was a terrible deflation, a shortage of money so little money that people made their own monopoly money, their own script. It was so …
Ratios on coordinate plane
We are told that a baker uses eight cups of flour to make one batch of muffins for his bakery. Complete the table for the given ratio. So they’re saying that for every batch, he needs eight cups of flour, or he needs eight cups of flour for every batch. …