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

Worked example: slope field from equation | AP Calculus AB | Khan Academy


2m read
·Nov 11, 2024

Which slope field is generated by the differential equation? The derivative of y with respect to x is equal to x minus y. And like always, pause this video and see if you can figure it out on your own.

Well, the easiest way to think about a slope field is if I was, if I needed to plot this slope field by hand, I would sample a bunch of x and y points, and then I would figure out what the derivative would have to be at that point.

What we can do here, since they've already drawn some candidate slope fields for us, is figure out what we think the slope field should be at some points and see which of these diagrams, these graphs, or these slope fields actually show that.

So, let me make a little table here. I'm going to have x, y, and then the derivative of y with respect to x. We can do it at a bunch of values. So let's think about it.

Let's think about when we're at this point right over here, when x is 2 and y is 2. When x is 2 and y is 2, the derivative of y with respect to x is going to be 2 minus 2; it's going to be equal to zero. Just with that, let's see here. This slope on this slope field does not look like it's zero; this looks like it's negative 1.

So already, I could rule this one out. This slope right over here looks like it's positive 1, so I’ll rule that out; it's definitely not 0. This slope also looks like positive 1, so I can rule that one out. This slope at (2, 2) actually does look like 0, so I'm liking this one right over here.

This slope at (2, 2) looks larger than 1, so I could rule that out. It was that straightforward to deduce that if any of these are going to be the accurate slope field, it’s this one. But just for kicks, we could keep going to verify that this is indeed the slope field.

So let's think about what happens when x is equal to 1. Whenever x is equal to y, you're going to get the derivative equaling 0. And you see that here; when you're at (4, 4), derivative equals 0. When it's (6, 6), derivative equals 0. At (-2, -2), derivative equals 0. So that feels good that this is the right slope field.

Then we could pick other arbitrary points. Let's say when x is 4, y is 2. Then the derivative here should be 4 minus 2, which is going to be 2. So when x is 4, y is 2, we do indeed see that the slope field is indicating a slope that looks like 2 right over here.

If it was the other way around, when x is, let’s say, x is -4 and y is -2, so (-4, -2), well, -4 minus -2 is going to be -2. And you can see that right over here.

(-4, -2) you can see the slope right over here. It's a little harder to see, looks like -2. So once again, in using even just this (2, 2) coordinates, we were able to deduce that this was the choice, but it just continues to confirm our original answer.

More Articles

View All
How To Get A PERFECT Credit Score (For FREE)
What’s up you guys, it’s Grahe here. So this is absolutely unbelievable. I never thought that this would happen. I’m about to… okay, I’m not about to cry, but to my utter amazement, I was kind of shocked this morning when I checked my credit report and my…
9 More Video Game WTFs [CONTINUED]
Do you remember Game Genie? This is what would happen if Mario had a magic mushroom. Oh, I love [Music] that someone’s hallucinating. What I love about this is the Game Genie codes themselves are hilarious. The codes he’s using are Zley, Pigp, and I in Co…
Learn coding from scratch with Khanmigo
Did you know that Khan Academy just launched their AI-based education chatbot? It’s called Khan Mego, and it’s a beta tool that is available. Your website basically gives you a preview of what the chatbot is going to look like, and it looks pretty legit. …
Running Your Company by Patrick Collison
So Patrick welcome. So Patrick is the co-founder and CEO of Stripe. He launched the startup, we’re now a pretty big company in 2010, correct? With his brother John. Why should we started working on it full-time in 2010? But it actually your comment just t…
Type casting | Intro to CS - Python | Khan Academy
Have you ever tried to make your print output a bit more descriptive, like this, only to get a type error? Why does that happen, and how do we fix it? Let’s put our debugging skills to work. We saw that my program last worked when I was just printing the…
What causes the seasons?
Why do we get the seasons? The seasons? Because of the atmosphere. To be honest with you, that’s a very easy question to answer. Now, we really don’t get seasons anymore because of global warming. Um, I think there was a time when I was a child where we d…