Google Classroom
GeoGebraGeoGebra Classroom

Absolute Maximums and Minimums of a Function on a Closed Interval

In the previous activities we discussed the topic of maximums and minimums, and how to find them by way of critical points and the Second Derivative Test. In this activity we will discuss how to find the absolute maximum and absolute minimum values of a function when it is constrained to a closed finite interval. FYI, a "closed finite interval" is an interval of numbers including the end points. For example, you might consider the set of numbers between -3 and 6 including the endpoints. This would be every number between -3 and 6, including -3 and 6. The notation for this closed finite interval is -3≤x≤6 or [-3,6]. In other calculus courses you might also study intervals that don't include the endpoints, called "open intervals," but we won't be discussing those here, and will only consider closed intervals. Moving on. Check out the applet below where a function is plotted which has been restricted to the closed interval -3≤x≤6. It doesn't matter what the function is.
As you can see, the absolute maximum occurs at a, and the absolute minimum occurs at b. Even though the function has a critical point at about 2.4, this is NOT the absolute maximum. Slide the point with coordinates to see that the tangent line has a slope of 0 somewhere around 2.4. The exact value doesn't matter. It turns out that the absolute maximum and the absolute minimum of a function constrained to a closed interval like above must occur at either the endpoints of the interval, or at critical points inside the interval. In light of this fact, there's a very straightforward algorithm for finding absolute minimums and maximums of such functions. To find the absolute maximum and absolute minimum of a function f(x) on a closed interval a≤x≤b, follow these steps:
  1. Calculate all the critical points of f(x) that are inside the closed interval by solving the equation formed by setting f'(x) equal to 0, and then only keeping the solutions that are greater or equal to a and less than or equal to b.
  2. Calculate f(a), f(b) and also calculate f at all the critical points you found in the previous step.
  3. The smallest value from step 2 is the absolute minimum of f(x) on the closed interval. The largest value form step 2 is the absolute maximum of the f(x) on the closed interval.
To see why this is true, take another look at the applet above. To help you see that the process described above will always work (not just for a specially constructed function of my choosing), I've made it so that you can adjust a, b and all the purple diamonds in the applet above, and the function will update accordingly. Go ahead and try it out! What you should pay attention to is that no matter how you adjust a, b or the purple points, the absolute maximum and absolute minimum of the function on the closed interval -3≤x≤6 will always occur at either a critical point or an endpoint. You can use the coordinate point to help you explore this. Thus, the conclusion you can draw is that the process above will always work to pick up the absolute maximums and minimums of a function constrained to a closed interval. Let's try it out by trying to find the absolute maximum and absolute minimum of f(x)=x^2-2x constrained to the closed interval 0≤x≤4, but without looking at it in Geogebra. We'll follow the process described above:
  1. f'(x)=2x-2, so 0=2x-2 is solved with x=1. So 1 is the only critical point of f(x). It is in the closed interval, so we keep it.
  2. Since the critical point x=1 is in the closed interval 0≤x≤4, we will need to check it and the endpoints of the closed interval in the function f(x). Those calculations are f(0)=0^2-2*0=0 and f(1)=1^2-2*1=-1 and f(4)=4^2-2*4=8.
  3. Looking at these three outputs of f, we see that the absolute minimum is -1 and occurs when x is 1, and the absolute maximum is 8 and occurs at the endpoint when x is 4.
The only potential trouble spot in general with this process is finding the critical points in step 1 because it requires you to solve the equation formed by setting f'(x) equal to 0, and this can be a really challenging algebra puzzle. This time it wasn't, but it easily could be quite hard if f(x) is complicated. There's plenty more we could study about derivatives, but this is a good overview of the core ideas. It's time to move forward and study the integral.