In this explainer, we will learn how to find the absolute maximum and minimum values of a function over a given interval using derivatives.

We can use the derivative of a function at a point to help us determine what happens to that function locally. For example, we know that the local extrema of a function must occur at its critical points. Remember, we say is a critical point of a function if or does not exist.

However, this only gives a local bound for our function. What if we wanted to bound our function over a larger interval?

For example, consider the following curve.

We can see it has two minimum values, one at and another at . We can refer to the minimum at as a local minimum since it is the lowest output of our function near ; however, the minimum at is the lowest output of the function entirely, so we will want to give this a different name.

### Definition: Absolute Extrema

For a function , we say the function has

- an absolute maximum at , if for all values of in the domain of ;
- an absolute minimum at , if for all values of in the domain of .

We call the absolute maximum of and the absolute minimum of .

There are a few problems with finding absolute extrema in general. Firstly, not all functions have absolute extrema. For example, we know the function is unbounded; we can always choose higher values of to get larger unbounded outputs (and the same is true for a lower bound). Secondly, sometimes functions are bounded but do not actually reach their absolute extrema. For example, is always positive, so we know it is bounded below by 0, but we can always find an input value of to make the output lower.

To circumvent these problems, we will introduce one restriction on our functions; instead of looking for absolute extrema of our functions on their entire domain, we will look for absolute extrema on a subset of their domain.

### Definition: Absolute Extrema of a Function on a Closed Interval

For a function on an interval ,

- we say the function has an absolute maximum at on the interval , if for all values of ;
- we say the function has an absolute minimum at on the interval , if for all values of .

We call the absolute maximum and the absolute minimum of on the interval .

Essentially, these are just the maximum and minimum values a function can obtain for inputs in the closed interval.

There is still one more problem: if we are given a function that is not continuous on an interval, then the function is not necessarily bounded on this interval. For example, is not bounded on the interval . We can see this around in our graph above.

However, if we are working with a continuous function, we can use a very useful result called the extreme value theorem.

### Theorem: Extreme Value Theorem

If is continuous on the interval , then there exists such that is the absolute maximum and is the absolute minimum of on the interval .

It can be useful to see this in an example. Consider the following diagram of on the interval .

We can see an example of the extreme value theorem in action in our diagram; the absolute minimum of our function on this interval is at the turning point and the absolute maximum of our function is at the endpoint .

While it is beyond the scope of this explainer to prove this theorem, this does give us some really useful information to work with. First, if we are asked to find the absolute extrema of a continuous function on a closed interval, then the extreme value theorem guarantees that these exist. Second, if we are given a piecewise continuous function, we can apply the extreme value theorem to each of the pieces and then separately deal with the points of discontinuity.

Finally, to find these extrema, we need to recall some information about local extrema and increasing/decreasing intervals. We know local extrema will occur at critical points, and while we might be tempted to assume that absolute extrema must also be local extrema, this is not necessarily true at the endpoints of our interval . Since our function could be increasing/decreasing beyond these endpoints, we will have to check the endpoints of our interval separately.

This gives us a method for finding the absolute extrema of a continuous function on a closed interval.

### How To: Finding the Absolute Extrema of a Continuous Function on a Closed Interval

If is a continuous function, then we can find the absolute extrema of on the interval by

- finding all of the critical points of on ,
- evaluating at all of the critical points in ,
- checking the value of the function at the endpoints of .

The largest of these outputs is the absolute maximum of on and the lowest is the absolute minimum of on .

We can use this method on any continuous function on a closed interval. For piecewise continuous functions, we can analyze each continuous part by using this method and then check the points of discontinuity separately.

In our first example, we will look at how to apply this process to find the absolute extrema of a polynomial function.

### Example 1: Finding the Absolute Maximum and Minimum Values of a Polynomial Function on a Closed Interval

Determine the absolute maximum and minimum values of the function in the interval .

### Answer

We are tasked with finding the absolute maximum and minimum of a function on a closed interval. Remember, the local extrema of our function occur at critical points, while absolute extrema can also occur at the endpoints of the interval, so we will need to check all of these to find our absolute extrema.

The first thing we should check is the continuity of our function; in this case, is a polynomial, so is continuous for all real numbers. This means that the absolute extrema of on must occur at the critical points or the endpoints.

Next, we will start by finding the critical points of on this interval; remember, these are the values of where the derivative is equal to 0 or does not exist. Of course, the derivative of a polynomial will exist for any real value of , so we only need to look for the derivative equal to 0.

We can do this by finding the derivative of :

Then, we set this expression equal to zero and solve by factoring:

This has solutions . Remember, we are only interested in critical points in the interval , so only two of these critical points lie in our interval. These are located at and .

These are the possible locations of the absolute extrema for our function, so we should evaluate our function at these locations to compare to the endpoints of our curve:

Since the endpoints of could still give us absolute extrema, we must check the value of the function at these points:

We have now checked all of the possible points where extrema can occur in the interval . The greatest of these four outputs is , which will be the absolute maximum of on , and the lowest is , which will be the absolute minimum of on . We can see this in the graph of this function, restricted to .

This gives us our final answer. On the interval , the function will have an absolute maximum value of at and and an absolute minimum value of at .

### Example 2: Finding the Absolute Maximum and Minimum Values of a Rational Function on a Given Interval

Determine the absolute maximum and minimum values of the function on the interval .

### Answer

We are asked to find the absolute maximum and minimum values of a function on a closed interval. To do this, we want to find the local extrema and also check the value of the function at the endpoints of our interval.

So, the first thing we should do is check the continuity of our function; this will then allow us to find extrema on the continuous parts separately. In this case, our function is rational, and we know all rational functions are continuous everywhere except where their denominator is equal to zero. For this function, that is when , which is not in the interval .

This means our function is continuous on the interval ; so by the extreme value theorem there must exist both an absolute maximum and an absolute minimum in this interval. To find the absolute extrema of this function, we need to compare the value of the function at its critical points with the value at its endpoints.

Let us start by finding the critical points (i.e., where the derivative is equal to 0 or does not exist). We will do this by using the quotient rule, which we recall tells us that, for differentiable functions ,

Applying this to our function, with and , we get:

We see the derivative exists everywhere except when , which is not in the domain of our function, so we only need to check for the values of where the derivative is equal to 0. For this to be equal to 0, the numerator must be equal to 0; however, the numerator is always equal to 8. Therefore, there are no critical points for this function in our interval. That means we only need to check the endpoints.

When ,

When ,

This tells us that must be the maximum of the function on this interval and must be the minimum. We can see this on the following graph of our function on the interval .

We were able to show that the maximum value of on the interval is at and the minimum value on the same interval is at .

So far, the functions in all of our examples have been continuous on the interval we are working on. However, we can also treat discontinuities in a function separately. Let us see an example of how to apply this process to a piecewise-defined function.

### Example 3: Finding the Absolute Maximum and Minimum Values of a Piecewise Function in a Given Interval

Determine the absolute maximum and minimum values of the function in the interval .

### Answer

We are tasked with finding the absolute maximum and minimum values of a function on a closed interval; we can do this by comparing the value of the function at its critical points and the endpoints of our interval, provided our function is continuous. So, we should start by checking the continuity of our function.

We can see that our function is piecewise defined and both pieces are polynomials. This guarantees that will be continuous everywhere except where we join the pieces, in this case, when . To see if is continuous when , we check what happens when in both pieces:

These are not equal, so the two pieces of do not join when . In other words, we have a jump discontinuity here.

We might be worried that this means we cannot find the absolute maximum and minimum values of the function on the interval ; however, we do know that is continuous and equal to when and is continuous and equal to when . So, we can treat these two cases separately.

First, when , . We are looking for extrema in the interval , so our values of must be in the interval . To find the extrema of this piece, we want to find all of the critical points and then check the endpoints of our new interval .

We will start by finding the critical points, that is when the derivative is equal to zero or does not exist:

We can see this is defined for all of our values of and is zero when , so this is the only critical point of the first function; however, we are only interested in values of in the interval . So, we only need to evaluate at the endpoints of this first interval:

We are not done yet; we still need to see what happens when .

In this case, we know that , and we want to find extrema on the interval . Now, this is a problem since this interval is not closed. So, to get around this, we will look for extrema on the interval , and if we find an extremum at , we will need to sketch a graph to see what happens here.

To avoid confusion, let us call . We want to find the extrema of this function on the interval , so we need to find the critical points: is therefore defined for all and cannot be equal to zero, so has no critical points. This means we just need to look at the endpoints of our interval:

We have now found all of the possible extrema for our original piecewise function on the interval , so all that is left to do is compare these values.

1 | 6 | |||

9 | 81 |

We see the absolute maximum is 81 at , and the absolute minimum is at . We can also see this information in the graph of the function on .

The next few examples show that, sometimes, we will need to use some of our advanced differentiation techniques to find the critical points of the function.

### Example 4: Finding the Absolute Maximum and Minimum Values of a Function in a Given Interval Involving Using the Product Rule

Find the absolute maximum and minimum values, rounded to two decimal places, of the function .

### Answer

We want to find the absolute maximum and minimum values of this function and we can immediately notice that is the product of two continuous functions, so itself is continuous. To find the absolute extrema of the function on this closed interval, we need to find all of the critical points and check the endpoints of our function.

Let us start with finding all of the critical points; these occur when the derivative is equal to zero or does not exist, so we will begin by differentiating by using the product rule.

Recall that the product rule tells us if and are differentiable; then,

Applying this to our function , where and ,

This is defined for all of the values of in our interval , so the only critical points will be when this is equal to 0:

We know for all values of , so the only critical point of is when . Now, all that is left to do is to compare the value of the function at the critical point and at the endpoints of our interval :

Therefore, to two decimal places, the absolute maximum is 1.84, and the absolute minimum is 0.

### Example 5: Finding the Absolute Maximum and Minimum Values of a Root Function in a Given Interval

Find, if they exist, the values of the absolute maximum and minimum points for the function , where .

### Answer

We want to find the absolute extrema of a function on a closed interval; the first thing we can notice is that is the composition of two continuous functions, so will be continuous across its entire domain. We want to check that is defined when ; to do this, we need to make sure we are not taking the square root of a negative number. We can see that for these values of , so our function is defined for all in the interval .

Since our function is continuous, the extrema on this interval will either be critical points or the endpoints of our interval. We can check all of these individually.

Let us start by finding the critical points; these will be when the derivative of is zero or where it does not exist.

Using either the chain rule or the general power rule, we can see that

For to be equal to zero, the numerator must be equal to zero, but the numerator must remain constant at 3. Therefore, there is no value of for which . For to be undefined, we must either divide by zero or take the square root of a negative number; however, none of these values of will be in the domain of . This means there are no critical points for our function .

Therefore, we only need to compare the values of at the endpoints of our interval :

This tells us the function has an absolute minimum value of 2 and an absolute maximum value of 5.

We can see this information if we plot the graph of this curve over the interval .

The function is increasing on the entire interval, so its absolute minimum is the start point of the interval and its absolute maximum is the endpoint of the interval.

Let us finish by recapping the key points about finding the absolute maxima and minima of functions on a closed interval.

### Key Points

- The extreme value theorem tells us that a continuous function on a closed interval achieves its absolute maximum and minimum in that interval.
- We can find the absolute maximum and minimum values of a continuous function on a closed interval by comparing the values of all of the critical points and the endpoints.
- We can even extend this to discontinuous functions by checking the points of discontinuity separately.