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

Determining the effects on f(x) = x when replaced by f(x) + d or f(x - c) | Khan Academy


2m read
·Nov 10, 2024

We're told here is a graph of a segment of f of x is equal to x. That's this graph right over here. And they say that g of x is equal to f of x minus 4. Graph g, and we can graph g with this little widget here. Now I would normally ask you to pause this video and try to do it on your own, but you don't have access to this widget. So you can think about what I should do, and then I will do it.

All right, so let's see how I think about it. This is the segment of f of x, x is equal to x. Now g of x is defined by whatever f of x is; we now subtract four from that. So, for example, f of three, if you put three into f, you get f of three is actually equal to three. And that makes sense; f of x is equal to x, f of three is equal to three. But now g of three is going to be equal to f of three minus 4. So g of three is going to be equal to f of three, but then we're going to subtract four from it. So it's going to be down by four, or we're going to subtract four to get to negative one.

Let's go to the other endpoint here, and actually let me scroll down a little bit so that we can see it. So if we go to this other endpoint, f of negative 3 is of course equal to negative 3, but now g of three is going to be equal to that minus four. So we're going to shift down again, so we're going to go to negative seven, just like that. So we have now graphed g, and as you can see, if you take f of x and you subtract four from it, you have just shifted the whole graph down by four.

Let's do another example. So this one here, here's a graph of a segment of f of x equals x. And now they're saying h of x is equal to f of x plus 6. Graph h, so we have to be careful here. You might say, "Oh, maybe this just shifts up by six," but that's not exactly what's happening here. If this was f of x and then that whole thing plus 6, then yes, we would shift up by six, but something different is happening here.

So, let's think what might happen at eight, and I'll show you in a second why I care about negative eight. f of x is not defined at g of eight, at least the way it is here. We don't see the graph going all the way down to negative eight, at least if you view it as being defined by this graph. But if you say x equal eight, if you said h of eight, that's the same thing as f of eight plus 6. So h of eight is the same thing as f of negative two. We know f of negative two is negative two, so h of eight is going to be negative two.

And then now let's move forward, and I'm picking these points intentionally to h of negative four. So if we say h of negative four, that is the same thing as f of negative four plus 6, or it's the same thing as f of two. f of two is two, so h of negative four is the same thing as f of two. Now what just happened here? Well, it looks like when we replaced our x with x plus 6, it shifted the graph six to the left.

More Articles

View All
Comparing P value to significance level for test involving difference of proportions | Khan Academy
A veterinarian is studying a certain disease that seems to be affecting male cats more than female cats. They obtain a random sample of records from 500 cats. They find 24 of the 259 male cats have the disease, while 14 of 241 female cats have the disease…
Creativity break: how do you get into your creative zone? | Khan Academy
[Music] I allow my brain to do the work to get into my creative zone when I have a problem to resolve. Sometimes I just sleep on it, and I let my subconscious mind work through resolving problems and solving problems. Our brains are always at work, like …
Warren Buffett: How To Achieve A 20% Return Per Year
The first role in investment is don’t lose, and the second rule of investment is don’t forget the first rule. And that’s all the rules there are. I mean, that if you buy things for far below what they’re worth and you buy a group of them, you basically do…
Proof of the derivative of sin(x) | Derivatives introduction | AP Calculus AB | Khan Academy
What we have written here are two of the most useful derivatives to know in calculus. If you know that the derivative of sine of x with respect to x is cosine of x and the derivative of cosine of x with respect to x is negative sine of x, that can empower…
Visually assessing standard deviation | AP Statistics | Khan Academy
Each dot plot below represents a different set of data. We see that here. Order the dot plots from largest standard deviation (top) to smallest standard deviation (bottom). So pause this video and see if you can do that, or at least if you could rank thes…
Lecture 2 - Team and Execution (Sam Altman)
Uh, before I jump into today’s lecture, I wanted to answer a few questions people emailed me. They said they had questions about the last lecture that we didn’t have time for. So if you have a question about what we covered last time, I’m welcome to answe…