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
The Deutsch Files III
On exactly that, the fact that the more that we summarize what I think is an exceedingly clear body of work in the fabric of reality in the beginning of infinity, when nonetheless you explain it to people as POA says, you know it’s impossible to speak in …
Building a Sled | Alaska: The Next Generation
It’s a very harsh weather out here, very unpredictable. Takes a lot of time and effort to have everything ready for the winter. Ready? Yeah. Well pull up maybe, uh, pull the side out first, this way. Go on this side, and I’ll go on this side. This is the…
Embrace World Mental Health Day with Sal Khan
Sal Con here from Khan Academy, and we are inside, uh, my office/sl closet. This is where I record videos, take meetings, etc. Uh, many of y’all know I’m a big fan of meditation. It helps me clear my mind; it helps me think more clearly, be less stressed,…
Discovering Homo Naledi: Journey to Find a Human Ancestor, Part 1 | Nat Geo Live
Lee: I’d come to South Africa. I’d launched myself into exploration. And out I went looking to combine these technologies: satellite imagery and handheld GPS. I started mapping sites. I saw that cave sites formed in linear lines. I saw fossil sites cluste…
Debunked: Making Music With Cars (Bootboxing and Techno Jeep)
I saw a couple of videos in the last few months through boxing, featuring snobs gorillas and Julian Smith technology original. Both of them featured cars being played by a group of people. The people appeared to be manipulating various parts of the cars i…
It’s Over: The Middle Class Is Disappearing
What’s me guys? It’s Graham here. Apparently, the middle class is quickly disappearing at an alarming rate. In fact, the situation is getting so dire that less than a year ago, Fortune stated that the middle class is bracing for its next financial blow. A…