Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 72

Absolute Extrema in Optimization

Recommended resources

Hello! Welcome to your next lesson.

In our last few lessons, you've mastered the techniques for finding local (or relative) extrema using the first and second derivative tests. You've learned how to pinpoint the 'peaks' and 'troughs' in a function's graph. Today, we'll apply these powerful tools to solve real-world problems.

This lesson is about optimisation (or optimization). We will be answering questions like:

  • What dimensions will maximise the area of a field?
  • What price will maximise a company's revenue?
  • What shape will minimise the material needed for a container?

To do this, you will learn how to solve optimisation problems by finding absolute extrema. This involves finding not just any peak or trough, but the absolute highest or lowest point of a function, which represents the best possible outcome.

1. Absolute vs. Relative Extrema: A Quick Recap

Before we dive in, let's clarify the difference between the local extrema you've been working with and the absolute extrema we need for optimisation.

  • Relative (or Local) Extrema: These are the 'hills' and 'valleys' in a function. A point is a relative maximum if it's higher than all the points immediately surrounding it.
  • Absolute Extrema: This is the single highest or lowest point a function reaches over its entire domain (or a specified interval).
Absolute Extrema and Constrained Optimization
This image illustrates the difference. A function can have many relative maxima and minima, but on a given interval, it will have only one absolute maximum and one absolute minimum.

In optimisation, we are almost always looking for the absolute maximum or minimum.


2. A Strategy for Solving Optimisation Problems

Optimisation problems can seem tricky at first because they are often presented as word problems. The key is to translate the words into mathematics. The calculus part is usually straightforward; the setup is the most important part.

Here is a systematic approach that we will use throughout this lesson.

4.5: Optimization Problems - Steps to Solve Optimization Problems

This resource from Math LibreTexts outlines a clear, step-by-step strategy for solving optimisation problems. Please read through this list of steps. We will refer back to them as we work through our examples.

Read the section titled 'Steps to Solve Optimization Problems'. You can find it about a third of the way down the page. Focus on understanding the purpose of each step in the process.

Let's summarise that strategy:

  1. Understand the Goal: Identify what quantity you need to maximise or minimise. Draw a picture and label variables.
  2. Write the Equations:
    • Objective Function: This is the function you want to optimise (e.g., Area = ).
    • Constraint Equation: This is the restriction or condition you're given (e.g., Perimeter = 100m).
  3. Create a Single-Variable Function: Use the constraint equation to substitute one variable into the objective function. This leaves you with a function of just one variable (e.g., ). Determine the domain of this function—the set of all possible, realistic values for your variable.
  4. Find the Critical Points: Take the derivative of your single-variable function and set it to zero to find the critical points.
  5. Test and Verify: This is where we find the absolute extremum.
    • If the domain is a closed interval [a, b]: Evaluate the function at the critical points and at the endpoints (a and b). The largest value is the absolute maximum, and the smallest is the absolute minimum.
    • If the domain is an open interval: If there is only one critical point, you can use the First or Second Derivative Test to confirm if it's a maximum or minimum. If it is, it must be the absolute extremum.
  6. State the Answer: Make sure you answer the original question. Do you need to provide dimensions, cost, or the maximised value itself?

3. Example 1: Maximising Area with a Fixed Perimeter

This is a classic optimisation problem. Let's watch an excellent, detailed walkthrough that puts our strategy into practice.

Calculus 1 Lecture 3.7: Optimization; Max/Min Application Problems

Professor Leonard will guide you through solving a problem where you need to maximise the area of a rectangular field given a fixed amount of fencing. Pay close attention to how he sets up the objective and constraint equations, finds the domain, and tests the endpoints.

Watch the segment from 03:34 to 21:34.

Notice how Professor Leonard followed the strategy perfectly:

  • Goal: Maximise Area, .
  • Constraint: Perimeter is 100 ft, so .
  • Single Variable: Solved the constraint for to get . He also identified the domain for was the closed interval .
  • Critical Points: Found when .
  • Test: He checked the value of the Area function at the critical point () and the endpoints ( and ).
  • Answer: The maximum area of 625 sq ft occurs when the dimensions are 25 ft by 25 ft.

This method of testing the critical points and the endpoints is the standard procedure for finding absolute extrema on a closed interval.


4. Example 2: Maximising the Volume of a Box

Let's try another common problem type: creating an open-topped box from a flat sheet of cardboard by cutting squares from the corners.

Optimisation (Optimization) Problem: Maximising (Maximizing) Box Volume
This image shows how a box's volume can be expressed as a function of the side length, x, of the squares cut from the corners.

Let's work through this problem using a text-based resource.

4.5: Optimization Problems - Example 2: Maximizing the Volume of a Box

This example from Math LibreTexts walks through the steps to maximise the volume of a box made from a 24 in. by 36 in. piece of cardboard. Follow along and see how our strategy is applied again.

Read 'Example \PageIndex{2}: Maximizing the Volume of a Box'. Note how the volume function V(x) is derived and how the physical limitations of the cardboard define the domain for x.

Test your understanding!

Let's set up a similar problem. Suppose you have a rectangular piece of cardboard that is 16cm wide and 30cm long. You want to cut out identical squares of side length from each corner and fold up the sides to form an open-topped box.

  1. What is the function for the volume of the box, ?
  2. What is the realistic domain for ?
Show answer
  1. Volume Function:

    • The height of the box will be .
    • The width will be the original width minus the two cut corners: .
    • The length will be the original length minus the two cut corners: .
    • The volume is .
    • So, .
  2. Domain:

    • The side length must be greater than zero, so .
    • You cannot cut more than half of the shortest side. The shortest side is 16cm, so the maximum cut is 8cm. If , the width becomes , which is not a box.
    • Therefore, the domain for is the open interval .

5. Optimisation on Open Intervals

In the box problem, the domain for was technically an open interval, like in the example. What happens when the domain is not a closed interval, and we don't have endpoints to test?

This is where the derivative tests come back into play. If a function is continuous on an open interval and has only one critical point, then:

  • If that point is a local minimum, it must also be the absolute minimum.
  • If that point is a local maximum, it must also be the absolute maximum.

We can confirm if it's a local minimum or maximum using the Second Derivative Test, which you learned in the previous lesson. Let's see this in action.

Example 3: Minimising the Surface Area of a Can

Imagine you are designing a cylindrical can. The can must hold a specific volume (say, 1000 cm³), and you want to use the least amount of metal to build it. This means you want to minimise the surface area for a fixed volume.

  • Objective (Minimise): Surface Area, . For a cylinder with radius and height , (the area of the top and bottom circles plus the area of the side).
  • Constraint (Fixed): Volume, .

We can use the constraint to find in terms of : .
Now, substitute this into the surface area formula to get a function of one variable, :

The domain for the radius is , which is an open interval. Now, we find the critical point and use the second derivative test to prove it's a minimum.

Calculus 1 Lecture 3.7: Optimization; Max/Min Application Problems

Let's return to Professor Leonard. Watch this segment where he finds the derivative of the surface area function, solves for the critical point, and then uses the Second Derivative Test to confirm that he has found a minimum.

Watch from 1:25:30 to 1:33:45. Focus on the process of taking the derivative, setting it to zero, and especially the final step where he uses the sign of the second derivative.

As he showed, after finding the critical value for , he calculated the second derivative . Since was positive at the critical point, it confirmed the function was convex (concave up), proving he had found a local minimum. And because it was the only critical point on the open interval, it had to be the absolute minimum.


Conclusion

You have now learned the complete process for tackling optimisation problems, one of the most practical applications of differential calculus. The method may seem long, but it is systematic and powerful.

Key Takeaways:

  • Optimisation is about finding the absolute maximum or minimum of a quantity.
  • The first step is always to define your objective function (what you're optimising) and your constraint equation (the limitation).
  • Use the constraint to rewrite the objective function in terms of a single variable.
  • Find the critical points by setting the first derivative to zero.
  • If the domain is a closed interval, test the function's value at the critical points and the endpoints.
  • If the domain is an open interval with only one critical point, use the Second Derivative Test to verify if it is a maximum or minimum.

In our next lesson, we will explore another application of derivatives called L'Hôpital's Rule, which provides a clever way to evaluate certain types of limits that would otherwise be difficult to solve.