If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Conditions for MVT: graph

## Video transcript

- [Instructor] So we're asked, does the mean value theorem apply to h over the interval? And they actually give us four different intervals here. So we should separately consider them. And this is the graph of y is equal to h of x. So pause this video and see, does the mean value theorem apply to h over any or all or some of these intervals? All right, now let's work through this together. In other videos, if the words mean value theorem are completely unfamiliar to you, I encourage you to look at the mean value theorem introduction, or the existence theorem introductions on Khan Academy. But as a review for those of you who are familiar with the mean value theorem, the conditions are, if we're dealing with some closed interval from a to b, we have to be differentiable, all right, just diff, actually, I'll just write it out, differentiable over the open interval from a to b, and we have to be continuous over the closed interval from a to b. Or another way to think about it, if you're differentiable, you're definitely going to be continuous. So, this second condition, just make sure that we're continuous at the endpoints of our closed interval. But if these conditions are met, then the mean value theorem tells us, and I'll just visually draw it because this is a review here. So let's say that this is our function. So let's say our function looks like this, this is a and this is b, and let's say that we meet these conditions over this interval, the mean value theorem tells us that there's going to be some value, let's call it c, in the interval, where the derivative of c is equal to the average rate of change from a to b. So the slope of the secant line is the average rate of change. And so you can see it visually, it looks like right about there, the slope of the tangent line would be the same. And so this would be the c that exists. Now, in this video, we're not trying to identify the c's, we're just trying to say, can we apply the mean value theorem? So let's look at this first interval from negative five to negative one, a closed interval. So we're going from negative five to negative one. So are we differentiable over the interval, over the open interval? We have this discontinuity over here that's not going to make it differentiable, and, of course, this is also, if we're not continuous, we're not going to be differentiable here. So this discontinuity here actually violates both of these conditions. And so for this first interval, we would say, no, the mean value theorem does not apply. Now, the second one, from negative one to three. So I'll do this in a slightly different color. So we're gonna go from negative one, right over there, to three. And if you look over this interval, it looks like, over that interval, over that closed interval, our function just really looks like a line. And so it is both continuous and differentiable over that interval, and it makes sense that the mean value theorem applies. Actually, every c on this interval is the derivative, is the instantaneous rate of change equal to the average rate of change because it looks linear over this interval. So the mean value theorem definitely applies over there. Now, what about from three to seven? The closed interval from three to seven. So when we look at this closed interval, we're definitely continuous over the interval. So we meet the second criteria, but are we differentiable? Well, a good giveaway of a point that is continuous but not differentiable is right over here. Whenever you have these sharp edges, because we don't have a well-defined slope of a tangent line here. Would it be that, would it be that, would it be that? And so because we aren't differentiable at that point, at x is equal to six, we aren't differentiable over this open interval from three to seven, and so the mean value theorem does not apply. And you can even see that visually. The average rate of change between the endpoints of our interval, or if we want to think about the slope of the secant line, that's that right over there, and over the interval, we don't see any point where the instantaneous rate of change, where the slope of the tangent line is equal to the slope of the secant line between the endpoints of our interval. So once again, mean value theorem would not apply. Now, what about from negative three to two? I'll do this in orange. So from negative three, right over there, to two. Well, if we look at the open interval from negative three to two, we're not considering what happens at negative three and at two, over the open interval, it does look like we are both differentiable and continuous. So we're definitely differentiable over the open interval. But clearly, we're not continuous over the closed interval. At negative three, we actually are not continuous. And so because of that, the mean value theorem does not apply. And you can actually even see that it would not apply because if you look at the slope of the secant line between our endpoints, that's the secant line right over there, and so you could see, over that interval, there is no c between negative three and two, where the slope of the tangent line or the instantaneous slope or the derivative is going to be the same as the slope of the secant line. And that doesn't violate the mean value theorem because the mean value theorem just doesn't apply here, we haven't met the condition of being continuous over the closed interval.