Subsections

# Derivatives and Finding Absolute Maxima and Minima on a Closed Interval

## Background

The Absolute Extrema of a function on a closed interval is the highest and lowest point on the graph. That is for some value in the closed interval , if for all , then is the absolute maximum value and if for all , then is the absolute minimum value.

If is a continuous function on the closed interval , then there exists numbers and in the interval such that is the global minimum and is the global maximum. If is not continuous, then it does not necessarily have an absolute maximum or an absolutr minimum value. One can check for continuity at questionable points by calculating the right and left handed limits. When is continuous on , we can find the absolute extrema either at a critical value where or does not exist or at one of the endpoints or .

## Using Maple

The Maple commands that are most useful are the ones for plotting functions, taking derivatives, and solving equations. By plotting the function and/or its derivatives, you can get a very good idea of approximately where the extrema occur. Then using the solve or fsolve commands you can find the values of where . Finally, you can use Maple to check the function value at each critical point and endpoint. The example below shows how Maple can be used to find the global extrema for on the interval .
> f := x-> x^3+x^2-8*x+1;
> plot(f(x),x=-4..2);
> solve(D(f)(x)=0,x);
> evalf(f(4/3));
> f(-2);
> f(-4);
> f(2);

The plot helps to see how many critical values you have. The solve command shows that there are critical values at and . Then evaluating the function at each critical value and each endpoint clearly shows that the absolute maximum is and occurs at the critical value and the absolute minimum is and occurs at the endpoint .

## Exercises

For each function below, find the absolute extrema on the given closed interval if they exist.
1. on .
2. on .
3. on .
4. on and .