Extrema on an Interval October 21, 2026 [00:00:05] Let's say this is some function here. [00:00:20] Does this function have a maximum. [00:00:28] What is the maximum? [00:00:32] Infinity is not a real number. So does this have a maximum? [00:00:43] Does this function have a minimum. Yeah. Yes. [00:00:50] Whatever the y-value of this ordered pair is, right? [00:00:58] Okay. [00:00:59] Let’s say this was (5, 8). [00:01:06] That number 8 is not the maximum of the function. Why not. [00:01:21] So eight is not the maximum. [00:01:28] Why not. [00:01:31] Because there are much higher values. We agree. Okay. However, this is an interesting point. [00:01:44] Because everywhere close by the eight is the maximum. We agree. Yeah. Okay. [00:01:55] So, [00:01:59] well, let me go back here for a second. This is the minimum. [00:02:05] Or whatever the Y value is, is the minimum. [00:02:09] (x, y). [00:02:12] That Y value is the minimum. [00:02:17] Okay. And there is no maximum. [00:02:23] Since it's the. Yeah. So the minimum of the whole function or the maximum, we have two different names. [00:02:34] We either call it a global minimum or an absolute minimum. [00:02:48] Okay. [00:02:53] This right here, let's go to this one. Let’s call that (7, 6). I'm just making up a number. [00:03:03] The six is a minimum compared to all the ordered pairs around here. In a very small area. [00:03:17] Okay. So this is not called the minimum, but it is called a local minimum. [00:03:31] Okay. Also known as a relative minimum. [00:03:39] Okay. Why do we use the word relative? [00:03:46] Relative to all the other x-values nearby. [00:03:51] Or relative to all the other y-values nearby. It is the smallest. [00:03:58] Local. [00:04:00] In a very small area. [00:04:03] Okay. It is a local minimum. [00:04:07] Global, right? Meaning the entire globe. The entire domain. It is the. [00:04:14] This one is also a local minimum. Why is it a local minimum? [00:04:22] Because compared to all the other ordered pairs nearby, it has the smallest of the Y values. [00:04:28] But these two over here, this is a local minimum or relative minimum. [00:04:34] Typically, if we use the word global, we use the word local. And typically, if we use the word absolute, we use the word relative. [00:04:44] Okay. So we'll actually define that in a few minutes. [00:04:50] This would be a local max or a relative max. [00:04:58] Okay. [00:04:59] Plural. What's the plural? So minimum is a singular word. What is plural for minimum? [00:05:07] It's minima. [00:05:13] Minima. [00:05:17] Okay. Minima is plural for the word minimum. [00:05:29] And maxima is plural. [00:05:36] Plural for maximum. [00:05:43] Okay. [00:05:46] An extremum. What is an extremum? [00:05:58] Plural. I don't know if I'm saying that right. Is the same as maximum, minimum? Is it singular or plural? [00:06:11] Singular. [00:06:15] Okay. [00:06:19] And then plural for extremum is? Extrema. So this is plural. And what is extrema? [00:06:31] An extremum is a minimum or a maximum—one of the extremes. [00:06:39] It's definitely not the average. Okay. So this has how many extrema? [00:06:46] Three. One, two, and three. Three local extrema, and one of those is the global minimum. [00:06:56] Is this a local? [00:06:59] No. [00:07:03] Okay. Okay. Well, let me have, let's say this is the ordered pair. [00:07:12] (4, 9). [00:07:20] Okay. Okay. [00:07:26] Is nine a local maximum? [00:07:33] Why not? [00:07:36] Yeah, that's not in the set. [00:07:41] Okay. Let me give you an example. [00:07:54] Oops, that's not what I wanted. [00:07:57] This is a set. We agree? [00:08:01] Okay. This is an interval. An interval. [00:08:04] Not a range. [00:08:14] Definitely not an ordered pair. [00:08:17] Okay. It is simply a set of numbers between two numbers. [00:08:31] Okay. And then we could either include the endpoints or exclude the endpoints. It's just a set of numbers. [00:08:38] Okay. How many numbers are in that set? [00:08:40] So, sets sometimes have minimums and maximums. What is the minimum of the set? [00:08:50] This is not a trick question. Two. [00:08:57] What is the maximum? [00:09:02] Okay. So this is very important. [00:09:09] We know it's not nine. Why is it not nine? [00:09:14] Because nine is not in that set. [00:09:21] Is 8.9 the maximum? No. [00:09:26] Because 8.99 is in that set. Is that the maximum? No. [00:09:33] Is that the maximum? [00:09:36] Is that the maximum? [00:09:38] Someone said 8.9 repeating? 8.9 repeating is 8.999… right? Yeah. [00:09:51] This number is not in that set. [00:09:54] Because it's exactly equal to nine. No. [00:10:03] Okay. 0.999… is exactly equal to 1. There is no difference between the two numbers. [00:10:16] Should we try proving? [00:10:18] This is easy. [00:10:30] Okay. Let's say we don't know what it is. [00:10:33] Let's multiply both sides by 10. [00:10:36] What does the right-hand side become? [00:10:43] We agree? Write this as 9 plus 0.999…. [00:10:52] We agree? And 0.999… is equal to x. Agreed? [00:11:05] Subtract x. [00:11:14] It exactly equals 1. [00:11:18] Anyways, the whole point was this is exactly equal to what? [00:11:28] So this is not in the set. Okay. [00:11:34] So what is the maximum of the set? [00:11:45] Okay. The answer is there is no maximum. [00:11:49] Even though no number in the set is greater than 9, this interval, open on the right, has no maximum. [00:11:59] Okay. I know. This is fun stuff. [00:12:06] So that's the reason this ordered pair right here is not a local maximum. Or the Y value, I should say, is not the local maximum. [00:12:17] It occurs at X equals four. Okay. [00:12:21] Why is that? It's because nine is not in that set. For the same reason as nine was not in that previous set that we just went over. [00:12:36] Again: local maximum, local minimum, and a local and global minimum. [00:12:46] And mins and maxes are called what? Extrema. Okay. The extreme largest and extreme smallest or the maximum or the minimum. Extrema. [00:12:59] Okay. [00:13:00] So, we can talk about end behavior first. That's something you want to do that. Okay. [00:13:05] This is an odd degree function, which means what about the end behavior? [00:13:12] They're in opposite directions. One goes to positive. And one goes to negative infinity. [00:13:17] And then we look at the leading coefficient. So, what does that tell us? [00:13:24] So, which means it goes up like that. And down like that. [00:13:30] And then what do we do in between? [00:13:34] Thank you. We found the zeros. Zero equals x cubed minus 4x. [00:13:45] And how do we solve that? [00:13:49] Definitely start by factoring out the x. [00:13:53] And now what? [00:13:55] And we factor more. [00:14:02] Okay. And the zeros are? [00:14:07] Zero. [00:14:09] 2 and −2. [00:14:13] Okay. [00:14:15] And then we would plot those. [00:14:25] And then what do we do? [00:14:28] We know this is the end behavior. So, it's going to go up. How can we tell if it crosses through or turns back around? [00:14:41] It has to do with the multiplicity of the zeros. [00:14:46] So, these are all multiplicity ones. It goes up, crosses, turns around, and comes down. [00:14:52] It looks like something I got, right? Okay. We did that two years ago. Something you did that two years ago. [00:15:03] And the big question, the students have asked, well, how high up do I go here? [00:15:11] In Math 2–3, we didn’t know those exact turning-point locations. [00:15:14] A relative max, or a local max. Okay. If I wanted to find that, it was impossible in Math 2–3. Two, three. [00:15:28] But now we know some calculus. [00:15:33] What do we know? [00:15:40] What is the slope of the tangent line going to be there? Zero. [00:15:45] So, what are we going to do next if we want to find them? Take the derivative. I like that. [00:15:54] 3x² − 4. [00:15:57] And now what? [00:16:01] Set it to 0. Set it to 0 because we want to know when the, or it has horizontal tangent lines. [00:16:11] We solve that. We get 4 is 3x squared. [00:16:17] 4/3 = x². [00:16:23] x = ±√(4/3). That is ±2/√3. Yeah. [00:16:36] That gives the exact x-coordinate. [00:16:42] −2/√3. [00:16:44] How can we find the ordered pair or the actual relative maximum value? [00:16:54] Plug it into the function. [00:16:57] Evaluate f(−2/√3) using x³ − 4x. It's not going to be a pretty nice number. [00:17:20] And what's that come out to be? [00:17:28] −8/(3√3) + 8/√3. [00:17:39] Anyways, that's some number. That is the relative maximum. That relative maximum occurs at x = −2/√3. [00:17:49] So, before calculus, it was impossible to find those. [00:17:53] Okay, so super cool stuff. We can now get a really good graph based on what we know about the zeros and the end behavior. [00:18:03] And now we can find the extrema and where it's going to turn around and so on. [00:18:10] Here is a quadratic function on the closed interval [−1, 2]. [00:18:22] And what is the maximum? The maximum is equal to what value? [00:18:31] It's very important. The maximum is a number. What is the maximum of f? Five. [00:18:39] And what is the minimum? The minimum is 1. Okay. And therefore, that's why the range is 1 to 5. [00:18:52] It's going to be the range here. [00:18:55] Okay. [00:18:58] The smallest number in the range is the minimum and the largest number in the range is the maximum. Okay. [00:19:05] At this second one, you don't have to draw this. We're going to come back this later. [00:19:10] This has a minimum. And what is the minimum? [00:19:14] One. [00:19:16] Okay. [00:19:17] And it has no maximum. Why does it have no maximum? [00:19:23] The open circle means the range is [1, 5). An open parenthesis at 5. [00:19:36] Okay. And this open set on the right-hand side has no maximum. We discussed that for a while, right? [00:19:45] Okay. [00:19:46] Here's the third thing that could possibly happen. [00:19:50] This has a maximum. It's 5. [00:19:55] This function is defined right there. [00:20:03] Everywhere. But it has no minimum because what would be the minimum, we move that point up here. [00:20:10] Here the range is (1, 5], so it has a maximum and no minimum. [00:20:19] Okay. We're going to come back to these three examples in a minute. [00:20:24] Let’s write down the Extreme Value Theorem. [00:20:30] The condition is that f is continuous on a closed interval. [00:20:39] we are guaranteed to have a minimum and a maximum. [00:20:46] A global minimum and a global maximum. [00:20:50] As long as it's continuous on a closed interval, guaranteed. [00:20:55] Okay. [00:20:56] This cubic on the real line has no absolute maximum or minimum. [00:21:05] So, what about the hypotheses? I thought we were guaranteed. Because this is a continuous function. Do we agree? [00:21:19] So, why doesn't it have a minimum and a maximum? [00:21:22] Okay. It's not a closed interval. It's very important. [00:21:31] This is continuous on a closed interval. We're guaranteed to have one. Why is this not have a maximum even though f is continuous? [00:21:45] It isn’t continuous on a closed interval here. [00:21:47] Okay. So, we aren't guaranteed one. We do happen to have a minimum, but we don't have a maximum. [00:21:57] Why does this not have a minimum? Not continuous. [00:22:03] Yeah, because it's not continuous. Okay. So, it has to be both continuous and continuous on a closed interval. [00:22:10] Then we’re guaranteed a minimum and maximum: the Extreme Value Theorem. [00:22:19] We’ve already talked about local maxima and minima. [00:22:29] What if it's like a straight line on the min or the max? What would be the same? [00:22:34] A horizontal line—say f(x) = 5. [00:22:40] It has a min and it has a max and it is? There's like the same. What is? It's 5. It's 5. [00:22:56] There is one minimum value, 5. Where does it occur? [00:23:07] Everywhere, on all real numbers. [00:23:16] That will come back to that example later. Okay. Is this point a relative minimum? Even though it's a sharp point? [00:23:31] I mean, it definitely tells you it is. Okay. Compared to every other y value around it, it is the smallest. Well, compared to it, it's the smallest. [00:23:42] Yeah. Yeah. It can be a sharp point. It could be a smooth point. It doesn't matter. It's a relative minimum, relative minimum. Okay. [00:23:58] Here’s the definition of a relative extremum. [00:24:08] If an open interval contains c and f(c) is the largest value there, then f(c) is a relative maximum. [00:24:21] Okay. So what does that mean? Like right here. This is my c. As long as there's some open interval where f of c is the largest. It's called a relative maximum. How close by does it have to be? [00:24:45] Doesn't matter as long as it's some open interval. Okay. And then the opposite for relative minimum. Okay. Another very important definition. [00:25:00] A critical number: f must be defined at c. If f′(c) = 0, or f is not differentiable at c, then c is a critical number. [00:25:28] I also call these critical values: critical numbers or critical values. [00:25:41] I often abbreviate that as C.V. [00:25:48] So who wants to take guess why we say it's critical? [00:26:00] Anybody? What does critical mean? Very important. Very important. So why do we call these numbers very important numbers? [00:26:18] And what does this happen to be? Or not happen to be. It is a relative maximum. Okay. And for the derivative of zero we have a relative maximum. Okay. So they're critical because they might be relative mins or relative maximums. [00:26:37] Relative extrema can occur only at critical numbers. If f has a relative minimum or maximum at x = c, then c is a critical number. [00:27:02] If f′(5) = 0, then 5 is critical. That does not guarantee a local minimum or maximum there. [00:27:18] But if it has a relative max or min at c, then we're guaranteed that it's a critical value. Okay. And we're going to use that. And then we're going to have to check to see if it's a min or max or neither. And we'll see. [00:27:32] For example, y = x³. Its derivative is 3x². Solving 3x² = 0 gives x = 0, a critical number. [00:27:57] Okay. But it is neither a min nor a max. Okay. Just because it has a horizontal tangent line does not mean it's a min or a max. Okay. So the other things that can happen is something like this. [00:28:19] That sketch is not actually the cube root of x, but imagine a curve with a vertical tangent. Why doesn’t the derivative exist there? [00:28:41] A vertical tangent means the derivative does not exist there. That is a critical input, but it need not be a minimum or maximum. [00:29:01] A critical input does not automatically give an extremum. For the closed-interval method, check continuity, find critical inputs, evaluate the function there, and evaluate the endpoints. [00:29:32] And the least value is the minimum and the greatest is the maximum. [00:29:36] Is this a continuous function? [00:29:42] A polynomial is continuous for all real numbers, so it is continuous on this closed interval. Find the derivative. [00:29:55] 12x³ − 12x². [00:30:04] Then find the critical inputs. Find the critical inputs. [00:30:19] So we set f prime equal to zero. [00:30:30] And can we solve that by factoring? [00:30:36] Probably. [00:30:42] X. [00:30:47] x − 1. Thanks. Okay. So the critical values are. [00:31:04] So critical values are X values. The critical values are zero and one. [00:31:11] Once you find the critical values, we simply plug them into the function. The function. And what was the function in? [00:31:20] 3x⁴ − 4x³. Okay. So we're going to find f of the endpoints. [00:31:32] I do this order. Well, you can do it anywhere you want. [00:31:37] Which is our f of a. [00:31:40] We're going to find f of the first critical value. [00:31:48] F of the second critical value. [00:31:51] Number two. And f of the other endpoints. [00:31:57] You can do it anywhere. [00:32:01] So this would be f of. Was it negative one? [00:32:06] So we're going to negative one to two. F of. What was our critical value? Zero and one. [00:32:26] And now we've got to do some work. [00:32:30] So. [00:32:58] 3 + 4 = 7. [00:33:12] −1. [00:33:18] 2⁴ = 16, and 3 times 16 is 48, minus… [00:33:27] 8 times 4. [00:33:29] 48 − 8 times 4 = 48 − 32 = 16. [00:33:38] Once you have f of the critical value and f of the endpoints. [00:33:43] The smallest of the four numbers. [00:33:46] Is the minimum. Is the absolute minimum. [00:33:56] And this guy is the absolute max. [00:34:03] Maximum. [00:34:10] At zero it could be a relative min or max. [00:34:15] We don't know. We're going to learn how to figure that out later. [00:34:19] But we don't care. We're just finding the absolute minimum and the absolute maximum on a closed interval. [00:34:25] The key is you got to check the endpoints as well. Anytime we're finding the min or the max on a closed interval. [00:34:34] So first off, is this a continuous function? [00:34:42] Yeah, the cube root and then squares continuous. That's continuous. [00:34:50] So we first find the derivative. [00:34:55] 3 times (2/3) x to the −1/3, minus 2. [00:35:12] 2/∛x − 2. [00:35:26] And I forgot to do this before, but it is very important. [00:35:32] Critical inputs occur in two cases; we checked only f′ = 0 earlier. [00:35:40] Where else do critical values occur? [00:35:45] When what? F prime does not exist. We always have to check both. We found one. [00:35:55] Okay, does this derivative ever not exist? [00:36:00] That polynomial derivative exists for all real numbers, so it gives no additional critical inputs. [00:36:04] I meant to do that for this problem. This can be very important here. Find where f′ = 0 and where f′ does not exist. [00:36:16] When F prime equals zero or F prime does not exist. [00:36:27] Let's start where F prime does not exist. Look at the derivative’s domain. Which input is excluded? [00:36:41] Zero. F prime of zero does not exist. [00:36:48] So x equals zero is a critical value. [00:36:59] We always check both: where f′ does not exist and where it equals zero. [00:37:04] 0 = 2/∛x − 2. Uh oh, now this is just some algebra. [00:37:17] Let's solve this. [00:37:25] We put the two on the other side. [00:37:32] Add 2 to both sides. Then cube both sides. [00:37:49] So the critical values are zero and one. [00:38:02] And now we plug in the critical values into the function, not the derivative. And the endpoints into the function. [00:38:16] Evaluate all the candidate inputs. [00:38:24] What endpoints? Negative one to one. [00:38:32] f(−1), [00:38:37] f(0), f(1), [00:38:43] and f(1) again as the endpoint. [00:38:46] Endpoint. [00:38:50] The critical input 1 is also the endpoint. [00:38:55] We obviously don't have to plug it in twice. [00:39:02] 3(−1)^(2/3). [00:39:14] Uh oh, what is negative one to the two thirds? [00:39:18] Square negative 1 and take the real cube root, or vice versa. Either way, it is 1. [00:39:27] 3 times 1 plus 2 is 5. [00:39:41] Zero. [00:39:52] The maximum value is 5. [00:39:58] Again, the y value, the function value is the maximum. At x = −1. [00:40:07] The minimum value is 0. [00:40:12] At x = 0. [00:40:14] What is this function going to look like? What was it? At x = −1… Five. [00:40:24] (0, 0). [00:40:26] (1, 1). [00:40:35] f is not differentiable at x = 0. [00:40:38] It has to be a sharp point here. [00:40:49] Something like that. [00:40:52] Actually real quick, [00:40:57] The graph stopped there because the chosen interval was [−1, 1]. It was a critical input. [00:41:06] So what do we know it has there? [00:41:11] And the derivative exists there. It has a horizontal tangent there, so the sketch should flatten at x = 1. [00:41:19] If I continue the function beyond this interval, it does this. And it does that. Something like that. [00:41:24] It's kind of cool, but we're going to do graphing later.