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

Example: Graphing y=-cos(π⋅x)+1.5 | Trigonometry | Algebra 2 | Khan Academy


3m read
·Nov 10, 2024

We're told to graph ( y ) is equal to negative cosine of ( \pi ) times ( x ) plus ( 1.5 ) in the interactive widget, so pause this video and think about how you would do that.

And just to explain how this widget works, if you're trying to do it on Khan Academy, this dot right over here helps to find the midline. You can move that up and down, and then this one right over here is a neighboring extreme point, so either a minimum or a maximum point.

So there's a couple of ways that we can approach this. First of all, let's just think about what cosine of ( \pi x ) looks like, and then we'll think about what the negative does in the plus ( 1.5 ).

So cosine of ( \pi x ), when ( x ) is equal to zero, ( \pi ) times zero is just going to be zero. Cosine of zero is equal to one, and if we're just talking about cosine of ( \pi x ), that's going to be a maximum point when you hit one. Just cosine of ( \pi x ) would oscillate between ( 1 ) and ( -1 ).

And then what would its period be if we're talking about cosine of ( \pi x )? Well, you might remember one way to think about the period is to take ( 2\pi ) and divide it by whatever the coefficient is on the ( x ) right over here. So ( 2\pi ) divided by ( \pi ) would tell us that we have a period of ( 2 ).

And so how do we construct a period of ( 2 ) here? Well, that means that as we start here at ( x = 0 ), we're at ( 1 ). We want to get back to that maximum point by the time ( x ) is equal to ( 2 ).

So let me see how I can do that. If I were to squeeze it a little bit, that looks pretty good. And the reason why I worked on this midline point is I liked having this maximum point at ( 1 ) when ( x ) is equal to ( 0 ) because we said cosine of ( \pi ) times ( 0 ) should be equal to ( 1 ).

So that's why I'm just manipulating this other point in order to set the period right, but this looks right. We're going from this maximum point, we're going all the way down and then back to that maximum point, and it looks like our period is indeed ( 2 ).

So this is what the graph of cosine of ( \pi x ) would look like. Now what about this negative sign? Well, the negative would essentially flip it around, so instead of whenever we're equaling ( 1 ), we should be equal to ( -1 ).

And every time we're equal to ( -1 ), we should be equal to ( 1 ). So what I could do is I could just take that and then bring it down here, and there you have it, I flipped it around. So this is the graph of ( y = -\cos(\pi x) ).

And then last but not least, we have this plus ( 1.5 ), so that's just going to shift everything up by ( 1.5 ). So I'm just going to shift everything up by ( 1.5 ) and shift it up by ( 1.5 ), and there you have it.

That is the graph of ( -\cos(\pi x) + 1.5 ), and you can validate that that's our midline. We're still oscillating one above and one below the negative sign. When cosine of ( \pi ) times zero, that should be ( 1 ), but then you take the negative, we get to ( -1 ). You add ( 1.5 ) to that, you get to positive ( 0.5 ), and so this is all looking quite good.

More Articles

View All
What Does 'Genius' Mean? | Genius
What does “genius” mean, to me? I think there are many brilliant people in the world, many people who are very, very intelligent. So I think it has to do with a line of dialogue that I think we have in the first episode, which is, “A genius is not just an…
BONUS: History of the apostrophe | The Apostrophe | Punctuation | Khan Academy
Hello, grammarians, historians, and linguists! David here with Paige. Hi! And Jake. Hey! We’re going to talk about the history of the apostrophe. The apostrophe isn’t just a punctuation mark. In fact, the word “apostrophe” comes to us from Greek; from…
5 Morning Habits That Will Skyrocket Your Productivity
You know, most people have never been taught the art of indulging in productivity porn, and that’s why they’re never going to escape the rat race. But we’re here to fix that. Here are five morning habits that will skyrocket your productivity. Welcome to a…
Looking for Killer Whales 26 Years After the Exxon Valdez Oil Spill (Part 1) | National Geographic
In 1989, the largest oil spill in US history destroyed a remote Alaskan wilderness. That was a long time ago. Most people say the sound is back to normal, except for this man. He’s been studying killer whales caught up in the spill. He believes they’re st…
A Russian City's Surprising German Roots | National Geographic
In Kaliningrad, the architecture looks German. The neighborhood has some German names, and its most famous resident was Germany’s most renowned philosopher, Immanuel Kant. But this is not in Germany; this is Russia. The city began its life as Königsberg, …
9 Japanese Philosophies to Become Self-Disciplined and Stop Procrastinating
Have you ever struggled with procrastination or finding the motivation to get things done, feeling like you’re not living up to your own expectations? I won’t lie. I struggle with procrastination a lot, and it’s a challenge, especially when I have importa…