Applied Optimization Problems: Learn It 2

Solving Optimization Problems

Solving Optimization Problems when the Interval Is Not Closed or Is Unbounded

In the previous examples, we considered functions on closed, bounded domains. Consequently, by the extreme value theorem, we were guaranteed that the functions had absolute extrema. Let’s now consider functions for which the domain is neither closed nor bounded.

Many functions still have at least one absolute extrema, even if the domain is not closed or the domain is unbounded. For example, the function [latex]f(x)=x^2+4[/latex] over [latex](−\infty ,\infty )[/latex] has an absolute minimum of 4 at [latex]x=0[/latex]. Therefore, we can still consider functions over unbounded domains or open intervals and determine whether they have any absolute extrema. 

In the following example, we look at constructing a box of least surface area with a prescribed volume. It is not difficult to show that for a closed-top box, by symmetry, among all boxes with a specified volume, a cube will have the smallest surface area. Consequently, we consider the modified problem of determining which open-topped box with a specified volume has the smallest surface area.

A rectangular box with a square base, an open top, and a volume of [latex]216 \, \text{in}^3[/latex] is to be constructed. What should the dimensions of the box be to minimize the surface area of the box? What is the minimum surface area?

Step 1: Draw a rectangular box and introduce the variable [latex]x[/latex] to represent the length of each side of the square base; let [latex]y[/latex] represent the height of the box. Let [latex]S[/latex] denote the surface area of the open-top box.

A box with square base is shown. The base has side length x, and the height is y.
Figure 8. We want to minimize the surface area of a square-based box with a given volume.

Step 2: We need to minimize the surface area. Therefore, we need to minimize [latex]S[/latex].

Step 3: Since the box has an open top, we need only determine the area of the four vertical sides and the base. The area of each of the four vertical sides is [latex]x \cdot y[/latex]. The area of the base is [latex]x^2[/latex]. Therefore, the surface area of the box is

[latex]S=4xy+x^2[/latex].

Step 4: Since the volume of this box is [latex]x^2 y[/latex] and the volume is given as [latex]216 \, \text{in}^3[/latex], the constraint equation is

[latex]x^2 y=216[/latex].

Solving the constraint equation for [latex]y[/latex], we have [latex]y=\frac{216}{x^2}[/latex]. Therefore, we can write the surface area as a function of [latex]x[/latex] only:

[latex]S(x)=4x(\frac{216}{x^2})+x^2[/latex].

Therefore, [latex]S(x)=\frac{864}{x}+x^2[/latex].

Step 5: Since we are requiring that [latex]x^2 y=216[/latex], we cannot have [latex]x=0[/latex]. Therefore, we need [latex]x>0[/latex]. On the other hand, [latex]x[/latex] is allowed to have any positive value.

Note that as [latex]x[/latex] becomes large, the height of the box [latex]y[/latex] becomes correspondingly small so that [latex]x^2 y=216[/latex]. Similarly, as [latex]x[/latex] becomes small, the height of the box becomes correspondingly large.

We conclude that the domain is the open, unbounded interval [latex](0,\infty )[/latex]. Note that, unlike the previous examples, we cannot reduce our problem to looking for an absolute maximum or absolute minimum over a closed, bounded interval.

However, in the next step, we discover why this function must have an absolute minimum over the interval [latex](0,\infty )[/latex].

Step 6: Note that as [latex]x\to 0^+[/latex], [latex]S(x)\to \infty[/latex]. Also, as [latex]x\to \infty[/latex], [latex]S(x)\to \infty[/latex]. Since [latex]S[/latex] is a continuous function that approaches infinity at the ends, it must have an absolute minimum at some [latex]x\in (0,\infty )[/latex]. This minimum must occur at a critical point of [latex]S[/latex]. The derivative is

[latex]S^{\prime}(x)=-\frac{864}{x^2}+2x[/latex].

Therefore, [latex]S^{\prime}(x)=0[/latex] when [latex]2x=\frac{864}{x^2}[/latex].

Solving this equation for [latex]x[/latex], we obtain [latex]x^3=432[/latex], so [latex]x=\sqrt[3]{432}=6\sqrt[3]{2}[/latex].

Since this is the only critical point of [latex]S[/latex], the absolute minimum must occur at [latex]x=6\sqrt[3]{2}[/latex] (see Figure 9). When [latex]x=6\sqrt[3]{2}[/latex], [latex]y=\frac{216}{(6\sqrt[3]{2})^2}=3\sqrt[3]{2}[/latex] in.

Therefore, the dimensions of the box should be [latex]x=6\sqrt[3]{2}[/latex] in and [latex]y=3\sqrt[3]{2}[/latex] in. With these dimensions, the surface area is:

[latex]S(6\sqrt[3]{2})=\frac{864}{6\sqrt[3]{2}}+(6\sqrt[3]{2})^2=108\sqrt[3]{4} \, \text{in}^2[/latex]
The function S(x) = 864/x + x2 is graphed. At its minimum there is a dashed line and text that reads “Minimum surface area is 108 times the cube root of 4 square inches when x = 6 times the cube root of 2 inches.”
Figure 9. We can use a graph to determine the dimensions of a box of given the volume and the minimum surface area.

Watch the following video to see the worked solution to the example above.

Consider the same open-top box, which is to have volume [latex]216 \, \text{in}^3[/latex]. Suppose the cost of the material for the base is [latex]$0.20 / \text{in}^2[/latex] and the cost of the material for the sides is [latex]$0.30 / \text{in}^2[/latex] and we are trying to minimize the cost of this box. Write the cost as a function of the side lengths of the base. (Let [latex]x[/latex] be the side length of the base and [latex]y[/latex] be the height of the box.)