Mean Value Theorem
Transcript
Today is what, Monday, October 10th? Is that right? I don't remember offhand what's the date scheduled for example. It's Wednesday of next week, so we've got nine days here. So today we're doing Section 4 .2, the Mean Value Theorem. Pretty much the entire lecture is going to be the focus and applications of other theorems related to the Mean Value Theorem. Wednesday, we'll do a little bit on 4 .3. We're not going to do the entire section, but we'll do the first four pages or so, and we probably will start Chapter 5, Section 5 .1. Chapter 5 is our toughest chapter about integration, the theory of integration. It's pretty challenging, especially the proofs in the book, to really try to understand those, and to do proofs on your arm, too. Wednesday we'll do a little bit of 4 .3, we're not going to do that.
So we'll do Section 5 .1 a little bit on Wednesday, a lot on Friday, probably start... Section 5 .2, or at least focus on the main facts from Section 5 .2 by next Monday or so, and probably your test will include certainly definitions and theorems through Section 5 .2, and perhaps proofs through Section 5 .1, or maybe an easier type proof from Section 5 .2 will be what your exam will be through Chapters 3, 4, and the first couple sections of chapter 5. So, for the study guide, for chapter 5, I'll have to figure that out. So, if you could send me a note out of class to remind me, to figure it out. All right, lecture 16, again, our main focus is going to be the mean value theorem. We spent time the very first day of class talking about the mean value theorem, MBT. right?
Because you can also call it most valuable theorem, at least for differential But most valuable theorem, at least for differential calculus, the book even goes so far to say it's sometimes called the fundamental theorem of differential calculus, which is different than the fundamental theorem of calculus. Related to derivatives, it's a pretty obvious sounding fact when you look at its statement, but the proof, when you sort of deconstruct it out of what we'll do today, does ultimately depend on the difference axis. So let's write down mean value theorem. It's our third value theorem so far, right? We've got the intermediate value theorem, we've got the extreme value theorem, and now we have the mean value theorem.
Suppose you've got a function defined in a closed interval, and here I'm going to go We're going to go ahead and use interval notation like the book does. Emphasize that we're defining some closed interval. And we're going to assume f is continuous on the closed interval. And since this is chapter 4, there must be something about derivatives here. And the next assumption is that you say, and it is differentiable, has a derivative. on the open interval. It's sufficient to assume that it's just differentiable on the open interval, not the endpoints. Perhaps you've got a function that's got a vertical tangent as you approach an endpoint. For example, like the square root function.
You consider any closed interval with zero as the left endpoint, like zero to five or something like 0 to 5 or something like that. It is continuous on the entire interval. It fails to be differentiable at zero. It's not even a left or not even a right differentiable as a left end point. The tangent becomes vertical as you approach that point. That would be one example where the mean value theorem would still apply even though the function is not differentiable at zero. Another example actually where you could be failed to be differentiable at both endpoints would be like the arc sine function. The graph of the arc sine function looks like this, and it's got vertical tangents at 1 and negative 1. So it fails to be even one -sidedly differentiable at those points. I hope you know what the graph of the arc sine function looks like. It looks like that. Why don't you just pass it up
instead of going in front? Why don't you just pass it up? No, I have to go in the bathroom. Okay. Sorry. Here you've got differentiability not on the closed interval but on the open interval. It's continuous on the closed interval. Again, you've got vertical tangents as you approach either endpoint. But the mean value theorem would still apply to it. So by only assuming differentiability on the open interval, you get a stronger theorem that does apply to these examples too. The conclusion is then, there exists a point C in the open interval such that the derivative at C, the derivative of F at C, which will be the slope of the tangent line, of course, right?
Don't forget that. is equal to the slope of the secant line between the points A comma F of A and B comma F of B. Drawing a generic picture makes it easy to convince yourself that this is true on an intuitive level. If this is A and this is B, the secant line between the points A comma F of A and B comma F of B looks like that. The mean value theorem says there's some number C between A and B strictly... between A and B. I even made it look like almost a vertical tangent here today. Where the slope of the tangent is the same as the slope of the secant. So it would be parallel. Perhaps right about there is a point where the tangent has a slope that's the same as the slope of the secant. So right about there would be the C that is guaranteed to
exist in the conclusion of the mean value theorem. There can be more than one C. Graph looks like that. There's your secant line. There's more than one spot where the slope of the tangent is the same as the slope of the secant. So there can be more than one C. But there's guaranteed to exist at least one C. So that's the statement. There's a visual emphasizing the geometric meaning. Here's a visual emphasizing the geometric meaning. Here are a couple examples emphasizing that you only need differentiability on the open interval. You should also know, as a real basic thing, that if your function fails to be differential at even one point, the conclusion might not hold. And the simplest example is the absolute value function. Take it to be on any interval where a is negative and b is positive. For example, the interval is negative 2 to 7.
And call the interval from negative 2 to 7. f of 7 minus f of negative 2 over 7 minus negative 2. That'll be 7 minus 2 over 9. 5 ninths is the slope of the secant line. The graph looks like v. Slope of that line. It is supposed to be 5 ninths here. There is no point where the slope of that line is supposed to be 5 ninths here. derivative equals 5 ninths. The derivative equals negative 1 over here when x is negative and positive 1 when x is positive and it does not exist at 0. f prime of 0 does not exist. Never does the derivative equal 5 ninths. If you fail to be differentiable at even one point it is possible that the conclusion will not hold.
On the other hand, you should also be aware that the hypotheses might not be hold for a certain situation, but the conclusion could hold. That can happen. For example, take the qVert function. On any interval containing zero in the interior, where the left end point Where the left endpoint is negative and the right endpoint is positive, and I think the is negative and the right end point is positive. conclusion will hold, and certainly think about particular examples here, like consider the interval from negative 8 to positive 27, f of 27 minus f of 8 divided by 20, or minus f of negative 8, excuse me, divided by f 27 minus negative 8, cube root of 27 is 3, cube Q root of 27 is 3. Q root of negative 8 is negative 2. 27 minus negative
8 will be plus 35. root of negative 8 is negative 2. 5 30 fifths or 1 7th is the slope of the secant line. Is there a place where the derivative has a value equal to 1 7th where the slope of the tangent to the original function does have that same slope? I believe it will be true, but there will be a place where that is true, and you can graph it to see that visually. In fact, there might need to be two places. There's the derivative.
Set it equal to one -seventh and see if you can solve for x. Multiply both sides by three to get x to the negative two -thirds is three -sevenths. Take the reciprocal of both sides, x to the positive two -thirds is seven -thirds. Raise both sides to the three -halves power and take plus or minus square roots, really. Plus or minus seven -thirds to the three -halves power. Looks like it works. That would be the same as plus or minus seven -thirds times the square root of seven -thirds. That would be the same as plus or minus... Do you want to double check if those are both between negative eight and 27? I'm pretty sure they are. Seven -thirds, yeah, it's about two, a little bit bigger than two, take the square root. Yeah, definitely both of those are in the interval. If you draw a
graph, it seems pretty clear that it's true. Remember, the cube root function I said last time fails to be differentiable at zero. We have an infinite tangent there. I should say a vertical tangent. Undefined slope, really. It fails to be differentiable at zero, but there are points where the slope of the tangent equals the slope of the secant. Right about here and right about there. I'm not drawing very well.
Those points actually should be equal distance from x equals 0, but I didn't draw it that way. So you get the main points here. This is a theorem. We are going to prove it. Here's the intuition by why it seems plausible, but not a proof. It's good to consider even the simplest example, the absolute value function, fails to be differentiable at one point on any interval where a is differentiable at one point. negative and b is positive, the conclusion of the mean value theorem will not hold. But there are examples like this one where even though the hypotheses do not hold, the conclusion still does. That can happen for a specific example, some guarantee from the theorem.
How do you prove the theorem? Well, again, we're going to deconstruct it here. We're going to go backwards, so to speak. Well again, we're going to deconstruct it here. We're going to go backwards, so to speak. Although the first step in this backwards kind of approach to the proof, I don't know if it's the best way to describe it. It might seem a little funny or artificial or something like that. We're going to use something called Rolle's Theorem to prove it. And Rolle's Theorem, it's kind of interesting, is actually a special case of the mean value theorem.
And so then the crux of the matter will then be proving Rohl's theorem. says suppose we've got a function in the same kind of situation that is continuous on the open interval, and suppose f of a equals f of b, the conclusion is then there exists a c between a and b. So what happens? Well, if the function values are the same, that means the slope of the secant must be zero. There must be a c where f prime of c is zero, where the tangent has a slope of zero.
A simpler looking conclusion, but it does follow from the mean value theorem. We can easily prove Rolle's theorem from the mean value theorem. What's not so obvious and what's pretty interesting is you can actually take this special case of the mean value theorem and prove the more general case. Once you see the trick, it's actually pretty easy. Though it does involve, Charles, a trick. You love tricks? Yeah. All right. These are all good tricks to know and to learn about and to try to remember. But then the harder work will be proving Rolle's theorem. So we are, in a sense, by using Roll's Theorem to prove the mean value theorem, we're avoiding the hard work for the moment.
Proof sketch. I'm just going to do sketches of the mean value theorem. Proof sketch of the pf there. This sketch is a PF there. For the sake of time, we've got lots to talk about today. It's a little trick, yeah. Well, maybe you'd call it a big trick. Actually, maybe you should have the picture back up here. It's kind of similar to the trick that you used to prove that a function that maps an interval into itself and is continuous has a fixed point. You took the function minus x to create a new function. that you apply the intermediate value theorem to. It's a similar trick here. If this is the graph of f, we've got a secant line here between the endpoints. That's the graph of some function, a linear function. Maybe, well, if I subtract that linear function from f,
I get a function whose values at a and he would be the same, because these two graphs come together at the endpoints. Because these two graphs come together at the end points. And if the values of that new function of A and B are the same, I could apply Rohl's theorem to it. And maybe that application of Rohl's theorem to that new function would get us what we want, maybe. It's not obvious that it will, but maybe if we're lucky here. Let g of x be f of x minus l of x, where l of x is a function whose graph is this secant line.
Stylistically, I should really say what L of X is first, but oh well. What is L of X? How would you make a line whose graph is this? You've got to get the slope right, and you've got to get a point right. You know the slope, you know the point, you can get the formula right. But we are doing it in an abstract form. We don't have specific numbers here. The slope of that line will be that. That's the slope of the secant line. The slope of that line will be... It has to get multiplied by x in the equation for this linear function, so that it is the slope of that linear function. You can also multiply it by x minus a, and it would still have the right slope. The benefit of writing x minus a, though, is that it helps me guarantee that I get the right point, this point on the graph of L of x. If I just
now add f of a to this, that will do it. This quantity, this quotient there, that's the slope of a secant line. It's an average rate of change. It's being multiplied by x, so it is the slope of this linear function. And if you plug So it is the slope of this linear function. And if you plug in the point of whose x -coordinate is a into here, you get 0 plus f of a. does give you f of a. That does go through the right point. It's certainly differentiable. It's a linear function. We know we can differentiate it. We know, well, okay, let's check. Does g of a equal g of b? We're going to apply Rohl's theorem to this new function, g, which I was trying to say We're going to apply Rolle's theorem to this new function g. before that is going to be continuous on the closed interval and differential and open interval because f is and certainly because l is. What is g of a?
Well, I already talked about what you give when you plug in a into l. You get zero there plus f of a. You get f of a, we're subtracting it, g of a is zero. What about g of b? It's less clear that g of b is going to be zero, but it will be. You'll get f of b minus in parentheses here, f of b minus f of a divided by b minus a The b minus a is cancelled there. Inside the parentheses here, the f of a is cancelled. You ultimately get f of b minus f of b. You get zero.
Got that? All right. Just replacing x first with a to get that. then with b to get this. Divide those out. In the parentheses here, cancel the f of a. We've got a minus f of a there and a plus f of a. Then ultimately, we just have f of b minus f of b, which is still zero. So for g, there must be some c between a and b where g prime of c equals zero. The only thing left you can figure out, then, is does that mean this is true? How do you relate that to f? Well, you can relate the derivative of g to the derivative of f. g prime of x will be f prime of x minus l prime of x. But l prime of x is easy. It's a linear function. Its derivative isn't slow.
It's a constant function f of b minus f of a over b minus a. So by saying G prime of C equals 0, from Rohl's theorem, G prime of C will be 0. That means at C, this will be 0. And I hope you can see it in your mind's eye without me writing it down. That would imply that this is true. At that value of C. Now you can see.
Should I go through it quick again? Okay. It's a trick. It's an ingenious trick to use the special case of the theorem to prove the theorem itself. Create a new function. That's the original function minus a function that's linear where the graph of that linear function is the secant line. Actually, I could get away with using any other parallel line, too. Using the seeking line. ultimately allowed me to say g of a and g of b were zero. What is the formula for that linear function? That does work.
It's got the right slope. It goes to the right point. That's the main trick right there. Then there's this wondering, if we apply Roll's Theorem to G, will we get the right conclusion? And fortunately, we do. You've got to check that the hypotheses of the Roll's Theorem applies to G. is going to be differentiable in the closed interval and continuous, excuse me, continuous in the closed interval and differentiable in the open interval because F is assumed to be. And certainly linear functions definitely are everywhere, continuous and differentiable. Check that G of A and G of E are equal. B and E are equal.
They are. They're both zero. They are. They're both zero. Therefore, by Rohl's theorem, there is a C between A and B, so that G prime of C is zero, because I'm applying Rohl's theorem to G. Because G prime and F prime are related, that means something about F prime as well. It means F prime of C minus this is zero, which means this is true. Okay, but this is begging the question, how do you prove Rohl's theorem? This is begging the question, how do you prove Roll's Theorem?
continuing to work backwards, that your book doesn't give a name to. I've seen it called Fermat's theorem before. That's not the same as Fermat's little theorem from algebraic structures. It's also not the same as Fermat's last theorem, proved some 25 years ago, 21 years ago, I think it's when they finally had an airtight proof, which the person who proved it became world famous, okay? There's newspapers everywhere. They made a normal video about him. His name is Andrew Wiles. Anyway, this Fermat's theorem is different than those. It says that if you It says that if you've got a function that's got a local max
or min at an interior point of an interval, and if the function is differentiable there, the derivative must be zero at the max or min. The derivative must be zero there. Let's sketch the proofing. So again, we're trying to prove rules there. So we are assuming that a function is continuous in the closed interval and differentiable in the open interval. If the function is constant over the interval, if f of x equals f of a for all x in the interval, Including at b where you're already assuming f of a equals f of b. Then the conclusion is obvious. The function is a constant function. Its graph is horizontal. Its
derivative is always here. Including at every interior point of the close interval. Then the conclusion right because F prime of C will always equal zero for all C between A and B I am assuming A is strictly less than B here if not if this is not true then the function by the extreme value theorem over this closed interval will have a global maximum in somewhere, a global extreme value, which will also be a local extreme value.
And by Fermat's theorem, that means where you have the extreme values, f prime of c will be zero. So actually, that doesn't feel like much of a proof either, but it does. prove it. There's just a C and AD where F has either a global max or global min.
So it's a local max or a local min as well. Our book doesn't really use the word global anywhere. I like using it. They just say extreme value, max or min. They avoid the word local, but they use a different word. They say relative. The author, I should say, does. I like using the words global and local for emphasis. Global is over the entire domain. I like using the words global and local for emphasis. Local means nearby some point in some neighborhood of the point.
That's the EVT rule. Not Fermat's Little Theorem, not Fermat's Last Theorem. And the book doesn't call Fermat's Theorem. I will point it out to you here. It's at the beginning of Section 4 .2. It's Theorem 4 .10, page 139.
That's what I'm calling Fermat's Theorem. Since the function is differentiable there That's what I'm calling for miles through. as well, f prime of c must be zero. The book states the conclusion of Fermat's Theorem as either f is not differentiable at c if you've got a local maximum in there, or f prime of c is zero. In either case, you've got a critical point for the function at c. Okay, so you've got a critical point for the function at C.
Yeah, they use the word relative extreme value, local max or local min is another way to phrase that. They don't assume F is differentiable at C, so they say either F is not differentiable at C or F prime of C is zero. But we're in a situation here where F is differentiable on the opening rule and the assumption of rolls theorem, and therefore we don't have to say well, maybe f is not differential at c. It is. And f prime c must be zero. So actually that proof is not too bad once you see that kind of trick. Which again brings us back in our deconstruction of the proof to, well, how do you prove Fermatis Theorem?
Sketch or proof of Fermat. I think calling it Fermat's Theorem is not completely standard. Maybe that's why our book didn't call it that. Some people call it Fermat's Theorem. And I'm pretty sure I do remember hearing or reading that Fermat did work on differential calculus. He didn't see, he was before Newton and Leibniz and so he didn't have the fundamentals to connect And so he didn't have the fundamental calculus to connect integrals and derivatives, integrals and . but he did work on slopes of tangents and calculating those slopes before Newton and Leibniz came up with the full -fledged calculus. Essentially, you've got to think about this kind of difference quotient here. Carefully. This is a real sketch. okay? Mostly I'm just writing this and I'm going to think about it here, okay? Mostly, I'm just writing this and I'm going to think about
it here. So what are we assuming with Fermat's Theorem? If we assume the function is differentiable at C, where you've got a local maximum A, you can look at the statement of Fermat's Theorem if it helps, page 139. You've got an interval, a function defined in the closed interval, you've got an interior point, not an endpoint C, where you've got a local Then point C, where you've got a local max or min, high point or low point, not necessarily global, but local, then the F is either not differentiable there or F prime of C is zero. You can prove that by saying, well, let's say F is differentiable at C, because otherwise the conclusion is obvious. It would not be differentiable at C. So you can say, okay, assume f is differentiable at c and prove f prime of c to 0. So you can say, okay, assume F is differentiable at C and prove that. Essentially, it's just thinking about this
difference quotient as x approaches c from the right or the left and thinking about the fact that f has a local max remittance c, say a local max, just for sake of completeness here. that x minus c is positive, greater than zero, and f of x minus f of c, if f of c is a local max, that can't be positive. It could be zero.
That's less than or equal to zero when x is bigger than c. Actually, also when x is less than c, but when x is bigger than c, the bottom is positive. Making this fraction as a whole less than or equal to zero, not only for fixed x greater than c, but also as x approaches c in the limit. So the right -hand limit as x approaches c from right here must be less than or equal to zero because when x is bigger than c, the bottom is positive. and because you've got a local max at C, the top is less than or equal to zero, can't be positive. Makes the whole fraction non -positive, and the limit then must be non -positive. On the other hand, if you let an X approach C from the left,
the top is still less than or equal to zero, but the bottom is now negative, making a fraction as a whole greater than or equal to zero for any fixed x less than c. Less than c now. The slope of the secant is positive, or at least not negative, and therefore the limit has got to be greater than or equal to zero.
Non -strict inequalities are preserved by the limits. Just a second. If I'm assuming F is differentiable of C, that means these two limits must be the same. The one -sided limit must equal the two -sided limit. Since this one's less than or equal to zero, this one's greater than or equal to zero, they must both be zero. And the two -sided limit must be zero. F times C must be zero. Travis? So how would you do this with like a x squared function? You mean with a local min instead of a local max?
Yeah, like where it would be? Instead of this x squared, you know, this

Ask anything
We've read this whole study set, so questions about it get the best answers.