Lesson Explainer: Absolute Extrema | Nagwa Lesson Explainer: Absolute Extrema | Nagwa

Lesson Explainer: Absolute Extrema Mathematics

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 𝑓(𝑐)=0 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 𝑥=0 and another at 𝑥=3. We can refer to the minimum at 𝑥=0 as a local minimum since it is the lowest output of our function near 𝑥=0; however, the minimum at 𝑥=3 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, 𝑓(𝑥)=1𝑥 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, 𝑓(𝑥)=1𝑥 is not bounded on the interval [1,1]. We can see this around 𝑥=0 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 𝑦=(𝑥1)(𝑥+3) on the interval [3,2].

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 𝑥=1 and the absolute maximum of our function is at the endpoint 𝑥=2.

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

  1. finding all of the critical points of 𝑓(𝑥) on [𝑎,𝑏],
  2. evaluating 𝑓 at all of the critical points in [𝑎,𝑏],
  3. 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 𝑓(𝑥)=2𝑥8𝑥13 in the interval [1,2].

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 [1,2] 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 𝑓: 𝑓(𝑥)=4×2𝑥2×8𝑥=8𝑥16𝑥.

Then, we set this expression equal to zero and solve by factoring: 8𝑥16𝑥=08𝑥𝑥2𝑥+2=0.

This has solutions 𝑥=2,0,2. Remember, we are only interested in critical points in the interval [1,2], so only two of these critical points lie in our interval. These are located at 𝑥=0 and 𝑥=2.

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: 𝑓(0)=2(0)8(0)13=13,𝑓2=228213=21.

Since the endpoints of [1,2] could still give us absolute extrema, we must check the value of the function at these points: 𝑓(1)=2(1)8(1)13=19,𝑓(2)=2(2)8(2)13=13.

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

This gives us our final answer. On the interval [1,2], the function 𝑓 will have an absolute maximum value of 13 at 𝑥=0 and 𝑥=2 and an absolute minimum value of 21 at 𝑥=2.

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 𝑦=𝑥2𝑥+8 on the interval [2,6].

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 𝑥=4, which is not in the interval [2,6].

This means our function is continuous on the interval [2,6]; 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 𝑓(𝑥)𝑔(𝑥)and, dd𝑥𝑓(𝑥)𝑔(𝑥)=𝑔(𝑥)(𝑓(𝑥))𝑓(𝑥)(𝑔(𝑥))(𝑔(𝑥)).dddd

Applying this to our function, with 𝑓(𝑥)=𝑥 and 𝑔(𝑥)=2𝑥+8, we get: dd𝑦𝑥=(2𝑥+8)(𝑥)𝑥(2𝑥+8)(2𝑥+8)=(2𝑥+8)2𝑥(2𝑥+8)=8(2𝑥+8).dddd

We see the derivative exists everywhere except when 𝑥=4, 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 𝑥=2, 𝑓(2)=22(2)+8=16.

When 𝑥=6, 𝑓(6)=62(6)+8=310.

This tells us that 310 must be the maximum of the function on this interval and 16 must be the minimum. We can see this on the following graph of our function on the interval [2,6].

We were able to show that the maximum value of 𝑥2𝑥+8 on the interval [2,6] is 310 at 𝑥=6 and the minimum value on the same interval is 16 at 𝑥=2.

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 𝑓(𝑥)=(6𝑥3),𝑥2,29𝑥,𝑥>2, in the interval [1,6].

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 𝑥=2. To see if 𝑓(𝑥) is continuous when 𝑥=2, we check what happens when 𝑥=2 in both pieces: (6(2)3)=81,29(2)=16.

These are not equal, so the two pieces of 𝑓(𝑥) do not join when 𝑥=2. 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 [1,6]; however, we do know that 𝑓(𝑥) is continuous and equal to (6𝑥3) when 𝑥2 and 𝑓(𝑥) is continuous and equal to 29𝑥 when 𝑥>2. So, we can treat these two cases separately.

First, when 𝑥2, 𝑓(𝑥)=(6𝑥3). We are looking for extrema in the interval [1,6], so our values of 𝑥 must be in the interval [1,2]. 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 [1,2].

We will start by finding the critical points, that is when the derivative is equal to zero or does not exist: 𝑓(𝑥)=6(2)(6𝑥3)=36(2𝑥1).

We can see this is defined for all of our values of 𝑥 and is zero when 𝑥=12, so this is the only critical point of the first function; however, we are only interested in values of 𝑥 in the interval [1,2]. So, we only need to evaluate 𝑓 at the endpoints of this first interval: 𝑓(1)=(6(1)3)=9,𝑓(2)=(6(2)3)=81.

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

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

To avoid confusion, let us call 𝑔(𝑥)=29𝑥. We want to find the extrema of this function on the interval [2,6], so we need to find the critical points: 𝑔(𝑥)=9.𝑔(𝑥) 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: 𝑔(2)=29(2)=16,𝑔(6)=29(6)=52.

We have now found all of the possible extrema for our original piecewise function 𝑓(𝑥) on the interval [1,6], so all that is left to do is compare these values.

𝑥1226
𝑓(𝑥)9811652

We see the absolute maximum is 81 at 𝑥=2, and the absolute minimum is 52 at 𝑥=6. We can also see this information in the graph of the function on [1,6].

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 𝑓(𝑥)=5𝑥𝑒,𝑥[0,4]where.

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 𝑢(𝑥)=5𝑥 and 𝑣(𝑥)=𝑒, 𝑓(𝑥)=5𝑒5𝑥𝑒.

This is defined for all of the values of 𝑥 in our interval [0,4], so the only critical points will be when this is equal to 0: 5𝑒5𝑥𝑒=05𝑒(1𝑥)=0.

We know 𝑒>0 for all values of 𝑥, so the only critical point of 𝑓(𝑥) is when 𝑥=1. 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 [0,4]: 𝑓(1)=5(1)𝑒1.84,𝑓(0)=5(0)𝑒=0,𝑓(4)=5(4)𝑒0.37.

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 𝑓(𝑥)=3𝑥+10, where 𝑥[2,5].

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 𝑥[2,5]; to do this, we need to make sure we are not taking the square root of a negative number. We can see that 3𝑥+100 for these values of 𝑥, so our function is defined for all 𝑥 in the interval [2,5].

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 𝑓(𝑥)=323𝑥+10.

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 𝑓(𝑥)=0. 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 [2,5]: 𝑓(2)=3(2)+10=2,𝑓(5)=3(5)+10=5.

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 [2,5].

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.

Download the Nagwa Classes App

Attend sessions, chat with your teacher and class, and access class-specific questions. Download the Nagwa Classes app today!

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.