AP®︎/College Calculus AB
Course: AP®︎/College Calculus AB > Unit 1Lesson 5: Determining limits using algebraic properties of limits: limit properties
- Limit properties
- Limits of combined functions
- Limits of combined functions: piecewise functions
- Limits of combined functions: sums and differences
- Limits of combined functions: products and quotients
- Theorem for limits of composite functions
- Theorem for limits of composite functions: when conditions aren't met
- Limits of composite functions: internal limit doesn't exist
- Limits of composite functions: external limit doesn't exist
- Limits of composite functions
Limits of composite functions: external limit doesn't exist
Finding the limit of g(h(x)) at x=1 when the limit of h(x) at x=1 is 2 and the limit of g(x) at x=2 doesn't exist. Does it mean that the composite limit doesn't exist? Not necessarily! See how we analyze it. Created by Sal Khan.
Want to join the conversation?
- I am lost in the last part of the video here.
I see the limit of h(x) is 2, both from the left and from the right.
Then, we pass the 2 to g(x), and the limit of g(x) as x approaches 2 from the left is clearly -2, as Sal says.
But then, when x approaches 2 from the right, the limit should be 0, but instead Sal is approaching it again from the left getting the result of -2, again.
Why is Sal approaching it again from the left instead of from the right?
- Let's look at actual values that approach 1 and see what happens.
so we are looking at limit of g(h(x)) as x approaches 1. So let's make a table. I think I only need to explain the approaching fromt he right so that is all I will write
g(h(4)) = g(0) = 2
g(h(3)) = g(1) = 0
g(h(2)) = g(1.5) = -1
So as you see, as x goes down, or approaches fromt he right, h(x) goes up. So when we look at g(h(x)) x is decreasing and h(x) is increasing which means the "x axis" in g(h(x)) which we can call the h(x) axis in this instance to make it make more sense is approaching from the left.
If that doesn't make sense you can think of following it with your finger. starting at g(h(0)) your finger is on (0,2) and as x decreases you actually move your finger to the right along the graph. This is the exact same as increasing x from below 1. At least from (-1,-2) in h(x)
Another another way to think about it is that in h(x) y is increasing weather you approach x from the let or right. Since y is increasing on both sides it's basically following the same path. So that means you are following the same path, that is appraching from the left, when you do g(h(x)). maybe it would be more clear to think of it as g(y)
I really hope something there helped.
Really quick, if you think h(0) = 0 = h(4) so if you increase x from 0 to 1 h(x) changes from 0 to 2, and x going from 4 to 1 is ALSO making h(x) go from 0 to 2. so in g(h(x)) fom both diretion you are inputting h(x) from 0 to 2(32 votes)
- "2 from below"? What does that even mean?? I keep hearing below yet he keeps on drawing a horizontal line towards 2.(21 votes)
- The graph of h(x) kind of looks like a mountain to me, so that's the analogy I'm going to use.
2 is the peak of the mountain, and we want to go towards it. Since 2 is the peak, and we're not there yet, we have to be under it. So "approaching 2 from below" means this: we're getting closer to 2, but we're somewhere under 2.
Now let's imagine this graph flipped, so that it looks like a valley. Same idea: we're trying to get to the bottom of the valley. This valley is the lowest point around, so if we're getting really close to it, we have to be coming from a higher point. So "approaching 2 from above" would mean that we're getting closer to 2, but we're somewhere over 2.
Sal drew a horizontal arrow for a good reason: sometimes, direction matters. What if we were taking the limit of h(x) as x→0? Here we can imagine we're on the side of the mountain. If we're coming from the left, we're below what we want to get to. If we're coming from the right, we're above what we want to get to. Therefore, if we were coming from the left, we would be "approaching from below", but if we were coming from the right, we would be "approaching from above".
Now that I think about it, he probably should have drawn a diagonal line following the graph instead, to indicate that we're going up as well as horizontal, but oh well. Hope this cleared it up instead of making it even more confusing.(18 votes)
- At2:49why is it approaching from above and below and not from the left and right limits? Isn't that what you're supposed to do to find the limit for x -> 1?(15 votes)
- pay attention that the y value of h(x) is the x value of g(x) so approaching 1 in h(x) gives us y=2 then the input of g(x) is 2. so now we want to approach 2 in g(x) and we know from h(x) that to approach 2 we approach 1 which is less than 2 (with respect to g(x)). To get my point read this reply more than one time, try to visualize this or draw it in from of you.(12 votes)
- The last part of the video makes no sense to me.
If you had a standard parabola like y=-x^2, then from the right-hand side, it would be approaching from below. But if you were asked to find lim x->0+ (-x^2), you would still go from the right, even though it is decreasing ("coming from below") on that side.
Like, say you had a composite function, wherein y=-x^2 was true for x>0, and y=-x^2+1 was true for x<0. In that case, both sides are coming from "below," therefore telling you to take lim x->0- could be either 1 or 0, and limx->0+ wouldn't exist. But that doesn't make any sense.
Am I missing something?
I'm so confused.
In previous videos, it's always been true that the +/- distinction for one-sided limits is in reference to the x values, not the y. This is the only way it makes sense because the function can be increasing/decreasing on both or either side regardless of whether it is on the right or left, so using approaching from below/above rather than left and right would make the rule that both one sided limits must exist and be equal to each other for the limit to exist no longer make sense and it's not what you've been doing for this entire course.
None of the comments answering similar questions make sense because all they do is repeat what was in the video by saying that he's coming from below.
Is it that f(g(x)) is, in a way, a new function, to be understood as semi-independent from f(x) and g(x), such that if you were to graph inputs and outputs it would form a new graph where that would be true somehow?(17 votes)
- I see what you are doing here and I follow up but it isn't clear how to apply this, what the rule is or when to use it.(12 votes)
- From what I gather the rule is that (going back to the previous video the internal limit doesn't exist) when one of them seems to not exist, whether it be the inside or outside (so the g part of g(h(x)) or the h part of g(h(x))) you should instead break it down and look at the seemingly undefined one and split it into what you would get by approaching from values to the left and then values to the right. Plug both of those in and then find the answer for each of them. If they are the same then that's the answer.
When to use it: When one of them is seemingly undefined/doesn't exist
The rule: Break the one that is undefined/doesn't exist into what you get by approaching from the left then what you get by approaching from the right
How to apply it: If one of them is undefined, use the rule and solve that way. If you end up with the same two answers then that is your limit for g(h(x)).
I hope this makes sense(8 votes)
Why does Sal say "x approaching 2 from BELOW (from the LEFT)" not from the RIGHT? Here, lim f(h(g)) x->1+, so I thought I needed to input 1 into f(h(g)) and find the limit from the RIGHT (so limit of f(h(g) x-> 1+ = 0, not -2)(10 votes)
- When he is saying 2 from below, he is referring to the fact that h(x) is increasing as you approach 2. Because h(x) can be thought of as the input of g(h(x)), the direction that h(x) is going matters, and not the direction of x in this case. For example, when you are taking the limit of a regular function, you would look at if it approaches the same y value from both sides, but since it is a composite function, we are looking at the fact that it is approaching the y value of 2 from y values that are less than 2, meaning we look at x values that are less than 2 on the g(x) graph.(1 vote)
- I wish this was explained better, I have absolutely no idea how this "approaching from below" thing works. I cannot make sense of any of the comments down here either. Why aren't we approaching g(h(x)) from the right in the last part? Why did he do it twice from the left?(7 votes)
- I'll try to explain this as simply as possible. First, see h(x). When we're approaching f(x) = 2, we're doing so from values lesser than 2 (In other words, think of f(x) = 2 as the top of a mountain. See that as we approach x = 1 from either side, we're climbing the mountain, not descending it).
Now, onto g(h(x)). Now, this function's input itself is h(x). As h(x) approaches 2 from values less then 2 in both cases, we approach 2 on the graph of g(x) twice from only the left. As we approach the same number (because we're literally retracing our path), we get that the limits are equal.
I do agree that this concept could've been explained better. See if this helps! :)(4 votes)
- Confused? A simple explanation.
We are finding the limit of g(h(x)).
Therefore, the x values we plug into g(x) are going to be the y values of h(x).
Why is that true? Because the limit of h(x), at a point x, is equal to the y value h(x) approaches. For example the limit of h(x) at 1 is equal to 2. Because we approach that y value (2).
Now notice, looking only at the graph of h(x). In both cases that we approach h(1), either from the left or the right, in both these cases the y values are INCREASING. That is clear to see from the shape of the graph, we are approaching the y value from BELOW as Sal says. Hence the mountain like shape.
Because of this, when we plug in x values to g(x) to find the limit, the x values will always be increasing. Because we never have decreasing x values we only need to plot the approach from one aspect, the left, where the x values are increasing.
If you are still confused try writing down what g(x) will be for each y value of h(x) as you approach. For example g(h(3) becomes g(1).(8 votes)
- sal you just broke my mind into a million pieces and scattered the dust into the ethers of the galaxy. I now will spend the rest of my days approaching confusion from all directions.(6 votes)
- So in one of the previous videos (this one- https://www.khanacademy.org/math/calculus-1/cs1-limits-and-continuity/cs1-properties-of-limits/v/limits-of-composite-functions) the formula given was:
lim g(h(x)) = g(lim h(x))
But in the video the formula you used seemed to be:
lim g(h(x)) = lim g(lim h(x))
Could someone please clarify which one of these is the correct one? Am I missing something.(5 votes)
- Theo other video had Sal saying for g(h(x)) = g(lim h(x)) to be true f has to be continuous around L, where L is lim(h(x)). That is not true here. lim h(x) = 2 and if you look at f(x) there is a jump when x = 2.
In this video you are correct if you are saying the two limits in lim g(lim h(x) are different. Specifically lim g(x) or h(x) if you prefer is saying as h(x) aproaches 2 from the negative direction, and lim h(x) is saying limit as x approaches 1 from the positive and negative direction.
You may be completely aware of this but I wanted to be sure since there was no indication what the limits were.
Also, do keep in mind for lim g(h(x)) it is only h(x) approaching 2 from the negative direction, not the positive direction at all as with limits normally.
Let me know if there was anything you didn't understand.(1 vote)
- [Instructor] So over here I have two functions that have been visually or graphically defined. On the left here I have the graph of g of x, and on the right here I have the graph of h of x. And what I want to do is figure out what is the limit of g of h of x as x approaches one. Pause this video and see if you can figure that out. All right, now let's do this together. Now the first thing that you might try to say is, all right, let's just figure out first, the limit as x approaches one of h of x. And when you look at that, what is that going to be? Well, as we approach one from the left, it looks like h of x is approaching two. And as we approach from the right, it looks like h of x is approaching two. So it looks like this is just going to be two. And let me see, okay, well maybe we can then just input that into g. So what is g of two? Well, g of two is zero, but the limit doesn't seem defined. It looks like when we approach two from the right, we're approaching zero. And when we approach two from the left, we're approaching negative two. So maybe this limit doesn't exist. But if you're thinking that, we haven't fully thought through it, because what we could do is think about this limit in terms of both the left-handed and right-handed limits. So let's think of it this way. First, let's think about what is the limit as x approaches one from the left-hand side of g of h of x. All right, when you think about it this way, if we're approaching one from the left right over here, we see that we are approaching two from the left, I guess you could say, we're approaching two from below. And so the thing that we are inputting into g of x is approaching two from below. So the thing that we are inputting into g is approaching two from below. So if you approach two from below, right over here, what is g approaching? It looks like g is approaching negative two. So this looks like it is going to be equal to negative two, at least this left-handed limit. Now let's do a right-handed limit. What is the limit as x approaches one from the right hand of g of h of x? Well, we can do the same exercise. As we approach one from the right, it looks like h is approaching two from below, from values less than two. And so if we are approaching two from below, because remember, whatever h is outputting is the input into g. So if the thing that we're inputting g into g is approaching two from below, that means that g, once again, is going to be approaching negative two. So this is a really, really, really interesting case, where the limit of g of x as x approaches two does not exist. But because on h of x, when we approach from both the left and the right hand side, h is approaching two from below. We just have to think about the left-handed limit as we approach two from below or from the left on g, because in both situations, we are approaching negative two. And so that is going to be our limit. When the left-handed and the right-handed limit are the same, that is going to be your limit. It is equal to negative two.