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
Avoid the NIGHTMARE tenant and eviction: My Tenant screening process
What’s up you guys, it’s Graham here. So, so many of you have requested I make a video about how I properly vet tenants to avoid the nightmare tenant situation where I had an eviction and the tenant was absolutely crazy. So these are a few of the things …
Announcement: Chile Creates Enormous Ocean Preserve | National Geographic
That has been to Radha’s islands are one of the most extraordinary places in the ocean. Populations of giant lobsters, abandoned populations of fish, small population of the threatened Juan Fernandez. First, this is a place so unique that if it went away…
The Call of the Land: Meet The Next Generation of Farmers | Short Film Showcase
Well, there’s no other real choice, is there, but to fix what we have? It’s kind of like you don’t have that much control over what you’re passionate about. We’re not really used to hard work, a lot of people. We didn’t grow up on farms; we didn’t grow wi…
THE END OF CREDIT SCORES | Major Changes Explained
What’s up, Graham? It’s guys here. So, as I’m sure most of you are aware, one of the most important aspects of personal finance, building wealth, and saving a ton of money is your credit score. Those three numbers can very much dictate whether or not you …
2005 Berkshire Hathaway Annual Meeting (Full Version)
Morning. I’m Warren. He’s Charlie. We work together. We really don’t have any choice because he can hear and I can see. I want to first thank a few people. That cartoon was done by Andy Hayward, who has done them now for a number of years. He writes them,…
Secant lines & average rate of change | Derivatives introduction | AP Calculus AB | Khan Academy
So right over here, we have the graph of ( y ) is equal to ( x^2 ) or at least part of the graph of ( y ) is equal to ( x^2 ). The first thing I’d like to tackle is to think about the average rate of change of ( Y ) with respect to ( X ) over the interval…