# 8.1: Absolute Extrema and Optimization

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

At this point, you know how to analyze a function to find its minima and maxima using the first and second derivatives. Finding the solution to some real-world problem (such as in finance, science, and engineering) often involves a process of finding the maximum or minimum of a function within an acceptable region of values. This kind of problem is an optimization problem, and the solution that is the maximum or minimum value of the function in the region is the optimal solution. Setting up the optimization problem is the important first step. See if you can setup (but not solve) this problem: What dimensions will minimize the amount of metal required to construct a storage tank of volume 1000 m3 that is in the shape of a right circular cylinder and has a top that is a hemisphere?

## Optimization

In previous concepts, we discussed methods for finding maxima and minima (extrema) of functions, and these methods are used in solving optimization problems. Suppose that f is continuous on a closed interval [a,b]. Recall that we can find the absolute minimum and maximum of a function f that is continuous on a closed interval [a,b] as follows:

1. Find the values of f for each critical value in (a,b);
2. Find the values of the function f at the endpoints of [a,b];
3. The absolute maximum will be the largest value of the numbers found in 1 and 2; the absolute minimum will be the smallest number.

However, real-world problems often impose constraints that must be accounted for in finding the optimal solution.

Take a company that makes high-quality bicycle tires for both recreational and racing riders. The number of tires that the company sells is a function of the price charged and can be modeled by the formula $$T(x)=−x^3+36.5x^2+50x+250 \nonumber$$, where x is the priced charged for each tire in dollars. At what price is the maximum number of tires sold? How many tires will be sold at that maximum price?

In this optimization problem, we are trying to find the maximum value of T(x). T(x) is the primary equation that will be optimized. Let’s first look at a graph of the tire function and make some observations. Set the viewing window ranges on your graphing calculator to [-10, 50] for x and [-500, 10000] for y.

The graph should appear as follows: CC BY-NC-SA

We first note that since this is a real-life application, both quantities, x and T(x), are positive or else the problem makes no sense. These conditions, together with the fact that the zero of T(x) is located at x=37.9, suggest that the actual domain of this function is 0<x≤37.9. This restricted domain, which we refer to as a feasible domain, illustrates a common feature of optimization problems: that the real-life conditions of the situation under study dictate the domain values.

We can use the calculator graph or use the First and Second Derivative Tests to find the absolute maximums and minimums on the closed interval [0, 37.9].

 1st Derivative  $f′(x)=−3x^2+73x+50 \nonumber$ f′(x)=0: at $$x=− \frac{2}{3} \nonumber$$ ... not in domain; at x=25 ... in the domain. 2nd Derivative  $f′′(x)=−6x+73 \nonumber$ f′′(25)=23 There is a function maximum at x=25.

## Review

For #1-4, find the absolute maximum and absolute minimum values, if they exist.

1. $$f(x)=2x^2−6x+6 \mbox{ on } [0, 5] \nonumber$$
2. $$f(x)=x^3+3x^2 \mbox{ on } [-2, 3] \nonumber$$
3. $$f(x)=3x^{\frac{2}{3}}−6x+x \mbox{ on } [1, 8] \nonumber$$
4. $$f(x)=x^4−x^3 \mbox{ on } [-2, 2] \nonumber$$
5. Find the dimensions of a rectangle having area $$2000 ft^2 \nonumber$$ whose perimeter is as small as possible.
6. Find two numbers whose product is 50 and whose sum is a minimum.
7. John is shooting a basketball from half-court. It is approximately 45 ft from the half court line to the hoop. The function $$s(t)=−0.025x^2+x+15 \nonumber$$ models the basketball’s height above the ground s(t) in feet, when it is t feet from the hoop. How many feet from John will the ball reach its highest height? What is that height?
8. The height of a model rocket t seconds into flight is given by the formula $$h(t)=−13t^3+4t^2+25t+4 \nonumber$$.
1. How long will it take for the rocket to attain its maximum height?
2. What is the maximum height that the rocket will reach?
3. How long will the flight last?
9. Show that of all rectangles of a given perimeter, the rectangle with the greatest area is a square.
10. Show that of all rectangles of a given area, the rectangle with the smallest perimeter is a square.
11. Eduardo wants to build a fence which will protect his rectangular tomato garden from the various hungry critters roaming the landscape. He purchases 100 feet of fence. What should the dimensions of the tomato garden be if it is to have the maximum area that can be contained by 100 feet of fence.
12. Hans has been challenged to find two nonnegative numbers whose sum is 36 so that the product of the two numbers is maximal. How should he proceed?
13. Lucia needs to find two nonnegative numbers whose product is 25 so that the sum of one plus the square of the other is minimized, in order to gain membership to a club. What numbers is she after?
14. Esmeralda wants to enclose a field with a rectangular fence to keep her goats from escaping. One side of the field is against a building, so it will not require fencing. She has 50 feet of fencing material. What are dimensions of the maximum area she can fence?
15. Which point on the graph of the function $$y=\sqrt{x} \nonumber$$ is closest to the point (1, 0)?

## Vocabulary

Term Definition
feasible domain The feasible domain is the subset of the domain of the primary function that can be used. This restricted domain is determined by constraints of the optimization problem.
optimal value An optimal value or solution is the best solution to the optimization problem.
optimization An optimization problem is a problem of finding the best solution to a problem from all the feasible solutions.
primary equation The primary equation of an optimization problem is the function or equation for which the optimal value or solution is being sought.
secondary equation A secondary equation is one of the equations used to relate variables of the problem and reduce the number of variables in the primary equation.