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

Sine and Cosine come from circles


3m read
·Nov 11, 2024

Now I'm going to clear off the screen here, and we're going to talk about the shape of the sign function. Let's do that. This is a plot of the sign function, where the angle Theta—this is the Theta axis in this plot—where Theta has been plotted out on a straight line instead of wrapped around this circle.

So if we draw a line on here, let's make this, uh, this circle a radius one. If I draw this line up here and it's on a in a circle, the definition of sine of theta—this will be Theta here—is opposite over hypotenuse. So this is the opposite side, and that distance is the opposite leg of that triangle is this value right here. So sine of theta is actually equal to Y over the hypotenuse, and the hypotenuse is one in all cases around this.

So if I plot this on a curve, this is an angle, and I basically go over here and plot it like that. And then as Theta swings around the circle, I'm going to plot the different values of Y. If it comes over this way, down here like this, right? You can see that that plots over there like that. Now when the angle gets back all the way to zero, of course the sine function comes all the way back to zero, and then it repeats again as our vector swings around the other way.

So sine of 2 pi is zero, just like the sine of zero. So every two pi, if I go off the screen, every two pi comes back and repeats to zero. Now I want to do the same thing with the cosine function that we did with sine, where we project the projection of this value onto this time the cosine curve down here. This has the cosine curve with time going down on the page, and our definition of cosine was adjacent over hypotenuse. The hypotenuse is one in our drawing.

So cosine of theta equals adjacent, which is X, the x value, divided by hypotenuse, which is one. So in this diagram, the cosine of theta is actually the x value, which is this x right here.

So let me clean this off for a second, and we'll start at the beginning. Let's start with the radius pointing straight sideways, and we know that cosine of theta equals zero is one. So if I drop that down, if I project that down onto the angle zero, that's this point right here on the curve.

Now as we roll forward, we go to a higher angle. This projection now moves to here on the curve. When the arrow is straight up, we are at this point right here. We go back through the axis. If we continue on, this projects down here, and we're moving this radius vector around in a circle like this. Eventually, this one will be at the same point as before, as the one above, but it'll be on this part of the curve here.

And when we get back to zero again, the projection is to this point here. So that's a way to visualize the cosine curve getting generated by a vector rotating around this circle. The cosine comes out the bottom because it's the projection on the x-axis. When we did the sine, it was the projection on the y-axis that produced the sine wave when we went this way.

So I like to visualize this because this rotating vector is a really simple and powerful idea, and we can see how it actually generates—a way to generate sine and cosine waves. You can see how sort of naturally they come out at different phases, right? The sine starts at zero, and the cosine starts at one. With this way of drawing it, you can see why that happens.

So this relationship between circles and rotating vectors and sines and cosines is a very powerful idea, and we're really going to take advantage of this.

More Articles

View All
Ray Dalio's Warning for the Economic Crisis and U.S. Recession
The biggest issue is that there’s more spending than we have income, and that’s a problem. So then the question is, where are you going to get the money from, right? Dahlia is probably the world’s most well-known macroeconomic investor, having started Br…
The 2020 Recession | My Investing Concerns
What’s the guys? It’s Graham here. So I just want to have a really open, honest, and candid discussion about what’s been going on lately with the markets. The stimulus package is in place; what that means for you and my own thoughts about what’s likely to…
Saving and investing | Investments and retirement | Financial literacy | Khan Academy
Let’s talk a little bit about saving and investing. I would define saving as just any extra money you bring in in a given amount of time that you haven’t spent yet. So, let’s say in a given month you bring in four thousand dollars and you spend thirty-fi…
Africa's Mightiest Meat Eaters | Meet the Lions of Animal Kingdom | Magic of Disney's Animal Kingdom
At Disney’s Animal Kingdom theme park, day dawns for Africa’s mightiest meat eaters. Alright, are you ready to shift 1.2 line on show? Have a great day. Three majestic lions rule this savanna. You normally see them walk their whole perimeter and set mark…
Advanced (plural) possession | The Apostrophe | Punctuation | Khan Academy
Hello Garans, hello David, hello Paige. So today we’re going to talk about plural possession, meaning when more than one person, or thing, or animal owns something else. This, like most other types of possession, tends to involve apostrophes. Makes sens…
How the Germans Measured Milliseconds MECHANICALLY - Smarter Every Day 283
[Destin] So this is from the 30s, right? [Ari in a Finnish Accent] …So this is very old… Very old technology. You can put it on by turning it here. [Destin] WHAT!? [Ari calmly acknowledges the awesomeness] Yeah…. And then there’s this kind of stroboscope……